Repository Analysis

langchain-ai/deepagents

The batteries-included agent harness.

31.9 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of langchain-ai/deepagents, a Python project with 26,215 GitHub stars. SynthScan v2.0 examined 463,697 lines of code across 1124 source files, recording 13981 pattern matches distributed across 21 syntactic categories. The overall adjusted score of 31.9 places this repository in the Strong 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).

31.9
Adjusted Score
31.9
Raw Score
100%
Time Factor
2026-07-14
Last Push
26.2K
Stars
Python
Language
463.7K
Lines of Code
1.1K
Files
14.0K
Pattern Hits
2026-07-14
Scan Date
0.32
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 0HIGH 361MEDIUM 783LOW 12837

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 13981 distinct pattern matches across 21 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.

Hyper-Verbose Identifiers10867 hits · 8618 pts
SeverityFileLineSnippetContext
LOWlibs/talon/deepagents_talon/media.py189def resolve_bounded_media_path(CODE
LOWlibs/talon/deepagents_talon/host.py419 async def _cancel_conversation_tasks(self, conversation_id: str) -> bool:CODE
LOWlibs/talon/deepagents_talon/host.py504 async def _handle_tool_approval_reply(CODE
LOWlibs/talon/deepagents_talon/host.py532 def _handle_tool_approval_reaction(CODE
LOWlibs/talon/deepagents_talon/host.py616 def _complete_conversation_task(CODE
LOWlibs/talon/deepagents_talon/host.py684def _outbound_media_from_refs(CODE
LOWlibs/talon/deepagents_talon/host.py706def _with_failed_attachment_text(text: str, failed: list[str]) -> str:CODE
LOWlibs/talon/deepagents_talon/host.py736def _media_with_fallback_caption(CODE
LOWlibs/talon/deepagents_talon/host.py767def _format_tool_approval_prompt(approval: ToolApprovalRequest) -> str:CODE
LOWlibs/talon/deepagents_talon/host.py789def _parse_tool_approval_reply(text: str) -> ToolApprovalDecision | None:CODE
LOWlibs/talon/deepagents_talon/host.py804def _parse_tool_approval_reaction(emoji: str) -> ToolApprovalDecision | None:CODE
LOWlibs/talon/deepagents_talon/host.py813def _normalize_reaction_emoji(emoji: str) -> str:CODE
LOWlibs/talon/deepagents_talon/host.py821def _reaction_mismatch_resolution(CODE
LOWlibs/talon/deepagents_talon/host.py846def _log_tool_approval_reaction(CODE
LOWlibs/talon/deepagents_talon/observability.py43def langsmith_tracing_enabled(env: Mapping[str, str]) -> bool:CODE
LOWlibs/talon/deepagents_talon/runtime.py387 async def _invoke_payload_with_retries(self, payload: object, conversation_id: str) -> object:CODE
LOWlibs/talon/deepagents_talon/runtime.py536def _action_requests_from_interrupt(interrupt: object) -> tuple[Mapping[str, object], ...]:CODE
LOWlibs/talon/deepagents_talon/runtime.py654def _approval_handler_from_request(request: AgentRequest) -> ToolApprovalHandler | None:CODE
LOWlibs/talon/deepagents_talon/runtime.py671def interrupt_on_with_env_overlay(CODE
LOWlibs/talon/deepagents_talon/runtime.py696def _interrupt_on_tools_from_env(env: Mapping[str, str]) -> dict[str, bool]:CODE
LOWlibs/talon/deepagents_talon/runtime.py703def _interrupt_on_with_async_subagents(CODE
LOWlibs/talon/deepagents_talon/runtime.py748def _is_allowed_backend_env_key(key: str) -> bool:CODE
LOWlibs/talon/deepagents_talon/runtime.py752def _is_scrubbed_backend_env_key(key: str) -> bool:CODE
LOWlibs/talon/deepagents_talon/runtime.py784def _recursion_limit_from_env(env: Mapping[str, str], fallback: int) -> int:CODE
LOWlibs/talon/deepagents_talon/runtime.py810def _has_summarization_tool_middleware(CODE
LOWlibs/talon/deepagents_talon/runtime.py842def _cron_origin_from_request(request: AgentRequest) -> CronOrigin:CODE
LOWlibs/talon/deepagents_talon/runtime.py947def _valid_local_subagent_name(name: str) -> bool:CODE
LOWlibs/talon/deepagents_talon/runtime.py951def _parse_local_subagent_prompt(text: str, name: str) -> tuple[str, str, str | None]:CODE
LOWlibs/talon/deepagents_talon/runtime.py971def _default_subagent_description(name: str) -> str:CODE
LOWlibs/talon/deepagents_talon/mcp.py50def discover_mcp_config_paths(config: TalonConfig) -> list[Path]:CODE
LOWlibs/talon/deepagents_talon/mcp.py137def _resolve_discovery_display_path(display: str, project_root: Path) -> Path:CODE
LOWlibs/talon/deepagents_talon/__main__.py150def _run_import_fleet_command(args: argparse.Namespace, config: TalonConfig) -> int:CODE
LOWlibs/talon/deepagents_talon/__main__.py187def _has_configured_assistant_id(env: Mapping[str, str]) -> bool:CODE
LOWlibs/talon/deepagents_talon/fleet_import.py498def _suggested_config_fragment(summary: _ServerSummary, tools: Sequence[str]) -> dict[str, Any]:CODE
LOWlibs/talon/deepagents_talon/channels/whatsapp.py509 async def _stop_bridge_output_tasks(self) -> None:CODE
LOWlibs/talon/deepagents_talon/channels/whatsapp.py643def _enforce_inbound_media_cap(message: ChannelMessage, *, max_bytes: int) -> ChannelMessage:CODE
LOWlibs/talon/deepagents_talon/channels/telegram.py783def _allows_telegram_reaction(CODE
LOWlibs/talon/deepagents_talon/channels/telegram.py888def _extract_telegram_message_id(payload: object) -> str | None:CODE
LOWlibs/talon/deepagents_talon/channels/base.py133def format_markdown_for_channel(text: str) -> str:CODE
LOWlibs/talon/deepagents_talon/channels/base.py177def channel_exposure_from_env(CODE
LOWlibs/talon/deepagents_talon/channels/base.py222def outbound_media_root_from_env(env: Mapping[str, str]) -> Path:CODE
LOWlibs/talon/deepagents_talon/channels/base.py461def _require_open_acknowledgement(CODE
LOWlibs/talon/tests/test_fleet_import.py19def test_import_fleet_zip_materializes_agent_files_and_mcp_config(tmp_path: Path) -> None:CODE
LOWlibs/talon/tests/test_fleet_import.py69def test_import_fleet_cli_resolves_target_assistant(CODE
LOWlibs/talon/tests/test_fleet_import.py103def test_import_fleet_cli_defaults_assistant_to_export_stem(CODE
LOWlibs/talon/tests/test_fleet_import.py130def test_import_fleet_cli_explicit_target_keeps_subagents_under_target(CODE
LOWlibs/talon/tests/test_fleet_import.py162def test_import_fleet_zip_rejects_missing_root_prompt(tmp_path: Path) -> None:CODE
LOWlibs/talon/tests/test_fleet_import.py170def test_import_fleet_zip_rejects_malformed_tools_json(tmp_path: Path) -> None:CODE
LOWlibs/talon/tests/test_fleet_import.py182def test_import_fleet_zip_rejects_unsafe_paths(tmp_path: Path, path: str) -> None:CODE
LOWlibs/talon/tests/test_fleet_import.py190def test_import_fleet_zip_rejects_symlink_entries_before_writing_target(CODE
LOWlibs/talon/tests/test_fleet_import.py212def test_import_fleet_zip_rejects_unsafe_subagent_names(tmp_path: Path) -> None:CODE
LOWlibs/talon/tests/test_fleet_import.py220def test_import_fleet_zip_rejects_high_compression_ratio(tmp_path: Path) -> None:CODE
LOWlibs/talon/tests/test_fleet_import.py230def test_import_fleet_zip_rejects_too_many_entries(tmp_path: Path) -> None:CODE
LOWlibs/talon/tests/test_fleet_import.py241def test_import_fleet_zip_stdout_recommends_interrupt_env(tmp_path: Path) -> None:CODE
LOWlibs/talon/tests/test_fleet_import.py265def test_import_fleet_zip_sanitizes_secret_bearing_mcp_urls(tmp_path: Path) -> None:CODE
LOWlibs/talon/tests/test_fleet_import.py323def test_import_fleet_zip_repeated_imports_refresh_generated_files(tmp_path: Path) -> None:CODE
LOWlibs/talon/tests/test_data_lifecycle.py11def test_cleanup_sensitive_state_prunes_cron_and_inbound_media(tmp_path) -> None:CODE
LOWlibs/talon/tests/test_speech.py18def test_build_voice_transcriber_uses_default_local_model(tmp_path: Path) -> None:CODE
LOWlibs/talon/tests/test_speech.py28def test_build_voice_transcriber_supports_legacy_speech_env(tmp_path: Path) -> None:CODE
LOWlibs/talon/tests/test_speech.py38def test_build_voice_transcriber_uses_explicit_local_model(tmp_path: Path) -> None:CODE
10807 more matches not shown…
Decorative Section Separators566 hits · 1924 pts
SeverityFileLineSnippetContext
MEDIUMlibs/evals/tests/evals/external_benchmarks.py191# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/external_benchmarks.py193# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_followup_quality.py27# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_followup_quality.py30# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py33# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py35# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py206# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py208# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py249# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py251# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py406# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py408# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py432# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_usage_relational.py434# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_memory_multiturn.py44# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_memory_multiturn.py47# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_memory_multiturn.py100# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_memory_multiturn.py102# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_memory_multiturn.py148# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_memory_multiturn.py150# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_memory_multiturn.py194# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_memory_multiturn.py196# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_external_benchmarks.py29# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_external_benchmarks.py31# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_external_benchmarks.py59# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_external_benchmarks.py61# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_selection.py35# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_selection.py37# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_selection.py110# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_selection.py112# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_selection.py193# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_selection.py195# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_selection.py277# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_tool_selection.py279# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py22# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py24# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py74# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py76# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py144# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py146# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py214# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py216# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py557# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py559# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py752# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py754# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py933# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py935# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py997# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py999# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py1130# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/utils.py1132# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/llm_judge.py121 # ------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/llm_judge.py123 # ------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/llm_judge.py227# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/llm_judge.py229# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_memory.py350# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_memory.py352# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_memory.py469# ---------------------------------------------------------------------------COMMENT
MEDIUMlibs/evals/tests/evals/test_memory.py471# ---------------------------------------------------------------------------COMMENT
506 more matches not shown…
Docstring Block Structure181 hits · 905 pts
SeverityFileLineSnippetContext
HIGHAGENTS.md218Send an email to a recipient with specified priority. Any additional context about the function can go here. ASTRING
HIGHlibs/talon/deepagents_talon/media.py162Build an outbound channel media payload for a markdown media ref. Args: ref: Markdown media reference. STRING
HIGHlibs/talon/deepagents_talon/media.py195Resolve a local media path and enforce containment under a trusted root. Args: path: Candidate media path. STRING
HIGHlibs/talon/deepagents_talon/config.py50Build runtime configuration from environment variables. Args: env: Environment mapping to read. DefSTRING
HIGHlibs/talon/deepagents_talon/runtime.py316Invoke the Deep Agents graph for one Talon request. Args: request: Agent request supplied by the TaSTRING
HIGHlibs/talon/deepagents_talon/mcp.py63Load configured MCP tools for a Talon runtime. Args: config: Talon runtime configuration. Returns: STRING
HIGHlibs/talon/deepagents_talon/fleet_import.py123Materialize a Fleet zip export into a Talon local agent directory. Args: zip_path: Fleet export zip file toSTRING
HIGHlibs/talon/deepagents_talon/cron/jobs.py133Parse a supported schedule string. Args: value: Schedule text such as `in 30m` or `every 15m`. STRING
HIGHlibs/talon/deepagents_talon/cron/jobs.py440Edit a job within the current conversation scope. Args: job_id: Job identifier. origin:STRING
HIGHlibs/talon/deepagents_talon/cron/jobs.py491Remove a job within the current conversation scope. Args: job_id: Job identifier. origiSTRING
HIGHlibs/talon/deepagents_talon/cron/jobs.py587Delete completed jobs older than the retention window. Args: retain_for: Duration to keep disabled STRING
HIGHlibs/talon/deepagents_talon/channels/whatsapp.py121Build WhatsApp channel configuration from Talon environment values. Args: config: Talon process conSTRING
HIGHlibs/talon/deepagents_talon/channels/telegram.py123Build Telegram channel configuration from Talon environment values. Args: config: Talon process conSTRING
HIGHlibs/talon/deepagents_talon/channels/telegram.py208Call a Bot API method and return the decoded response. Args: method: Bot API method name (e.g. `getSTRING
HIGHlibs/talon/deepagents_talon/channels/telegram.py230Call a Bot API method with one local file as multipart form data. Args: method: Bot API method nameSTRING
HIGHlibs/talon/deepagents_talon/channels/telegram.py387Send validated image, video, or document media to a Telegram chat. Args: conversation_id: Telegram STRING
HIGHlibs/talon/deepagents_talon/channels/telegram.py846Validate a Bot API response envelope and return the raw ``result`` value. Args: payload: Full Bot API respoSTRING
HIGHlibs/talon/deepagents_talon/channels/telegram.py871Extract a dict result from a validated Bot API response. Args: result: Validated ``result`` field from a BoSTRING
HIGHlibs/talon/deepagents_talon/channels/telegram.py898Extract the list of updates from a getUpdates response result. Args: result: Validated ``result`` field froSTRING
HIGHlibs/talon/deepagents_talon/channels/base.py149Split outbound text into channel-sized chunks. Args: text: Text to split. limit: Maximum charactersSTRING
HIGHlibs/talon/deepagents_talon/channels/base.py181Build shared channel exposure policy from provider-specific env prefix. Args: env: Environment variable mapSTRING
HIGHlibs/talon/deepagents_talon/channels/base.py243Validate outbound media path, type, and size. Args: media: Media payload to validate. root: OptionaSTRING
HIGHlibs/talon/deepagents_talon/channels/base.py330Return the configured global media cap. Args: env: Environment variable mapping. Returns: MaxiSTRING
HIGHlibs/talon/deepagents_talon/channels/base.py355Parse an optional float value with a default. Args: value: Raw environment value. default: Value reSTRING
HIGHlibs/talon/deepagents_talon/channels/base.py371Parse an optional integer value with a default. Args: value: Raw environment value. default: Value STRING
HIGHlibs/evals/harbor_adapters/contextbench/adapter.py27Parse a `cb-<suite>-<i>` task id. Args: task_id: Identifier of the form `cb-<suite>-<i>`, where `<i>` is thSTRING
HIGHlibs/evals/harbor_adapters/contextbench/adapter.py47Look up the Context-Bench record identified by a `cb-<suite>-<i>` task id. Args: task_id: Identifier of theSTRING
HIGHlibs/evals/harbor_adapters/contextbench/adapter.py76Generate one self-contained Harbor task from a Context-Bench record. Args: source_jsonl: JSONL file containSTRING
HIGHlibs/evals/harbor_adapters/contextbench/adapter.py125Copy the vendored corpus into each Context-Bench task's build context. The corpus is identical for every cloud taskSTRING
HIGHlibs/evals/harbor_adapters/contextbench/adapter.py168Overwrite each frozen task's `difficulty` with its calibrated tier. The adapter writes `difficulty = source_difficuSTRING
HIGHlibs/evals/deepagents_evals/radar.py460Load model results from an `evals_summary.json` file. The summary file is a JSON array of objects. Each object mustSTRING
HIGHlibs/evals/tests/evals/utils.py83Return `True` when the assertion holds. Args: trajectory: The agent trajectory to check. RSTRING
HIGHlibs/evals/tests/evals/utils.py97Return a human-readable explanation of why the check failed. Args: trajectory: The agent trajectorySTRING
HIGHlibs/evals/tests/evals/utils.py116Return `True` when the assertion holds. Args: trajectory: The agent trajectory to check. RSTRING
HIGHlibs/evals/tests/evals/utils.py130Return a human-readable explanation of why the check failed. Args: trajectory: The agent trajectorySTRING
HIGHlibs/evals/tests/evals/utils.py177Coerce the `files` value from an agent result into `dict[str, str]`. Args: raw_files: The raw files object STRING
HIGHlibs/evals/tests/evals/utils.py1003Build an `AgentTrajectory` from a raw agent invoke result. Args: result: The mapping returned by `agent.invSTRING
HIGHlibs/evals/tests/evals/utils.py1197Run agent eval against the given query. Args: agent: The compiled state graph to invoke. query: A sSTRING
HIGHlibs/evals/tests/evals/utils.py1248Run agent eval asynchronously against the given query. Args: agent: The compiled state graph to invoke. STRING
HIGHlibs/evals/tests/evals/llm_judge.py237Create an `LLMJudge` success assertion. Wraps `openevals.llm.create_llm_as_judge` to evaluate each criterion inSTRING
HIGHlibs/evals/tests/evals/tau2_airline/domain.py224Load a single task by ID from tasks.json. Args: task_id: The string task ID (e.g. "2", "14"). Returns:STRING
HIGHlibs/evals/tests/evals/memory_agent_bench/data_utils.py55Load MemoryAgentBench data from HuggingFace. Args: split: Dataset split name (e.g. `Conflict_Resolution`). STRING
HIGHlibs/evals/deepagents_harbor/langsmith.py391Get a LangSmith dataset by name. Args: dataset_name: Name of the dataset to retrieve. session: aiohSTRING
HIGHlibs/evals/deepagents_harbor/langsmith.py426Create a LangSmith experiment session for the given dataset. Args: dataset_name: Name of the LangSmith dataSTRING
HIGHlibs/evals/deepagents_harbor/langsmith.py518Extract reward from trial's `result.json`. Falls back to `0.0` when the verifier did not produce a usable reward STRING
HIGH…deepagents_harbor/langgraph_project/langgraph_agent.py114Create the Deep Agents Code CLI harness graph Harbor should run. Harbor's installed `langgraph` agent loads this faSTRING
HIGH…deepagents_harbor/langgraph_project/langgraph_agent.py153Create a Deep Agents SDK graph Harbor should run directly. This path avoids the Deep Agents Code CLI harness while STRING
HIGH…deepagents_harbor/langgraph_project/langgraph_agent.py204Build langchain-mcp-adapters connections from Harbor-forwarded servers. Harbor's LangGraph agent forwards the task STRING
HIGH…deepagents_harbor/langgraph_project/langgraph_agent.py272Create a conversational Deep Agents graph for tau3-bench (and tau2) tasks. Unlike the terminal-bench graphs, this aSTRING
HIGHlibs/evals/scripts/generate_radar.py35Load per-category results from a JSON file. Expected format: [ { "model": "antSTRING
HIGHlibs/evals/scripts/composite_radar.py47Download `evals-summary` from a single GHA run via `gh run download`. Args: run_id: GitHub Actions run ID. STRING
HIGHlibs/evals/scripts/composite_radar.py76Flatten a list of per-run summary arrays into a single array. Args: summaries: Paths to per-run `evals_summSTRING
HIGHlibs/evals/scripts/run_trials.py174Aggregate per-trial eval reports into a single summary dict. Args: reports: Per-trial report dicts as writtSTRING
HIGHlibs/code/deepagents_code/_testing_models.py151Extract the file path that follows a prompt marker on the same line. Args: prompt: The flattened prompt texSTRING
HIGHlibs/code/deepagents_code/sessions.py372List threads from checkpoints table. Args: agent_name: Optional filter by agent name. limit: MaximuSTRING
HIGHlibs/code/deepagents_code/approval_mode.py106Persist approval mode through an agent's remote store client. Args: agent: Agent object. Remote agents expoSTRING
HIGHlibs/code/deepagents_code/config.py1760Parse shell allow-list from string. Args: allow_list_str: Comma-separated list of commands, `'recommended'`STRING
HIGHlibs/code/deepagents_code/config.py1846Coerce a raw `interpreter_ptc` value into the canonical shape. Args: raw: Value loaded from TOML or supplieSTRING
HIGHlibs/code/deepagents_code/config.py2687Get the global agent directory path. Args: agent_name: Name of the agent Returns: STRING
HIGHlibs/code/deepagents_code/config.py2707Ensure the global agent directory exists and return its path. Args: agent_name: Name of the agent STRING
121 more matches not shown…
Unused Imports737 hits · 655 pts
SeverityFileLineSnippetContext
LOWlibs/talon/deepagents_talon/interfaces.py6CODE
LOWlibs/talon/deepagents_talon/media.py6CODE
LOWlibs/talon/deepagents_talon/config.py6CODE
LOWlibs/talon/deepagents_talon/host.py6CODE
LOWlibs/talon/deepagents_talon/__init__.py6CODE
LOWlibs/talon/deepagents_talon/__init__.py7CODE
LOWlibs/talon/deepagents_talon/__init__.py8CODE
LOWlibs/talon/deepagents_talon/__init__.py8CODE
LOWlibs/talon/deepagents_talon/__init__.py8CODE
LOWlibs/talon/deepagents_talon/__init__.py8CODE
LOWlibs/talon/deepagents_talon/__init__.py8CODE
LOWlibs/talon/deepagents_talon/__init__.py8CODE
LOWlibs/talon/deepagents_talon/__init__.py8CODE
LOWlibs/talon/deepagents_talon/__init__.py17CODE
LOWlibs/talon/deepagents_talon/__init__.py18CODE
LOWlibs/talon/deepagents_talon/__init__.py18CODE
LOWlibs/talon/deepagents_talon/__init__.py18CODE
LOWlibs/talon/deepagents_talon/__init__.py18CODE
LOWlibs/talon/deepagents_talon/__init__.py18CODE
LOWlibs/talon/deepagents_talon/__init__.py18CODE
LOWlibs/talon/deepagents_talon/__init__.py18CODE
LOWlibs/talon/deepagents_talon/__init__.py18CODE
LOWlibs/talon/deepagents_talon/__init__.py18CODE
LOWlibs/talon/deepagents_talon/__init__.py18CODE
LOWlibs/talon/deepagents_talon/__init__.py18CODE
LOWlibs/talon/deepagents_talon/__init__.py18CODE
LOWlibs/talon/deepagents_talon/__init__.py18CODE
LOWlibs/talon/deepagents_talon/__init__.py18CODE
LOWlibs/talon/deepagents_talon/__init__.py18CODE
LOWlibs/talon/deepagents_talon/__init__.py35CODE
LOWlibs/talon/deepagents_talon/__init__.py35CODE
LOWlibs/talon/deepagents_talon/__init__.py36CODE
LOWlibs/talon/deepagents_talon/__init__.py36CODE
LOWlibs/talon/deepagents_talon/__init__.py36CODE
LOWlibs/talon/deepagents_talon/__init__.py36CODE
LOWlibs/talon/deepagents_talon/observability.py6CODE
LOWlibs/talon/deepagents_talon/runtime.py6CODE
LOWlibs/talon/deepagents_talon/mcp.py6CODE
LOWlibs/talon/deepagents_talon/async_subagents.py6CODE
LOWlibs/talon/deepagents_talon/speech.py6CODE
LOWlibs/talon/deepagents_talon/data_lifecycle.py6CODE
LOWlibs/talon/deepagents_talon/__main__.py6CODE
LOWlibs/talon/deepagents_talon/fleet_import.py3CODE
LOWlibs/talon/deepagents_talon/cron/tools.py6CODE
LOWlibs/talon/deepagents_talon/cron/__init__.py6CODE
LOWlibs/talon/deepagents_talon/cron/__init__.py6CODE
LOWlibs/talon/deepagents_talon/cron/__init__.py6CODE
LOWlibs/talon/deepagents_talon/cron/__init__.py6CODE
LOWlibs/talon/deepagents_talon/cron/__init__.py6CODE
LOWlibs/talon/deepagents_talon/cron/__init__.py6CODE
LOWlibs/talon/deepagents_talon/cron/__init__.py14CODE
LOWlibs/talon/deepagents_talon/cron/__init__.py15CODE
LOWlibs/talon/deepagents_talon/cron/jobs.py6CODE
LOWlibs/talon/deepagents_talon/cron/scheduler.py6CODE
LOWlibs/talon/deepagents_talon/channels/whatsapp.py6CODE
LOWlibs/talon/deepagents_talon/channels/telegram.py6CODE
LOWlibs/talon/deepagents_talon/channels/__init__.py6CODE
LOWlibs/talon/deepagents_talon/channels/__init__.py6CODE
LOWlibs/talon/deepagents_talon/channels/__init__.py6CODE
LOWlibs/talon/deepagents_talon/channels/__init__.py6CODE
677 more matches not shown…
Cross-File Repetition97 hits · 485 pts
SeverityFileLineSnippetContext
HIGHlibs/evals/tests/evals/test_followup_quality.py0apply summarization category to all tests in this module. tier is set per-test.STRING
HIGH…bs/evals/tests/evals/tau2_airline/test_tau2_airline.py0apply summarization category to all tests in this module. tier is set per-test.STRING
HIGHlibs/evals/tests/evals/test_tool_usage_relational.py0apply summarization category to all tests in this module. tier is set per-test.STRING
HIGHlibs/evals/tests/evals/test_tool_selection.py0apply summarization category to all tests in this module. tier is set per-test.STRING
HIGHlibs/evals/tests/evals/test_todos.py0apply summarization category to all tests in this module. tier is set per-test.STRING
HIGHlibs/evals/tests/evals/test_summarization.py0apply summarization category to all tests in this module. tier is set per-test.STRING
HIGHlibs/evals/tests/evals/test_memory_multiturn.py0apply memory category and baseline tier to all tests in this module.STRING
HIGHlibs/evals/tests/evals/test_memory.py0apply memory category and baseline tier to all tests in this module.STRING
HIGH…ts/evals/memory_agent_bench/test_memory_agent_bench.py0apply memory category and baseline tier to all tests in this module.STRING
HIGHlibs/evals/tests/evals/test_system_prompt.py0apply unit_test category and baseline tier to all tests in this module.STRING
HIGHlibs/evals/tests/evals/test_subagents.py0apply unit_test category and baseline tier to all tests in this module.STRING
HIGHlibs/evals/tests/evals/test_skills.py0apply unit_test category and baseline tier to all tests in this module.STRING
HIGHlibs/code/tests/unit_tests/test_config.py0redirect the credential store into a temp directory.STRING
HIGHlibs/code/tests/unit_tests/test_model_config.py0redirect the credential store into a temp directory.STRING
HIGH…code/tests/unit_tests/tui/widgets/test_auth_widgets.py0redirect the credential store into a temp directory.STRING
HIGHlibs/code/tests/unit_tests/test_config.py0[models.providers.fireworks] models = ["llama-v3p1-70b"] api_key_env = "fireworks_api_key"STRING
HIGHlibs/code/tests/unit_tests/test_model_switch.py0[models.providers.fireworks] models = ["llama-v3p1-70b"] api_key_env = "fireworks_api_key"STRING
HIGHlibs/code/tests/unit_tests/test_model_config.py0[models.providers.fireworks] models = ["llama-v3p1-70b"] api_key_env = "fireworks_api_key"STRING
HIGH…e/tests/unit_tests/tui/widgets/test_thread_selector.py0pressing esc should dismiss the modal with none result.STRING
HIGH…de/tests/unit_tests/tui/widgets/test_model_selector.py0pressing esc should dismiss the modal with none result.STRING
HIGH…de/tests/unit_tests/tui/widgets/test_agent_selector.py0pressing esc should dismiss the modal with none result.STRING
HIGH…s/code/tests/integration_tests/test_sandbox_factory.py0test async upload followed by download for data integrity.STRING
HIGH…s/tests/unit_tests/backends/test_filesystem_backend.py0test async upload followed by download for data integrity.STRING
HIGH…s/unit_tests/backends/test_filesystem_backend_async.py0test async upload followed by download for data integrity.STRING
HIGH…de/examples/skills/skill-creator/scripts/init_skill.py0skill initializer - creates a new skill from template. usage: init_skill.py <skill-name> --path <path> examples: init_skSTRING
HIGH…de/built_in_skills/skill-creator/scripts/init_skill.py0skill initializer - creates a new skill from template. usage: init_skill.py <skill-name> --path <path> examples: init_skSTRING
HIGH…li/examples/skills/skill-creator/scripts/init_skill.py0skill initializer - creates a new skill from template. usage: init_skill.py <skill-name> --path <path> examples: init_skSTRING
HIGH…de/examples/skills/skill-creator/scripts/init_skill.py0--- name: {skill_name} description: [todo: complete and informative explanation of what the skill does and when to use iSTRING
HIGH…de/built_in_skills/skill-creator/scripts/init_skill.py0--- name: {skill_name} description: [todo: complete and informative explanation of what the skill does and when to use iSTRING
HIGH…li/examples/skills/skill-creator/scripts/init_skill.py0--- name: {skill_name} description: [todo: complete and informative explanation of what the skill does and when to use iSTRING
HIGH…de/examples/skills/skill-creator/scripts/init_skill.py0def main(): print("this is an example script for {skill_name}") # todo: add actual script logic here # this could be datSTRING
HIGH…de/built_in_skills/skill-creator/scripts/init_skill.py0def main(): print("this is an example script for {skill_name}") # todo: add actual script logic here # this could be datSTRING
HIGH…li/examples/skills/skill-creator/scripts/init_skill.py0def main(): print("this is an example script for {skill_name}") # todo: add actual script logic here # this could be datSTRING
HIGH…de/examples/skills/skill-creator/scripts/init_skill.py0# reference documentation for {skill_title} this is a placeholder for detailed reference documentation. replace with actSTRING
HIGH…de/built_in_skills/skill-creator/scripts/init_skill.py0# reference documentation for {skill_title} this is a placeholder for detailed reference documentation. replace with actSTRING
HIGH…li/examples/skills/skill-creator/scripts/init_skill.py0# reference documentation for {skill_title} this is a placeholder for detailed reference documentation. replace with actSTRING
HIGH…de/examples/skills/skill-creator/scripts/init_skill.py0# example asset file this placeholder represents where asset files would be stored. replace with actual asset files (temSTRING
HIGH…de/built_in_skills/skill-creator/scripts/init_skill.py0# example asset file this placeholder represents where asset files would be stored. replace with actual asset files (temSTRING
HIGH…li/examples/skills/skill-creator/scripts/init_skill.py0# example asset file this placeholder represents where asset files would be stored. replace with actual asset files (temSTRING
HIGH…de/examples/skills/skill-creator/scripts/init_skill.py0convert hyphenated skill name to title case for display. returns: skill name with each word capitalized.STRING
HIGH…de/built_in_skills/skill-creator/scripts/init_skill.py0convert hyphenated skill name to title case for display. returns: skill name with each word capitalized.STRING
HIGH…li/examples/skills/skill-creator/scripts/init_skill.py0convert hyphenated skill name to title case for display. returns: skill name with each word capitalized.STRING
HIGH…de/examples/skills/skill-creator/scripts/init_skill.py0initialize a new skill directory with template skill.md. args: skill_name: name of the skill path: path where the skill STRING
HIGH…de/built_in_skills/skill-creator/scripts/init_skill.py0initialize a new skill directory with template skill.md. args: skill_name: name of the skill path: path where the skill STRING
HIGH…li/examples/skills/skill-creator/scripts/init_skill.py0initialize a new skill directory with template skill.md. args: skill_name: name of the skill path: path where the skill STRING
HIGH…de/examples/skills/skill-creator/scripts/init_skill.py0main entry point for the skill initialization script.STRING
HIGH…de/built_in_skills/skill-creator/scripts/init_skill.py0main entry point for the skill initialization script.STRING
HIGH…li/examples/skills/skill-creator/scripts/init_skill.py0main entry point for the skill initialization script.STRING
HIGH…xamples/skills/skill-creator/scripts/quick_validate.py0quick validation script for skills - minimal version. for deepagents cli, skills are located at: ~/.deepagents/<agent>/sSTRING
HIGH…uilt_in_skills/skill-creator/scripts/quick_validate.py0quick validation script for skills - minimal version. for deepagents cli, skills are located at: ~/.deepagents/<agent>/sSTRING
HIGH…xamples/skills/skill-creator/scripts/quick_validate.py0quick validation script for skills - minimal version. for deepagents cli, skills are located at: ~/.deepagents/<agent>/sSTRING
HIGH…xamples/skills/skill-creator/scripts/quick_validate.py0basic validation of a skill. returns: tuple of (is_valid, message) where is_valid is bool and message describes result.STRING
HIGH…uilt_in_skills/skill-creator/scripts/quick_validate.py0basic validation of a skill. returns: tuple of (is_valid, message) where is_valid is bool and message describes result.STRING
HIGH…xamples/skills/skill-creator/scripts/quick_validate.py0basic validation of a skill. returns: tuple of (is_valid, message) where is_valid is bool and message describes result.STRING
HIGHlibs/code/deepagents_code/subagents.py0what this subagent does. the main agent uses this to decide when to delegate.STRING
HIGHlibs/deepagents/deepagents/middleware/subagents.py0what this subagent does. the main agent uses this to decide when to delegate.STRING
HIGH…bs/deepagents/deepagents/middleware/async_subagents.py0what this subagent does. the main agent uses this to decide when to delegate.STRING
HIGH…bs/code/deepagents_code/tui/widgets/install_confirm.py0compose the force-reconnect confirmation dialog. yields: title, body, and help-row widgets parented inside a `vertical`.STRING
HIGHlibs/code/deepagents_code/tui/widgets/auth.py0compose the force-reconnect confirmation dialog. yields: title, body, and help-row widgets parented inside a `vertical`.STRING
HIGHlibs/code/deepagents_code/tui/widgets/restart_prompt.py0compose the force-reconnect confirmation dialog. yields: title, body, and help-row widgets parented inside a `vertical`.STRING
37 more matches not shown…
Cross-Language Confusion83 hits · 482 pts
SeverityFileLineSnippetContext
HIGHlibs/code/tests/unit_tests/test_extras_info.py424 '{"dir_info": null}', # valid JSON, dir_info not an objectCODE
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py159 ("ls && cat file", True),CODE
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py160 ("ls && rm file", False),CODE
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py161 ("ls -la && grep pattern file && cat output.txt", True),CODE
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py162 ("ls && cat file && grep test", True),CODE
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py163 ("cat a.txt && cat b.txt && cat c.txt", True),CODE
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py164 ("ls && rm -rf /", False),CODE
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py177 ("ls || cat file", True),CODE
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py178 ("ls || rm file", False),CODE
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py549 ("ls && cat file", True),CODE
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py550 ("ls && grep test file", True),CODE
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py639 assert not contains_dangerous_patterns("ls && cat file")CODE
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py170 """Test commands with && operator (commonly used by Claude for chaining)."""STRING
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py184 """Test commands with || operator."""STRING
HIGHlibs/code/tests/unit_tests/test_shell_allow_list.py638 """Double && should not be flagged as dangerous (it's a safe operator)."""STRING
HIGHlibs/code/tests/unit_tests/test_update_check.py1772 == f"export PATH={quoted_bin_dir}:$PATH\nhash -r 2>/dev/null || true"CODE
HIGH…ode/tests/integration_tests/test_sandbox_operations.py41 "rm -rf /tmp/test_sandbox_ops && mkdir -p /tmp/test_sandbox_ops"CODE
HIGHlibs/code/deepagents_code/update_check.py1552 return f"export PATH={quoted}:$PATH\nhash -r 2>/dev/null || true"CODE
HIGHlibs/code/deepagents_code/local_context.py297$IN_GIT && ROOT="$(git rev-parse --show-toplevel 2>/dev/null)"CODE
HIGHlibs/code/deepagents_code/local_context.py297$IN_GIT && ROOT="$(git rev-parse --show-toplevel 2>/dev/null)"CODE
HIGHlibs/code/deepagents_code/local_context.py311 $MONOREPO && echo "- Monorepo: yes"CODE
HIGHlibs/code/deepagents_code/local_context.py329 if grep -q '\[tool\.uv\]' pyproject.toml 2>/dev/null; then PKG="Python: uv"CODE
HIGHlibs/code/deepagents_code/local_context.py330 elif grep -q '\[tool\.poetry\]' pyproject.toml 2>/dev/null; then PKG="Python: poetry"CODE
HIGHlibs/code/deepagents_code/local_context.py375 BRANCH="$(git rev-parse --abbrev-ref HEAD 2>/dev/null)"CODE
HIGHlibs/code/deepagents_code/local_context.py377 COMMIT="$(git rev-parse --short HEAD 2>/dev/null)"CODE
HIGHlibs/code/deepagents_code/local_context.py449if [ -f Makefile ] && grep -qE '^tests?:' Makefile 2>/dev/null; then TC="make test"CODE
HIGHlibs/code/deepagents_code/local_context.py456 && grep -q '"test"' package.json 2>/dev/null; thenCODE
HIGHlibs/code/deepagents_code/local_context.py474 { ls -1 2>/dev/null; [ -e .deepagents ] && echo .deepagents; } |CODE
HIGHlibs/code/deepagents_code/local_context.py523 $TREE_TRUNCATED && echo "... (more lines truncated)"CODE
HIGHlibs/partners/quickjs/tests/unit_tests/test_ptc.py394 undefined = await repl.eval_async("await tools.myTool({ name: undefined })")CODE
HIGH…tners/quickjs/tests/unit_tests/test_repl_middleware.py1037 "mustThrow('assign', () => { globalThis.task = null; });"CODE
HIGH…tners/quickjs/tests/unit_tests/test_repl_middleware.py1040 "if (!Object.isFrozen(task) || task.extra !== undefined) {"CODE
HIGH…tners/quickjs/tests/unit_tests/test_repl_middleware.py1292 " calls.push(task({"CODE
HIGH…s/partners/quickjs/tests/unit_tests/test_end_to_end.py241 code = "const r = await tools.getUserEmailOrNone({user_id: -1});\n`${r === null}`;"CODE
HIGHlibs/partners/quickjs/tests/benchmarks/_common.py26 " values.push(await tools.echoPayload({value: `value-${i}`}));"CODE
HIGHlibs/partners/quickjs/tests/benchmarks/_common.py35 " values.push(value);"CODE
HIGHlibs/partners/quickjs/langchain_quickjs/_prompt.py115 reviewed.push(...(await Promise.all(batch.map(async (file) => {CODE
HIGHlibs/partners/quickjs/langchain_quickjs/middleware.py261 # eval runs on another (and sees `tools` undefined).COMMENT
HIGH…ents/tests/unit_tests/test_local_sandbox_operations.py260 sandbox.execute("rm -rf /tmp/test_sandbox_ops && mkdir -p /tmp/test_sandbox_ops")CODE
HIGH…ents/tests/unit_tests/test_local_sandbox_operations.py1629 sandbox.execute("rm -rf /tmp/test_sandbox_ops && mkdir -p /tmp/test_sandbox_ops")CODE
HIGH…ents/tests/unit_tests/test_local_sandbox_operations.py1722 assert sandbox.execute(f"test -e {off_path} && echo Y || echo N").output.strip() == "N"CODE
HIGHlibs/deepagents/deepagents/middleware/subagents.py364 if (n <= 1) return falseCODE
HIGHlibs/deepagents/deepagents/middleware/subagents.py366 if (n % i === 0) return falseCODE
HIGHlibs/deepagents/deepagents/middleware/subagents.py368 return trueCODE
HIGHlibs/deepagents/deepagents/middleware/filesystem.py1080 - Use '&&' when commands depend on each other (e.g., "mkdir dir && cd dir")CODE
HIGHlibs/deepagents/deepagents/middleware/filesystem.py1088 - execute(command="npm install && npm test")CODE
HIGHlibs/deepagents/deepagents/middleware/filesystem.py1092 - execute(command="cd /foo/bar && pytest tests") # Use absolute path insteadCODE
HIGHlibs/deepagents/deepagents/backends/sandbox.py826{ ( eval "$__da_cmd" ); echo "$?" > "$__da_ecf"; } 2>&1 | { head -c __MAXBYTES__ > "$__da_f"; cat > /dev/null; }CODE
HIGHlibs/deepagents/deepagents/backends/sandbox.py827__da_ec=$(cat "$__da_ecf" 2>/dev/null)CODE
HIGHlibs/deepagents/deepagents/backends/sandbox.py1343 Runs `test -e || test -L` first: a path that does not exist (and is notSTRING
HIGHlibs/acp/tests/test_dangerous_patterns.py65 assert not contains_dangerous_patterns("cd dir && ls")CODE
HIGHlibs/acp/tests/test_dangerous_patterns.py66 assert not contains_dangerous_patterns("make && make test")CODE
HIGHlibs/acp/tests/test_dangerous_patterns.py76 assert extract_command_types("test -f foo || echo missing") == ["test", "echo"]CODE
HIGHlibs/acp/tests/test_dangerous_patterns.py79 result = extract_command_types("cd dir && ls ; echo done || cat file")CODE
HIGHlibs/acp/tests/test_dangerous_patterns.py79 result = extract_command_types("cd dir && ls ; echo done || cat file")CODE
HIGHlibs/acp/tests/test_dangerous_patterns.py84 assert extract_command_types("cd /path && npm install") == ["cd", "npm install"]CODE
HIGHlibs/acp/tests/test_dangerous_patterns.py88 cmd = "cd /Users/test/project && python -m pytest tests/test_agent.py -v"CODE
HIGHlibs/acp/tests/test_dangerous_patterns.py83 """Ensure existing && and | splitting still works."""STRING
HIGHlibs/acp/tests/test_command_allowlist.py79 assert extract_command_types("cd /path && npm install") == ["cd", "npm install"]CODE
HIGHlibs/acp/tests/test_command_allowlist.py80 assert extract_command_types("cd /path && python -m pytest tests/") == [CODE
23 more matches not shown…
Excessive Try-Catch Wrapping527 hits · 467 pts
SeverityFileLineSnippetContext
LOWlibs/talon/deepagents_talon/host.py375 except Exception:CODE
LOWlibs/talon/deepagents_talon/host.py750 except Exception: # noqa: BLE001 # typing indicators are best-effort adapter calls.CODE
LOWlibs/talon/deepagents_talon/host.py758 except Exception: # noqa: BLE001CODE
LOWlibs/talon/deepagents_talon/runtime.py399 except Exception as exc:CODE
LOWlibs/talon/deepagents_talon/speech.py173 except Exception:CODE
LOWlibs/talon/deepagents_talon/cron/tools.py159 except Exception as exc: # noqa: BLE001CODE
LOWlibs/talon/deepagents_talon/cron/tools.py171 except Exception as exc: # noqa: BLE001CODE
LOWlibs/talon/deepagents_talon/cron/tools.py206 except Exception as exc: # noqa: BLE001CODE
LOWlibs/talon/deepagents_talon/cron/tools.py221 except Exception as exc: # noqa: BLE001CODE
LOWlibs/talon/deepagents_talon/cron/scheduler.py107 except Exception as exc:CODE
LOWlibs/talon/deepagents_talon/cron/scheduler.py144 except Exception as exc:CODE
LOWlibs/talon/deepagents_talon/channels/base.py578 except Exception as exc: # noqa: BLE001 # transport errors must not crash the host loopCODE
LOWlibs/evals/deepagents_evals/cli.py210 except Exception as exc: # noqa: BLE001CODE
LOWlibs/evals/deepagents_evals/cli.py229 except Exception as exc: # noqa: BLE001CODE
LOWlibs/evals/deepagents_evals/cli.py298 except Exception as exc: # noqa: BLE001CODE
LOWlibs/evals/tests/evals/pytest_reporter.py116 except Exception: # noqa: BLE001CODE
LOWlibs/evals/tests/evals/pytest_reporter.py158 except Exception as exc: # noqa: BLE001CODE
LOWlibs/evals/tests/evals/pytest_reporter.py171 except Exception as exc: # noqa: BLE001CODE
LOWlibs/evals/tests/evals/pytest_reporter.py202 except Exception as exc: # noqa: BLE001CODE
LOWlibs/evals/tests/evals/pytest_reporter.py287 except Exception as exc: # noqa: BLE001CODE
LOWlibs/evals/tests/evals/pytest_reporter.py333 except Exception as exc: # noqa: BLE001 # private API; best-effortCODE
LOWlibs/evals/tests/evals/external_benchmarks.py338 except Exception:CODE
LOWlibs/evals/tests/evals/llm_judge.py185 except Exception as exc: # noqa: BLE001CODE
LOWlibs/evals/tests/evals/llm_judge.py191 except Exception as exc: # noqa: BLE001CODE
LOWlibs/evals/tests/evals/llm_judge.py218 except Exception as exc: # noqa: BLE001CODE
LOWlibs/evals/tests/evals/memory_agent_bench/data_utils.py182 except Exception as exc: # noqa: BLE001CODE
LOWlibs/evals/deepagents_harbor/langsmith.py691 except Exception as exc: # noqa: BLE001 # surface unexpected errors per-trialCODE
LOWlibs/evals/scripts/generate_radar.py242 except Exception as exc: # noqa: BLE001 # top-level script should surface chart backend failures cleanlyCODE
LOWlibs/evals/scripts/generate_radar.py260 except Exception as exc: # noqa: BLE001 # top-level script should surface chart backend failures cleanlyCODE
MEDIUMlibs/evals/scripts/harbor_langsmith.py155 print(f"Error: --metadata must be valid JSON: {exc}", file=sys.stderr)CODE
MEDIUMlibs/evals/scripts/harbor_langsmith.py158 print("Error: --metadata must be a JSON object.", file=sys.stderr)CODE
MEDIUMlibs/evals/scripts/harbor_langsmith.py170 print(f"Error: {exc}", file=sys.stderr)CODE
MEDIUMlibs/evals/scripts/harbor_langsmith.py173 print(f"Error: failed to create experiment: {exc}", file=sys.stderr)CODE
LOWlibs/evals/scripts/harbor_langsmith.py175 except Exception as exc: # noqa: BLE001 # unexpected; distinct exit codeCODE
MEDIUMlibs/evals/scripts/harbor_langsmith.py176 print(f"Error: unexpected failure creating experiment: {exc!r}", file=sys.stderr)CODE
MEDIUMlibs/evals/scripts/harbor_langsmith.py183 print(f"Error: Job folder does not exist: {args.job_folder}")CODE
LOWlibs/evals/scripts/analyze.py317 except Exception:CODE
MEDIUMlibs/evals/scripts/analyze.py369 print(f"Error: Directory {jobs_dir} does not exist")CODE
LOWlibs/evals/scripts/analyze.py509 except Exception:CODE
LOWlibs/evals/scripts/analyze.py880 except Exception as e:CODE
LOW…e/tests/unit_tests/tui/widgets/test_mcp_login_modal.py38 except Exception: # noqa: BLE001 # screen may still be mountingCODE
LOWlibs/code/examples/skills/arxiv-search/arxiv_search.py40 except Exception as e:CODE
MEDIUM…de/examples/skills/skill-creator/scripts/init_skill.py214 print(f"Error: Skill directory already exists: {skill_dir}")STRING
LOW…de/examples/skills/skill-creator/scripts/init_skill.py221 except Exception as e:STRING
MEDIUM…de/examples/skills/skill-creator/scripts/init_skill.py222 print(f"Error creating directory: {e}")STRING
LOW…de/examples/skills/skill-creator/scripts/init_skill.py235 except Exception as e:STRING
MEDIUM…de/examples/skills/skill-creator/scripts/init_skill.py236 print(f"Error creating SKILL.md: {e}")STRING
LOW…de/examples/skills/skill-creator/scripts/init_skill.py262 except Exception as e:STRING
MEDIUM…de/examples/skills/skill-creator/scripts/init_skill.py263 print(f"Error creating resource directories: {e}")STRING
LOWlibs/code/deepagents_code/goal_rubric.py304 except Exception:CODE
LOWlibs/code/deepagents_code/reliable_rubric.py78 except Exception as exc:CODE
LOWlibs/code/deepagents_code/reliable_rubric.py90 except Exception as exc:CODE
LOWlibs/code/deepagents_code/sessions.py355 except Exception:CODE
LOWlibs/code/deepagents_code/sessions.py525 except Exception:STRING
LOWlibs/code/deepagents_code/sessions.py879 except Exception:STRING
LOWlibs/code/deepagents_code/sessions.py945 except Exception:STRING
LOWlibs/code/deepagents_code/sessions.py1059 except Exception:STRING
LOWlibs/code/deepagents_code/sessions.py1073 except Exception:STRING
LOWlibs/code/deepagents_code/sessions.py1132 except Exception:STRING
LOWlibs/code/deepagents_code/sessions.py1163 except Exception:STRING
467 more matches not shown…
Self-Referential Comments121 hits · 399 pts
SeverityFileLineSnippetContext
MEDIUMlibs/evals/tests/evals/data/bfcl_apis/trading_bot.py200 # Define the start and end dates for the rangeCOMMENT
MEDIUMlibs/evals/scripts/analyze.py632 # Create the deep agent for trajectory analysisSTRING
MEDIUMlibs/evals/scripts/analyze.py658 # Create the user message with the trajectory and explicit statusSTRING
MEDIUMlibs/code/tests/unit_tests/test_media_utils.py828 # Create a file that reports > 20 MB via statCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_media_utils.py292 # Create a small PNG in memoryCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_media_utils.py617 # Create a small valid PNGCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_media_utils.py788 # Create a minimal valid MP4 file (ftyp box)COMMENT
MEDIUMlibs/code/tests/unit_tests/test_agent.py1186 # Create the default agent directory with AGENTS.mdCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_agent.py1191 # Create a non-default agentCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py122 # Create a fake model that returns predefined messagesCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py144 # Create a CLI agent with the fake modelCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py183 # Create a CLI agent with the fake modelCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py244 # Create a fake model that calls sample_toolCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py266 # Create a CLI agent with the fake model and sample_toolCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py297 # Create a test file to listCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py301 # Create a fake model that uses filesystem toolsCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py323 # Create a CLI agent with the fake modelCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py351 # Create a fake model that makes multiple tool callsCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py384 # Create a CLI agent with the fake model and sample_toolCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py417 # Create a simple fake modelCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_end_to_end.py426 # Create a CLI agentCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_config.py169 # Create a mock project structureCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_config.py175 # Create a subdirectory to search fromCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_config.py721 # Create a mock project with .gitCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_config.py732 # Create a directory without .gitCOMMENT
MEDIUM…ode/tests/unit_tests/tui/widgets/test_message_store.py702 # Create a tool message with various statesCOMMENT
MEDIUMlibs/code/tests/unit_tests/skills/test_load.py686 # Create a healthy user skills directoryCOMMENT
MEDIUM…ode/tests/integration_tests/test_sandbox_operations.py287 # Create a line with 3000 charactersCOMMENT
MEDIUM…s/code/tests/integration_tests/test_sandbox_factory.py214 # Create a directoryCOMMENT
MEDIUM…s/code/tests/integration_tests/test_sandbox_factory.py284 # Create a directoryCOMMENT
MEDIUMlibs/code/deepagents_code/media_utils.py457 # Create a temp file for the imageCOMMENT
MEDIUMlibs/code/deepagents_code/agent.py1959 # Create the agentCOMMENT
MEDIUMlibs/code/deepagents_code/app.py11883 # Create the stats object up-front and store on the app soCOMMENT
MEDIUMlibs/code/scripts/install.sh1618 # Create the profile file if it doesn't exist.COMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_middleware.py3253 # Create a list that exceeds the token limit (20000 tokens * 4 chars = 80000 chars)COMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_middleware.py3287 # Create a large tool resultCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_middleware.py3295 # Create a request for a tool in TOOLS_EXCLUDED_FROM_EVICTIONCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_middleware.py3317 # Create a large tool resultCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_middleware.py3325 # Create a request for a tool NOT in TOOLS_EXCLUDED_FROM_EVICTIONCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_middleware.py3351 # Create a ToolMessage with the large execute outputCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_middleware.py3358 # Create a request for the execute toolCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_middleware.py546 # Create a large number of files that will exceed TOOL_RESULT_TOKEN_LIMITCOMMENT
MEDIUM…/deepagents/tests/unit_tests/test_file_system_tools.py55 # Create a deep agent with the fake model and a memory saverCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py987 # Create a file with content that exceeds the truncation thresholdCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py996 # Create a fake model that calls read_fileCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py1045 # Create a small file that doesn't exceed the truncation thresholdCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py1053 # Create a fake model that calls read_fileCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py1099 # Create a large file with many lines (each line is 500 chars + newline)COMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py1109 # Create a fake model that calls read_file with a non-zero offsetCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py1155 # Create a large fileCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py1163 # Create a fake model that calls read_fileCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py131 # Create a fake model that returns predefined messagesCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py153 # Create a deep agent with the fake modelCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py263 # Create a fake model that calls sample_toolCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py285 # Create a deep agent with the fake model and sample_toolCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py307 # Create a fake model that uses filesystem toolsCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py329 # Create a deep agent with the fake modelCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py348 # Create a fake model that makes multiple tool callsCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py381 # Create a deep agent with the fake model and sample_toolCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py497 # Create a fake model that calls read_fileCOMMENT
61 more matches not shown…
Modern Structural Boilerplate287 hits · 274 pts
SeverityFileLineSnippetContext
LOWlibs/talon/deepagents_talon/interfaces.py172 def set_message_handler(self, handler: MessageHandler) -> None:CODE
LOWlibs/talon/deepagents_talon/interfaces.py228 def set_reaction_handler(self, handler: ReactionHandler) -> None:CODE
LOWlibs/talon/deepagents_talon/host.py53logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/__init__.py43__all__ = [CODE
LOWlibs/talon/deepagents_talon/runtime.py51logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/mcp.py31logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/async_subagents.py16logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/speech.py25logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/data_lifecycle.py22logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/__main__.py43logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/cron/__init__.py17__all__ = [CODE
LOWlibs/talon/deepagents_talon/cron/scheduler.py17logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/channels/whatsapp.py54logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/channels/whatsapp.py278 def set_message_handler(self, handler: MessageHandler) -> None:CODE
LOWlibs/talon/deepagents_talon/channels/telegram.py53logger = logging.getLogger(__name__)CODE
LOWlibs/talon/deepagents_talon/channels/telegram.py331 def set_message_handler(self, handler: MessageHandler) -> None:CODE
LOWlibs/talon/deepagents_talon/channels/telegram.py339 def set_reaction_handler(self, handler: ReactionHandler) -> None:CODE
LOWlibs/talon/deepagents_talon/channels/__init__.py18__all__ = [CODE
LOWlibs/talon/deepagents_talon/channels/base.py41logger = logging.getLogger(__name__)CODE
LOWlibs/talon/tests/conftest.py41 def set_message_handler(self, handler: Callable[[ChannelMessage], Awaitable[None]]) -> None:CODE
LOWlibs/talon/tests/test_observability.py40 def set_message_handler(self, handler: Callable[[ChannelMessage], Awaitable[None]]) -> None:CODE
LOWlibs/talon/tests/integration_tests/test_core_flows.py34 def set_message_handler(self, handler: Callable[[ChannelMessage], Awaitable[None]]) -> None:CODE
LOWlibs/evals/deepagents_clbench/system/__init__.py5__all__ = ["DeepAgentsSystem"]CODE
LOWlibs/evals/tests/evals/pytest_reporter.py20logger = logging.getLogger(__name__)CODE
LOWlibs/evals/tests/evals/utils.py19logger = logging.getLogger(__name__)CODE
LOWlibs/evals/tests/evals/tau2_airline/runner.py29logger = logging.getLogger(__name__)CODE
LOWlibs/evals/tests/evals/tau2_airline/evaluation.py36logger = logging.getLogger(__name__)CODE
LOW…bs/evals/tests/evals/tau2_airline/test_tau2_airline.py45logger = logging.getLogger(__name__)CODE
LOWlibs/evals/tests/evals/memory_agent_bench/data_utils.py14logger = logging.getLogger(__name__)CODE
LOW…ts/evals/memory_agent_bench/test_memory_agent_bench.py49logger = logging.getLogger(__name__)CODE
LOWlibs/evals/tests/evals/data/bfcl_apis/travel_booking.py221 def _set_card_balance(self, card_id: str, balance: float) -> None:CODE
LOWlibs/evals/deepagents_harbor/__init__.py12__all__ = [CODE
LOWlibs/evals/deepagents_harbor/failure.py15logger = logging.getLogger(__name__)CODE
LOWlibs/code/tests/unit_tests/test_mcp_auth.py463 async def set_tokens(self, tokens: OAuthToken) -> None:CODE
LOWlibs/code/tests/unit_tests/test_mcp_auth.py469 async def set_client_info(self, client_info) -> None:CODE
LOWlibs/code/tests/unit_tests/test_resume_state.py236 def _update_tokens(self, count: int) -> None:CODE
LOWlibs/code/tests/unit_tests/test_resume_state.py256 def _update_tokens(self, count: int) -> None:CODE
LOWlibs/code/tests/unit_tests/test_resume_state.py271 def update_tokens(count: int, *, approximate: bool = False) -> None:CODE
LOWlibs/code/tests/unit_tests/test_resume_state.py292 def _update_tokens(self, count: int) -> None:CODE
LOWlibs/code/tests/unit_tests/tui/test_textual_adapter.py160 def update_cb(count: int, *, approximate: bool = False) -> None:CODE
LOWlibs/code/tests/unit_tests/tui/test_textual_adapter.py458 def update_state(_config: object, _values: dict[str, Any]) -> None:CODE
LOW…e/tests/unit_tests/tui/widgets/test_thread_selector.py3752 def _set_content_side_effect(content: str) -> None:CODE
LOW…s/code/tests/unit_tests/tui/widgets/test_chat_input.py241 def set_cwd(self, cwd: Path) -> None:CODE
LOW…de/tests/integration_tests/test_auto_approve_remote.py110 def update_status(_: str) -> None:CODE
LOWlibs/code/deepagents_code/reasoning_effort.py15logger = logging.getLogger(__name__)CODE
LOWlibs/code/deepagents_code/goal_rubric.py27logger = logging.getLogger(__name__)CODE
LOWlibs/code/deepagents_code/reliable_rubric.py14logger = logging.getLogger(__name__)CODE
LOWlibs/code/deepagents_code/config_manifest.py46logger = logging.getLogger(__name__)CODE
LOWlibs/code/deepagents_code/mcp_trust.py24logger = logging.getLogger(__name__)CODE
LOWlibs/code/deepagents_code/sessions.py25logger = logging.getLogger(__name__)CODE
LOWlibs/code/deepagents_code/hooks.py82logger = logging.getLogger(__name__)CODE
LOWlibs/code/deepagents_code/approval_mode.py10logger = logging.getLogger(__name__)CODE
LOWlibs/code/deepagents_code/subagents.py42logger = logging.getLogger(__name__)CODE
LOWlibs/code/deepagents_code/config.py41logger = logging.getLogger(__name__)CODE
LOWlibs/code/deepagents_code/mcp_login_service.py273__all__ = [CODE
LOWlibs/code/deepagents_code/terminal_escape.py28logger = logging.getLogger(__name__)CODE
LOWlibs/code/deepagents_code/theme.py39logger = logging.getLogger(__name__)CODE
LOWlibs/code/deepagents_code/model_config.py31logger = logging.getLogger(__name__)CODE
LOWlibs/code/deepagents_code/update_check.py42logger = logging.getLogger(__name__)CODE
LOWlibs/code/deepagents_code/update_check.py2938def set_auto_update(enabled: bool) -> None:CODE
227 more matches not shown…
Deep Nesting197 hits · 150 pts
SeverityFileLineSnippetContext
LOWlibs/talon/deepagents_talon/media.py63CODE
LOWlibs/talon/deepagents_talon/fleet_import.py268CODE
LOWlibs/talon/deepagents_talon/channels/whatsapp.py441CODE
LOWlibs/talon/deepagents_talon/channels/telegram.py1205CODE
LOWlibs/talon/tests/channels/test_telegram.py59CODE
LOWlibs/evals/tests/evals/pytest_reporter.py120CODE
LOWlibs/evals/tests/evals/pytest_reporter.py293CODE
LOWlibs/evals/tests/evals/pytest_reporter.py342CODE
LOWlibs/evals/tests/evals/utils.py1002CODE
LOWlibs/evals/tests/evals/llm_judge.py141CODE
LOW…/tests/evals/test_iterative_constraint_satisfaction.py84CODE
LOWlibs/evals/tests/evals/tau2_airline/domain.py427CODE
LOWlibs/evals/tests/evals/tau2_airline/domain.py512CODE
LOWlibs/evals/tests/evals/tau2_airline/evaluation.py156CODE
LOWlibs/evals/tests/evals/tau2_airline/evaluation.py162CODE
LOW…bs/evals/tests/evals/data/bfcl_apis/vehicle_control.py331CODE
LOW…bs/evals/tests/evals/data/bfcl_apis/vehicle_control.py553CODE
LOW…bs/evals/tests/evals/data/bfcl_apis/vehicle_control.py618CODE
LOWlibs/evals/tests/unit_tests/test_category_tagging.py90CODE
LOWlibs/evals/deepagents_harbor/langsmith.py647CODE
LOWlibs/evals/deepagents_harbor/failure.py95CODE
LOWlibs/evals/scripts/generate_radar.py119CODE
LOWlibs/evals/scripts/generate_eval_catalog.py58CODE
LOWlibs/evals/scripts/harbor_langsmith.py26CODE
LOWlibs/evals/scripts/analyze.py254CODE
LOWlibs/evals/scripts/analyze.py779CODE
LOWlibs/code/tests/unit_tests/test_startup_fast_paths.py242CODE
LOW…bs/code/tests/unit_tests/test_coding_agent_metadata.py56CODE
LOWlibs/code/tests/unit_tests/test_sessions.py2888CODE
LOW…ode/tests/unit_tests/smoke_tests/test_system_prompt.py145CODE
LOW…e/tests/unit_tests/tui/widgets/test_thread_selector.py717CODE
LOWlibs/code/deepagents_code/goal_rubric.py88CODE
LOWlibs/code/deepagents_code/config_manifest.py484CODE
LOWlibs/code/deepagents_code/config_manifest.py609CODE
LOWlibs/code/deepagents_code/_testing_models.py114CODE
LOWlibs/code/deepagents_code/sessions.py1084CODE
LOWlibs/code/deepagents_code/sessions.py1210CODE
LOWlibs/code/deepagents_code/config.py894CODE
LOWlibs/code/deepagents_code/config.py1245CODE
LOWlibs/code/deepagents_code/config.py2001CODE
LOWlibs/code/deepagents_code/config.py2968CODE
LOWlibs/code/deepagents_code/config.py4028CODE
LOWlibs/code/deepagents_code/config.py4177CODE
LOWlibs/code/deepagents_code/config.py4380CODE
LOWlibs/code/deepagents_code/mcp_login_service.py124CODE
LOWlibs/code/deepagents_code/model_config.py948CODE
LOWlibs/code/deepagents_code/model_config.py1152CODE
LOWlibs/code/deepagents_code/model_config.py3271CODE
LOWlibs/code/deepagents_code/model_config.py3416CODE
LOWlibs/code/deepagents_code/model_config.py3491CODE
LOWlibs/code/deepagents_code/update_check.py405CODE
LOWlibs/code/deepagents_code/update_check.py518CODE
LOWlibs/code/deepagents_code/update_check.py647CODE
LOWlibs/code/deepagents_code/update_check.py775CODE
LOWlibs/code/deepagents_code/media_utils.py392CODE
LOWlibs/code/deepagents_code/mcp_auth.py1475CODE
LOWlibs/code/deepagents_code/mcp_auth.py1807CODE
LOWlibs/code/deepagents_code/mcp_auth.py1334CODE
LOWlibs/code/deepagents_code/file_ops.py379CODE
LOWlibs/code/deepagents_code/file_ops.py543CODE
137 more matches not shown…
Structural Annotation Overuse54 hits · 94 pts
SeverityFileLineSnippetContext
LOWlibs/evals/tests/evals/test_skills.py54 # Step 1: read_file to get the skill content.COMMENT
LOWlibs/evals/tests/evals/test_skills.py55 # Step 2: answer with the magic number.COMMENT
LOWlibs/evals/tests/evals/test_skills.py97 # Step 1: read_file for code-review only.COMMENT
LOWlibs/evals/tests/evals/test_skills.py98 # Step 2: answer with the code.COMMENT
LOWlibs/evals/tests/evals/test_skills.py143 # Step 1: read_file for both skills in parallel.COMMENT
LOWlibs/evals/tests/evals/test_skills.py144 # Step 2: answer combining both ports.COMMENT
LOWlibs/evals/tests/evals/test_skills.py230 # Step 1: read_file to discover the typo.COMMENT
LOWlibs/evals/tests/evals/test_skills.py231 # Step 2: edit_file to fix it.COMMENT
LOWlibs/evals/tests/evals/test_skills.py232 # Step 3: confirm.COMMENT
LOWlibs/code/tests/unit_tests/test_model_config.py2208 # Step 1: Save model to config (simulating /model anthropic:claude-opus-4-5)COMMENT
LOWlibs/code/tests/unit_tests/test_model_config.py2216 # Step 2: Patch DEFAULT_CONFIG_PATH and call _get_default_model_specCOMMENT
LOWlibs/code/tests/unit_tests/test_model_config.py2226 # Step 3: Get default model spec - should use saved recent modelCOMMENT
LOWlibs/code/examples/skills/skill-creator/SKILL.md225### Step 1: Understanding the Skill with Concrete ExamplesCOMMENT
LOWlibs/code/examples/skills/skill-creator/SKILL.md242### Step 2: Planning the Reusable Skill ContentsCOMMENT
LOWlibs/code/examples/skills/skill-creator/SKILL.md266### Step 3: Initializing the SkillCOMMENT
LOWlibs/code/examples/skills/skill-creator/SKILL.md317### Step 4: Edit the SkillCOMMENT
LOWlibs/code/examples/skills/skill-creator/SKILL.md358### Step 5: Validate the SkillCOMMENT
LOWlibs/code/examples/skills/skill-creator/SKILL.md376### Step 6: IterateCOMMENT
LOWlibs/code/examples/skills/web-research/SKILL.md10### Step 1: Create and Save Research PlanCOMMENT
LOWlibs/code/examples/skills/web-research/SKILL.md33### Step 2: Delegate to Research SubagentsCOMMENT
LOWlibs/code/examples/skills/web-research/SKILL.md52### Step 3: Synthesize FindingsCOMMENT
LOW…deepagents_code/built_in_skills/skill-creator/SKILL.md228### Step 1: Understanding the Skill with Concrete ExamplesCOMMENT
LOW…deepagents_code/built_in_skills/skill-creator/SKILL.md245### Step 2: Planning the Reusable Skill ContentsCOMMENT
LOW…deepagents_code/built_in_skills/skill-creator/SKILL.md269### Step 3: Initializing the SkillCOMMENT
LOW…deepagents_code/built_in_skills/skill-creator/SKILL.md320### Step 4: Edit the SkillCOMMENT
LOW…deepagents_code/built_in_skills/skill-creator/SKILL.md356### Step 5: Validate the SkillCOMMENT
LOW…deepagents_code/built_in_skills/skill-creator/SKILL.md374### Step 6: IterateCOMMENT
LOW…code/deepagents_code/built_in_skills/remember/SKILL.md10## Step 1: Identify Best Practices and Key LearningsCOMMENT
LOW…code/deepagents_code/built_in_skills/remember/SKILL.md27## Step 2: Decide Where to Store Each LearningCOMMENT
LOW…code/deepagents_code/built_in_skills/remember/SKILL.md49## Step 3: Create Skills for Significant Best PracticesCOMMENT
LOW…code/deepagents_code/built_in_skills/remember/SKILL.md102## Step 4: Update Memory for Simpler LearningsCOMMENT
LOW…code/deepagents_code/built_in_skills/remember/SKILL.md114## Step 5: Summarize ChangesCOMMENT
LOWlibs/code/scripts/install.sh1545 # Step 1: try symlinking into a dir already in PATH (no profile change).COMMENT
LOWlibs/code/scripts/install.sh1553 # Step 2: create ~/.local/bin, symlink there, then add to shell profile.COMMENT
LOWlibs/code/scripts/install.sh1571 # Step 3: detect shell and add ~/.local/bin to profile if needed.COMMENT
LOWlibs/cli/examples/skills/skill-creator/SKILL.md225### Step 1: Understanding the Skill with Concrete ExamplesCOMMENT
LOWlibs/cli/examples/skills/skill-creator/SKILL.md242### Step 2: Planning the Reusable Skill ContentsCOMMENT
LOWlibs/cli/examples/skills/skill-creator/SKILL.md266### Step 3: Initializing the SkillCOMMENT
LOWlibs/cli/examples/skills/skill-creator/SKILL.md317### Step 4: Edit the SkillCOMMENT
LOWlibs/cli/examples/skills/skill-creator/SKILL.md358### Step 5: Validate the SkillCOMMENT
LOWlibs/cli/examples/skills/skill-creator/SKILL.md376### Step 6: IterateCOMMENT
LOWlibs/cli/examples/skills/web-research/SKILL.md10### Step 1: Create and Save Research PlanCOMMENT
LOWlibs/cli/examples/skills/web-research/SKILL.md33### Step 2: Delegate to Research SubagentsCOMMENT
LOWlibs/cli/examples/skills/web-research/SKILL.md52### Step 3: Synthesize FindingsCOMMENT
LOW…nts/tests/unit_tests/backends/test_backwards_compat.py358 # Step 2: V2 backend reads v1 dataCOMMENT
LOW…nts/tests/unit_tests/backends/test_backwards_compat.py367 # Step 3: Edit v1 data (result upgrades to v2)COMMENT
LOW…nts/tests/unit_tests/backends/test_backwards_compat.py373 # Step 4: Write a brand new file in v2COMMENT
LOW…nts/tests/unit_tests/backends/test_backwards_compat.py377 # Step 5: Verify everything via readsCOMMENT
LOWlibs/deepagents/deepagents/middleware/summarization.py1419 # Step 1: Truncate args if configuredCOMMENT
LOWlibs/deepagents/deepagents/middleware/summarization.py1425 # Step 2: Check if summarization should happenCOMMENT
LOWlibs/deepagents/deepagents/middleware/summarization.py1553 # Step 1: Truncate args if configuredCOMMENT
LOWlibs/deepagents/deepagents/middleware/summarization.py1559 # Step 2: Check if summarization should happenCOMMENT
LOWlibs/deepagents/deepagents/middleware/summarization.py1439 # Step 3: Perform summarizationCOMMENT
LOWlibs/deepagents/deepagents/middleware/summarization.py1573 # Step 3: Perform summarizationCOMMENT
Over-Commented Block113 hits · 90 pts
SeverityFileLineSnippetContext
LOWaction.yml481 set +eCOMMENT
LOWlibs/code/tests/unit_tests/tui/widgets/test_status.py1061 # Derive the forbidden separator from the Unicode glyph itself so theCOMMENT
LOWlibs/code/deepagents_code/sessions.py761 batch_results = await _load_latest_checkpoint_summaries_batch(COMMENT
LOWlibs/code/deepagents_code/theme.py161"""Incognito shell accent (darkened for light bg contrast)."""COMMENT
LOWlibs/code/deepagents_code/model_config.py661 # BASETEN_API_BASE.COMMENT
LOWlibs/code/deepagents_code/model_config.py681 # PERPLEXITY_BASE_URL is what takes effect.COMMENT
LOWlibs/code/deepagents_code/update_check.py1441 # PATH-visible one. Take the parent of the un-followed `which`COMMENT
LOWlibs/code/deepagents_code/media_utils.py581 """COMMENT
LOWlibs/code/deepagents_code/mcp_auth.py1421 # lock; reload so a now-valid token skips the refresh.COMMENT
LOWlibs/code/deepagents_code/mcp_auth.py1441 # token while another process may still be using it.COMMENT
LOWlibs/code/deepagents_code/agent.py1801 shell_env.pop("LANGSMITH_PROJECT", None)COMMENT
LOWlibs/code/deepagents_code/local_context.py241COMMENT
LOWlibs/code/deepagents_code/app.py3241 # starts. Python 3.14 replaced the global import lock with per-moduleCOMMENT
LOWlibs/code/deepagents_code/app.py4061 if self._resume_thread_intent:COMMENT
LOWlibs/code/deepagents_code/app.py4261 # No local `suppress` — the `_log_task_exception` doneCOMMENT
LOWlibs/code/deepagents_code/app.py11981 # Merge turn stats before cleanup — _cleanup_agent_task may raiseCOMMENT
LOWlibs/code/deepagents_code/app.py12521 # make natural collisions vanishingly unlikely, but a re-entrantCOMMENT
LOWlibs/code/deepagents_code/app.py14401 finally:COMMENT
LOWlibs/code/deepagents_code/app.py15301 # Surface the failure visibly — silent logger.warningsCOMMENT
LOWlibs/code/deepagents_code/app.py17401 "LangGraph server (no owned subprocess). Configuration "COMMENT
LOWlibs/code/deepagents_code/main.py2401COMMENT
LOWlibs/code/deepagents_code/_tool_stream.py401 tool_id: The tool-call id from this chunk, if present.COMMENT
LOWlibs/code/deepagents_code/_tool_stream.py441 if name:COMMENT
LOWlibs/code/deepagents_code/_tool_stream.py501 if self.args is not None:COMMENT
LOWlibs/code/deepagents_code/_tool_stream.py541 # mid-stream — surface them rather than silently dropping theCOMMENT
LOWlibs/code/deepagents_code/mcp_tools.py2301 # Surface the read failure as a visible config error (a bareCOMMENT
LOWlibs/code/deepagents_code/_textual_patches.py101 # sub-fields that follow, which iTerm2 and other terminals encode inCOMMENT
LOWlibs/code/deepagents_code/tui/textual_adapter.py921 "ask_user",COMMENT
LOWlibs/code/deepagents_code/tui/textual_adapter.py941 # tool.result independently ofCOMMENT
LOWlibs/code/deepagents_code/tui/textual_adapter.py1061 # the next assistant text is a fresh response andCOMMENT
LOWlibs/code/deepagents_code/tui/textual_adapter.py1121 )COMMENT
LOWlibs/code/deepagents_code/tui/textual_adapter.py1261 # Get or create assistant message for this namespaceCOMMENT
LOWlibs/code/deepagents_code/tui/textual_adapter.py1361 # pinned at the bottom as the new row mountsCOMMENT
LOWlibs/code/deepagents_code/tui/textual_adapter.py1881 # Model call already completed (HITL interrupt fires afterCOMMENT
LOWlibs/code/deepagents_code/tui/textual_adapter.py1941 # propagating to the caller: without this drain those buffered tokens areCOMMENT
LOWlibs/code/deepagents_code/tui/textual_adapter.py2121 #COMMENT
LOWlibs/code/deepagents_code/tui/widgets/auth.py1881COMMENT
LOW…bs/code/deepagents_code/tui/widgets/thread_selector.py121_SORT_SELECT_ID = "thread-sort-select"COMMENT
LOWlibs/code/deepagents_code/tui/widgets/messages.py1741 return FalseCOMMENT
LOWlibs/code/deepagents_code/tui/widgets/messages.py2601 total_lines > self._PREVIEW_LINES or total_chars > self._PREVIEW_CHARSCOMMENT
LOWlibs/code/deepagents_code/tui/widgets/chat_input.py1121COMMENT
LOWlibs/code/deepagents_code/tui/widgets/chat_input.py1741 # area instead. At submission the placeholder is expanded back.COMMENT
LOWlibs/code/deepagents_code/tui/widgets/chat_input.py1961 """Detect input mode and update completions."""COMMENT
LOWlibs/code/deepagents_code/tui/widgets/chat_input.py2021 # Absolute dropped paths stay normal input, not slash-command mode.COMMENT
LOWlibs/code/deepagents_code/tui/widgets/model_selector.py421 # Standard /model defaults to the curated recommended subset so usersCOMMENT
LOWlibs/code/deepagents_code/client/non_interactive.py641 )COMMENT
LOWlibs/code/deepagents_code/client/non_interactive.py661 tool_output = str(tool_content) if tool_content else ""COMMENT
LOWlibs/code/deepagents_code/client/non_interactive.py1141 # Close out any `tool.use` with no matching `ToolMessage` — e.g. a streamCOMMENT
LOWlibs/code/scripts/install.sh1#!/usr/bin/env bashCOMMENT
LOWlibs/code/scripts/install.sh21# DEEPAGENTS_CODE_VERSION and an explicit DEEPAGENTS_CODE_PRERELEASE are mutuallyCOMMENT
LOWlibs/code/scripts/install.sh41# Optionally clear uv's shared tool cache (~/.cache/uv on Linux,COMMENT
LOWlibs/code/scripts/install.sh61# DEEPAGENTS_CODE_PYTHON — Python version to use (default: 3.13)COMMENT
LOWlibs/code/scripts/install.sh1121 log_info "deepagents-code ${pre_label} found (editable install from local source)."COMMENT
LOWlibs/code/scripts/install.sh1161 # ask, and an installer's job is to make the current version present, soCOMMENT
LOWlibs/code/scripts/install.sh1181# "pkg X → Y" table under a single header.COMMENT
LOWlibs/code/scripts/install.sh1341# already in the user's PATH (via ~/.local/bin/env or a shell profile), dcodeCOMMENT
LOWlibs/cli/scripts/install.sh1#!/usr/bin/env bashCOMMENT
LOWlibs/partners/quickjs/langchain_quickjs/_repl.py401 # for sync evals. Async evals pass `timeout=` per call so eachCOMMENT
LOWlibs/partners/quickjs/langchain_quickjs/_repl.py421 # once. Distinct from `_active_tool_names` so the first callCOMMENT
LOWlibs/deepagents/deepagents/middleware/filesystem.py321 # matching descendants — block.COMMENT
53 more matches not shown…
Verbosity Indicators29 hits · 60 pts
SeverityFileLineSnippetContext
LOWlibs/evals/tests/evals/test_skills.py54 # Step 1: read_file to get the skill content.COMMENT
LOWlibs/evals/tests/evals/test_skills.py55 # Step 2: answer with the magic number.COMMENT
LOWlibs/evals/tests/evals/test_skills.py97 # Step 1: read_file for code-review only.COMMENT
LOWlibs/evals/tests/evals/test_skills.py98 # Step 2: answer with the code.COMMENT
LOWlibs/evals/tests/evals/test_skills.py143 # Step 1: read_file for both skills in parallel.COMMENT
LOWlibs/evals/tests/evals/test_skills.py144 # Step 2: answer combining both ports.COMMENT
LOWlibs/evals/tests/evals/test_skills.py230 # Step 1: read_file to discover the typo.COMMENT
LOWlibs/evals/tests/evals/test_skills.py231 # Step 2: edit_file to fix it.COMMENT
LOWlibs/evals/tests/evals/test_skills.py232 # Step 3: confirm.COMMENT
LOWlibs/code/tests/unit_tests/test_model_config.py2208 # Step 1: Save model to config (simulating /model anthropic:claude-opus-4-5)COMMENT
LOWlibs/code/tests/unit_tests/test_model_config.py2216 # Step 2: Patch DEFAULT_CONFIG_PATH and call _get_default_model_specCOMMENT
LOWlibs/code/tests/unit_tests/test_model_config.py2226 # Step 3: Get default model spec - should use saved recent modelCOMMENT
LOWlibs/code/deepagents_code/skills/commands.py363### Step 1: [First Action]COMMENT
LOWlibs/code/deepagents_code/skills/commands.py366### Step 2: [Second Action]COMMENT
LOWlibs/code/deepagents_code/skills/commands.py369### Step 3: [Final Action]COMMENT
LOWlibs/code/scripts/install.sh1545 # Step 1: try symlinking into a dir already in PATH (no profile change).COMMENT
LOWlibs/code/scripts/install.sh1553 # Step 2: create ~/.local/bin, symlink there, then add to shell profile.COMMENT
LOWlibs/code/scripts/install.sh1571 # Step 3: detect shell and add ~/.local/bin to profile if needed.COMMENT
LOW…nts/tests/unit_tests/backends/test_backwards_compat.py350 # Step 1: "Restore" v1 checkpoint dataCOMMENT
LOW…nts/tests/unit_tests/backends/test_backwards_compat.py358 # Step 2: V2 backend reads v1 dataCOMMENT
LOW…nts/tests/unit_tests/backends/test_backwards_compat.py367 # Step 3: Edit v1 data (result upgrades to v2)COMMENT
LOW…nts/tests/unit_tests/backends/test_backwards_compat.py373 # Step 4: Write a brand new file in v2COMMENT
LOW…nts/tests/unit_tests/backends/test_backwards_compat.py377 # Step 5: Verify everything via readsCOMMENT
LOWlibs/deepagents/deepagents/middleware/summarization.py1419 # Step 1: Truncate args if configuredCOMMENT
LOWlibs/deepagents/deepagents/middleware/summarization.py1425 # Step 2: Check if summarization should happenCOMMENT
LOWlibs/deepagents/deepagents/middleware/summarization.py1553 # Step 1: Truncate args if configuredCOMMENT
LOWlibs/deepagents/deepagents/middleware/summarization.py1559 # Step 2: Check if summarization should happenCOMMENT
LOWlibs/deepagents/deepagents/middleware/summarization.py1439 # Step 3: Perform summarizationCOMMENT
LOWlibs/deepagents/deepagents/middleware/summarization.py1573 # Step 3: Perform summarizationCOMMENT
Redundant / Tautological Comments38 hits · 47 pts
SeverityFileLineSnippetContext
LOWlibs/evals/tests/evals/data/bfcl_apis/message_api.py181 # Check if there is a current user logged inCOMMENT
LOWlibs/evals/tests/evals/data/bfcl_apis/travel_booking.py783 # Check if the traveler is at least 18 years oldCOMMENT
LOWlibs/evals/tests/evals/data/bfcl_apis/travel_booking.py790 # Check if the passport number starts with 'US' (assuming this indicates a US passport)COMMENT
LOWlibs/evals/scripts/analyze.py52 # Check if this is a valid task directory (has solution/solve.sh)COMMENT
LOW…s/code/tests/unit_tests/tui/widgets/test_chat_input.py3704 # Set gap to 0 so any real delay exceeds it.COMMENT
LOW…de/examples/skills/skill-creator/scripts/init_skill.py212 # Check if directory already existsSTRING
LOWlibs/code/deepagents_code/config.py3025 # Check if this command is in the allow setCOMMENT
LOWlibs/code/deepagents_code/config.py4562 # Check if this provider uses a custom BaseChatModel classCOMMENT
LOWlibs/code/deepagents_code/media_utils.py510 # Check if file was created and has contentSTRING
LOWlibs/code/deepagents_code/app.py6560 # Check if ALL actions in the batch are auto-approvable shell commandsCOMMENT
LOWlibs/code/deepagents_code/app.py11586 # Check if agent is availableCOMMENT
LOWlibs/code/deepagents_code/app.py14159 # Check if focused widget is the text area inside chat inputCOMMENT
LOWlibs/code/deepagents_code/app.py18608 # Check if already using this exact modelCOMMENT
LOWlibs/code/deepagents_code/tui/textual_adapter.py1234 # Check if this is an AIMessageChunk with contentCOMMENT
LOWlibs/code/deepagents_code/tui/widgets/chat_input.py2664 # Check if it looked like media but failed validationCOMMENT
LOWlibs/code/deepagents_code/skills/commands.py94 # Check if skill_dir is within base_dirCOMMENT
LOWlibs/code/deepagents_code/skills/commands.py594 # Check if this project skill shadows a user skill with the same name.STRING
LOW…de/built_in_skills/skill-creator/scripts/init_skill.py256 # Check if directory already existsSTRING
LOWlibs/code/scripts/install.sh1355# Check if a directory is in PATH.COMMENT
LOWlibs/code/scripts/install.sh1442# Check if ~/.local/bin is already referenced in the shell profile's PATHCOMMENT
LOW…li/examples/skills/skill-creator/scripts/init_skill.py212 # Check if directory already existsSTRING
LOW…ts/unit_tests/backends/test_composite_backend_async.py458 # Write files to both backendsCOMMENT
LOW…ts/unit_tests/backends/test_composite_backend_async.py861 # Write files to memoriesCOMMENT
LOW…ts/unit_tests/backends/test_composite_backend_async.py1097 # Write files to memoriesCOMMENT
LOW…ts/tests/unit_tests/backends/test_composite_backend.py703 # Write files to both backendsCOMMENT
LOW…ts/tests/unit_tests/backends/test_composite_backend.py1113 # Write files to memoriesCOMMENT
LOW…ts/tests/unit_tests/backends/test_composite_backend.py1294 # Write files to memoriesCOMMENT
LOW…/tests/unit_tests/backends/test_store_backend_async.py155 # Write file with multiple occurrencesCOMMENT
LOW…/tests/unit_tests/backends/test_store_backend_async.py188 # Write file with multiple linesCOMMENT
LOW…/tests/unit_tests/backends/test_store_backend_async.py232 # Write files in nested directoriesCOMMENT
LOW…/tests/unit_tests/backends/test_local_shell_backend.py114 # Read the fileCOMMENT
LOWlibs/deepagents/deepagents/middleware/filesystem.py2930 # Check if content exceeds eviction thresholdCOMMENT
LOWlibs/deepagents/deepagents/middleware/summarization.py1064 # Check if this AIMessage has tool calls we need to truncateCOMMENT
LOWlibs/deepagents/deepagents/backends/store.py480 # Check if file is in the specified directory or a subdirectoryCOMMENT
LOWlibs/deepagents/deepagents/backends/utils.py739 # Check if path matches an exact fileSTRING
LOWlibs/deepagents/deepagents/backends/state.py177 # Check if file is in the specified directory or a subdirectoryCOMMENT
LOWlibs/acp/deepagents_acp/server.py863 # Check if this is write_todos - auto-approve updates to existing planCOMMENT
LOWlibs/acp/deepagents_acp/server.py892 # Check if ALL command types are already allowedCOMMENT
Modern AI Meta-Vocabulary15 hits · 44 pts
SeverityFileLineSnippetContext
MEDIUM…ts/evals/memory_agent_bench/test_memory_agent_bench.py433# CI-friendly subset — file-seeded (agentic retrieval) strategyCOMMENT
MEDIUM…ts/evals/memory_agent_bench/test_memory_agent_bench.py103# -- File-seeded (agentic retrieval) configuration ---------------------------COMMENT
MEDIUMlibs/code/tests/unit_tests/test_server_manager.py191 # The graph is imported as a package module, so the scaffold must notCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_server.py837 # Config present on boot: the scaffold hook must not have fired yet.COMMENT
MEDIUMlibs/code/deepagents_code/config.py4706 if max_input_tokens and max_input_tokens < 8000: # noqa: PLR2004 # Model context window defaultCODE
MEDIUMlibs/code/deepagents_code/local_context.py253# see build_detect_script() for the orchestration logic.COMMENT
MEDIUMlibs/code/deepagents_code/client/launch/server.py660 # The scaffold hook ran but produced no langgraph.json (a silentCOMMENT
MEDIUMlibs/code/deepagents_code/client/launch/server.py663 # since the scaffold is exactly that call run internally.COMMENT
MEDIUM…s/code/deepagents_code/client/launch/server_manager.py85# Workspace scaffoldingCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py4013 # through FilesystemMiddleware so multi-agent handoffs reach the sibling node.COMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_graph.py1394 # and the loop variable is a specific scaffolding class — theCOMMENT
MEDIUMlibs/deepagents/deepagents/graph.py714 # Validate profile-level invariants (required scaffolding, private names)STRING
MEDIUMlibs/deepagents/deepagents/middleware/summarization.py561 # Truncate when 50% of context window reached, ignoring messages in last 10% of windowSTRING
MEDIUM…eepagents/profiles/harness/_nvidia_nemotron_3_ultra.py349# not treat framework scaffolding as application/domain tools.COMMENT
MEDIUMlibs/acp/examples/local_context.py60# see build_detect_script() for the orchestration logic.COMMENT
AI Slop Vocabulary22 hits · 44 pts
SeverityFileLineSnippetContext
MEDIUMlibs/code/tests/unit_tests/test_install_script.py2029 # implementations so the harness exercises shipped code without emittingCOMMENT
MEDIUMlibs/code/tests/unit_tests/test_install_script.py2064 # The harness must define every helper cleanup_on_signal calls; a missingCOMMENT
LOWlibs/partners/quickjs/langchain_quickjs/_format.py210 # stdout path -- we've already truncated the result, so we just add the markerCOMMENT
MEDIUMlibs/deepagents/tests/unit_tests/test_graph.py1868 # A harness profile is registered under bare "openai".COMMENT
MEDIUM…pshots/system_prompt_with_memory_and_skills_tools.json265 "description": "Launch an ephemeral subagent to handle complex, multi-step independent tasks with isolated contextCODE
MEDIUM…smoke_tests/snapshots/custom_system_message_tools.json265 "description": "Launch an ephemeral subagent to handle complex, multi-step independent tasks with isolated contextCODE
MEDIUM…ts/snapshots/system_prompt_with_media_extra_tools.json296 "description": "Launch an ephemeral subagent to handle complex, multi-step independent tasks with isolated contextCODE
MEDIUM…sts/snapshots/system_prompt_without_execute_tools.json265 "description": "Launch an ephemeral subagent to handle complex, multi-step independent tasks with isolated contextCODE
MEDIUM…snapshots/system_prompt_with_routed_backend_tools.json296 "description": "Launch an ephemeral subagent to handle complex, multi-step independent tasks with isolated contextCODE
MEDIUM…system_prompt_with_sync_and_async_subagents_tools.json265 "description": "Launch an ephemeral subagent to handle complex, multi-step independent tasks with isolated contextCODE
MEDIUM…_tests/snapshots/system_prompt_with_execute_tools.json296 "description": "Launch an ephemeral subagent to handle complex, multi-step independent tasks with isolated contextCODE
MEDIUMlibs/deepagents/deepagents/graph.py727 # Copy of `tools` with any harness-specific description rewrites.STRING
MEDIUMlibs/deepagents/deepagents/graph.py842 # Auto-add the default general-purpose subagent unless the harness profileSTRING
MEDIUMlibs/deepagents/deepagents/graph.py862 # Add harness-profile middleware, if anySTRING
MEDIUMlibs/deepagents/deepagents/backends/utils.py243 # (profiles/harness/_nvidia_nemotron_3_ultra.py) counts source rows toSTRING
MEDIUMlibs/deepagents/deepagents/profiles/__init__.py51# Built-in provider/harness profiles are registered lazily on firstCOMMENT
LOWlibs/acp/deepagents_acp/utils.py312 # Use specific handler if available, otherwise just use base commandCOMMENT
LOWlibs/acp/deepagents_acp/utils.py317 # Non-sensitive commands - just use the base commandCOMMENT
MEDIUMexamples/nvidia_deep_agent/src/prompts.py12RESEARCHER_INSTRUCTIONS = """Gather and synthesize comprehensive information on the provided query, carefully addressingSTRING
MEDIUMexamples/better-harness/tests/__init__.py1# Tests package for better-harness.COMMENT
MEDIUM…amples/better-harness/examples/deepagents_example.toml1# Worked example for optimizing a Deep Agents-based harness.COMMENT
MEDIUMexamples/better-harness/better_harness/core.py345 "# better-harness report",CODE
AI Structural Patterns25 hits · 18 pts
SeverityFileLineSnippetContext
LOWlibs/talon/deepagents_talon/runtime.py228CODE
LOWlibs/talon/tests/channels/test_telegram.py119CODE
LOWlibs/talon/tests/channels/test_telegram.py169CODE
LOWlibs/code/tests/unit_tests/test_main_args.py2062CODE
LOWlibs/code/tests/unit_tests/test_offload.py74CODE
LOWlibs/code/tests/unit_tests/tui/widgets/test_welcome.py80CODE
LOWlibs/code/deepagents_code/sessions.py1486CODE
LOWlibs/code/deepagents_code/agent.py1409CODE
LOWlibs/code/deepagents_code/app.py18901CODE
LOWlibs/code/deepagents_code/app.py2164CODE
LOWlibs/code/deepagents_code/_server_config.py437CODE
LOWlibs/code/deepagents_code/main.py1955CODE
LOWlibs/code/deepagents_code/tui/textual_adapter.py542CODE
LOWlibs/code/deepagents_code/tui/textual_adapter.py332CODE
LOWlibs/code/deepagents_code/tui/widgets/welcome.py172CODE
LOWlibs/code/deepagents_code/client/non_interactive.py1337CODE
LOW…s/code/deepagents_code/client/launch/server_manager.py290CODE
LOW…s/code/deepagents_code/client/launch/server_manager.py440CODE
LOWlibs/partners/quickjs/langchain_quickjs/middleware.py211CODE
LOW…bs/deepagents/tests/unit_tests/test_async_subagents.py44CODE
LOWlibs/deepagents/deepagents/graph.py376CODE
LOWlibs/deepagents/deepagents/middleware/filesystem.py1419CODE
LOWlibs/deepagents/deepagents/_api/deprecation.py39CODE
LOWexamples/nvidia_deep_agent/src/tools.py84CODE
LOWexamples/deep_research/research_agent/tools.py88CODE
Dead Code8 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMlibs/code/tests/unit_tests/test_mcp_tools.py1038CODE
MEDIUMlibs/code/tests/unit_tests/test_mcp_tools.py1443CODE
MEDIUMlibs/code/tests/unit_tests/test_mcp_tools.py1582CODE
MEDIUMlibs/code/tests/unit_tests/test_mcp_tools.py1615CODE
MEDIUMlibs/code/tests/unit_tests/test_mcp_tools.py1651CODE
MEDIUMlibs/code/tests/unit_tests/test_mcp_tools.py1692CODE
MEDIUMlibs/code/tests/unit_tests/test_mcp_tools.py2303CODE
MEDIUMlibs/deepagents/tests/unit_tests/test_end_to_end.py4550CODE
Fake / Example Data6 hits · 7 pts
SeverityFileLineSnippetContext
LOWlibs/evals/tests/evals/test_tool_usage_relational.py598 # 2nd step: call get_user_email(user_id=42) -> "eve@example.org".COMMENT
LOWlibs/evals/tests/evals/test_tool_usage_relational.py603 final_text_contains("eve@example.org"),CODE
LOWlibs/evals/tests/evals/test_tool_usage_relational.py112 "email": "eve@example.org",CODE
LOWlibs/evals/tests/evals/test_tool_usage_relational.py1156 final_text_contains("eve@example.org"),CODE
LOWlibs/code/deepagents_code/tui/widgets/chat_input.py594 kwargs.pop("placeholder", None)CODE
LOW…agents/tests/unit_tests/backends/test_store_backend.py485 ("user@example.com",),CODE
Overly Generic Function Names6 hits · 6 pts
SeverityFileLineSnippetContext
LOW…code/tests/unit_tests/test_openai_codex_integration.py514 def handle_request(self) -> None:CODE
LOW…/deepagents/tests/unit_tests/test_file_system_tools.py320 "content": "def helper():\n return 42",CODE
LOW…/tests/unit_tests/middleware/test_skills_middleware.py830 helper_content = "def helper(): pass"CODE
LOW…nts/tests/unit_tests/backends/test_backwards_compat.py77 write_res = be.write("/src/utils.py", "import sys\ndef helper():\n pass\nimport os\n")CODE
LOW…nts/tests/unit_tests/backends/test_backwards_compat.py189 be.write("/src/utils.py", "import sys\ndef helper():\n pass\nimport os\n")CODE
LOW…s/deepagents/tests/unit_tests/_api/test_deprecation.py45 def helper() -> None:CODE
Example Usage Blocks2 hits · 2 pts
SeverityFileLineSnippetContext
LOWlibs/code/scripts/install.sh4# Usage:COMMENT
LOWlibs/cli/scripts/install.sh4# Usage:COMMENT