Repository Analysis

Agenta-AI/agenta

Agenta is a workspace where you and your team build agents and automations.

13.8 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of Agenta-AI/agenta, a TypeScript project with 4,627 GitHub stars. SynthScan v2.0 examined 1,843,778 lines of code across 10716 source files, recording 17030 pattern matches distributed across 27 syntactic categories. The overall adjusted score of 13.8 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

13.8
Adjusted Score
13.8
Raw Score
100%
Time Factor
2026-08-28
Last Push
4.6K
Stars
TypeScript
Language
1.8M
Lines of Code
10.7K
Files
17.0K
Pattern Hits
2026-08-29
Scan Date
0.11
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 3HIGH 1208MEDIUM 3447LOW 12372

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 17030 distinct pattern matches across 27 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators3109 hits · 10469 pts
SeverityFileLineSnippetContext
MEDIUM.gitleaks.toml34 # ----------------------------------------------------------------------------COMMENT
MEDIUM.gitleaks.toml74 # ----------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/run-tests.py201 # ----------------------------------------------------------------------COMMENT
MEDIUMsdks/python/run-tests.py205 # ----------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py48# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py51# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py68# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py70# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py94# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py96# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py112# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py114# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py251# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py253# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py586# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py588# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py625 # ------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py627 # ------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py722 # ------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py725 # ------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py741 # ------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/decorators/routing.py747 # ------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/managers/secrets.py264 # ------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/managers/secrets.py276 # ------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/interfaces.py39# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/interfaces.py41# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/interfaces.py92# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/interfaces.py94# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/interfaces.py139# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/interfaces.py141# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/interfaces.py209# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/interfaces.py211# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py66# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py68# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py696# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py698# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py1156# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py1158# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py41# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py43# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py148# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py150# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py185# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py187# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py231# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py233# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py374# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py376# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py401# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py403# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py566# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py568# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py587# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py589# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py1085# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py1087# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/wire_models.py65# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/wire_models.py67# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/wire_models.py471# ---------------------------------------------------------------------------COMMENT
MEDIUMsdks/python/agenta/sdk/agents/wire_models.py473# ---------------------------------------------------------------------------COMMENT
3049 more matches not shown…
Hyper-Verbose Identifiers7609 hits · 7215 pts
SeverityFileLineSnippetContext
LOWclients/python/check_deps.py62def load_pyproject_constraints() -> dict[str, str]:CODE
LOWclients/python/tests/test_session_query_models.py114def test_sync_query_sessions_emits_canonical_json() -> None:CODE
LOWclients/python/tests/test_session_query_models.py133def test_async_query_sessions_emits_canonical_json() -> None:CODE
LOWclients/python/tests/test_session_query_models.py157def test_sessions_response_parses_omitted_unknown_origin() -> None:CODE
LOW…s/python/tests/test_provider_credentials_generation.py26def test_generation_hook_hides_plain_credential_fields(tmp_path: Path):STRING
LOW…s/python/tests/test_provider_credentials_generation.py46def test_generation_hook_fails_loudly_when_fern_shape_changes(tmp_path: Path):STRING
LOW…nts/python/tests/test_provider_credentials_security.py5def test_provider_credentials_hide_secrets_from_display_but_keep_wire_values():CODE
LOWclients/python/agenta_client/organizations/client.py33 def list_organization_domains(self, *, request_options: typing.Optional[RequestOptions] = None) -> typing.List[OrganCODE
LOWclients/python/agenta_client/organizations/client.py59 def create_organization_domain(self, *, domain: str, name: typing.Optional[str] = OMIT, description: typing.OptionalCODE
LOWclients/python/agenta_client/organizations/client.py100 def verify_organization_domain(self, *, domain_id: str, request_options: typing.Optional[RequestOptions] = None) -> CODE
LOWclients/python/agenta_client/organizations/client.py133 def refresh_organization_domain_token(self, domain_id: str, *, request_options: typing.Optional[RequestOptions] = NoCODE
LOWclients/python/agenta_client/organizations/client.py166 def reset_organization_domain(self, domain_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> OCODE
LOWclients/python/agenta_client/organizations/client.py199 def delete_organization_domain(self, domain_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> CODE
LOWclients/python/agenta_client/organizations/client.py228 def list_organization_providers(self, *, request_options: typing.Optional[RequestOptions] = None) -> typing.List[OrgCODE
LOWclients/python/agenta_client/organizations/client.py254 def create_organization_provider(self, *, slug: str, settings: typing.Dict[str, typing.Any], name: typing.Optional[sCODE
LOWclients/python/agenta_client/organizations/client.py297 def delete_organization_provider(self, provider_id: str, *, request_options: typing.Optional[RequestOptions] = None)CODE
LOWclients/python/agenta_client/organizations/client.py326 def update_organization_provider(self, provider_id: str, *, slug: typing.Optional[str] = OMIT, name: typing.OptionalCODE
LOWclients/python/agenta_client/organizations/client.py366 def test_organization_provider(self, provider_id: str, *, request_options: typing.Optional[RequestOptions] = None) -CODE
LOWclients/python/agenta_client/organizations/client.py463 def fetch_organization_details(self, organization_id: str, *, request_options: typing.Optional[RequestOptions] = NonCODE
LOWclients/python/agenta_client/organizations/client.py745 def transfer_organization_ownership(self, organization_id: str, new_owner_id: str, *, request_options: typing.OptionCODE
LOWclients/python/agenta_client/organizations/client.py868 async def list_organization_domains(self, *, request_options: typing.Optional[RequestOptions] = None) -> typing.ListCODE
LOWclients/python/agenta_client/organizations/client.py902 async def create_organization_domain(self, *, domain: str, name: typing.Optional[str] = OMIT, description: typing.OpCODE
LOWclients/python/agenta_client/organizations/client.py951 async def verify_organization_domain(self, *, domain_id: str, request_options: typing.Optional[RequestOptions] = NonCODE
LOWclients/python/agenta_client/organizations/client.py992 async def refresh_organization_domain_token(self, domain_id: str, *, request_options: typing.Optional[RequestOptionsCODE
LOWclients/python/agenta_client/organizations/client.py1033 async def reset_organization_domain(self, domain_id: str, *, request_options: typing.Optional[RequestOptions] = NoneCODE
LOWclients/python/agenta_client/organizations/client.py1074 async def delete_organization_domain(self, domain_id: str, *, request_options: typing.Optional[RequestOptions] = NonCODE
LOWclients/python/agenta_client/organizations/client.py1111 async def list_organization_providers(self, *, request_options: typing.Optional[RequestOptions] = None) -> typing.LiCODE
LOWclients/python/agenta_client/organizations/client.py1145 async def create_organization_provider(self, *, slug: str, settings: typing.Dict[str, typing.Any], name: typing.OptiCODE
LOWclients/python/agenta_client/organizations/client.py1196 async def delete_organization_provider(self, provider_id: str, *, request_options: typing.Optional[RequestOptions] =CODE
LOWclients/python/agenta_client/organizations/client.py1233 async def update_organization_provider(self, provider_id: str, *, slug: typing.Optional[str] = OMIT, name: typing.OpCODE
LOWclients/python/agenta_client/organizations/client.py1281 async def test_organization_provider(self, provider_id: str, *, request_options: typing.Optional[RequestOptions] = NCODE
LOWclients/python/agenta_client/organizations/client.py1402 async def fetch_organization_details(self, organization_id: str, *, request_options: typing.Optional[RequestOptions]CODE
LOWclients/python/agenta_client/organizations/client.py1740 async def transfer_organization_ownership(self, organization_id: str, new_owner_id: str, *, request_options: typing.CODE
LOW…ients/python/agenta_client/organizations/raw_client.py29 def list_organization_domains(self, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[typiCODE
LOW…ients/python/agenta_client/organizations/raw_client.py61 def create_organization_domain(self, *, domain: str, name: typing.Optional[str] = OMIT, description: typing.OptionalCODE
LOW…ients/python/agenta_client/organizations/raw_client.py123 def verify_organization_domain(self, *, domain_id: str, request_options: typing.Optional[RequestOptions] = None) -> CODE
LOW…ients/python/agenta_client/organizations/raw_client.py175 def refresh_organization_domain_token(self, domain_id: str, *, request_options: typing.Optional[RequestOptions] = NoCODE
LOW…ients/python/agenta_client/organizations/raw_client.py220 def reset_organization_domain(self, domain_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> HCODE
LOW…ients/python/agenta_client/organizations/raw_client.py265 def delete_organization_domain(self, domain_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> CODE
LOW…ients/python/agenta_client/organizations/raw_client.py299 def list_organization_providers(self, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[tyCODE
LOW…ients/python/agenta_client/organizations/raw_client.py331 def create_organization_provider(self, *, slug: str, settings: typing.Dict[str, typing.Any], name: typing.Optional[sCODE
LOW…ients/python/agenta_client/organizations/raw_client.py396 def delete_organization_provider(self, provider_id: str, *, request_options: typing.Optional[RequestOptions] = None)CODE
LOW…ients/python/agenta_client/organizations/raw_client.py430 def update_organization_provider(self, provider_id: str, *, slug: typing.Optional[str] = OMIT, name: typing.OptionalCODE
LOW…ients/python/agenta_client/organizations/raw_client.py493 def test_organization_provider(self, provider_id: str, *, request_options: typing.Optional[RequestOptions] = None) -CODE
LOW…ients/python/agenta_client/organizations/raw_client.py632 def fetch_organization_details(self, organization_id: str, *, request_options: typing.Optional[RequestOptions] = NonCODE
LOW…ients/python/agenta_client/organizations/raw_client.py1041 def transfer_organization_ownership(self, organization_id: str, new_owner_id: str, *, request_options: typing.OptionCODE
LOW…ients/python/agenta_client/organizations/raw_client.py1206 async def list_organization_domains(self, *, request_options: typing.Optional[RequestOptions] = None) -> AsyncHttpReCODE
LOW…ients/python/agenta_client/organizations/raw_client.py1238 async def create_organization_domain(self, *, domain: str, name: typing.Optional[str] = OMIT, description: typing.OpCODE
LOW…ients/python/agenta_client/organizations/raw_client.py1300 async def verify_organization_domain(self, *, domain_id: str, request_options: typing.Optional[RequestOptions] = NonCODE
LOW…ients/python/agenta_client/organizations/raw_client.py1352 async def refresh_organization_domain_token(self, domain_id: str, *, request_options: typing.Optional[RequestOptionsCODE
LOW…ients/python/agenta_client/organizations/raw_client.py1397 async def reset_organization_domain(self, domain_id: str, *, request_options: typing.Optional[RequestOptions] = NoneCODE
LOW…ients/python/agenta_client/organizations/raw_client.py1442 async def delete_organization_domain(self, domain_id: str, *, request_options: typing.Optional[RequestOptions] = NonCODE
LOW…ients/python/agenta_client/organizations/raw_client.py1476 async def list_organization_providers(self, *, request_options: typing.Optional[RequestOptions] = None) -> AsyncHttpCODE
LOW…ients/python/agenta_client/organizations/raw_client.py1508 async def create_organization_provider(self, *, slug: str, settings: typing.Dict[str, typing.Any], name: typing.OptiCODE
LOW…ients/python/agenta_client/organizations/raw_client.py1573 async def delete_organization_provider(self, provider_id: str, *, request_options: typing.Optional[RequestOptions] =CODE
LOW…ients/python/agenta_client/organizations/raw_client.py1607 async def update_organization_provider(self, provider_id: str, *, slug: typing.Optional[str] = OMIT, name: typing.OpCODE
LOW…ients/python/agenta_client/organizations/raw_client.py1670 async def test_organization_provider(self, provider_id: str, *, request_options: typing.Optional[RequestOptions] = NCODE
LOW…ients/python/agenta_client/organizations/raw_client.py1809 async def fetch_organization_details(self, organization_id: str, *, request_options: typing.Optional[RequestOptions]CODE
LOW…ients/python/agenta_client/organizations/raw_client.py2218 async def transfer_organization_ownership(self, organization_id: str, new_owner_id: str, *, request_options: typing.CODE
LOWclients/python/agenta_client/tools/client.py525 def discover_tool_capabilities(self, *, use_cases: typing.Sequence[str], provider: typing.Optional[str] = OMIT, limiCODE
7549 more matches not shown…
Unused Imports2813 hits · 1866 pts
SeverityFileLineSnippetContext
LOWclients/python/check_deps.py13CODE
LOWclients/python/agenta_client/client.py3CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
LOWclients/python/agenta_client/__init__.py9CODE
2753 more matches not shown…
Magic Placeholder Names988 hits · 1820 pts
SeverityFileLineSnippetContext
HIGH.gitleaks.toml40 '''YOUR_API_KEY''',STRING
HIGHclients/python/agenta_client/client.py76 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/client.py344 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py52 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py91 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py124 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py157 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py190 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py219 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py247 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py287 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py317 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py357 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py392 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py426 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py456 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py484 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py522 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py552 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py590 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py636 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py684 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py732 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py768 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py805 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py844 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py889 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py936 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py977 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1018 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1059 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1096 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1132 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1180 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1218 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1266 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1309 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1351 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1389 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1425 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1471 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1509 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1555 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1609 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1665 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1721 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1765 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1810 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/organizations/client.py1857 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/traces/client.py78 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/traces/client.py120 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/traces/client.py183 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/traces/client.py216 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/traces/client.py257 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/traces/client.py285 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/traces/client.py329 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/traces/client.py392 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/traces/client.py432 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/traces/client.py462 api_key="YOUR_API_KEY",STRING
HIGHclients/python/agenta_client/traces/client.py492 api_key="YOUR_API_KEY",STRING
928 more matches not shown…
AI Slop Vocabulary222 hits · 739 pts
SeverityFileLineSnippetContext
LOWclients/python/agenta_client/core/serialization.py180 # then we can just pass the value through as isCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/handler.py127 # provider that no harness lists). Rejecting that untrusted pre-resolve string would block aCOMMENT
LOWsdks/python/agenta/sdk/agents/handler.py194 # capability gating + fail-closed resolution policy; override to replace, not just add to.COMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py70# The harness contract's versioned identity, in the repo's slug grammarCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py72# ``engines/running/interfaces.py``). The namespace is ``harness`` and the trailing ``v0`` isCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py73# bumped only when the harness contract shape breaks. This is purely the INTERFACE identity theCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py74# agent_template schema advertises; the stored/wire harness VALUE stays the bare enum stringCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py697# Per-harness configs (what an adapter consumes)COMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py92# One entry per ``HarnessKind``. The slug version is ``v0`` for every harness today (theCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py618 # ``model`` is the plain string every caller reads and hands to a harness. ``model_ref`` isCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py627 # The selected harness's slice (the keyed-by-harness bag collapses at parse time).COMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py717 # ``model`` stays the plain string handed to the harness. ``model_ref`` carries authorCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py729 # The selected harness's first-class allow/ask/deny posture, carried verbatim fromCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py730 # ``AgentTemplate.harness_permissions`` by the harness adapter. A gating harness's CONFIG rendersCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py969 # run ``adapters/__init__`` (which imports the harness adapters, which import this module),COMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py1045 # run ``adapters/__init__`` (which imports the harness adapters, which import this module),COMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py1116 # by a harness, so it changes nothing about how the turn executes.COMMENT
MEDIUMsdks/python/agenta/sdk/agents/dtos.py1124 # not harness configuration: the environment carries it directly to the backend and theCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/__init__.py261 # Minimal per-harness connection-capability table (subset; harness-capabilities owns the full one)COMMENT
MEDIUMsdks/python/agenta/sdk/agents/capabilities.py65# is broader than this one provider: it covers any way a harness signs itself in without anCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/capabilities.py70# ``docs/design/agent-workflows/projects/provider-model-auth/harness-provider-matrix.md`` and theCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/capabilities.py75 # harness's ``openai-codex/<id>`` model. This is the full ``openai-codex`` model set Pi'sCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/capabilities.py134 # The vault kind is ``together_ai`` (underscore), but the Pi harness reads ``TOGETHER_API_KEY``COMMENT
MEDIUMsdks/python/agenta/sdk/agents/capabilities.py136 # ``TOGETHERAI_API_KEY`` (the classic app-runner path); this table feeds the Pi harness, so itCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/capabilities.py137 # must use Pi's name or the key never reaches the harness.COMMENT
MEDIUMsdks/python/agenta/sdk/agents/capabilities.py146# ids are the shared catalog spelling (``provider/id``); each harness republishes them below inCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/capabilities.py195# A harness that selects by alias (Claude) names a TIER, not a model id, so a curated id has toCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/capabilities.py198# harness could otherwise not name belong here: ``claude-fable-5`` is its own alias, so it needsCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/capabilities.py201# alias set (see :data:`CLAUDE_MODEL_ALIASES`), and a harness only advertises defaults it canCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/capabilities.py107# The curated Codex model set the harness advertises under the ``openai`` family. TheCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/capabilities.py119# Both modes every harness supports today. (No ``default`` mode: the project default is justCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/capabilities.py123# Canonical provider -> env-var map (the harness's own env, e.g. Pi/Claude/litellm). The singleCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/capabilities.py305 # Full id, then the provider-less tail, then the tier alias: a harness that namesCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/capabilities.py360 # per provider family, in the harness's own model spelling. Derived fromCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/capabilities.py361 # :data:`PROVIDER_DEFAULT_MODELS` below, so a harness only ever advertises defaults it canCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/capabilities.py505# The provider family each harness's ``custom`` deployment surface accepts. This is Decision 3'sCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/capabilities.py508# lists cannot express this pairing, so :func:`harness_allows_pair` consults this map. A harnessCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/tools/models.py495 # change. Executor-private, like ``context_bindings``: the child harness never sees it.COMMENT
MEDIUMsdks/python/agenta/sdk/agents/tools/resolver.py96 # The harness registers custom tools by name beside its built-ins, so a same-named customCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/platform/connections.py53# The Claude harness selects a model by a bare alias (``haiku``/``sonnet``/``opus`` + ``[1m]``)COMMENT
MEDIUMsdks/python/agenta/sdk/agents/platform/connections.py123# Extras keys the current UI stores on custom_provider secrets, normalized to harness env.COMMENT
MEDIUMsdks/python/agenta/sdk/agents/platform/connections.py316 # harness intersection). Neither field filters resolution here yet.COMMENT
MEDIUMsdks/python/agenta/sdk/agents/platform/connections.py384 # and the harness pair check reads ``openai``. An explicit provider (e.g. an AnthropicCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/platform/connections.py593 # The hint names the harness-reachable provider (anthropic for Claude, not openai).COMMENT
MEDIUMsdks/python/agenta/sdk/agents/platform/connections.py707 # returning endpoint=None) keeps the harness from falling back to a provider default andCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/platform/op_catalog.py401# the embed shape too, or a schema-following harness would drop or mangle the embed on the way back.COMMENT
MEDIUMsdks/python/agenta/sdk/agents/platform/workflow.py94 # concrete JSON Schema so the harness sees a real shape (an array WITH items,COMMENT
MEDIUMsdks/python/agenta/sdk/agents/adapters/harnesses.py62 # Pi reads the selected harness's escape-hatch `extras`: `system` replaces Pi's baseCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/adapters/harnesses.py98 # Skills stay on the harness config; the runner materializes them under `.claude/skills`COMMENT
MEDIUMsdks/python/agenta/sdk/agents/adapters/harnesses.py100 # The harness's first-class `permissions` slice (plus sandbox_permission + mcp_servers) isCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/adapters/harnesses.py126 # Skills stay on the harness config (carried for parity with Claude); wiring them intoCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/adapters/harnesses.py128 # The harness's first-class `permissions` slice (plus sandbox_permission + mcp_servers) isCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/adapters/harnesses.py160 # The author's Pi options still apply; the pi_agenta harness reads the same harnessCOMMENT
MEDIUM…s/python/agenta/sdk/agents/adapters/claude_settings.py52# tools (callback/code) to the harness. Claude addresses one of a server's tools asCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/adapters/vercel/stream.py283 # closing result (which still rides `isError`, since the harness closes aCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/adapters/vercel/stream.py566 # closing result (which still rides `isError`, since the harness closes aCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/connections/models.py31# Where a resolved credential comes from, as seen by the harness adapter. ``env`` ships oneCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/connections/models.py32# provider's vars; ``runtime_provided`` injects nothing (the harness owns auth, e.g. an OAuthCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/connections/errors.py124 # The example provider in the hint is harness-appropriate: a Claude harness must readCOMMENT
MEDIUMsdks/python/agenta/sdk/agents/connections/errors.py126 # caller passes the harness's default provider so the suggested prefix is reachable.COMMENT
162 more matches not shown…
Excessive Try-Catch Wrapping698 hits · 701 pts
SeverityFileLineSnippetContext
LOWclients/python/agenta_client/core/http_client.py35 except Exception:CODE
LOWclients/python/agenta_client/core/jsonable_encoder.py98 except Exception as e:CODE
LOWclients/python/agenta_client/core/jsonable_encoder.py103 except Exception as e:CODE
LOWantd-inventory/variants.py122 except Exception:CODE
LOWantd-inventory/extract.py126 except Exception:CODE
LOWantd-inventory/extract.py152 except Exception:CODE
LOWsdks/python/agenta/__init__.py5except Exception:CODE
LOWsdks/python/agenta/sdk/evaluations/scenarios.py39 except Exception:CODE
LOWsdks/python/agenta/sdk/evaluations/scenarios.py82 except Exception:CODE
LOWsdks/python/agenta/sdk/evaluations/scenarios.py153 except Exception:CODE
LOWsdks/python/agenta/sdk/evaluations/metrics.py37 except Exception:CODE
LOWsdks/python/agenta/sdk/evaluations/metrics.py78 except Exception:CODE
LOWsdks/python/agenta/sdk/evaluations/metrics.py110 except Exception:CODE
LOWsdks/python/agenta/sdk/evaluations/results.py42 except Exception:CODE
LOWsdks/python/agenta/sdk/evaluations/results.py103 except Exception:CODE
LOWsdks/python/agenta/sdk/evaluations/runs.py58 except Exception:CODE
LOWsdks/python/agenta/sdk/evaluations/runs.py120 except Exception:CODE
LOWsdks/python/agenta/sdk/evaluations/runs.py152 except Exception:CODE
LOWsdks/python/agenta/sdk/evaluations/runs.py181 except Exception:CODE
LOWsdks/python/agenta/sdk/evaluations/runtime/processor.py411 except Exception: # pylint: disable=broad-exception-caughtCODE
LOWsdks/python/agenta/sdk/evaluations/runtime/processor.py458 except Exception: # pylint: disable=broad-exception-caughtCODE
LOWsdks/python/agenta/sdk/evaluations/runtime/processor.py469 except Exception: # pylint: disable=broad-exception-caughtCODE
LOWsdks/python/agenta/sdk/evaluations/runtime/processor.py502 except Exception: # pylint: disable=broad-exception-caughtCODE
LOWsdks/python/agenta/sdk/evaluations/preview/utils.py318 except Exception:CODE
LOWsdks/python/agenta/sdk/evaluations/preview/utils.py645 except Exception as e:CODE
LOWsdks/python/agenta/sdk/evaluations/preview/utils.py733 except Exception as e:CODE
MEDIUMsdks/python/agenta/sdk/evaluations/preview/utils.py738 print(f"Error fetching trace: {e}")CODE
LOWsdks/python/agenta/sdk/evaluations/preview/evaluate.py78 except Exception:CODE
LOWsdks/python/agenta/sdk/evaluations/preview/evaluate.py184 except Exception:CODE
LOWsdks/python/agenta/sdk/decorators/tracing.py514 except Exception: # pylint: disable=bare-exceptCODE
LOWsdks/python/agenta/sdk/decorators/tracing.py716 except Exception: # pylint: disable=bare-exceptCODE
LOWsdks/python/agenta/sdk/decorators/tracing.py723 except Exception: # pylint: disable=bare-exceptCODE
LOWsdks/python/agenta/sdk/decorators/routing.py652 except Exception as exception:CODE
LOWsdks/python/agenta/sdk/decorators/routing.py681 except Exception as exception:CODE
LOWsdks/python/agenta/sdk/decorators/running.py63 except Exception:CODE
LOWsdks/python/agenta/sdk/decorators/running.py578 except Exception:CODE
LOWsdks/python/agenta/sdk/decorators/running.py588 except Exception:CODE
LOWsdks/python/agenta/sdk/managers/testsets.py263 except Exception as e:CODE
LOWsdks/python/agenta/sdk/managers/applications.py28 except Exception:CODE
LOWsdks/python/agenta/sdk/managers/applications.py99 except Exception as e:CODE
LOWsdks/python/agenta/sdk/managers/applications.py259 except Exception as e:CODE
LOWsdks/python/agenta/sdk/managers/applications.py297 except Exception as e:CODE
LOWsdks/python/agenta/sdk/managers/applications.py333 except Exception as e:CODE
MEDIUMsdks/python/agenta/sdk/managers/applications.py25def _response_detail(response) -> str:CODE
LOWsdks/python/agenta/sdk/managers/shared.py15 except Exception:CODE
LOWsdks/python/agenta/sdk/managers/shared.py30 except Exception as exc:CODE
MEDIUMsdks/python/agenta/sdk/managers/shared.py12def _response_detail(response) -> str:CODE
MEDIUMsdks/python/agenta/sdk/managers/shared.py27def _raise_for_status(response) -> None:CODE
LOWsdks/python/agenta/sdk/managers/evaluators.py28 except Exception:CODE
LOWsdks/python/agenta/sdk/managers/evaluators.py98 except Exception as e:CODE
LOWsdks/python/agenta/sdk/managers/evaluators.py252 except Exception as e:CODE
LOWsdks/python/agenta/sdk/managers/evaluators.py313 except Exception as e:CODE
LOWsdks/python/agenta/sdk/managers/evaluators.py349 except Exception as e:CODE
MEDIUMsdks/python/agenta/sdk/managers/evaluators.py25def _response_detail(response) -> str:CODE
LOWsdks/python/agenta/sdk/middlewares/running/vault.py272 except Exception as exc:CODE
LOWsdks/python/agenta/sdk/middlewares/running/vault.py280 except Exception as exc:CODE
LOWsdks/python/agenta/sdk/middlewares/running/vault.py329 except Exception: # pylint: disable=bare-exceptCODE
LOWsdks/python/agenta/sdk/middlewares/running/vault.py366 except Exception: # pylint: disable=bare-exceptCODE
LOWsdks/python/agenta/sdk/middlewares/running/resolver.py41 except Exception:CODE
LOWsdks/python/agenta/sdk/middlewares/running/resolver.py469 except Exception:CODE
638 more matches not shown…
Cross-File Repetition106 hits · 530 pts
SeverityFileLineSnippetContext
HIGHclients/python/check_deps.py0compare dependency versions: - constraint: from pyproject.toml - locked : from uv.lock - latest : from pypi usage: pythoSTRING
HIGHsdks/python/check_deps.py0compare dependency versions: - constraint: from pyproject.toml - locked : from uv.lock - latest : from pypi usage: pythoSTRING
HIGHapi/check_deps.py0compare dependency versions: - constraint: from pyproject.toml - locked : from uv.lock - latest : from pypi usage: pythoSTRING
HIGHservices/check_deps.py0compare dependency versions: - constraint: from pyproject.toml - locked : from uv.lock - latest : from pypi usage: pythoSTRING
HIGHclients/python/check_deps.py0read [project.dependencies] constraints from pyproject.toml. (only runtime deps; you can extend to include groups if youSTRING
HIGHsdks/python/check_deps.py0read [project.dependencies] constraints from pyproject.toml. (only runtime deps; you can extend to include groups if youSTRING
HIGHapi/check_deps.py0read [project.dependencies] constraints from pyproject.toml. (only runtime deps; you can extend to include groups if youSTRING
HIGHservices/check_deps.py0read [project.dependencies] constraints from pyproject.toml. (only runtime deps; you can extend to include groups if youSTRING
HIGHclients/python/agenta_client/traces/client.py0create a single-span "simple" trace. this endpoint is a higher-level helper for the common case of recording one self-coSTRING
HIGHclients/python/agenta_client/traces/raw_client.py0create a single-span "simple" trace. this endpoint is a higher-level helper for the common case of recording one self-coSTRING
HIGHapi/oss/src/apis/fastapi/traces/router.py0create a single-span "simple" trace. this endpoint is a higher-level helper for the common case of recording one self-coSTRING
HIGH…_client/types/application_revision_resolve_response.py0references (artifact / variant / revision) actually used to retrieve this revision.STRING
HIGH…nta_client/types/workflow_revision_resolve_response.py0references (artifact / variant / revision) actually used to retrieve this revision.STRING
HIGH…ta_client/types/evaluator_revision_resolve_response.py0references (artifact / variant / revision) actually used to retrieve this revision.STRING
HIGH…python/agenta_client/types/workflow_revision_commit.py0the revision this change was built on. omit it to keep today's last-write-wins behavior. send it on a legacy delta and tSTRING
HIGH…hon/agenta_client/types/application_revision_commit.py0the revision this change was built on. omit it to keep today's last-write-wins behavior. send it on a legacy delta and tSTRING
HIGH…ython/agenta_client/types/evaluator_revision_commit.py0the revision this change was built on. omit it to keep today's last-write-wins behavior. send it on a legacy delta and tSTRING
HIGH…ython/agenta_client/types/testset_revision_response.py0references used to retrieve the top-level revision.STRING
HIGH…hon/agenta_client/types/evaluator_revision_response.py0references used to retrieve the top-level revision.STRING
HIGH…thon/agenta_client/types/workflow_revision_response.py0references used to retrieve the top-level revision.STRING
HIGH…n/agenta_client/types/application_revision_response.py0references used to retrieve the top-level revision.STRING
HIGHclients/python/agenta_client/access/client.py0parameters ---------- plan : str request_options : typing.optional[requestoptions] request-specific configuration. returSTRING
HIGHclients/python/agenta_client/triggers/client.py0parameters ---------- plan : str request_options : typing.optional[requestoptions] request-specific configuration. returSTRING
HIGHclients/python/agenta_client/secrets/client.py0parameters ---------- plan : str request_options : typing.optional[requestoptions] request-specific configuration. returSTRING
HIGHclients/python/agenta_client/projects/client.py0parameters ---------- plan : str request_options : typing.optional[requestoptions] request-specific configuration. returSTRING
HIGHclients/python/agenta_client/status/client.py0parameters ---------- plan : str request_options : typing.optional[requestoptions] request-specific configuration. returSTRING
HIGHclients/python/agenta_client/users/client.py0parameters ---------- plan : str request_options : typing.optional[requestoptions] request-specific configuration. returSTRING
HIGHclients/python/agenta_client/billing/client.py0parameters ---------- plan : str request_options : typing.optional[requestoptions] request-specific configuration. returSTRING
HIGHclients/python/agenta_client/access/raw_client.py0parameters ---------- plan : str success_url : str request_options : typing.optional[requestoptions] request-specific coSTRING
HIGHclients/python/agenta_client/projects/raw_client.py0parameters ---------- plan : str success_url : str request_options : typing.optional[requestoptions] request-specific coSTRING
HIGHclients/python/agenta_client/status/raw_client.py0parameters ---------- plan : str success_url : str request_options : typing.optional[requestoptions] request-specific coSTRING
HIGHclients/python/agenta_client/users/raw_client.py0parameters ---------- plan : str success_url : str request_options : typing.optional[requestoptions] request-specific coSTRING
HIGHclients/python/agenta_client/billing/raw_client.py0parameters ---------- plan : str success_url : str request_options : typing.optional[requestoptions] request-specific coSTRING
HIGHclients/python/agenta_client/status/client.py0parameters ---------- request_options : typing.optional[requestoptions] request-specific configuration. returns ------- STRING
HIGHclients/python/agenta_client/users/client.py0parameters ---------- request_options : typing.optional[requestoptions] request-specific configuration. returns ------- STRING
HIGHclients/python/agenta_client/billing/client.py0parameters ---------- request_options : typing.optional[requestoptions] request-specific configuration. returns ------- STRING
HIGHclients/python/agenta_client/sessions/client.py0server-sent events relay for one session (m3 live relay). emits change notifications only — never record payloads; clienSTRING
HIGHclients/python/agenta_client/sessions/raw_client.py0server-sent events relay for one session (m3 live relay). emits change notifications only — never record payloads; clienSTRING
HIGHapi/oss/src/apis/fastapi/sessions/router.py0server-sent events relay for one session (m3 live relay). emits change notifications only — never record payloads; clienSTRING
HIGHsdks/python/run-tests.py0run pytest with dynamic markers and environment configuration. additional args after '--' are passed directly to pytest.STRING
HIGHapi/run-tests.py0run pytest with dynamic markers and environment configuration. additional args after '--' are passed directly to pytest.STRING
HIGHservices/run-tests.py0run pytest with dynamic markers and environment configuration. additional args after '--' are passed directly to pytest.STRING
HIGHsdks/python/agenta/sdk/engines/tracing/attributes.py0unmarshalls a dictionary of marshalled attributes into a nested dictionary example: marshalled = { "ag.type": "tree", "aSTRING
HIGHapi/oss/src/apis/fastapi/otlp/utils/marshalling.py0unmarshalls a dictionary of marshalled attributes into a nested dictionary example: marshalled = { "ag.type": "tree", "aSTRING
HIGHapi/oss/src/core/tracing/utils/attributes.py0unmarshalls a dictionary of marshalled attributes into a nested dictionary example: marshalled = { "ag.type": "tree", "aSTRING
HIGH…python/oss/tests/legacy/sdk_tests/management_sdk/v1.py0generate a baby name based on the given country and gender. args: country (str): the country to generate the name from. STRING
HIGH…oss/tests/legacy/sdk_tests/management_sdk/v4_prompt.py0generate a baby name based on the given country and gender. args: country (str): the country to generate the name from. STRING
HIGH…python/oss/tests/legacy/sdk_tests/management_sdk/v2.py0generate a baby name based on the given country and gender. args: country (str): the country to generate the name from. STRING
HIGH…ts/management_sdk/manual_tests/apps_with_new_sdk/v3.py0generate a baby name based on the given country and gender. args: country (str): the country to generate the name from. STRING
HIGH…nt_sdk/manual_tests/apps_with_new_sdk/new_baby_name.py0generate a baby name based on the given country and gender. args: country (str): the country to generate the name from. STRING
HIGH…gement_sdk/manual_tests/apps_with_old_sdk/baby_name.py0generate a baby name based on the given country and gender. args: country (str): the country to generate the name from. STRING
HIGH…s/python/oss/tests/legacy/debugging/simple-app/_app.py0generate a baby name based on the given country and gender. args: country (str): the country to generate the name from. STRING
HIGH…/observability_sdk/sanity_check/03_app_errors_local.py0results: embedding: {result} agent: {agent_result} chain results: {chain_result1}, {chain_result2}, {chain_result3} taskSTRING
HIGH…bservability_sdk/sanity_check/04_app_old_sdk_agenta.py0results: embedding: {result} agent: {agent_result} chain results: {chain_result1}, {chain_result2}, {chain_result3} taskSTRING
HIGH…bservability_sdk/sanity_check/05_app_new_sdk_agenta.py0results: embedding: {result} agent: {agent_result} chain results: {chain_result1}, {chain_result2}, {chain_result3} taskSTRING
HIGH…/legacy/observability_sdk/sanity_check/02_app_local.py0results: embedding: {result} agent: {agent_result} chain results: {chain_result1}, {chain_result2}, {chain_result3} taskSTRING
HIGHsdks/python/oss/tests/legacy/management/conftest.py0mark all tests to run inside the same event loop. note: remove as soon as a solution for https://github.com/pytest-dev/pSTRING
HIGHsdks/python/oss/tests/legacy/new_tests/conftest.py0mark all tests to run inside the same event loop. note: remove as soon as a solution for https://github.com/pytest-dev/pSTRING
HIGHapi/oss/tests/legacy/conftest.py0mark all tests to run inside the same event loop. note: remove as soon as a solution for https://github.com/pytest-dev/pSTRING
HIGH…on/oss/tests/legacy/annotations/agenta_instrumented.py0you are a helpful assistant that answers questions based on the documentation.STRING
46 more matches not shown…
Over-Commented Block393 hits · 372 pts
SeverityFileLineSnippetContext
LOW.gitleaks.toml41 '''_SECRET_KEY''',COMMENT
LOW.gitleaks.toml61 '''dGhpcy1pcy1hLXNpZ25pbmcta2V5LWZvci1tb3VudHM=''',COMMENT
LOW.coderabbit.yaml1# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.jsonCOMMENT
LOWclients/scripts/generate.sh281 fetchSupport: nativeCOMMENT
LOWsdks/python/agenta/sdk/evaluations/runtime/processor.py61# Per-repeat upstream context seed. Either ONE slice-wide dict (every scenarioCOMMENT
LOWsdks/python/agenta/sdk/evaluations/runtime/executor.py461COMMENT
LOWsdks/python/agenta/sdk/managers/secrets.py261 for slug in savedCOMMENT
LOWsdks/python/agenta/sdk/agents/flags.py21# Gate for the ordered-operations commit surface: `read_config` plus `delta.operations`.COMMENT
LOWsdks/python/agenta/sdk/agents/capabilities.py61COMMENT
LOWsdks/python/agenta/sdk/agents/platform/op_catalog.py821# variant — "update myself". ``workflow_revision.workflow_variant_id`` is bound from run contextCOMMENT
LOW…s/python/agenta/sdk/agents/adapters/claude_settings.py41from ..tools.models import PermissionMode, effective_permissionCOMMENT
LOW…s/python/agenta/sdk/agents/adapters/agenta_builtins.py41# Read once, at import, exactly like the op catalog builds its tool descriptions. The skillCOMMENT
LOWsdks/python/agenta/sdk/agents/connections/models.py21COMMENT
LOWsdks/python/agenta/sdk/utils/assets.py201 "minimax/MiniMax-M2.1",COMMENT
LOWsdks/python/agenta/sdk/engines/running/utils.py321#COMMENT
LOW…tests/pytest/unit/test_workflow_negotiation_routing.py161# Accept->flags mapping lives in the endpoint, not in handle_invoke_success), soCOMMENT
LOW…n/oss/tests/pytest/unit/test_render_template_helper.py1141COMMENT
LOWsdks/python/oss/tests/pytest/integration/conftest.py1# Integration tests wire multiple SDK modules together with the networkCOMMENT
LOW…s/legacy/observability_sdk/sanity_check/05_app_meta.py21 ag.tracing.store_refs(COMMENT
LOW…ss/tests/manual/workflows/workflows_migration_guide.py121 "my_app",COMMENT
LOW…ss/tests/manual/workflows/workflows_migration_guide.py141 # "1",COMMENT
LOW…ss/tests/manual/workflows/workflows_migration_guide.py161# "NEW_APPLICATION_SLUG",COMMENT
LOW…ss/tests/manual/workflows/workflows_migration_guide.py181# "NEW_APPLICATION_REVISION_VERSION",COMMENT
LOW…ss/tests/manual/workflows/workflows_migration_guide.py201 "country": "Germany",COMMENT
LOW…ss/tests/manual/workflows/workflows_migration_guide.py221 #### CHATCOMMENT
LOW…ss/tests/manual/workflows/workflows_migration_guide.py541COMMENT
LOW…ss/tests/manual/workflows/workflows_migration_guide.py561COMMENT
LOW…ss/tests/manual/workflows/workflows_migration_guide.py581# status=status,COMMENT
LOW…ss/tests/manual/workflows/workflows_migration_guide.py601# "Content-Type": "application/json",COMMENT
LOW…ss/tests/manual/workflows/workflows_migration_guide.py621# status, data = call_application(COMMENT
LOW…ss/tests/manual/workflows/workflows_migration_guide.py661 params = {k: v for k, v in params.items() if v is not None}COMMENT
LOW…ss/tests/manual/workflows/workflows_migration_guide.py681# params=params,COMMENT
LOW…ss/tests/manual/workflows/workflows_migration_guide.py701# url=url,COMMENT
LOW…ss/tests/manual/workflows/workflows_migration_guide.py801# status, data = call_application(COMMENT
LOW…ss/tests/manual/workflows/workflows_migration_guide.py841# url, headers, params = get_committed_request_in_2025_format(COMMENT
LOWweb/_reference/agenta-sdk/scripts/generate-schemas.sh1#!/bin/bashCOMMENT
LOWweb/storybook/stories/RunButton.stories.tsx41COMMENT
LOW…tories/presentational/SimpleDropdownSelect.stories.tsx1import {useState} from "react"COMMENT
LOW…/stories/presentational/CommitMessageInput.stories.tsx1import {useState} from "react"COMMENT
LOW…torybook/stories/entity-ui/ToolItemControl.stories.tsx1import {useRef, type ReactNode} from "react"COMMENT
LOW…/stories/entity-ui/ConnectionManagerDrawer.stories.tsx1import {connectionDrawerAtom} from "@agenta/entities/gatewayTool"COMMENT
LOW…book/stories/entity-ui/ParameterNodeEditor.stories.tsx41// antd swaps: `Input` → `@agenta/ui` `Input` (`onPressEnter` → an Enter `onKeyDown`);COMMENT
LOW…ook/stories/entity-ui/AgentTemplateControl.stories.tsx21import {Button as AntButton, Tooltip as AntTooltip, Typography as AntTypography} from "antd"COMMENT
LOW…stories/entity-ui/AgentToolSelectorPopover.stories.tsx1import {useEffect, useRef, type ReactNode} from "react"COMMENT
LOW…ok/stories/entity-ui/ReferenceToolFormView.stories.tsx1import type {ReactNode} from "react"COMMENT
LOW…tories/entity-ui/WorkflowReferenceSelector.stories.tsx21 Input as AntInput,COMMENT
LOW…/storybook/stories/entity-ui/SkillFormView.stories.tsx1import {useState} from "react"COMMENT
LOW…stories/entity-ui/ClaudePermissionsControl.stories.tsx1import {useState} from "react"COMMENT
LOW…rybook/stories/entity-ui/McpServerFormView.stories.tsx1import {useState, type ReactNode} from "react"COMMENT
LOW…rybook/stories/entity-ui/ToolCatalogDrawer.stories.tsx1import {toolCatalogDrawerOpenAtom} from "@agenta/entities/gatewayTool"COMMENT
LOW…book/stories/entity-ui/ToolSelectorPopover.stories.tsx21// inline function tool · reference-a-workflow). The antd half replays the pre-migrationCOMMENT
LOW…b/storybook/stories/entity-ui/ToolFormView.stories.tsx1import {useState} from "react"COMMENT
LOWweb/ee/tests/playwright/acceptance/members/index.ts61 // Scoping through `inviteModal.getByPlaceholder(...)` is unreliable here because:COMMENT
LOWweb/ee/tests/playwright/acceptance/members/index.ts141 // Waiting for the input guarantees the chunk has fully rendered.COMMENT
LOWweb/mobile/src/lib/emptyModule.ts1// Alias target for optional dependencies we never use — see `turbopack.resolveAlias`COMMENT
LOWweb/oss/tests/playwright/acceptance/playground/index.ts421 await page.mouse.move(0, 0)COMMENT
LOWweb/oss/tests/playwright/acceptance/playground/index.ts561 await loadDialogCOMMENT
LOWweb/oss/tests/playwright/acceptance/playground/index.ts581 // avoids matching "Germany" in the testset-option label or loadingCOMMENT
LOW…s/playwright/acceptance/testsset/testset-management.ts221 await expect(drawerBody).toBeVisible({timeout: 10000})COMMENT
LOW…/tests/playwright/acceptance/human-annotation/index.ts381COMMENT
333 more matches not shown…
Docstring Block Structure61 hits · 305 pts
SeverityFileLineSnippetContext
HIGHclients/python/agenta_client/organizations/client.py600 Assigns a role to a user in an organization. Args: organization_id (str): The ID oSTRING
HIGHclients/python/agenta_client/organizations/client.py1571 Assigns a role to a user in an organization. Args: organization_id (str): The ID oSTRING
HIGH…ients/python/agenta_client/organizations/raw_client.py845 Assigns a role to a user in an organization. Args: organization_id (str): The ID oSTRING
HIGH…ients/python/agenta_client/organizations/raw_client.py2022 Assigns a role to a user in an organization. Args: organization_id (str): The ID oSTRING
HIGHclients/python/agenta_client/keys/client.py91 Delete an API key with the given key prefix for the authenticated user. Args: key_STRING
HIGHclients/python/agenta_client/keys/client.py225 Delete an API key with the given key prefix for the authenticated user. Args: key_STRING
HIGHclients/python/agenta_client/keys/raw_client.py98 Delete an API key with the given key prefix for the authenticated user. Args: key_STRING
HIGHclients/python/agenta_client/keys/raw_client.py229 Delete an API key with the given key prefix for the authenticated user. Args: key_STRING
HIGHsdks/python/agenta/__init__.py120 Build a URL to view the current trace in the Agenta UI. Automatically extracts the trace ID from the current tSTRING
HIGHsdks/python/agenta/sdk/managers/config.py24 Retrieves the configuration from the route context and returns a config object. This method checks theSTRING
HIGHsdks/python/agenta/sdk/managers/config.py161 Loads configuration from a YAML file and returns a config object. Args: filename (str): ThSTRING
HIGHsdks/python/agenta/sdk/managers/config.py192 Loads configuration from a JSON file and returns a config object. Args: filename (str): ThSTRING
HIGHsdks/python/agenta/sdk/middlewares/running/resolver.py171Retrieve and validate a workflow handler by its URI. Looks up a registered handler function using the provided URI.STRING
HIGHsdks/python/agenta/sdk/middlewares/running/resolver.py490 Resolve @ag.embed references in parameters by calling the API. This function calls the API resolution endpointSTRING
HIGHsdks/python/agenta/sdk/middlewares/routing/auth.py114 Shared credential verification logic. Args: request: The HTTP request host: The agenta host URSTRING
HIGHsdks/python/agenta/sdk/utils/templating.py321Render a template string against a context using the given substitution mode. Args: template: The raw templSTRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py394 Regex test evaluator for checking if output matches a regex pattern. Args: inputs: Testcase data STRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py451 Field match test evaluator for extracting and comparing a specific field from JSON output. Args: inputSTRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py537 Multi-field JSON match evaluator for comparing multiple fields between expected and actual JSON. Each configurSTRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py650 Webhook test evaluator for sending output to an external service for evaluation. Args: inputs: TestcasSTRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py767 Custom code execution evaluator for running arbitrary code to evaluate outputs. Supports three interface versiSTRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py906 AI critique evaluator for using an LLM to evaluate outputs. Args: inputs: Testcase data with ground trSTRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py1140 Starts with evaluator for checking if output starts with a specific prefix. Args: inputs: Testcase datSTRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py1188 Ends with evaluator for checking if output ends with a specific suffix. Args: inputs: Testcase data STRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py1236 Contains evaluator for checking if output contains a specific substring. Args: inputs: Testcase data STRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py1284 Contains any evaluator for checking if output contains any of the specified substrings. Args: inputs: STRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py1341 Contains all evaluator for checking if output contains all of the specified substrings. Args: inputs: STRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py1397 Contains JSON evaluator for checking if output contains valid JSON content. Args: inputs: Testcase datSTRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py1440 JSON diff evaluator for finding differences between JSON structures. Args: inputs: Testcase data with STRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py1531 Levenshtein distance evaluator using pure Python implementation. Measures edit distance and returns normalized STRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py1634 Similarity match evaluator for measuring string similarity between output and reference. Args: inputs:STRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py1723 Semantic similarity evaluator for measuring semantic similarity between output and reference using embeddings. STRING
HIGHsdks/python/agenta/sdk/engines/running/handlers.py3128 Deterministic mock workflow (agenta:custom:mock:v0). Selects a predefined behavior by name — no LLM, no code sSTRING
HIGHsdks/python/agenta/sdk/engines/running/utils.py413Register (or REPLACE) a handler function in the global handler registry. Stores a callable in the HANDLER_REGISTRY STRING
HIGHsdks/python/agenta/sdk/engines/tracing/tracing.py354 Build a URL to view a trace in the Agenta UI. Automatically extracts the trace ID from the current traSTRING
HIGH…/custom_workflows/ai-code-reviewer/ai-code-reviewer.py34 Fetch the diff for a GitHub Pull Request given its URL. Args: pr_url (str): Full GitHub PR URL (e.g., STRING
HIGHapi/oss/tests/pytest/utils/polling.py17 Poll until a condition is met using exponential backoff. Args: check_fn: Function that returns (conditSTRING
HIGHapi/oss/tests/pytest/utils/polling.py67 Fetch from API with exponential backoff until conditions are met. This is a generalized polling function that STRING
HIGHapi/oss/src/routers/api_key_router.py110 Delete an API key with the given key prefix for the authenticated user. Args: key_prefix (str): The prSTRING
HIGHapi/oss/src/routers/organization_router.py156 Assigns a role to a user in an organization. Args: organization_id (str): The ID of the organization. STRING
HIGH…s/src/apis/fastapi/otlp/extractors/adapter_registry.py63Extract all features from the canonical attribute. Args: attributes: The canonical attributes STRING
HIGHapi/oss/src/core/access/permissions/service.py122 Check if a user has access to a specific workspace and the workspace organization. Args: user_org_workSTRING
HIGHapi/oss/src/core/auth/types.py56 Check if an identity matches an allowed pattern. Args: identity: Authentication method (e.STRING
HIGHapi/oss/src/core/auth/middleware.py26 Check if user's identities satisfy the organization's allowed_methods policy. Supports wildcards defined in MeSTRING
HIGHapi/oss/src/core/workflows/service.py2993 Fetch and resolve a workflow revision with embedded references. Resolves embedded workflow and environSTRING
HIGHapi/oss/src/core/embeds/utils.py526 Resolve embedded references in a configuration. This is a pure orchestration function that: 1. Finds embedSTRING
HIGHapi/oss/src/core/embeds/utils.py1369 Extract value at JSON path using dot notation. Example: "params.prompt.messages.0.content" Args: STRING
HIGHapi/oss/src/middlewares/auth.py182 Middleware function for authentication. This function checks for an API key in the request headers, validates STRING
HIGHapi/oss/src/utils/emailing.py235 Add a contact to the Loops audience, with retry and exponential backoff. No-op (returns None) when Loops is diSTRING
HIGHapi/oss/src/utils/emailing.py283 Remove a contact from the Loops audience, with retry and exponential backoff. No-op (returns None) when Loops STRING
HIGHapi/oss/src/utils/throttling.py195 Execute a Redis Lua script operation with automatic NOSCRIPT retry. Args: operation: Async callable thSTRING
HIGHapi/oss/src/utils/throttling.py324 Convert key to string representation. Args: key: Bucket key - str or dict Returns: StringSTRING
HIGHapi/oss/src/utils/throttling.py350 Build Redis key from str or dict by prepending 'throttle:' prefix. Args: key: Bucket key - str or dictSTRING
HIGHapi/oss/src/utils/throttling.py443 Layer 2: Check rate limit and consume one token. Args: key: Bucket key - str or dict str: STRING
HIGHapi/oss/src/utils/traces.py14 Modify the values of the mapping dictionary to remove 'trace.' prefix if it exists. Args: mapping_dictSTRING
HIGHapi/oss/src/services/db_manager.py1236 Retrieves a user from a database based on their ID. Args: user_id (str): The ID of the user to retrievSTRING
HIGHapi/oss/src/services/db_manager.py1280 Retrieves a user from the database based on their email address. Args: email (str): The email address STRING
HIGHapi/oss/src/services/db_manager.py1315 Create an organization invitation to a user. Args: project_id (str): The ID of the project. toSTRING
HIGHapi/oss/src/services/organization_service.py379 Accept an invitation to a workspace. Args: token (str): The invitation token. organization_id STRING
HIGHapi/oss/src/services/api_key_service.py144 Validates and checks the rate limit of an API key. Args: key (str): The API key to be used and validatSTRING
1 more matches not shown…
Deep Nesting304 hits · 266 pts
SeverityFileLineSnippetContext
LOWclients/python/agenta_client/core/jsonable_encoder.py31CODE
LOWclients/python/agenta_client/core/file.py46CODE
LOWclients/python/agenta_client/core/query_encoder.py9CODE
LOWclients/python/agenta_client/core/query_encoder.py26CODE
LOWclients/python/agenta_client/core/pydantic_utilities.py40CODE
LOWclients/python/agenta_client/core/pydantic_utilities.py197CODE
LOWclients/python/agenta_client/core/http_sse/_decoders.py15CODE
LOWantd-inventory/variants.py61CODE
LOWantd-inventory/variants.py113CODE
LOWantd-inventory/extract.py62CODE
LOWantd-inventory/extract.py109CODE
LOWsdks/python/agenta/sdk/evaluations/runtime/processor.py80CODE
LOWsdks/python/agenta/sdk/evaluations/runtime/processor.py142CODE
LOWsdks/python/agenta/sdk/evaluations/preview/utils.py172CODE
LOWsdks/python/agenta/sdk/evaluations/preview/utils.py266CODE
LOWsdks/python/agenta/sdk/evaluations/preview/utils.py388CODE
LOWsdks/python/agenta/sdk/evaluations/preview/utils.py511CODE
LOWsdks/python/agenta/sdk/evaluations/preview/utils.py693CODE
LOWsdks/python/agenta/sdk/evaluations/preview/utils.py94CODE
LOWsdks/python/agenta/sdk/evaluations/preview/evaluate.py203CODE
LOWsdks/python/agenta/sdk/decorators/tracing.py84CODE
LOWsdks/python/agenta/sdk/decorators/tracing.py383CODE
LOWsdks/python/agenta/sdk/decorators/tracing.py435CODE
LOWsdks/python/agenta/sdk/decorators/tracing.py491CODE
LOWsdks/python/agenta/sdk/decorators/tracing.py287CODE
LOWsdks/python/agenta/sdk/decorators/tracing.py399CODE
LOWsdks/python/agenta/sdk/decorators/tracing.py444CODE
LOWsdks/python/agenta/sdk/decorators/tracing.py93CODE
LOWsdks/python/agenta/sdk/decorators/tracing.py160CODE
LOWsdks/python/agenta/sdk/decorators/tracing.py226CODE
LOWsdks/python/agenta/sdk/decorators/tracing.py189CODE
LOWsdks/python/agenta/sdk/decorators/routing.py189CODE
LOWsdks/python/agenta/sdk/decorators/routing.py312CODE
LOWsdks/python/agenta/sdk/managers/testsets.py80CODE
LOWsdks/python/agenta/sdk/middlewares/running/vault.py131CODE
LOWsdks/python/agenta/sdk/middlewares/running/vault.py287CODE
LOWsdks/python/agenta/sdk/middlewares/running/vault.py427CODE
LOWsdks/python/agenta/sdk/middlewares/running/resolver.py220CODE
LOW…ks/python/agenta/sdk/middlewares/running/normalizer.py56CODE
LOW…ks/python/agenta/sdk/middlewares/running/normalizer.py266CODE
LOWsdks/python/agenta/sdk/middlewares/routing/auth.py108CODE
LOWsdks/python/agenta/sdk/agents/dtos.py529CODE
LOWsdks/python/agenta/sdk/agents/model_catalog.py101CODE
LOWsdks/python/agenta/sdk/agents/capabilities.py268CODE
LOWsdks/python/agenta/sdk/agents/streaming.py64CODE
LOWsdks/python/agenta/sdk/agents/fold.py37CODE
LOWsdks/python/agenta/sdk/agents/tools/resolver.py176CODE
LOWsdks/python/agenta/sdk/agents/platform/secrets.py32CODE
LOWsdks/python/agenta/sdk/agents/utils/ts_runner.py227CODE
LOW…s/python/agenta/sdk/agents/adapters/claude_settings.py102CODE
LOW…s/python/agenta/sdk/agents/adapters/claude_settings.py134CODE
LOWsdks/python/agenta/sdk/agents/adapters/vercel/stream.py163CODE
LOWsdks/python/agenta/sdk/agents/adapters/vercel/stream.py447CODE
LOWsdks/python/agenta/sdk/agents/adapters/vercel/stream.py691CODE
LOW…s/python/agenta/sdk/agents/adapters/vercel/messages.py166CODE
LOWsdks/python/agenta/sdk/agents/connections/endpoints.py37CODE
LOWsdks/python/agenta/sdk/agents/skills/parsing.py29CODE
LOWsdks/python/agenta/sdk/models/workflows.py157CODE
LOWsdks/python/agenta/sdk/models/workflows.py198CODE
LOWsdks/python/agenta/sdk/engines/running/handlers.py240CODE
244 more matches not shown…
Structural Annotation Overuse126 hits · 215 pts
SeverityFileLineSnippetContext
LOWclients/scripts/generate.sh426 # Step 1: Replace the recursive type alias definitions with Any.COMMENT
LOWclients/scripts/generate.sh444 # Step 2: Replace every forward-reference string and Optional wrapper for theseCOMMENT
LOW…ests/legacy/new_tests/workflows/observability/tests.py62 # Step 1: Exclude lifecycle attribute from response(s)COMMENT
LOW…ests/legacy/new_tests/workflows/observability/tests.py66 # Step 2: Compare structures with Jest-like matcherCOMMENT
LOWweb/_reference/agenta-sdk/src/workflows.ts214 // Step 1: Create the workflowCOMMENT
LOWweb/_reference/agenta-sdk/src/workflows.ts231 // Step 2: Create a default variantCOMMENT
LOW…e/agenta-sdk/src/optimization/simulate-conversation.ts227 // Step 1: Get the simulated user's messageCOMMENT
LOW…e/agenta-sdk/src/optimization/simulate-conversation.ts242 // Step 2: Get the agent's response by invoking the candidate promptCOMMENT
LOW…e/agenta-sdk/src/optimization/simulate-conversation.ts252 // Step 3: Judge the conversationCOMMENT
LOW…ce/agenta-sdk/src/auto-agenta/03-orchestration-loop.md30### Step 1: Prompt AnalysisCOMMENT
LOW…ce/agenta-sdk/src/auto-agenta/03-orchestration-loop.md46### Step 2: Test Set GenerationCOMMENT
LOW…ce/agenta-sdk/src/auto-agenta/03-orchestration-loop.md53### Step 3: Evaluator SetupCOMMENT
LOW…ce/agenta-sdk/src/auto-agenta/03-orchestration-loop.md60### Step 4: Baseline EvaluationCOMMENT
LOW…ce/agenta-sdk/src/auto-agenta/03-orchestration-loop.md65### Step 5: Variant GenerationCOMMENT
LOW…ce/agenta-sdk/src/auto-agenta/03-orchestration-loop.md84### Step 6: Comparative EvaluationCOMMENT
LOW…ce/agenta-sdk/src/auto-agenta/03-orchestration-loop.md89### Step 7: DecisionCOMMENT
LOW…ce/agenta-sdk/src/auto-agenta/03-orchestration-loop.md96### Step 8: Deploy + MonitorCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts273 // Step 3: The evaluator-flavored page has a "Select app" picker in the headerCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts279 // Step 4: Open the picker and select a completion-type app.COMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts357 // Step 6: Fill testcase fields. For the standard country-capitals completionCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts363 // Step 7: Click RunCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts369 // Step 8: Verify the evaluator result card appearsCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts392 // Step 1: Navigate to the evaluators pageCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts395 // Step 2: Switch to the Human Evaluators tabCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts398 // Step 3: Open the create drawer, fill in the form, and submitCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts401 // Step 4: Verify the success message (already checked inside the helper,COMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts228 // Step 1: Navigate and create a fresh Exact Match evaluatorCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts260 // Step 2: Post-commit navigates to `/apps/<id>/playground` — theCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts345 // Step 5: Verify completion-app UI (Testcase Data section) appears.COMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts413 // Step 5: Verify the new evaluator appears in the Human tab table.COMMENT
LOWweb/packages/agenta-entities/src/annotation/api/api.ts249 // Step 1: Find annotation spans that link to the invocation trace_id.COMMENT
LOWweb/packages/agenta-entities/src/annotation/api/api.ts283 // Step 2: Extract annotation trace_ids and fetch full annotation dataCOMMENT
LOWweb/packages/agenta-entities/src/workflow/api/api.ts849 // Step 1: Create the workflowCOMMENT
LOWweb/packages/agenta-entities/src/workflow/api/api.ts876 // Step 2: Create a default variant (revisions require a variant_id)COMMENT
LOWweb/packages/agenta-entities/src/workflow/api/api.ts902 // Step 3: Commit seed revision (v0) — tables dismiss v0, so theCOMMENT
LOWweb/packages/agenta-entities/src/workflow/api/api.ts924 // Step 4: Commit actual data revision (v1) with full parametersCOMMENT
LOW…agenta-entities/src/workflow/api/createFromTemplate.ts166 // Step 1: Resolve template from catalog (unless custom URL)COMMENT
LOW…agenta-entities/src/workflow/api/createFromTemplate.ts199 // Step 2: Create workflow with template dataCOMMENT
LOW…tests/integration/testsetWriteback.integration.test.ts229 // Step 1: annotate the first scenario, save immediately.COMMENT
LOW…tests/integration/testsetWriteback.integration.test.ts233 // Step 2: finish the rest, save everything.COMMENT
LOW…tests/integration/testsetWriteback.integration.test.ts239 // Step 4: archive the head revision, then save again.COMMENT
LOW…n/src/state/controllers/annotationSessionController.ts1933 // Step 1: Refetch scenario steps FIRST (awaited).COMMENT
LOW…n/src/state/controllers/annotationSessionController.ts1964 // Step 2: Refetch annotation queries (awaited).COMMENT
LOW…n/src/state/controllers/annotationSessionController.ts2051 // Step 3: Trigger metrics refresh then refetch (fire-and-forget, independent)COMMENT
LOW…ity-ui/src/gatewayTool/drawers/ToolExecutionDrawer.tsx124// Step 1: Action Picker (infinite scroll)COMMENT
LOW…ity-ui/src/gatewayTool/drawers/ToolExecutionDrawer.tsx267// Step 2: Action Detail (inputs + execute + outputs)COMMENT
LOW.agents/skills/create-changelog-announcement/SKILL.md185### Step 1: Gather InformationCOMMENT
LOW.agents/skills/create-changelog-announcement/SKILL.md194### Step 2: Search for Related DocumentationCOMMENT
LOW.agents/skills/create-changelog-announcement/SKILL.md200### Step 3: Create Detailed EntryCOMMENT
LOW.agents/skills/create-changelog-announcement/SKILL.md257### Step 4: Write the Summary and Place the Truncate MarkerCOMMENT
LOW.agents/skills/create-changelog-announcement/SKILL.md272### Step 5: Add Sidebar AnnouncementCOMMENT
LOW.agents/skills/create-changelog-announcement/SKILL.md287### Step 6: Update RoadmapCOMMENT
LOW.agents/skills/create-changelog-announcement/SKILL.md311### Step 7: Check GitHub DiscussionCOMMENT
LOW.agents/skills/create-changelog-announcement/SKILL.md319### Step 8: Create Social Media AnnouncementsCOMMENT
LOW.agents/skills/create-changelog-announcement/SKILL.md334### Step 9: Build and VerifyCOMMENT
LOW.agents/skills/add-announcement/SKILL.md73### Step 1: Read the current changelog.jsonCOMMENT
LOW.agents/skills/add-announcement/SKILL.md79### Step 2: Add your entryCOMMENT
LOW.agents/skills/add-announcement/SKILL.md99### Step 3: Verify the formatCOMMENT
LOW.agents/skills/add-announcement/SKILL.md104### Step 4: Test locallyCOMMENT
LOW.agents/skills/add-harness/SKILL.md18## Step 0: audit prior art before writing anythingCOMMENT
66 more matches not shown…
Cross-Language Confusion36 hits · 159 pts
SeverityFileLineSnippetContext
HIGHsdks/python/agenta/sdk/engines/running/templates.py51 result = null;CODE
HIGHsdks/python/agenta/sdk/engines/running/templates.py73result = Number.isFinite(resultNum) ? resultNum : null;CODE
HIGHsdks/python/agenta/sdk/engines/running/templates.py121 result = null;CODE
HIGHsdks/python/agenta/sdk/engines/running/templates.py142result = Number.isFinite(resultNum) ? resultNum : null;CODE
HIGHsdks/python/agenta/sdk/engines/running/templates.py185if (result === undefined) {{CODE
HIGHsdks/python/agenta/sdk/engines/running/templates.py186 result = null;CODE
HIGHsdks/python/agenta/sdk/engines/running/templates.py204if (result === undefined) {{CODE
HIGHsdks/python/agenta/sdk/engines/running/templates.py205 result = null;CODE
HIGH…tests/pytest/unit/test_llm_v0_handler_flags_running.py29 """`_UNSET` keys are omitted from `flags` entirely (absent, not explicit null)."""STRING
HIGH…n/oss/tests/pytest/unit/test_render_template_helper.py1199 {"expr": 'a < b && c > d "quoted"'},CODE
HIGH…n/oss/tests/pytest/unit/test_render_template_helper.py1201 assert rendered == 'compare: a < b && c > d "quoted"'CODE
HIGH…oss/tests/pytest/unit/test_workflow_control_running.py17 missing -> no turn -> a control call (absent; not null, not {})STRING
HIGHsdks/python/oss/tests/pytest/unit/test_message_types.py32 {"role": "assistant", "content": "Hello", "tool_calls": null}CODE
HIGH…ts/pytest/unit/agents/test_dtos_capabilities_events.py62 # exporter's standard `authorization` header). Unset fields stay null, as before.COMMENT
HIGH…hon/oss/tests/pytest/unit/agents/test_wire_contract.py398 An unknown read-only hint must ride the wire as an explicit null, not as a dropped key: aSTRING
HIGH…hon/oss/tests/pytest/unit/agents/test_wire_contract.py422 The subset guard cannot catch a field that is emitted as null, so assert the key'sSTRING
HIGH…sts/pytest/unit/agents/tools/test_permission_parity.py90 things: the producer emits the null, and the consumer model parses it back as ``None``.STRING
HIGH…gents/skills/agent-release-gate/resources/matrix_w5.py63 "sleep 20 && echo LONG_TURN_DONE"CODE
HIGH…ents/skills/agent-release-gate/resources/qa_product.py328 "echo WROTE > /tmp/qa-$(hostname).txt && cat /tmp/qa-$(hostname).txt "CODE
HIGH…ive/wp-8-rivet-acp-runtime/poc/build_rivet_snapshot.py70 "RUN pi --version || true",CODE
HIGH…ows/archive/wp-3-daytona-sandbox/poc/build_snapshot.py72 "apt-get update && apt-get install -y --no-install-recommends ripgrep fd-find && rm -rf /var/lib/apt/lists/*CODE
HIGH…ows/archive/wp-3-daytona-sandbox/poc/build_snapshot.py75 "pi --version || true",CODE
HIGHexamples/python/RAG_QA_chatbot/scripts/test_traces.py6 source .venv/bin/activate && python scripts/test_traces.pySTRING
HIGHexamples/python/cv-screening/setup_app.py9 leave the uri null, so the playground shows a 404 instead of running.STRING
HIGHapi/oss/tests/pytest/unit/sessions/test_owner_claim.py15Run: cd api && uv run --no-sync python -m pytest oss/tests/pytest/unit/sessions/test_owner_claim.py -x -qSTRING
HIGH…sts/pytest/unit/sessions/test_records_turn_span_dao.py12 - old records (turn_id/span_id both null, as if written before this column existed)STRING
HIGH…/oss/tests/pytest/unit/sessions/test_redis_contract.py11Run: cd api && py-run-testsSTRING
HIGH…acceptance/evaluations/test_evaluation_metrics_flow.py15 - global = whole run (scenario_id null) — used for batch evaluationsSTRING
HIGHapi/oss/src/apis/fastapi/tools/router.py2062 if (window.opener && !window.opener.closed && AGENTA_POST_MESSAGE_ORIGIN) {{CODE
HIGHapi/oss/src/apis/fastapi/tools/router.py2078 if (window.opener && AGENTA_POST_MESSAGE_ORIGIN) {{CODE
HIGHapi/oss/src/core/workflows/service.py2300 A field that is absent, null, or an empty string is the same field: not set. TheSTRING
HIGH…rvices/runner/images/sandbox/daytona/build_snapshot.py126if (!after || after[2] !== patched) {{CODE
HIGH…rvices/runner/images/sandbox/daytona/build_snapshot.py135 "&& node /tmp/patch-codex-acp.mjs && rm /tmp/patch-codex-acp.mjs"STRING
HIGH…rvices/runner/images/sandbox/daytona/build_snapshot.py200 "RUN apt-get update && apt-get install -y --no-install-recommends fuse curl "STRING
HIGH…rvices/runner/images/sandbox/daytona/build_snapshot.py206 # rewrite with no JS API (ts.sys undefined).STRING
HIGH…rvices/runner/images/sandbox/daytona/build_snapshot.py210 "&& ts-node /tmp/v.ts && rm /tmp/v.ts",STRING
AI Structural Patterns208 hits · 154 pts
SeverityFileLineSnippetContext
LOWclients/python/agenta_client/traces/client.py399CODE
LOWclients/python/agenta_client/traces/client.py1206CODE
LOWclients/python/agenta_client/traces/raw_client.py541CODE
LOWclients/python/agenta_client/traces/raw_client.py1563CODE
LOWclients/python/agenta_client/core/http_client.py256CODE
LOWclients/python/agenta_client/core/http_client.py359CODE
LOWclients/python/agenta_client/core/http_client.py473CODE
LOWclients/python/agenta_client/core/http_client.py579CODE
LOWclients/python/agenta_client/core/pydantic_utilities.py133CODE
LOWclients/python/agenta_client/mounts/client.py427CODE
LOWclients/python/agenta_client/mounts/client.py1041CODE
LOWclients/python/agenta_client/mounts/raw_client.py634CODE
LOWclients/python/agenta_client/mounts/raw_client.py1383CODE
LOWclients/python/agenta_client/environments/client.py200CODE
LOWclients/python/agenta_client/environments/client.py395CODE
LOWclients/python/agenta_client/environments/client.py675CODE
LOWclients/python/agenta_client/environments/client.py803CODE
LOWclients/python/agenta_client/environments/client.py1281CODE
LOWclients/python/agenta_client/environments/client.py1524CODE
LOWclients/python/agenta_client/environments/client.py1868CODE
LOWclients/python/agenta_client/environments/client.py2020CODE
LOWclients/python/agenta_client/environments/raw_client.py272CODE
LOWclients/python/agenta_client/environments/raw_client.py556CODE
LOWclients/python/agenta_client/environments/raw_client.py969CODE
LOWclients/python/agenta_client/environments/raw_client.py1151CODE
LOWclients/python/agenta_client/environments/raw_client.py1803CODE
LOWclients/python/agenta_client/environments/raw_client.py2087CODE
LOWclients/python/agenta_client/environments/raw_client.py2500CODE
LOWclients/python/agenta_client/environments/raw_client.py2682CODE
LOWclients/python/agenta_client/queries/client.py197CODE
LOWclients/python/agenta_client/queries/client.py1120CODE
LOWclients/python/agenta_client/queries/raw_client.py269CODE
LOWclients/python/agenta_client/queries/raw_client.py1612CODE
LOWclients/python/agenta_client/workflows/client.py532CODE
LOWclients/python/agenta_client/workflows/client.py773CODE
LOWclients/python/agenta_client/workflows/client.py879CODE
LOWclients/python/agenta_client/workflows/client.py927CODE
LOWclients/python/agenta_client/workflows/client.py1120CODE
LOWclients/python/agenta_client/workflows/client.py1256CODE
LOWclients/python/agenta_client/workflows/client.py2078CODE
LOWclients/python/agenta_client/workflows/client.py2367CODE
LOWclients/python/agenta_client/workflows/client.py2489CODE
LOWclients/python/agenta_client/workflows/client.py2545CODE
LOWclients/python/agenta_client/workflows/client.py2786CODE
LOWclients/python/agenta_client/workflows/client.py2946CODE
LOWclients/python/agenta_client/workflows/raw_client.py691CODE
LOWclients/python/agenta_client/workflows/raw_client.py1021CODE
LOWclients/python/agenta_client/workflows/raw_client.py1163CODE
LOWclients/python/agenta_client/workflows/raw_client.py1239CODE
LOWclients/python/agenta_client/workflows/raw_client.py1533CODE
LOWclients/python/agenta_client/workflows/raw_client.py1725CODE
LOWclients/python/agenta_client/workflows/raw_client.py2720CODE
LOWclients/python/agenta_client/workflows/raw_client.py3050CODE
LOWclients/python/agenta_client/workflows/raw_client.py3192CODE
LOWclients/python/agenta_client/workflows/raw_client.py3268CODE
LOWclients/python/agenta_client/workflows/raw_client.py3562CODE
LOWclients/python/agenta_client/workflows/raw_client.py3754CODE
LOWclients/python/agenta_client/legacy/client.py30CODE
LOWclients/python/agenta_client/legacy/client.py95CODE
LOWclients/python/agenta_client/legacy/raw_client.py24CODE
148 more matches not shown…
Modern AI Meta-Vocabulary49 hits · 148 pts
SeverityFileLineSnippetContext
MEDIUM…vability_sdk/integrations/llama_index/01_simple_RAG.py28 # Configure embedding modelCOMMENT
MEDIUM…/agenta-sdk/src/auto-agenta/07-agenta-agent-answers.md205## Answers to 03-orchestration-loop.mdCOMMENT
MEDIUM…a-sdk/src/auto-agenta/19-sdk-ui-components-proposal.md45└── auto-agenta/ # orchestration (existing)CODE
MEDIUMweb/packages/agenta-playground/README.md321│ ├── useChainExecution.ts # Execution orchestrationCODE
MEDIUM…ckages/agenta-chat/src/hooks/useComposerAttachments.ts71 // Files turned away by the guardrails (too big, wrong type, over the count), shown inline.COMMENT
MEDIUM…ckages/agenta-chat/src/hooks/useComposerAttachments.ts256 // guardrails would reject as "not a supported file type", which is misleading. Name it.COMMENT
MEDIUM.agents/skills/implement-feature/SKILL.md45## Keep the orchestration console current (when the effort has one)COMMENT
MEDIUM…s/skills/agent-release-gate/resources/qa_matrix_lib.py693# Frame types that carry no content: the stream scaffolding, the model's private reasoning, andCOMMENT
MEDIUM…ents/skills/agent-release-gate/resources/qa_product.py718 # a denied model will happily hallucinate the output it never received. Require theCOMMENT
MEDIUM…-workflows/projects/provider-model-auth/build-notes.md70## 2026-06-24 — PR structure follows the multi-agent coordination protocolCOMMENT
MEDIUM…n/agent-workflows/projects/provider-model-auth/plan.md16## Scope guardrailsCOMMENT
MEDIUM…/sandbox-agent-refactor/sandbox-agent-refactor-plan.md103 index.ts # main orchestration, or re-exported by ../sandbox_agent.tsCODE
MEDIUM…sign/agent-workflows/scratch/flows-and-capabilities.md39## Flow 2 — Triggered agent (event-driven)COMMENT
MEDIUM…sign/agenta-mobile/plans/2026-07-26-wp5-device-gate.md786// Placeholder route shell: proves the scaffold end to end (basePath, TailwindCOMMENT
MEDIUM…genta-mobile/plans/2026-07-12-wp1-mobile-foundation.md322## Phase 2 — `web/mobile` app scaffold and workspace wiringCOMMENT
MEDIUM…genta-mobile/plans/2026-07-12-wp1-mobile-foundation.md596 // Placeholder route shell: proves the scaffold end to end (basePath, TailwindCOMMENT
MEDIUM…genta-mobile/plans/2026-07-12-wp1-mobile-foundation.md630### Task 2.9 — Commit the scaffoldCOMMENT
MEDIUM…/playground-open-from-trace/retrieve-endpoint-audit.md200### PR 1: Backend — guardrails only, no behavior changeCOMMENT
MEDIUMdocs/design/playground-open-from-trace/followups.md4original bug, the data model, and PR #4418's guardrails. PR #4422 extended thoseCODE
MEDIUMdocs/design/agenta-sessions-consolidation/plan.md202### Verdict: **no new package.** Extend `@agenta/entities/session`, and put conversation-level orchestration in `@agentaCOMMENT
MEDIUMdocs/designs/access-controls-refactor-plan.md90### `core/access/controls.py` (shared orchestration)COMMENT
MEDIUMdocs/designs/gateway-tools/specs.md1042├── service.py # Business orchestrationCODE
MEDIUMdocs/designs/runnables/runnables-subsystem-layer.md124## 4. API runnable orchestration subsystemCOMMENT
MEDIUMdocs/designs/runnables/runnables-component-layer.md95## 4. API workflow orchestration componentsCOMMENT
MEDIUMdocs/designs/sessions/interactions/extend/tasks.md100## Notes / guardrailsCOMMENT
MEDIUMdocs/designs/sessions/mounts/extend/tasks.md180## Notes / guardrailsCOMMENT
MEDIUMdocs/designs/workers-sprawl/tasks.md148## Package 2 (follow-up) — the rest of the orchestration surfaceCOMMENT
MEDIUMdocs/docs/reference/openapi.json1{"openapi":"3.1.0","info":{"title":"Agenta API","description":"Agenta API","contact":{"name":"Agenta","url":"https://ageCODE
MEDIUMdocs/docs/reference/openapi.json1{"openapi":"3.1.0","info":{"title":"Agenta API","description":"Agenta API","contact":{"name":"Agenta","url":"https://ageCODE
MEDIUMexamples/python/RAG_QA_chatbot/README.md1# RAG QA ChatbotCOMMENT
MEDIUMexamples/python/RAG_QA_chatbot/README.md123│ └── rag.py # RAG pipeline (retrieve + generate)CODE
MEDIUMexamples/python/RAG_QA_chatbot/test_rag.py47 # Then test full RAGCOMMENT
MEDIUMexamples/python/RAG_QA_chatbot/ingest/__init__.py1# Ingestion module for RAG chatbotCOMMENT
MEDIUMexamples/python/RAG_QA_chatbot/backend/config.py22 # RAG settingsCOMMENT
MEDIUMexamples/python/RAG_QA_chatbot/backend/agent_loop.py43# Cap the agentic loop so a misbehaving model can't spin forever.COMMENT
MEDIUMexamples/python/RAG_QA_chatbot/backend/__init__.py1# Backend module for RAG chatbotCOMMENT
MEDIUMexamples/python/custom_workflows/rag-docs-qa/README.md1# RAG Q&A Documentation SystemCOMMENT
MEDIUMapi/oss/tests/pytest/unit/tools/test_discovery.py332# Service orchestration: connection-state derivation + the D6 cache splitCOMMENT
MEDIUM…s/tests/manual/tracing/ingestion/openinference_dspy.py29# Use case 2: Retrieval-Augmented Generation (RAG) with Wikipedia searchCOMMENT
MEDIUM…s/tests/manual/tracing/ingestion/openinference_dspy.py100 # Use case 2: RAG with WikipediaCOMMENT
MEDIUM…sts/manual/tracing/ingestion/openllmetry_llamaindex.py28 # Configure embedding modelCOMMENT
MEDIUMapi/oss/src/core/tools/dtos.py368# ``core/tools/platform_handlers.py`` for the orchestration and the registry).COMMENT
MEDIUMapi/oss/src/core/evaluations/tasks/run.py302 # --- entry point 1: run_from_source — orchestrate a run by topology -----COMMENT
MEDIUMapi/oss/src/core/accounts/service.py1190 # Also scaffold default org / workspace / projectCOMMENT
MEDIUMapi/oss/src/resources/evaluators/evaluators.py57 "content": "You are an expert evaluator grading model outputs for hallucinations. Your task CODE
MEDIUMapi/oss/src/resources/evaluators/evaluators.py835 # "name": "RAG Faithfulness",COMMENT
MEDIUMapi/oss/src/resources/evaluators/evaluators.py841 # "description": "RAG Faithfulness evaluator assesses the accuracy and reliability of responses generated by RetCOMMENT
MEDIUMapi/oss/src/resources/evaluators/evaluators.py847 # "name": "RAG Context Relevancy",COMMENT
MEDIUMapi/oss/src/resources/evaluators/evaluators.py853 # "description": "RAG Context Relevancy evaluator measures how relevant the retrieved documents or contexts are COMMENT
Verbosity Indicators54 hits · 94 pts
SeverityFileLineSnippetContext
LOWclients/scripts/generate.sh426 # Step 1: Replace the recursive type alias definitions with Any.COMMENT
LOWclients/scripts/generate.sh444 # Step 2: Replace every forward-reference string and Optional wrapper for theseCOMMENT
LOW…ests/legacy/new_tests/workflows/observability/tests.py62 # Step 1: Exclude lifecycle attribute from response(s)COMMENT
LOW…ests/legacy/new_tests/workflows/observability/tests.py66 # Step 2: Compare structures with Jest-like matcherCOMMENT
LOWweb/_reference/agenta-sdk/src/workflows.ts214 // Step 1: Create the workflowCOMMENT
LOWweb/_reference/agenta-sdk/src/workflows.ts231 // Step 2: Create a default variantCOMMENT
LOW…e/agenta-sdk/src/optimization/simulate-conversation.ts227 // Step 1: Get the simulated user's messageCOMMENT
LOW…e/agenta-sdk/src/optimization/simulate-conversation.ts242 // Step 2: Get the agent's response by invoking the candidate promptCOMMENT
LOW…e/agenta-sdk/src/optimization/simulate-conversation.ts252 // Step 3: Judge the conversationCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts273 // Step 3: The evaluator-flavored page has a "Select app" picker in the headerCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts279 // Step 4: Open the picker and select a completion-type app.COMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts357 // Step 6: Fill testcase fields. For the standard country-capitals completionCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts363 // Step 7: Click RunCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts369 // Step 8: Verify the evaluator result card appearsCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts392 // Step 1: Navigate to the evaluators pageCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts395 // Step 2: Switch to the Human Evaluators tabCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts398 // Step 3: Open the create drawer, fill in the form, and submitCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts401 // Step 4: Verify the success message (already checked inside the helper,COMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts228 // Step 1: Navigate and create a fresh Exact Match evaluatorCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts260 // Step 2: Post-commit navigates to `/apps/<id>/playground` — theCOMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts345 // Step 5: Verify completion-app UI (Testcase Data section) appears.COMMENT
LOWweb/oss/tests/playwright/acceptance/evaluators/index.ts413 // Step 5: Verify the new evaluator appears in the Human tab table.COMMENT
LOWweb/packages/agenta-entities/src/annotation/api/api.ts249 // Step 1: Find annotation spans that link to the invocation trace_id.COMMENT
LOWweb/packages/agenta-entities/src/annotation/api/api.ts283 // Step 2: Extract annotation trace_ids and fetch full annotation dataCOMMENT
LOWweb/packages/agenta-entities/src/workflow/api/api.ts849 // Step 1: Create the workflowCOMMENT
LOWweb/packages/agenta-entities/src/workflow/api/api.ts876 // Step 2: Create a default variant (revisions require a variant_id)COMMENT
LOWweb/packages/agenta-entities/src/workflow/api/api.ts902 // Step 3: Commit seed revision (v0) — tables dismiss v0, so theCOMMENT
LOWweb/packages/agenta-entities/src/workflow/api/api.ts924 // Step 4: Commit actual data revision (v1) with full parametersCOMMENT
LOW…agenta-entities/src/workflow/api/createFromTemplate.ts166 // Step 1: Resolve template from catalog (unless custom URL)COMMENT
LOW…agenta-entities/src/workflow/api/createFromTemplate.ts199 // Step 2: Create workflow with template dataCOMMENT
LOW…tests/integration/testsetWriteback.integration.test.ts229 // Step 1: annotate the first scenario, save immediately.COMMENT
LOW…tests/integration/testsetWriteback.integration.test.ts233 // Step 2: finish the rest, save everything.COMMENT
LOW…tests/integration/testsetWriteback.integration.test.ts239 // Step 4: archive the head revision, then save again.COMMENT
LOW…n/src/state/controllers/annotationSessionController.ts1933 // Step 1: Refetch scenario steps FIRST (awaited).COMMENT
LOW…n/src/state/controllers/annotationSessionController.ts1964 // Step 2: Refetch annotation queries (awaited).COMMENT
LOW…n/src/state/controllers/annotationSessionController.ts2051 // Step 3: Trigger metrics refresh then refetch (fire-and-forget, independent)COMMENT
LOW…ity-ui/src/gatewayTool/drawers/ToolExecutionDrawer.tsx124// Step 1: Action Picker (infinite scroll)COMMENT
LOW…ity-ui/src/gatewayTool/drawers/ToolExecutionDrawer.tsx267// Step 2: Action Detail (inputs + execute + outputs)COMMENT
LOW…amples/python/custom_workflows/chain_of_prompts/app.py44 # Step 1: SummarizeCOMMENT
LOW…amples/python/custom_workflows/chain_of_prompts/app.py49 # Step 2: Write tweetCOMMENT
LOWapi/oss/tests/legacy/workflows/observability/tests.py62 # Step 1: Exclude lifecycle attribute from response(s)COMMENT
LOWapi/oss/tests/legacy/workflows/observability/tests.py66 # Step 2: Compare structures with Jest-like matcherCOMMENT
LOWapi/oss/tests/manual/embeds/manual_test_api_simple.py33 # Step 1: Mock a workflow revision with an embedCOMMENT
LOWapi/oss/tests/manual/embeds/manual_test_api_simple.py61 # Step 2: Create resolver that simulates fetching referenced entitiesCOMMENT
LOWapi/oss/tests/manual/embeds/manual_test_api_simple.py80 # Step 3: Resolve embeds (this is what EmbedsService.resolve_configuration does)COMMENT
LOWapi/oss/tests/manual/embeds/manual_test_api_simple.py101 # Step 4: Verify resolution worked correctlyCOMMENT
LOWapi/oss/tests/manual/embeds/manual_test_api_simple.py116 # Step 5: Recreate WorkflowRevisionData with resolved configCOMMENT
LOW…astapi/otlp/extractors/adapters/openllmetry_adapter.py73 # Step 1: Transform OpenLLMmetry attributes to ag.* attributesCOMMENT
LOW…astapi/otlp/extractors/adapters/openllmetry_adapter.py113 # Step 2: Group attributes by prefix and update the SpanFeatures object directlyCOMMENT
LOW…core/gateway/connections/providers/composio/adapter.py185 # Step 1: validate the toolkit exists and get its auth scheme info.COMMENT
LOW…core/gateway/connections/providers/composio/adapter.py207 # Step 2: create an auth config for this integration.COMMENT
LOW…core/gateway/connections/providers/composio/adapter.py283 # Step 3: initiate connected account link.COMMENT
LOWapi/oss/src/resources/evaluators/evaluators.py142 "content": 'You are an expert data labeler evaluating AI-generated responses for answer releCODE
LOWservices/runner/tests/unit/environment-units.test.ts189 // Step 6: materialize now returns a ManagedWorkspace — the writer's handle PLUS theCOMMENT
Self-Referential Comments31 hits · 94 pts
SeverityFileLineSnippetContext
MEDIUMsdks/python/agenta/sdk/decorators/tracing.py105 # Create the span and set the link EAGERLY — before returning theCOMMENT
MEDIUMsdks/python/agenta/sdk/engines/running/runners/local.py50 # Define the environment for code executionCOMMENT
MEDIUM…ion/observability/test_instrument_shapes_exhaustive.py359 # Create an unrelated span in the caller's context, BEFORE draining.COMMENT
MEDIUM…pytest/acceptance/workflows/test_embeds_integration.py78 # Create a version-0 stub so the first real commit gets version 1.COMMENT
MEDIUM…ytest/acceptance/workflows/test_apps_shared_manager.py154 # Create an app specifically for deletionCOMMENT
MEDIUM…ytest/acceptance/workflows/test_apps_shared_manager.py249 # Create an app for deletionCOMMENT
MEDIUM…ytest/acceptance/workflows/test_apps_shared_manager.py446 # Create a variant for deletionCOMMENT
MEDIUM…ytest/acceptance/workflows/test_apps_shared_manager.py463 # Create a variant for deletionCOMMENT
MEDIUM…s/pytest/acceptance/integrations/test_vault_secrets.py152 # Create a test secretCOMMENT
MEDIUMexamples/python/annotation-example.py114 # Create an annotation for this invocationCOMMENT
MEDIUM…/manual/evaluations/sdk/test_openai_agent_evaluator.py224 # Define the evaluation prompt template (static, without variables)COMMENT
MEDIUMapi/ee/tests/manual/evaluations/sdk/quick_start.py156 # Create a testset from your test dataCOMMENT
MEDIUMapi/oss/tests/pytest/unit/embeds/test_service.py456 # Create a mock service that always returns config with same embedCOMMENT
MEDIUM…ests/pytest/acceptance/mounts/test_mounts_injection.py91 # Create a plain (non-session) mount, then sign it.COMMENT
MEDIUM…ts/pytest/acceptance/triggers/test_triggers_ingress.py233 # Create a connection + subscription so an inbound ti_* resolves locally.COMMENT
MEDIUM…st/acceptance/workflows/test_workflow_embeds_errors.py794 # Create a shared workflow to referenceCOMMENT
MEDIUM…s/pytest/acceptance/sessions/test_archive_unarchive.py25 # Create the merged stream row (this is what /sessions/query lists).COMMENT
MEDIUM…ests/manual/tracing/ingestion/openllmetry_langchain.py23 # Create a chainCOMMENT
MEDIUM…/oss/tests/manual/tracing/ingestion/agenta_loadtest.py68 # Create a list of tasks to run concurrentlyCOMMENT
MEDIUMapi/oss/src/apis/fastapi/otlp/extractors/normalizer.py82 # Create the structured CanonicalAttributesCOMMENT
MEDIUMapi/oss/src/apis/fastapi/testsets/utils.py867 # Create a deep copy to avoid mutating the original inputCOMMENT
MEDIUMapi/oss/src/dbs/postgres/blobs/mappings.py41 # Create the DTO instanceCOMMENT
MEDIUMapi/oss/src/dbs/postgres/git/mappings.py44 # Create the DTO instanceCOMMENT
MEDIUMapi/oss/src/middlewares/analytics.py208 # Create a combined key for event+auth method trackingCOMMENT
MEDIUMapi/oss/src/utils/logging.py146 # Create a single handler for console outputCOMMENT
MEDIUMapi/oss/src/services/organization_service.py279 # Create a new invitation since user hasn't been invitedCOMMENT
MEDIUMapi/oss/src/services/organization_service.py340 # Create a new invitation with the previous roleCOMMENT
MEDIUMapi/oss/src/services/api_key_service.py29 # Initialize the APIKeyManager class objectSTRING
MEDIUMapi/oss/src/services/api_key_service.py36 # Define the characters to use for the prefixCOMMENT
MEDIUMapi/oss/src/services/api_key_service.py88 # Create an APIKeyDB instance with the prefix, hashed API key, and user_idCOMMENT
MEDIUMapi/oss/src/services/api_key_service.py158 # Initialize the APIKeyManager class objectSTRING
Cross-Language Confusion (JS/TS)15 hits · 85 pts
SeverityFileLineSnippetContext
HIGH…ss/src/code_snippets/endpoints/fetch_variant/python.ts21print("Fetched configuration:")CODE
HIGH…ss/src/code_snippets/endpoints/fetch_variant/python.ts22print(config)CODE
HIGH…s/src/code_snippets/endpoints/invoke_llm_app/python.ts19print(json.dumps(data, indent=4))CODE
HIGH…oss/src/code_snippets/endpoints/fetch_config/python.ts15print(config)CODE
HIGH…/src/code_snippets/testsets/create_with_json/python.ts26print(response.status_code)CODE
HIGH…/src/code_snippets/testsets/create_with_json/python.ts27print(response.json())CODE
HIGH…rc/code_snippets/testsets/create_with_upload/python.ts20print(response.status_code)CODE
HIGH…rc/code_snippets/testsets/create_with_upload/python.ts21print(response.json())CODE
HIGH…/modals/SetupTracingModal/assets/generateCodeBlocks.ts31print(response.choices[0].message.content)`,CODE
HIGH…/modals/SetupTracingModal/assets/generateCodeBlocks.ts57 print(response["choices"][0]["message"]["content"])CODE
HIGH…/modals/SetupTracingModal/assets/generateCodeBlocks.ts85print(response.content)`,CODE
HIGH…/modals/SetupTracingModal/assets/generateCodeBlocks.ts114print(response["choices"][0]["message"]["content"])`,CODE
HIGH…/modals/SetupTracingModal/assets/generateCodeBlocks.ts205 print("Analysis Result:", result)CODE
HIGH…/modals/SetupTracingModal/assets/generateCodeBlocks.ts255 print(f"Answer: {result}")CODE
HIGH…nents/pages/evaluations/SetupEvaluationModal/index.tsx72 print(f"Evaluation complete!")CODE
Modern Structural Boilerplate73 hits · 74 pts
SeverityFileLineSnippetContext
LOWclients/python/agenta_client/__init__.py1773__all__ = [CODE
LOWclients/python/agenta_client/traces/__init__.py27__all__ = ["QuerySpansAnalyticsRequestNewest", "QuerySpansAnalyticsRequestOldest"]CODE
LOWclients/python/agenta_client/traces/types/__init__.py28__all__ = ["QuerySpansAnalyticsRequestNewest", "QuerySpansAnalyticsRequestOldest"]CODE
LOWclients/python/agenta_client/tools/__init__.py27__all__ = ["ToolResolveRequestToolsItem", "ToolResolveRequestToolsItem_Builtin", "ToolResolveRequestToolsItem_Gateway"]CODE
LOWclients/python/agenta_client/tools/types/__init__.py27__all__ = ["ToolResolveRequestToolsItem", "ToolResolveRequestToolsItem_Builtin", "ToolResolveRequestToolsItem_Gateway"]CODE
LOWclients/python/agenta_client/types/__init__.py1756__all__ = [CODE
LOWclients/python/agenta_client/core/__init__.py38__all__ = ["ApiError", "AsyncClientWrapper", "AsyncHttpClient", "AsyncHttpResponse", "BaseClientWrapper", "FieldMetadataCODE
LOWclients/python/agenta_client/core/pydantic_utilities.py308def update_forward_refs(model: Type["Model"], **localns: Any) -> None:CODE
LOWclients/python/agenta_client/core/http_sse/__init__.py29__all__ = ["EventSource", "SSEError", "ServerSentEvent", "aconnect_sse", "connect_sse"]CODE
LOWclients/python/agenta_client/mounts/__init__.py27__all__ = ["GetMountFilesRequestOrder"]CODE
LOWclients/python/agenta_client/mounts/types/__init__.py27__all__ = ["GetMountFilesRequestOrder"]CODE
LOWclients/python/agenta_client/environments/__init__.py27__all__ = ["QueryEnvironmentRevisionsRequestOrder", "QueryEnvironmentVariantsRequestOrder", "QueryEnvironmentsRequestOrdCODE
LOW…ts/python/agenta_client/environments/types/__init__.py29__all__ = ["QueryEnvironmentRevisionsRequestOrder", "QueryEnvironmentVariantsRequestOrder", "QueryEnvironmentsRequestOrdCODE
LOWclients/python/agenta_client/queries/__init__.py27__all__ = ["QueryQueriesRequestOrder"]CODE
LOWclients/python/agenta_client/queries/types/__init__.py27__all__ = ["QueryQueriesRequestOrder"]CODE
LOWclients/python/agenta_client/workflows/__init__.py27__all__ = ["QueryWorkflowRevisionsRequestOrder", "QueryWorkflowVariantsRequestOrder", "QueryWorkflowsRequestOrder"]CODE
LOW…ients/python/agenta_client/workflows/types/__init__.py29__all__ = ["QueryWorkflowRevisionsRequestOrder", "QueryWorkflowVariantsRequestOrder", "QueryWorkflowsRequestOrder"]CODE
LOWclients/python/agenta_client/legacy/__init__.py27__all__ = ["FetchLegacyAnalyticsRequestNewest", "FetchLegacyAnalyticsRequestOldest"]CODE
LOWclients/python/agenta_client/legacy/types/__init__.py28__all__ = ["FetchLegacyAnalyticsRequestNewest", "FetchLegacyAnalyticsRequestOldest"]CODE
LOWclients/python/agenta_client/testsets/__init__.py27__all__ = ["CreateSimpleTestsetFromFileRequestFileType", "CreateTestsetRevisionFromFileRequestFileType", "EditSimpleTestCODE
LOWclients/python/agenta_client/testsets/types/__init__.py31__all__ = ["CreateSimpleTestsetFromFileRequestFileType", "CreateTestsetRevisionFromFileRequestFileType", "EditSimpleTestCODE
LOWclients/python/agenta_client/evaluators/__init__.py27__all__ = ["QueryEvaluatorVariantsRequestOrder"]CODE
LOW…ents/python/agenta_client/evaluators/types/__init__.py27__all__ = ["QueryEvaluatorVariantsRequestOrder"]CODE
LOWclients/python/agenta_client/applications/__init__.py27__all__ = ["QueryApplicationVariantsRequestOrder"]CODE
LOW…ts/python/agenta_client/applications/types/__init__.py27__all__ = ["QueryApplicationVariantsRequestOrder"]CODE
LOWclients/python/agenta_client/errors/__init__.py27__all__ = ["UnprocessableEntityError"]CODE
LOWclients/python/agenta_client/webhooks/__init__.py27__all__ = ["WebhookSubscriptionTestRequestSubscription"]CODE
LOWclients/python/agenta_client/webhooks/types/__init__.py27__all__ = ["WebhookSubscriptionTestRequestSubscription"]CODE
LOWsdks/python/agenta/sdk/__init__.py6__all__ = [CODE
LOWsdks/python/agenta/sdk/managers/__init__.py6__all__ = ["ConfigManager", "VariantManager", "DeploymentManager"]CODE
LOWsdks/python/agenta/sdk/agents/flags.py19__all__ = ["ORDERED_OPERATIONS_ENV", "ordered_operations_enabled"]CODE
LOWsdks/python/agenta/sdk/agents/__init__.py161__all__ = [CODE
LOWsdks/python/agenta/sdk/agents/errors.py12__all__ = [CODE
LOWsdks/python/agenta/sdk/agents/tools/__init__.py66__all__ = [CODE
LOWsdks/python/agenta/sdk/agents/platform/resolve.py57__all__ = ["resolve_tools", "resolve_mcp", "resolve_secrets", "resolve_connection"]CODE
LOWsdks/python/agenta/sdk/agents/platform/__init__.py28__all__ = [CODE
LOWsdks/python/agenta/sdk/agents/platform/op_catalog.py41__all__ = [CODE
LOWsdks/python/agenta/sdk/agents/utils/__init__.py12__all__ = [CODE
LOWsdks/python/agenta/sdk/agents/mcp/__init__.py25__all__ = [CODE
LOWsdks/python/agenta/sdk/agents/adapters/__init__.py22__all__ = [CODE
LOW…s/python/agenta/sdk/agents/adapters/vercel/__init__.py25__all__ = [CODE
LOWsdks/python/agenta/sdk/agents/connections/__init__.py39__all__ = [CODE
LOWsdks/python/agenta/sdk/agents/skills/__init__.py12__all__ = [CODE
LOW…/python/agenta/sdk/engines/running/runners/__init__.py3__all__ = ["get_runner"]CODE
LOWsdks/python/agenta/sdk/engines/tracing/processors.py276def _set_last_ended(span_ctx) -> None:CODE
LOWsdks/python/agenta/sdk/redaction/__init__.py11__all__ = [CODE
LOWsdks/python/oss/tests/legacy/conftest.py17logger = logging.getLogger(__name__)CODE
LOWsdks/python/oss/tests/legacy/new_tests/conftest.py62logger = logging.getLogger(__name__)CODE
LOW…kit-tools-cleanup/scripts/sweep_platform_op_renames.py98def _set_path(data: Any, keys: tuple[str, ...], value: Any) -> None:CODE
LOW…kit-tools-cleanup/scripts/sweep_platform_op_renames.py143def _set_skill_embed_slug(entry: Any, slug: str) -> None:CODE
LOWexamples/python/RAG_QA_chatbot/backend/agent_loop.py566def _set_span_data(key: str, value: Any) -> None:CODE
LOWapi/oss/tests/pytest/unit/test_mounts_file_ops.py207 def set_mtime(self, bucket: str, key: str, mtime: int) -> None:CODE
LOW…/manual/tracing/ingestion/agenta_streaming_response.py27logger = logging.getLogger(__name__)CODE
LOWapi/oss/src/apis/fastapi/auth/models.py10__all__ = [CODE
LOWapi/oss/src/apis/fastapi/accounts/models.py127__all__ = [CODE
LOWapi/oss/src/core/tools/providers/composio/__init__.py5__all__ = [CODE
LOWapi/oss/src/core/evaluations/runtime/types.py25__all__ = [CODE
LOW…i/oss/src/core/triggers/providers/composio/__init__.py5__all__ = [CODE
LOWapi/oss/src/core/workflows/change_set.py23__all__ = [CODE
LOWapi/oss/src/core/workflows/commit_support.py29__all__ = [CODE
13 more matches not shown…
Redundant / Tautological Comments45 hits · 66 pts
SeverityFileLineSnippetContext
LOWsdks/python/agenta/sdk/evaluations/preview/utils.py594 # Check if this looks like a simple application output (single string)COMMENT
LOWsdks/python/agenta/sdk/utils/logging.py152 # Check if console logger already has handlers (from OSS module)COMMENT
LOWsdks/python/agenta/sdk/engines/running/templates.py31# Print result for captureCOMMENT
LOWsdks/python/agenta/sdk/engines/running/templates.py102# Print result for captureCOMMENT
LOWsdks/python/agenta/sdk/engines/running/templates.py170# Print result for captureCOMMENT
LOW…s/python/agenta/sdk/engines/running/runners/daytona.py66 # Check if it looks like an error line (ErrorType: message)COMMENT
LOWsdks/python/oss/tests/legacy/stop_server.sh10# Check if the PID file existsCOMMENT
LOWsdks/python/oss/tests/legacy/new_tests/conftest.py1113 # Check if the 'lifecycle' field is present and remove itCOMMENT
LOWdocs/scripts/generate_cookbooks.py45 # Check if file exists and force_overwrite is FalseSTRING
LOWexamples/python/RAG_QA_chatbot/ingest/store.py46 # Check if collection existsCOMMENT
LOWexamples/python/evaluators/basic/length_check.py44 # Check if within rangeCOMMENT
LOWexamples/python/evaluators/basic/string_contains.py47 # Check if answer is contained in outputCOMMENT
LOWexamples/python/evaluators/numpy/exact_match.py67 # Check if lengths matchCOMMENT
LOW…ython/custom_workflows/rag-docs-qa/generate_testset.py57 # Check if the response was completeSTRING
LOWexamples/node/observability-opentelemetry/test.sh4# Check if required environment variables are setCOMMENT
LOWapi/oss/tests/legacy/conftest.py1101 # Check if the 'lifecycle' field is present and remove itCOMMENT
LOWapi/oss/src/tasks/asyncio/tracing/worker.py103 # Check if we've exceeded the batch size limitCOMMENT
LOW…tapi/otlp/extractors/adapters/openinference_adapter.py253 # Check if llm.input_messages were processed (resulting in ag.data.inputs.prompt.* keys)COMMENT
LOW…tapi/otlp/extractors/adapters/openinference_adapter.py264 # Check if llm.output_messages were processed (resulting in ag.data.outputs.completion.* keys)COMMENT
LOWapi/oss/src/apis/fastapi/testsets/router.py1872 # Check if testset exists before attempting to editCOMMENT
LOWapi/oss/src/core/organizations/types.py44 # Check if it's a known enum valueCOMMENT
LOWapi/oss/src/core/access/permissions/service.py311 # Check if user is a demo member - demo members always have restricted accessCOMMENT
LOWapi/oss/src/core/access/permissions/service.py335 # Check if user is organization owner - organization owners always have full permissionsCOMMENT
LOWapi/oss/src/core/auth/service.py102 # Check if user exists only when email looks validCOMMENT
LOWapi/oss/src/core/auth/service.py179 # Check if this org has verified domain (enables SSO enforcement)COMMENT
LOWapi/oss/src/core/auth/service.py182 # Check if this org has active SSO providersCOMMENT
LOWapi/oss/src/core/auth/service.py461 # Check if user is already a member of this organizationCOMMENT
LOWapi/oss/src/core/auth/service.py631 # Check if identities satisfy allowed_methodsCOMMENT
LOWapi/oss/src/core/auth/types.py39 # Check if it's a known enum valueCOMMENT
LOWapi/oss/src/core/auth/middleware.py106 # Check if organization_id is in query paramsCOMMENT
LOWapi/oss/src/core/auth/supertokens/overrides.py178 # Check if user already exists (idempotent - skip if adding new auth method)COMMENT
LOWapi/oss/src/core/auth/supertokens/overrides.py456 # Check if user has an emailpassword login methodCOMMENT
LOWapi/oss/src/core/auth/supertokens/overrides.py968 # Check if internal user exists (sign_in can be called for new users too)COMMENT
LOWapi/oss/src/core/environments/defaults.py64 # Check if environment already existsCOMMENT
LOWapi/oss/src/core/embeds/utils.py1179 # Check if value is a string with embed tokensCOMMENT
LOWapi/oss/src/core/embeds/utils.py1208 # Check if item is a string with embed tokensCOMMENT
LOWapi/oss/src/middlewares/analytics.py70 # Check if we've already set this property for this userCOMMENT
LOWapi/oss/src/middlewares/analytics.py259 # Check if this is an activation eventCOMMENT
LOWapi/oss/src/middlewares/analytics.py265 # Check if auth method is allowed for this activationCOMMENT
LOWapi/oss/src/utils/traces.py341 # Check if part is indexed, if so split itCOMMENT
LOWapi/oss/src/services/organization_service.py243 # Check if the user is already a member of the workspaceCOMMENT
LOWapi/oss/src/services/organization_service.py325 # Check if the email address already has a valid, unused invitation for the workspaceCOMMENT
LOWapi/oss/src/services/api_key_service.py46 # Check if the prefix is unique in the databaseCOMMENT
LOWapi/oss/src/services/api_key_service.py123 # Check if the API key is valid (not blacklisted and not expired)COMMENT
LOWapi/oss/src/services/user_service.py67 # Check if user already exists (happy path optimization)COMMENT
Fake / Example Data55 hits · 59 pts
SeverityFileLineSnippetContext
LOWclients/python/agenta_client/types/error_policy.py5ErrorPolicy = typing.Union[typing.Literal["exception", "placeholder", "keep"], typing.Any]CODE
LOWantd-inventory/agenta-ui.json1420 "placeholder": 1,CODE
LOWantd-inventory/agenta-ui.json1440 "placeholder": 11,CODE
LOWantd-inventory/agenta-ui.json1496 "placeholder": 4,CODE
LOWantd-inventory/agenta-ui.json1581 "placeholder": 1,CODE
LOW…s/pytest/acceptance/integrations/test_vault_secrets.py159 key="sk-test-fake-key-for-integration-test"CODE
LOW…s/pytest/acceptance/integrations/test_vault_secrets.py205 key="sk-ant-test-fake-key-for-integration-test"CODE
LOW…on/oss/tests/legacy/new_tests/vault_router/conftest.py55 "header": {"name": "OpenAI", "description": "Lorem Ipsum"},CODE
LOW…gacy/new_tests/vault_router/test_vault_secrets_apis.py76 "header": {"name": "OpenAI", "description": "Lorem Ipsum"},CODE
LOW…gacy/new_tests/vault_router/test_vault_secrets_apis.py96 "header": {"name": "OpenAI", "description": "Lorem Ipsum"},CODE
LOWweb/storybook/stories/Select.stories.tsx89 label="placeholder"CODE
LOWweb/storybook/stories/AuthorLabel.stories.tsx54 s={<AuthorLabel author="user@example.com" />}CODE
LOWweb/storybook/stories/AuthorLabel.stories.tsx64 s={<AuthorLabel author="user@example.com" showPrefix={false} />}CODE
LOWweb/storybook/stories/RevisionLabel.stories.tsx59 author="user@example.com"CODE
LOW…book/stories/presentational/InitialsAvatar.stories.tsx58 label='name "Jane Doe" — small'CODE
LOW…book/stories/presentational/InitialsAvatar.stories.tsx60 <AntAvatar shape="square" size="small" style={pair("Jane Doe")}>CODE
LOW…book/stories/presentational/InitialsAvatar.stories.tsx64 s={<InitialsAvatar name="Jane Doe" size="small" />}CODE
LOWweb/storybook/stories/domain/CellRenderers.stories.tsx50 value={"Lorem ipsum dolor sit amet, ".repeat(20)}CODE
LOWweb/storybook/stories/domain/CellRenderers.stories.tsx50 value={"Lorem ipsum dolor sit amet, ".repeat(20)}CODE
LOWweb/storybook/stories/entity-ui/EntityTable.stories.tsx105 args: {controller: testcaseDataController, config: {scopeId: "placeholder"}},CODE
LOWweb/storybook/stories/entity-ui/EntityTable.stories.tsx116 args: {controller: testcaseDataController, config: {scopeId: "placeholder"}},CODE
LOWweb/storybook/stories/entity-ui/EntityTable.stories.tsx127 args: {controller: testcaseDataController, config: {scopeId: "placeholder"}},CODE
LOWweb/storybook/stories/entity-ui/EntityTable.stories.tsx138 args: {controller: testcaseDataController, config: {scopeId: "placeholder"}},CODE
LOW…storybook/stories/entity-ui/ModelNameInput.stories.tsx68 label="placeholder"CODE
LOW…ook/stories/entity-ui/HarnessSelectControl.stories.tsx187 label="placeholder"CODE
LOWweb/tests/guides/UTILITIES_AND_FIXTURES_GUIDE.md144 await typeWithDelay('#email', 'user@example.com');CODE
LOWweb/tests/guides/UTILITIES_AND_FIXTURES_GUIDE.md165await uiHelpers.typeWithDelay('#email', 'user@example.com')CODE
LOW…es/agenta-entities/src/shared/user/UserAuthorLabel.tsx18 * <UserAuthorLabel name="John Doe" showAvatar />COMMENT
LOW…/agenta-entities/src/shared/molecule/withEntityMeta.ts251 * // → { id: "user-123", username: "johndoe", name: "John Doe", email: "..." }COMMENT
LOW…packages/agenta-ui/src/agent-icon/catalog.generated.ts133 "placeholder",CODE
LOW…src/components/presentational/revision/AuthorLabel.tsx13 * <AuthorLabel author="user@example.com" />COMMENT
LOW…src/components/presentational/revision/AuthorLabel.tsx14 * <AuthorLabel author="user@example.com" prefix="by" />COMMENT
LOW…nifiedEntityPicker/variants/TreeSelectPopupContent.tsx29 | "placeholder"CODE
LOW…b/packages/agenta-auth/tests/unit/emailAddress.test.ts17 "user@example.com",CODE
LOWdocs/design/annotation-queue-v2/competitive-analysis.md178 "assigner_name": "John Doe",CODE
LOWdocs/designs/advanced-auth/auth.flows.specs.md55 "email": "user@example.com"CODE
LOWdocs/designs/embeds/EMBEDS_IMPLEMENTATION_SUMMARY.md67request.embed_error_policy = "exception" # or "placeholder" or "keep"CODE
LOWdocs/docs/reference/openapi.json1{"openapi":"3.1.0","info":{"title":"Agenta API","description":"Agenta API","contact":{"name":"Agenta","url":"https://ageCODE
LOW…ence/api/resolve-evaluator-revision.RequestSchema.json1{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"evaluator_ref":{"anyOf":[{"properties":{CODE
LOW…rence/api/resolve-workflow-revision.RequestSchema.json1{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"workflow_ref":{"anyOf":[{"properties":{"CODE
LOW…ce/api/resolve-environment-revision.RequestSchema.json1{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"environment_ref":{"anyOf":[{"properties"CODE
LOW…ce/api/resolve-application-revision.RequestSchema.json1{"title":"Body","body":{"content":{"application/json":{"schema":{"properties":{"application_ref":{"anyOf":[{"properties"CODE
LOWapi/oss/tests/pytest/unit/auth/test_helper.py241 email="user@example.com",CODE
LOW…st/acceptance/workflows/test_workflow_embeds_errors.py193 "error_policy": "placeholder",CODE
LOWapi/oss/tests/legacy/vault_router/conftest.py55 "header": {"name": "OpenAI", "description": "Lorem Ipsum"},CODE
LOW…s/tests/legacy/vault_router/test_vault_secrets_apis.py77 "header": {"name": "OpenAI", "description": "Lorem Ipsum"},CODE
LOW…s/tests/legacy/vault_router/test_vault_secrets_apis.py97 "header": {"name": "OpenAI", "description": "Lorem Ipsum"},CODE
LOWapi/oss/src/core/embeds/dtos.py11 PLACEHOLDER = "placeholder" # Replace with <missing:...>CODE
LOWservices/runner/tests/unit/redaction-sinks.test.ts26const PER_RUN_KEY = "sk-per-run-fake-key-DO-NOT-USE-a1b2c3d4e5f6";CODE
LOWservices/runner/tests/unit/subscription-status.test.ts220 anthropic: { type: "api_key", key: "fake-key" },CODE
LOWservices/runner/tests/unit/subscription-status.test.ts373 access_token: "fake-token-value",CODE
LOWservices/runner/tests/unit/subscription-status.test.ts410 "fake-token-value",CODE
LOWservices/runner/tests/unit/server.test.ts533 const PER_RUN_KEY = "sk-escaping-stack-fake-key-DO-NOT-USE-9a8b7c";CODE
LOW…es/runner/src/providers/daytona-credential-delivery.ts128 let updated: Pick<DaytonaSecretRecord, "id" | "placeholder">;CODE
LOW…es/runner/src/engines/sandbox_agent/daytona-secrets.ts40 ): Promise<Pick<DaytonaSecretRecord, "id" | "placeholder">>;CODE
Dead Code13 hits · 26 pts
SeverityFileLineSnippetContext
MEDIUM…ython/oss/tests/pytest/unit/test_tracing_decorators.py367CODE
MEDIUM…ython/oss/tests/pytest/unit/test_tracing_decorators.py441CODE
MEDIUM…/oss/tests/pytest/unit/test_workflow_shapes_running.py165CODE
MEDIUM…thon/oss/tests/pytest/unit/test_routing_negotiation.py56CODE
MEDIUM…t/agents/adapters/test_vercel_stream_silent_failure.py89CODE
MEDIUM…test/unit/agents/adapters/test_vercel_sse_keepalive.py118CODE
MEDIUMsdks/python/oss/tests/pytest/utils/test_routing.py264CODE
MEDIUM…/observability_sdk/sanity_check/03_app_errors_local.py166CODE
MEDIUM…bservability_sdk/sanity_check/04_app_old_sdk_agenta.py170CODE
MEDIUM…bservability_sdk/sanity_check/05_app_new_sdk_agenta.py170CODE
MEDIUM…/legacy/observability_sdk/sanity_check/02_app_local.py166CODE
MEDIUM…/legacy/observability_sdk/sanity_check/02_app_local.py212CODE
MEDIUM…oss/tests/manual/tracing/ingestion/agenta_exception.py18CODE
Hallucination Indicators3 hits · 20 pts
SeverityFileLineSnippetContext
CRITICALapi/ee/src/core/access/permissions/role_overrides.py5`oss.src.core.access.permissions.controls.build_role_controls()` via aSTRING
CRITICALapi/ee/src/core/access/entitlements/types.py9 Runtime plan slugs come from `ee.src.core.access.controls.get_plans()`STRING
CRITICALservices/runner/tests/utils/qa-transcripts.ts100 messages: transcript.request.data.inputs.messages.map((m) => ({CODE
Example Usage Blocks10 hits · 15 pts
SeverityFileLineSnippetContext
LOWsdks/python/agenta/sdk/engines/running/utils.py338# Usage:COMMENT
LOWweb/_reference/agenta-sdk/scripts/generate-schemas.sh11# Usage:COMMENT
LOW…/modals/SetupTracingModal/assets/generateCodeBlocks.ts202# Example usageCOMMENT
LOWdocs/designs/oss-ee-convergence/dump_pg_schema.sh12# Usage:COMMENT
LOWhosting/railway/oss/template/apply.sh9# Usage:COMMENT
LOWhosting/railway/oss/scripts/preview-clone-destroy.sh11# Usage:COMMENT
LOWhosting/railway/oss/scripts/preview-clone-create.sh35# Usage:COMMENT
LOWhosting/docker-compose/recreate-web.sh17# Usage:COMMENT
LOW…ts/manual/tracing/ingestion/openinference_langgraph.py81# Example usageCOMMENT
LOWapi/oss/tests/manual/webhooks/github.sh10# Usage:COMMENT
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…/agenta-entities/src/shared/utils/latestEntityQuery.ts149 // Mark as requestedCOMMENT
HIGHweb/packages/agenta-entities/src/testset/state/store.ts400 // Mark as requestedCOMMENT
Slop Phrases4 hits · 6 pts
SeverityFileLineSnippetContext
LOWsdks/python/agenta/sdk/utils/client.py34 log.error("And don't forget to set AGENTA_API_URL and AGENTA_API_KEY.")CODE
LOWsdks/python/agenta/sdk/utils/client.py65 log.error("And don't forget to set AGENTA_API_URL and AGENTA_API_KEY.")CODE
MEDIUMapi/ee/tests/manual/evaluations/sdk/quick_start.py98 description="Assigns a random score (for demonstration purposes)",CODE
MEDIUMapi/oss/src/resources/evaluators/evaluators.py96 "content": 'You are an expert data labeler evaluating AI-generated responses for concisenessCODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…/acceptance/workflows/test_workflow_embeds_security.py179 # TODO: Add test with include_archived=False once request model supports itCOMMENT
Overly Generic Function Names2 hits · 1 pts
SeverityFileLineSnippetContext
LOWsdks/python/agenta/__init__.py142 >>> def my_function():STRING
LOW…s/runner/src/engines/sandbox_agent/acp-interactions.ts590 async function handleRequest(req: any): Promise<void> {CODE