Repository Analysis

agno-agi/agno

Build, run, and manage your own agent platform.

88.6 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of agno-agi/agno, a Python project with 41,153 GitHub stars. SynthScan v2.0 examined 868,862 lines of code across 4919 source files, recording 36723 pattern matches distributed across 26 syntactic categories. The overall adjusted score of 88.6 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).

88.6
Adjusted Score
88.6
Raw Score
100%
Time Factor
2026-07-14
Last Push
41.2K
Stars
Python
Language
868.9K
Lines of Code
4.9K
Files
36.7K
Pattern Hits
2026-07-14
Scan Date
0.43
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 5HIGH 2095MEDIUM 13414LOW 21209

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 36723 distinct pattern matches across 26 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

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

Decorative Section Separators12516 hits · 44101 pts
SeverityFileLineSnippetContext
MEDIUMcookbook/STYLE_GUIDE.md33# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/STYLE_GUIDE.md35# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/STYLE_GUIDE.md37# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/STYLE_GUIDE.md39# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/STYLE_GUIDE.md42# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/STYLE_GUIDE.md44# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/STYLE_GUIDE.md47# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/STYLE_GUIDE.md49# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/00_quickstart/run.py55# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/00_quickstart/run.py57# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/00_quickstart/run.py60# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/00_quickstart/run.py62# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/00_quickstart/run.py84# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/00_quickstart/run.py86# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/00_quickstart/agent_search_over_knowledge.py25# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/00_quickstart/agent_search_over_knowledge.py27# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/00_quickstart/agent_search_over_knowledge.py51# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/00_quickstart/agent_search_over_knowledge.py53# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/00_quickstart/agent_search_over_knowledge.py80# ---------------------------------------------------------------------------STRING
MEDIUMcookbook/00_quickstart/agent_search_over_knowledge.py82# ---------------------------------------------------------------------------STRING
MEDIUMcookbook/00_quickstart/agent_search_over_knowledge.py96# ---------------------------------------------------------------------------STRING
MEDIUMcookbook/00_quickstart/agent_search_over_knowledge.py98# ---------------------------------------------------------------------------STRING
MEDIUMcookbook/00_quickstart/agent_search_over_knowledge.py109# ---------------------------------------------------------------------------STRING
MEDIUMcookbook/00_quickstart/agent_search_over_knowledge.py111# ---------------------------------------------------------------------------STRING
MEDIUMcookbook/00_quickstart/agent_with_memory.py29# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/00_quickstart/agent_with_memory.py31# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/00_quickstart/agent_with_memory.py34# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/00_quickstart/agent_with_memory.py36# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/00_quickstart/agent_with_memory.py45# ---------------------------------------------------------------------------STRING
MEDIUMcookbook/00_quickstart/agent_with_memory.py47# ---------------------------------------------------------------------------STRING
MEDIUMcookbook/00_quickstart/agent_with_memory.py83# ---------------------------------------------------------------------------STRING
MEDIUMcookbook/00_quickstart/agent_with_memory.py85# ---------------------------------------------------------------------------STRING
MEDIUMcookbook/00_quickstart/agent_with_memory.py102# ---------------------------------------------------------------------------STRING
MEDIUMcookbook/00_quickstart/agent_with_memory.py104# ---------------------------------------------------------------------------STRING
MEDIUMcookbook/00_quickstart/agent_with_memory.py127# ---------------------------------------------------------------------------STRING
MEDIUMcookbook/00_quickstart/agent_with_memory.py129# ---------------------------------------------------------------------------STRING
MEDIUMcookbook/00_quickstart/agent_with_storage.py27# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/00_quickstart/agent_with_storage.py29# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/00_quickstart/agent_with_storage.py32# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/00_quickstart/agent_with_storage.py34# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/00_quickstart/agent_with_storage.py68# ---------------------------------------------------------------------------STRING
MEDIUMcookbook/00_quickstart/agent_with_storage.py70# ---------------------------------------------------------------------------STRING
MEDIUMcookbook/00_quickstart/agent_with_storage.py83# ---------------------------------------------------------------------------STRING
MEDIUMcookbook/00_quickstart/agent_with_storage.py85# ---------------------------------------------------------------------------STRING
MEDIUMcookbook/00_quickstart/agent_with_storage.py112# ---------------------------------------------------------------------------STRING
MEDIUMcookbook/00_quickstart/agent_with_storage.py114# ---------------------------------------------------------------------------STRING
MEDIUMcookbook/00_quickstart/human_in_the_loop.py44# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/00_quickstart/human_in_the_loop.py46# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/00_quickstart/human_in_the_loop.py49# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/00_quickstart/human_in_the_loop.py51# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/00_quickstart/human_in_the_loop.py67# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/00_quickstart/human_in_the_loop.py69# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/00_quickstart/human_in_the_loop.py104# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/00_quickstart/human_in_the_loop.py106# ---------------------------------------------------------------------------COMMENT
MEDIUMcookbook/00_quickstart/human_in_the_loop.py138# ---------------------------------------------------------------------------STRING
MEDIUMcookbook/00_quickstart/human_in_the_loop.py140# ---------------------------------------------------------------------------STRING
MEDIUMcookbook/00_quickstart/human_in_the_loop.py158# ---------------------------------------------------------------------------STRING
MEDIUMcookbook/00_quickstart/human_in_the_loop.py160# ---------------------------------------------------------------------------STRING
MEDIUMcookbook/00_quickstart/human_in_the_loop.py209# ---------------------------------------------------------------------------STRING
MEDIUMcookbook/00_quickstart/human_in_the_loop.py211# ---------------------------------------------------------------------------STRING
12456 more matches not shown…
Hyper-Verbose Identifiers12811 hits · 11725 pts
SeverityFileLineSnippetContext
LOW…ok/90_models/google/gemini/file_search_rag_pipeline.py25async def create_and_populate_store(model: Gemini, documents_dir: Path):CODE
LOWcookbook/90_models/groq/deep_knowledge.py34def initialize_knowledge_base():CODE
LOW…okbook/02_agents/12_multimodal/media_input_for_tool.py74def create_sample_pdf_content() -> bytes:STRING
LOWcookbook/02_agents/11_approvals/approval_basic.py24def get_top_hackernews_stories(num_stories: int) -> str:CODE
LOWcookbook/02_agents/11_approvals/approval_async.py25def get_top_hackernews_stories(num_stories: int) -> str:CODE
LOW…_agents/14_advanced/background_execution_structured.py55async def example_structured_background_run():CODE
LOW…_agents/14_advanced/background_execution_structured.py118async def example_multiple_background_runs():CODE
LOWcookbook/02_agents/14_advanced/background_execution.py38async def example_background_run_with_polling():CODE
LOWcookbook/02_agents/14_advanced/background_execution.py90async def example_cancel_background_run():CODE
LOWcookbook/02_agents/14_advanced/background_execution.py132async def example_cancel_before_start():CODE
LOWcookbook/02_agents/09_hooks/session_state_hooks.py23def track_conversation_topics(run_context: RunContext, run_input: RunInput) -> None:CODE
LOWcookbook/02_agents/09_hooks/pre_hook_input.py26def comprehensive_input_validation(run_input: RunInput) -> None:CODE
LOWcookbook/02_agents/09_hooks/post_hook_output.py28def validate_response_quality(run_output: RunOutput) -> None:CODE
LOW…k/02_agents/15_dependencies/dependencies_in_context.py15def get_top_hackernews_stories(num_stories: int = 5) -> str:CODE
LOW…2_agents/10_human_in_the_loop/confirmation_advanced.py24def get_top_hackernews_stories(num_stories: int) -> str:CODE
LOW…2_agents/10_human_in_the_loop/confirmation_required.py24def get_top_hackernews_stories(num_stories: int) -> str:CODE
LOW…2_agents/18_checkpointing/02_tool_error_persistence.py95async def scenario_b_model_call_fails() -> str:CODE
LOW…2_agents/18_checkpointing/02_tool_error_persistence.py169async def scenario_c_continue_failed_run(failed_run_id: str) -> None:CODE
LOWcookbook/08_learning/07_patterns/research_assistant.py40def create_research_assistant(user_id: str, session_id: str) -> Agent:CODE
LOWcookbook/08_learning/07_patterns/personal_assistant.py34def create_personal_assistant(user_id: str, session_id: str) -> Agent:CODE
LOWcookbook/scripts/cookbook_runner.py186def select_interactive_action() -> str | None:CODE
LOWcookbook/03_teams/03_tools/custom_tools.py15def answer_from_known_questions(question: str) -> str:CODE
LOWcookbook/03_teams/13_hooks/pre_hook_input.py33def comprehensive_team_input_validation(run_input: TeamRunInput, team: Team) -> None:CODE
LOWcookbook/03_teams/13_hooks/post_hook_output.py41def validate_team_response_quality(run_output: TeamRunOutput, team: Team) -> None:CODE
LOWcookbook/03_teams/13_hooks/post_hook_output.py131def simple_team_coordination_check(run_output: TeamRunOutput, team: Team) -> None:STRING
LOWcookbook/03_teams/13_hooks/post_hook_output.py182def add_collaboration_summary(run_output: TeamRunOutput, team: Team) -> None:CODE
LOW…03_teams/23_checkpointing/02_tool_error_persistence.py85async def scenario_b_model_call_fails() -> str:CODE
LOW…03_teams/23_checkpointing/02_tool_error_persistence.py151async def scenario_c_continue_failed_run(failed_run_id: str) -> None:CODE
LOW…okbook/03_teams/14_run_control/background_execution.py36async def example_team_background_run():CODE
LOW…okbook/03_teams/14_run_control/background_execution.py102async def example_cancel_team_background_run():CODE
LOWcookbook/03_teams/08_streaming/team_streaming.py65async def streaming_with_aprint_response() -> None:CODE
LOW…structured_input_output/structured_output_streaming.py81async def test_structured_streaming() -> None:CODE
LOW…structured_input_output/structured_output_streaming.py97async def test_structured_streaming_with_arun() -> None:CODE
LOW…s/04_structured_input_output/output_schema_override.py89async def test_async_streaming_override() -> None:CODE
LOWcookbook/03_teams/02_modes/tasks/09_custom_tools.py22def calculate_compound_interest(CODE
LOWcookbook/03_teams/02_modes/tasks/09_custom_tools.py46def calculate_monthly_payment(principal: float, annual_rate: float, years: int) -> str:CODE
LOW…_teams/10_context_compression/tool_call_compression.py123async def run_async_tool_compression() -> None:STRING
LOWcookbook/03_teams/19_multimodal/media_input_for_tool.py57def create_sample_pdf_content() -> bytes:STRING
LOW…teams/15_distributed_rag/02_distributed_rag_lancedb.py127async def async_distributed_rag_demo() -> None:CODE
LOW…teams/15_distributed_rag/02_distributed_rag_lancedb.py144def sync_distributed_rag_demo() -> None:CODE
LOWcookbook/01_demo/evals/__main__.py204def _print_reliability_verdict(CODE
LOW…k/09_evals/reliability/single_tool_calls/calculator.py37def multiply_with_argument_check():CODE
LOW…09_evals/reliability/multiple_tool_calls/calculator.py21def multiply_and_exponentiate():CODE
LOWcookbook/09_evals/reliability/team/ai_news.py42def evaluate_team_reliability():CODE
LOW…k/05_agent_os/middleware/extract_content_middleware.py48 async def capture_streaming_response():CODE
LOW…ook/05_agent_os/tracing/08_advanced_trace_filtering.py70def run_advanced_filtering_demo() -> None:CODE
LOW…_in_the_loop/agent/agent_tool_requires_confirmation.py20def get_top_hackernews_stories(num_stories: int) -> str:CODE
LOWcookbook/05_agent_os/client_a2a/04_error_handling.py78async def comprehensive_error_handling():CODE
LOW…ent_os/workflow/customer_research_workflow_parallel.py313async def customer_profile_research_step(STRING
LOW…ent_os/workflow/customer_research_workflow_parallel.py383async def customer_biz_goals_research_step(STRING
LOW…ent_os/workflow/customer_research_workflow_parallel.py452async def web_intelligence_research_step(STRING
LOW…ent_os/workflow/customer_research_workflow_parallel.py521async def customer_report_consolidation_step(STRING
LOW…/05_agent_os/workflow/workflow_with_custom_function.py75def custom_content_planning_function(step_input: StepInput) -> StepOutput:CODE
LOW…/05_agent_os/workflow/workflow_with_custom_function.py121async def streaming_custom_content_planning_function(STRING
LOW…kflow_with_parallel_and_custom_function_step_stream.py54async def hackernews_research_function(CODE
LOW…kflow_with_parallel_and_custom_function_step_stream.py121async def web_search_research_function(STRING
LOW…kflow_with_parallel_and_custom_function_step_stream.py188async def custom_content_planning_function(STRING
LOW…orkflow_with_custom_function_updating_session_state.py57def custom_content_planning_function(CODE
LOWcookbook/05_agent_os/factories/agent/05_hitl_factory.py69def get_top_hackernews_stories(num_stories: int) -> str:CODE
LOWcookbook/05_agent_os/approvals/agent/approval_basic.py23def get_top_hackernews_stories(num_stories: int) -> str:CODE
12751 more matches not shown…
Cross-File Repetition1537 hits · 7685 pts
SeverityFileLineSnippetContext
HIGHcookbook/90_models/lmstudio/memory.py0this recipe shows how to use personalized memories and summaries in an agent. steps: 1. run: `./cookbook/scripts/run_pgvSTRING
HIGHcookbook/90_models/cohere/memory.py0this recipe shows how to use personalized memories and summaries in an agent. steps: 1. run: `./cookbook/scripts/run_pgvSTRING
HIGHcookbook/90_models/meta/llama_openai/memory.py0this recipe shows how to use personalized memories and summaries in an agent. steps: 1. run: `./cookbook/scripts/run_pgvSTRING
HIGHcookbook/90_models/meta/llama/memory.py0this recipe shows how to use personalized memories and summaries in an agent. steps: 1. run: `./cookbook/scripts/run_pgvSTRING
HIGHcookbook/90_models/perplexity/memory.py0this recipe shows how to use personalized memories and summaries in an agent. steps: 1. run: `./cookbook/scripts/run_pgvSTRING
HIGHcookbook/90_models/openai/chat/memory.py0this recipe shows how to use personalized memories and summaries in an agent. steps: 1. run: `./cookbook/scripts/run_pgvSTRING
HIGHcookbook/90_models/openai/responses/memory.py0this recipe shows how to use personalized memories and summaries in an agent. steps: 1. run: `./cookbook/scripts/run_pgvSTRING
HIGHcookbook/90_models/vertexai/claude/memory.py0this recipe shows how to use personalized memories and summaries in an agent. steps: 1. run: `./cookbook/scripts/run_pgvSTRING
HIGHcookbook/90_models/anthropic/memory.py0this recipe shows how to use personalized memories and summaries in an agent. steps: 1. run: `./cookbook/scripts/run_pgvSTRING
HIGHcookbook/90_models/ollama/chat/memory.py0this recipe shows how to use personalized memories and summaries in an agent. steps: 1. run: `./cookbook/scripts/run_pgvSTRING
HIGHcookbook/90_models/mistral/memory.py0this recipe shows how to use personalized memories and summaries in an agent. steps: 1. run: `./cookbook/scripts/run_pgvSTRING
HIGHcookbook/90_models/langdb/finance_agent.py0run `uv pip install openai ddgs yfinance` to install dependencies.STRING
HIGHcookbook/90_models/langdb/agent.py0run `uv pip install openai ddgs yfinance` to install dependencies.STRING
HIGHcookbook/90_models/ollama/chat/set_client.py0run `uv pip install openai ddgs yfinance` to install dependencies.STRING
HIGHcookbook/90_models/meta/llama_openai/tool_use.py0run `uv pip install openai ddgs yfinance` to install dependencies.STRING
HIGHcookbook/91_tools/multiple_tools.py0run `uv pip install openai ddgs yfinance` to install dependencies.STRING
HIGHcookbook/90_models/azure/ai_foundry/db.py0run `uv pip install ddgs sqlalchemy anthropic` to install dependencies.STRING
HIGHcookbook/90_models/azure/openai/db.py0run `uv pip install ddgs sqlalchemy anthropic` to install dependencies.STRING
HIGHcookbook/90_models/vertexai/claude/db.py0run `uv pip install ddgs sqlalchemy anthropic` to install dependencies.STRING
HIGHcookbook/90_models/anthropic/db.py0run `uv pip install ddgs sqlalchemy anthropic` to install dependencies.STRING
HIGHcookbook/90_models/aws/claude/db.py0run `uv pip install ddgs sqlalchemy anthropic` to install dependencies.STRING
HIGHcookbook/90_models/azure/ai_foundry/knowledge.py0run `uv pip install ddgs sqlalchemy pgvector pypdf anthropic openai` to install dependencies.STRING
HIGHcookbook/90_models/azure/openai/knowledge.py0run `uv pip install ddgs sqlalchemy pgvector pypdf anthropic openai` to install dependencies.STRING
HIGHcookbook/90_models/meta/llama_openai/knowledge.py0run `uv pip install ddgs sqlalchemy pgvector pypdf anthropic openai` to install dependencies.STRING
HIGHcookbook/90_models/openai/chat/knowledge.py0run `uv pip install ddgs sqlalchemy pgvector pypdf anthropic openai` to install dependencies.STRING
HIGHcookbook/90_models/openai/responses/knowledge.py0run `uv pip install ddgs sqlalchemy pgvector pypdf anthropic openai` to install dependencies.STRING
HIGHcookbook/90_models/vertexai/claude/knowledge.py0run `uv pip install ddgs sqlalchemy pgvector pypdf anthropic openai` to install dependencies.STRING
HIGHcookbook/90_models/anthropic/knowledge.py0run `uv pip install ddgs sqlalchemy pgvector pypdf anthropic openai` to install dependencies.STRING
HIGHcookbook/90_models/groq/knowledge.py0run `uv pip install ddgs sqlalchemy pgvector pypdf openai groq` to install dependencies.STRING
HIGHcookbook/90_models/groq/reasoning/demo_qwen_2_5_32B.py0run `uv pip install ddgs sqlalchemy pgvector pypdf openai groq` to install dependencies.STRING
HIGHcookbook/90_models/groq/reasoning/demo_deepseek_qwen.py0run `uv pip install ddgs sqlalchemy pgvector pypdf openai groq` to install dependencies.STRING
HIGHcookbook/90_models/meta/llama_openai/storage.py0run `uv pip install openai` to install dependencies.STRING
HIGHcookbook/90_models/openai/chat/db.py0run `uv pip install openai` to install dependencies.STRING
HIGHcookbook/90_models/openai/responses/db.py0run `uv pip install openai` to install dependencies.STRING
HIGHcookbook/90_models/litellm/db.py0run `uv pip install openai` to install dependencies.STRING
HIGH…ok/06_storage/in_memory/in_memory_storage_for_agent.py0run `uv pip install openai` to install dependencies.STRING
HIGHcookbook/91_tools/dalle_tools.py0run `uv pip install openai` to install dependencies.STRING
HIGHcookbook/90_models/xai/finance_agent.py0\ analyze the semiconductor market performance focusing on: - nvidia (nvda) - amd (amd) - intel (intc) - taiwan semicondSTRING
HIGHcookbook/10_reasoning/teams/reasoning_finance_team.py0\ analyze the semiconductor market performance focusing on: - nvidia (nvda) - amd (amd) - intel (intc) - taiwan semicondSTRING
HIGHcookbook/10_reasoning/tools/claude_reasoning_tools.py0\ analyze the semiconductor market performance focusing on: - nvidia (nvda) - amd (amd) - intel (intc) - taiwan semicondSTRING
HIGHcookbook/90_models/cerebras_openai/db.py0run `uv pip install ddgs sqlalchemy cerebras_cloud_sdk` to install dependencies.STRING
HIGHcookbook/90_models/nebius/db.py0run `uv pip install ddgs sqlalchemy cerebras_cloud_sdk` to install dependencies.STRING
HIGHcookbook/90_models/cerebras/db.py0run `uv pip install ddgs sqlalchemy cerebras_cloud_sdk` to install dependencies.STRING
HIGHcookbook/90_models/cerebras_openai/knowledge.py0run `uv pip install ddgs sqlalchemy pgvector pypdf cerebras_cloud_sdk` to install dependencies.STRING
HIGHcookbook/90_models/nebius/knowledge.py0run `uv pip install ddgs sqlalchemy pgvector pypdf cerebras_cloud_sdk` to install dependencies.STRING
HIGHcookbook/90_models/cerebras/knowledge.py0run `uv pip install ddgs sqlalchemy pgvector pypdf cerebras_cloud_sdk` to install dependencies.STRING
HIGHcookbook/90_models/anthropic/pdf_input_file_upload.py0in this example, we upload a pdf file to google genai directly and then use it as an input to an agent.STRING
HIGHcookbook/90_models/anthropic/image_input_file_upload.py0in this example, we upload a pdf file to google genai directly and then use it as an input to an agent.STRING
HIGHcookbook/90_models/anthropic/image_input_local_file.py0in this example, we upload a pdf file to google genai directly and then use it as an input to an agent.STRING
HIGHcookbook/90_models/openai/chat/pdf_input_file_upload.py0in this example, we upload a pdf file to google genai directly and then use it as an input to an agent.STRING
HIGH…ok/90_models/anthropic/append_trailing_user_message.py0litellm append trailing user message ===================================== claude 4.6+ does not support assistant messagSTRING
HIGH…k/90_models/aws/claude/append_trailing_user_message.py0litellm append trailing user message ===================================== claude 4.6+ does not support assistant messagSTRING
HIGH…book/90_models/litellm/append_trailing_user_message.py0litellm append trailing user message ===================================== claude 4.6+ does not support assistant messagSTRING
HIGHcookbook/90_models/mistral/tool_use.py0get the current weather for a city. args: city: the city to get weather for.STRING
HIGH…/08_human_in_the_loop/executor_hitl/03_team_in_step.py0get the current weather for a city. args: city: the city to get weather for.STRING
HIGH…_the_loop/executor_hitl/09_executor_continued_event.py0get the current weather for a city. args: city: the city to get weather for.STRING
HIGH…man_in_the_loop/executor_hitl/01_agent_confirmation.py0get the current weather for a city. args: city: the city to get weather for.STRING
HIGH…the_loop/executor_hitl/02_agent_confirmation_stream.py0get the current weather for a city. args: city: the city to get weather for.STRING
HIGH…agno/tests/integration/workflows/test_executor_hitl.py0get the current weather for a city. args: city: the city to get weather for.STRING
HIGH…/teams/human_in_the_loop/test_team_user_input_flows.py0get the current weather for a city. args: city: the city to get weather for.STRING
1477 more matches not shown…
Excessive Try-Catch Wrapping3689 hits · 3138 pts
SeverityFileLineSnippetContext
LOWcookbook/90_models/clients/http_client_caching.py141 except Exception as e:CODE
MEDIUM…kbook/90_models/google/gemini/pdf_input_file_upload.py59 print("Error: File was not ready after multiple attempts.")CODE
LOW…ok/90_models/google/gemini/file_search_image_upload.py121 except Exception as e:CODE
LOW…ok/90_models/google/gemini/file_search_rag_pipeline.py89 except Exception as e:CODE
LOW…ok/90_models/google/gemini/file_search_rag_pipeline.py177 except Exception as e:CODE
LOW…ok/90_models/google/gemini/file_search_rag_pipeline.py230 except Exception as e:CODE
LOW…book/90_models/google/gemini/file_upload_with_cache.py40except Exception:CODE
LOW…ook/90_models/google/gemini/video_input_file_upload.py34except Exception as e:CODE
LOW…ook/90_models/google/gemini/video_input_file_upload.py56 except Exception as e:CODE
LOW…ook/90_models/google/gemini/audio_input_file_upload.py32except Exception as e:CODE
MEDIUM…ook/90_models/google/gemini/audio_input_file_upload.py33 print(f"Error getting file {audio_path.stem}: {e}")CODE
LOW…ook/90_models/google/gemini/audio_input_file_upload.py43 except Exception as e:CODE
MEDIUM…ook/90_models/google/gemini/audio_input_file_upload.py44 print(f"Error uploading audio: {e}")CODE
LOWcookbook/90_models/cometapi/multi_model.py22 except Exception as e:CODE
LOWcookbook/90_models/openai/chat/audio_output_stream.py60 except Exception as e:CODE
MEDIUMcookbook/90_models/openai/chat/audio_output_stream.py61 print(f"Error decoding audio: {e}")CODE
LOWcookbook/02_agents/12_multimodal/audio_streaming.py61 except Exception as e:CODE
MEDIUMcookbook/02_agents/12_multimodal/audio_streaming.py62 print(f"Error decoding audio: {e}")CODE
LOWcookbook/02_agents/14_advanced/metrics.py65 except Exception as e:CODE
MEDIUMcookbook/02_agents/14_advanced/metrics.py66 print(f"Error getting session metrics: {e}")CODE
LOWcookbook/02_agents/14_advanced/cancel_run.py83 except Exception as e:CODE
MEDIUMcookbook/02_agents/14_advanced/cancel_run.py182 print(f"Error: {result['error']}")CODE
LOW…_agents/14_advanced/background_execution_structured.py108 except Exception:CODE
LOWcookbook/02_agents/09_hooks/pre_hook_input.py122 except Exception as e:STRING
LOW…s/sample_skills/git-workflow/scripts/commit_message.py120 except Exception as e:CODE
LOW…kills/sample_skills/code-review/scripts/check_style.py77 except Exception as e:CODE
LOW…2_agents/18_checkpointing/02_tool_error_persistence.py71 except Exception as e:CODE
LOW…2_agents/18_checkpointing/02_tool_error_persistence.py131 except Exception as e:CODE
LOW…2_agents/18_checkpointing/02_tool_error_persistence.py209 except Exception as e:CODE
LOW…okbook/08_learning/06_quick_tests/03_no_db_graceful.py67 except Exception as e:CODE
LOW…okbook/08_learning/06_quick_tests/03_no_db_graceful.py92 except Exception as e:CODE
MEDIUM…8_learning/08_custom_stores/02_custom_store_with_db.py298 print(f"Error saving project notes: {e}")CODE
MEDIUM…8_learning/08_custom_stores/02_custom_store_with_db.py114 print(f"Error retrieving project notes: {e}")CODE
MEDIUM…8_learning/08_custom_stores/02_custom_store_with_db.py143 print(f"Error retrieving project notes: {e}")CODE
LOW…8_learning/08_custom_stores/02_custom_store_with_db.py297 except Exception as e:CODE
LOW…8_learning/08_custom_stores/02_custom_store_with_db.py113 except Exception as e:CODE
LOW…8_learning/08_custom_stores/02_custom_store_with_db.py142 except Exception as e:CODE
LOWcookbook/data_labeling/image_search/workflows/ingest.py130 except Exception as e:CODE
LOWcookbook/observability/trace_to_database.py217 except Exception as e:CODE
LOW…/workflows/arize_phoenix_via_openinference_workflow.py120 except Exception as e:CODE
MEDIUM…/workflows/arize_phoenix_via_openinference_workflow.py121 print(f"Error: {e}")CODE
LOW…lity/workflows/langfuse_via_openinference_workflows.py132 except Exception as e:CODE
MEDIUM…lity/workflows/langfuse_via_openinference_workflows.py133 print(f"Error: {e}")CODE
LOWcookbook/03_teams/07_session/session_options.py78 except Exception as e:CODE
MEDIUMcookbook/03_teams/07_session/session_options.py79 print(f"Error getting chat history: {e}")CODE
LOWcookbook/03_teams/07_session/session_options.py90 except Exception as e:CODE
MEDIUMcookbook/03_teams/07_session/session_options.py91 print(f"Error getting chat history: {e}")CODE
LOWcookbook/03_teams/13_hooks/pre_hook_input.py249 except Exception as e:STRING
LOWcookbook/03_teams/13_hooks/post_hook_output.py277 except Exception as e:CODE
LOW…03_teams/23_checkpointing/02_tool_error_persistence.py61 except Exception as e:CODE
LOW…03_teams/23_checkpointing/02_tool_error_persistence.py115 except Exception as e:CODE
LOW…03_teams/23_checkpointing/02_tool_error_persistence.py177 except Exception as e:CODE
LOWcookbook/03_teams/14_run_control/cancel_run.py88 except Exception as e:CODE
MEDIUMcookbook/03_teams/14_run_control/cancel_run.py186 print(f"Error: {result['error']}")CODE
LOW…03_teams/05_knowledge/04_team_with_custom_retriever.py69 except Exception as e:CODE
LOW…eams/15_distributed_rag/01_distributed_rag_pgvector.py138 except Exception as e:CODE
MEDIUM…eams/15_distributed_rag/01_distributed_rag_pgvector.py139 print(f"Error: {e}")CODE
LOW…eams/15_distributed_rag/01_distributed_rag_pgvector.py159 except Exception as e:CODE
MEDIUM…eams/15_distributed_rag/01_distributed_rag_pgvector.py160 print(f"Error: {e}")CODE
LOW…eams/15_distributed_rag/01_distributed_rag_pgvector.py186 except Exception as e:CODE
3629 more matches not shown…
Self-Referential Comments641 hits · 2179 pts
SeverityFileLineSnippetContext
MEDIUMcookbook/00_quickstart/agent_with_memory.py84# Create the AgentSTRING
MEDIUMcookbook/00_quickstart/agent_with_storage.py69# Create the AgentSTRING
MEDIUMcookbook/00_quickstart/human_in_the_loop.py139# Create the AgentSTRING
MEDIUMcookbook/00_quickstart/agent_with_guardrails.py88# Create the Agent with GuardrailsSTRING
MEDIUMcookbook/00_quickstart/sequential_workflow.py124# Create the WorkflowSTRING
MEDIUMcookbook/00_quickstart/custom_tool_for_self_learning.py142# Create the AgentSTRING
MEDIUMcookbook/00_quickstart/agent_with_typed_input_output.py99# Create the AgentSTRING
MEDIUMcookbook/00_quickstart/agent_with_state_management.py110# Create the AgentSTRING
MEDIUMcookbook/00_quickstart/agent_with_tools.py58# Create the AgentSTRING
MEDIUMcookbook/00_quickstart/agent_with_structured_output.py86# Create the AgentSTRING
MEDIUM…book/90_models/openrouter/chat/dynamic_model_router.py20# Create an agent with dynamic modelsCOMMENT
MEDIUM…ok/90_models/google/gemini/file_search_image_upload.py54# Create a multimodal store with gemini-embedding-2 for image supportCOMMENT
MEDIUMcookbook/90_models/google/gemini/parallel_grounding.py29# Create an agent with Parallel web search groundingCOMMENT
MEDIUM…book/90_models/google/gemini/file_upload_with_cache.py57# Create a cache with 5min TTLCOMMENT
MEDIUMcookbook/90_models/google/gemini/gemini_2_to_3.py33# Create a new agent with Gemini 3 Pro and re-use the history from the previous sessionCOMMENT
MEDIUMcookbook/90_models/groq/reasoning_agent.py15# Create a reasoning agent that uses:COMMENT
MEDIUMcookbook/90_models/groq/reasoning/finance_agent.py16# Create an Agent with Groq and YFinanceToolsCOMMENT
MEDIUMcookbook/90_models/xiaomi/structured_output.py17# Define the output schemaCOMMENT
MEDIUMcookbook/90_models/anthropic/markdown_input.py17# Create a sample markdown fileCOMMENT
MEDIUM…ok/90_models/anthropic/skills/agent_with_powerpoint.py23# Create a simple agent with PowerPoint skillsCOMMENT
MEDIUM…okbook/90_models/anthropic/skills/multi_skill_agent.py23# Create an agent with multiple skillsCOMMENT
MEDIUMcookbook/90_models/anthropic/skills/agent_with_excel.py23# Create a simple agent with Excel skillsCOMMENT
MEDIUM…ook/90_models/anthropic/skills/agent_with_documents.py23# Create a simple agent with Word document skillsCOMMENT
MEDIUMcookbook/90_models/dashscope/knowledge_tools.py20# Create a knowledge containing information from a URLCOMMENT
MEDIUMcookbook/90_models/mistral/tool_use.py11# Define a toolCOMMENT
MEDIUMcookbook/93_components/save_team.py39# Create the teamCOMMENT
MEDIUMcookbook/12_context/01_web_exa.py23# Create the providerCOMMENT
MEDIUMcookbook/12_context/01_web_exa.py29# Create the AgentCOMMENT
MEDIUMcookbook/12_context/15_wiki_git.py60# Create the providerCOMMENT
MEDIUMcookbook/12_context/15_wiki_git.py75# Create the AgentCOMMENT
MEDIUMcookbook/12_context/13_workspace.py27# Create the providerCOMMENT
MEDIUMcookbook/12_context/13_workspace.py37# Create the AgentCOMMENT
MEDIUMcookbook/12_context/11_web_parallel_mcp.py35 # Create the provider (unconnected)COMMENT
MEDIUMcookbook/12_context/03_web_parallel.py28# Create the providerCOMMENT
MEDIUMcookbook/12_context/03_web_parallel.py34# Create the AgentCOMMENT
MEDIUMcookbook/12_context/21_gdrive_office.py40# Create the provider (service-account path from env)COMMENT
MEDIUMcookbook/12_context/21_gdrive_office.py45# Create the AgentCOMMENT
MEDIUMcookbook/12_context/04_database_read_write.py55# Create the provider — same engine for read + write in this demoCOMMENT
MEDIUMcookbook/12_context/04_database_read_write.py70# Create the AgentCOMMENT
MEDIUMcookbook/12_context/16_wiki_with_web.py43# Create the provider — storage + web ingestion are two separate backends.COMMENT
MEDIUMcookbook/12_context/16_wiki_with_web.py55# Create the AgentCOMMENT
MEDIUMcookbook/12_context/14_wiki_filesystem.py47# Create the providerCOMMENT
MEDIUMcookbook/12_context/14_wiki_filesystem.py56# Create the AgentCOMMENT
MEDIUMcookbook/12_context/06_mcp_server.py42 # Create the provider (unconnected)COMMENT
MEDIUMcookbook/12_context/15a_wiki_notion.py74# Create the providerCOMMENT
MEDIUMcookbook/12_context/15a_wiki_notion.py88# Create the AgentCOMMENT
MEDIUMcookbook/12_context/17_wiki_dual.py77# Create the AgentCOMMENT
MEDIUMcookbook/12_context/07_google_drive.py33# Create the provider (service-account path from env)COMMENT
MEDIUMcookbook/12_context/07_google_drive.py38# Create the AgentCOMMENT
MEDIUMcookbook/12_context/05_slack.py43# Create the provider (token read from SLACK_BOT_TOKEN / SLACK_TOKEN)COMMENT
MEDIUMcookbook/12_context/05_slack.py48# Create the AgentCOMMENT
MEDIUMcookbook/12_context/02_web_exa_mcp.py33 # Create the provider (unconnected)COMMENT
MEDIUMcookbook/12_context/00_filesystem.py22# Create the providerCOMMENT
MEDIUMcookbook/12_context/00_filesystem.py31# Create the AgentCOMMENT
MEDIUM…s/05_state_and_session/session_state_multiple_users.py62# Create an Agent that maintains stateCOMMENT
MEDIUM…02_agents/05_state_and_session/session_state_events.py23# Create an Agent that maintains stateCOMMENT
MEDIUM…ts/05_state_and_session/session_state_manual_update.py23# Create an Agent that maintains stateCOMMENT
MEDIUM…_agents/05_state_and_session/session_state_advanced.py60# Create a Shopping List Manager Agent that maintains stateCOMMENT
MEDIUM…/02_agents/05_state_and_session/session_state_basic.py23# Create an Agent that maintains stateCOMMENT
MEDIUM…okbook/02_agents/12_multimodal/media_input_for_tool.py86 # Create an agent with document processing toolsSTRING
581 more matches not shown…
Docstring Block Structure459 hits · 2128 pts
SeverityFileLineSnippetContext
HIGH…ls/sample_skills/code-review/references/style-guide.md90Process user data and return formatted result. Args: user_id: The unique identifier for the user. iSTRING
HIGHlibs/agno/agno/filters.py398Reconstruct a FilterExpr object from its dictionary representation. This function deserializes filter expressions tSTRING
HIGHlibs/agno/agno/learn/stores/entity_memory.py617Search for entities in the knowledge base. Use this to recall information about people, companies, projectsSTRING
HIGHlibs/agno/agno/learn/stores/entity_memory.py673Search for entities in the knowledge base. Use this to recall information about people, companies, projectsSTRING
HIGHlibs/agno/agno/learn/stores/user_memory.py380Save or update information about this user for future conversations. Use this when you learn something STRING
HIGHlibs/agno/agno/learn/stores/user_memory.py422Save or update information about this user for future conversations. Use this when you learn something STRING
HIGHlibs/agno/agno/learn/stores/learned_knowledge.py665Search for relevant insights in the knowledge base. ALWAYS call this: 1. Before answering questSTRING
HIGHlibs/agno/agno/learn/stores/learned_knowledge.py705Search for relevant insights in the knowledge base. ALWAYS call this: 1. Before answering questSTRING
HIGHlibs/agno/agno/learn/stores/user_profile.py430Update user profile fields. Use this to update structured information about the user. Only provide fielSTRING
HIGHlibs/agno/agno/tools/unsplash.py86Make an authenticated request to the Unsplash API. Args: endpoint: API endpoint path (e.g., "/searcSTRING
HIGHlibs/agno/agno/tools/zendesk.py57 Searches for articles in Zendesk Help Center that match the given search string. Parameters: sSTRING
HIGHlibs/agno/agno/tools/apify.py225Create an Apify client instance with a custom user-agent. Args: token (str): API token Returns: STRING
HIGHlibs/agno/agno/tools/apify.py259Get the latest build of an Actor from the default build tag. Args: apify_client (ApifyClient): An instance STRING
HIGHlibs/agno/agno/tools/mcp_toolbox.py147Loads the tool with the given tool name from the Toolbox service. Args: tool_name (str): The name oSTRING
HIGHlibs/agno/agno/tools/decorator.py89Decorator to convert a function into a Function that can be used by an agent. Args: name: Optional[str] - OSTRING
HIGHlibs/agno/agno/tools/linear.py139 Retrieve details of a specific issue by issue ID. Args: issue_id (str): The unique identifSTRING
HIGHlibs/agno/agno/tools/linear.py186 Create a new issue within a specific project and team. Args: title (str): The title of theSTRING
HIGHlibs/agno/agno/tools/linear.py246 Update the title or state of a specific issue by issue ID. Args: issue_id (str): The uniquSTRING
HIGHlibs/agno/agno/tools/linear.py297 Retrieve issues assigned to a specific user by user ID. Args: user_id (str): The unique idSTRING
HIGHlibs/agno/agno/tools/linear.py345 Retrieve issues within a specific workflow state by workflow ID. Args: workflow_id (str): STRING
HIGHlibs/agno/agno/tools/sql.py118Use this function to run a SQL query and return the result. Args: query (str): The query to run. STRING
HIGHlibs/agno/agno/tools/spotify.py658Search for tracks on Spotify. Use this to find songs by name, artist, album, or any combination. ExamplSTRING
HIGHlibs/agno/agno/tools/brandfetch.py82 Search for brand data by identifier (domain, brand id, isin, stock ticker). Args: identifiSTRING
HIGHlibs/agno/agno/tools/brandfetch.py117 Search for brand data by identifier (domain, brand id, isin, stock ticker). Args: identifiSTRING
HIGHlibs/agno/agno/tools/brandfetch.py153 Search for brands by name using the Brand Search API - can give you the right brand id to use for the brand apiSTRING
HIGHlibs/agno/agno/tools/brandfetch.py189 Search for brands by name using the Brand Search API - can give you the right brand id to use for the brand apiSTRING
HIGHlibs/agno/agno/tools/google/bigquery.py104Use this function to run a BigQuery SQL query and return the result. Args: query (str): The query toSTRING
HIGHlibs/agno/agno/tools/google/calendar.py712 Create a Google Calendar event from a natural language description. Examples: "Meeting with John tomorrSTRING
HIGHlibs/agno/agno/memory/strategies/summarize.py49Summarize multiple memories into single comprehensive summary. Args: memories: List of UserMemory oSTRING
HIGHlibs/agno/agno/memory/strategies/summarize.py126Async version: Summarize multiple memories into single comprehensive summary. Args: memories: List STRING
HIGHlibs/agno/agno/vectordb/llamaindex/llamaindexdb.py75 Returns relevant documents matching the query. Args: query (str): The query string to searSTRING
HIGHlibs/agno/agno/vectordb/couchbase/couchbase.py583 Prepare a document for insertion into Couchbase. Args: document: Document to prepare STRING
HIGHlibs/agno/agno/utils/tokens.py138 Format JSON Schema object properties as TypeScript object properties. Args: parameters: A JSON Schema STRING
HIGHlibs/agno/agno/agent/_storage.py1003 Save the agent component and config. Args: agent: The Agent instance. db: The database to saveSTRING
HIGHlibs/agno/agno/models/google/gemini.py1680 Wait for a long-running operation to complete. Args: operation: The operation object to waSTRING
HIGHlibs/agno/agno/models/anthropic/claude.py785 Stream a response from the Anthropic API. Args: messages (List[Message]): A list of messagSTRING
HIGHlibs/agno/agno/models/anthropic/claude.py897 Stream an asynchronous response from the Anthropic API. Args: messages (List[Message]): A lSTRING
HIGHlibs/agno/agno/team/_storage.py1015 Save the team component and config to the database, including member agents/teams. Args: db: The databSTRING
HIGHlibs/agno/agno/knowledge/reader/pdf_reader.py103 Identifies and removes or reformats page numbers from a list of PDF page contents, based on the most consistent seqSTRING
HIGHlibs/agno/agno/knowledge/reader/website_reader.py154 Crawls a website and returns a dictionary of URLs and their corresponding content. Parameters: STRING
HIGHlibs/agno/agno/knowledge/reader/website_reader.py289 Asynchronously crawls a website and returns a dictionary of URLs and their corresponding content. ParaSTRING
HIGHlibs/agno/agno/knowledge/reader/csv_reader.py67Read a CSV file and return a list of documents. Args: file: Path to CSV file or file-like object. STRING
HIGHlibs/agno/agno/knowledge/reader/csv_reader.py135Read a CSV file asynchronously, processing batches of rows concurrently. Args: file: Path to CSV fiSTRING
HIGHlibs/agno/agno/knowledge/reader/reader_factory.py320Get the reader CLASS without instantiation. This is useful for accessing class methods like get_supported_chunkSTRING
HIGHlibs/agno/agno/hooks/decorator.py57Decorator to configure hook behavior. Args: run_in_background: If True, this hook will be scheduled as a FaSTRING
HIGHlibs/agno/agno/workflow/workflow.py1019 Save the workflow component and config. Args: db: The database to save the component and cSTRING
HIGHlibs/agno/agno/workflow/workflow.py5580Continue a paused workflow run after step confirmation. This method resumes a workflow that was paused due to aSTRING
HIGHlibs/agno/agno/workflow/workflow.py7576Continue a paused workflow run after step confirmation (async version). This method resumes a workflow that wasSTRING
HIGHlibs/agno/agno/db/filter_converter.py69Convert a FilterExpr dict to a SQLAlchemy WHERE clause on named table columns. Args: filter_dict: SerializeSTRING
HIGHlibs/agno/agno/db/utils.py94Deserialize a raw session dict into the correct Session subclass. Args: session_type: The type to deserialiSTRING
HIGHlibs/agno/agno/db/base.py352Get all knowledge contents from the database. Args: limit (Optional[int]): The maximum number of knSTRING
HIGHlibs/agno/agno/db/base.py632Create or update a component. Args: component_id: Unique identifier. component_type: TySTRING
HIGHlibs/agno/agno/db/base.py701Create a component with its initial config atomically. Args: component_id: Unique identifier. STRING
HIGHlibs/agno/agno/db/base.py752Create or update a config version for a component. Rules: - Draft configs can be edited freely STRING
HIGHlibs/agno/agno/db/base.py782Delete a specific config version. Only draft configs can be deleted. Published configs are immutable. CSTRING
HIGHlibs/agno/agno/db/base.py821Set a specific published version as current. Only published configs can be set as current. This is used for STRING
HIGHlibs/agno/agno/db/base.py1610Get all knowledge contents from the database. Args: limit (Optional[int]): The maximum number of knSTRING
HIGHlibs/agno/agno/db/clickhouse/utils.py183Convert a FilterExpr dict to a parameterized ClickHouse WHERE fragment. Args: filter_dict: Serialized FilteSTRING
HIGHlibs/agno/agno/db/gcs_json/gcs_json_db.py105Read data from a JSON file in GCS, creating it if it doesn't exist. Args: filename (str): The name STRING
HIGHlibs/agno/agno/db/gcs_json/gcs_json_db.py166Delete a session from the GCS JSON file. Args: session_id (str): The ID of the session to delete. STRING
399 more matches not shown…
Unused Imports1052 hits · 981 pts
SeverityFileLineSnippetContext
LOWcookbook/90_models/lmstudio/basic.py8CODE
LOWcookbook/90_models/langdb/structured_output.py10CODE
LOWcookbook/90_models/langdb/structured_output.py13CODE
LOWcookbook/90_models/langdb/basic.py8CODE
LOWcookbook/90_models/langdb/agent.py3CODE
LOWcookbook/90_models/cohere/basic.py8CODE
LOWcookbook/90_models/requesty/basic.py8CODE
LOWcookbook/90_models/sambanova/basic.py8CODE
LOWcookbook/90_models/tokenlab/basic.py10CODE
LOWcookbook/90_models/portkey/structured_output.py10CODE
LOWcookbook/90_models/portkey/basic.py8CODE
LOWcookbook/90_models/together/structured_output.py10CODE
LOWcookbook/90_models/together/structured_output.py13CODE
LOWcookbook/90_models/together/basic.py8CODE
LOWcookbook/90_models/vercel/basic.py8CODE
LOWcookbook/90_models/openrouter/chat/structured_output.py10CODE
LOWcookbook/90_models/openrouter/chat/structured_output.py13CODE
LOWcookbook/90_models/openrouter/chat/basic.py8CODE
LOWcookbook/90_models/inception/structured_output.py10CODE
LOWcookbook/90_models/inception/structured_output.py13CODE
LOWcookbook/90_models/inception/basic.py15CODE
LOWcookbook/90_models/siliconflow/basic.py8CODE
LOW…okbook/90_models/azure/ai_foundry/structured_output.py10CODE
LOW…okbook/90_models/azure/ai_foundry/structured_output.py13CODE
LOWcookbook/90_models/azure/ai_foundry/demo_cohere.py8CODE
LOWcookbook/90_models/azure/ai_foundry/demo_mistral.py8CODE
LOWcookbook/90_models/azure/ai_foundry/basic.py8CODE
LOWcookbook/90_models/azure/openai/basic.py8CODE
LOWcookbook/90_models/deepinfra/json_output.py10CODE
LOWcookbook/90_models/deepinfra/json_output.py13CODE
LOWcookbook/90_models/deepinfra/basic.py8CODE
LOWcookbook/90_models/google/gemini/vertexai.py17CODE
LOWcookbook/90_models/google/gemini/basic.py8CODE
LOWcookbook/90_models/fireworks/basic.py8CODE
LOWcookbook/90_models/cloudflare/structured_output.py10CODE
LOWcookbook/90_models/cloudflare/structured_output.py13CODE
LOWcookbook/90_models/groq/basic.py8CODE
LOW…kbook/90_models/meta/llama_openai/structured_output.py10CODE
LOW…kbook/90_models/meta/llama_openai/structured_output.py13CODE
LOWcookbook/90_models/meta/llama_openai/basic.py8CODE
LOWcookbook/90_models/meta/llama/structured_output.py10CODE
LOWcookbook/90_models/meta/llama/structured_output.py13CODE
LOWcookbook/90_models/meta/llama/basic.py8CODE
LOWcookbook/90_models/minimax/structured_output.py10CODE
LOWcookbook/90_models/minimax/structured_output.py13CODE
LOWcookbook/90_models/deepseek/structured_output.py10CODE
LOWcookbook/90_models/deepseek/basic.py8CODE
LOWcookbook/90_models/xai/basic.py8CODE
LOWcookbook/90_models/ibm/watsonx/structured_output.py10CODE
LOWcookbook/90_models/ibm/watsonx/structured_output.py13CODE
LOWcookbook/90_models/ibm/watsonx/basic.py8CODE
LOW…okbook/90_models/vertexai/claude/basic_with_timeout.py8CODE
LOWcookbook/90_models/vertexai/claude/basic.py8CODE
LOWcookbook/90_models/nexus/basic.py8CODE
LOWcookbook/90_models/perplexity/structured_output.py10CODE
LOWcookbook/90_models/perplexity/basic.py8CODE
LOWcookbook/90_models/perplexity/web_search.py8CODE
LOWcookbook/90_models/nvidia/basic.py8CODE
LOWcookbook/90_models/aimlapi/basic.py8CODE
LOWcookbook/90_models/cerebras_openai/structured_output.py10CODE
992 more matches not shown…
Deep Nesting1262 hits · 924 pts
SeverityFileLineSnippetContext
LOW…ok/90_models/google/gemini/file_search_rag_pipeline.py95CODE
LOW…enai/chat/access_memories_in_memory_completed_event.py31CODE
LOW…omponents/workflows/save_hitl_condition_loop_router.py192CODE
LOWcookbook/02_agents/14_advanced/cancel_run.py17CODE
LOW…_agents/14_advanced/background_execution_structured.py55CODE
LOWcookbook/02_agents/14_advanced/compression_events.py27CODE
LOW…human_in_the_loop/confirmation_required_mcp_toolkit.py39CODE
LOW…2_agents/18_checkpointing/02_tool_error_persistence.py95CODE
LOW…8_learning/08_custom_stores/01_minimal_custom_store.py77CODE
LOWcookbook/data_labeling/image_search/workflows/ingest.py114CODE
LOWcookbook/observability/trace_to_database.py43CODE
LOWcookbook/scripts/cookbook_runner.py247CODE
LOW…03_teams/23_checkpointing/02_tool_error_persistence.py85CODE
LOWcookbook/03_teams/14_run_control/cancel_run.py22CODE
LOW…book/03_teams/17_dependencies/dependencies_in_tools.py46CODE
LOWcookbook/03_teams/02_modes/tasks_stream.py73CODE
LOWcookbook/03_teams/02_modes/tasks/11_streaming_events.py74CODE
LOW…/03_teams/01_quickstart/08_concurrent_member_agents.py62CODE
LOWcookbook/01_demo/evals/__main__.py68CODE
LOW…k/05_agent_os/middleware/extract_content_middleware.py28CODE
LOW…k/05_agent_os/middleware/extract_content_middleware.py110CODE
LOW…k/05_agent_os/middleware/extract_content_middleware.py48CODE
LOW…rfaces/a2a/multi_agent_a2a/trip_planning_a2a_client.py21CODE
LOW…nced_concepts/background_execution/websocket_client.py67CODE
LOW…nced_concepts/background_execution/websocket_client.py250CODE
LOW…nced_concepts/background_execution/websocket_client.py344CODE
LOW…nced_concepts/background_execution/websocket_server.py81CODE
LOW…rkflows/06_advanced_concepts/run_control/cancel_run.py24CODE
LOW…6_advanced_concepts/long_running/disruption_catchup.py36CODE
LOW…ic_workflows/01_sequence_of_steps/sequence_of_steps.py143CODE
LOW…in_the_loop/user_input/03_step_user_input_streaming.py106CODE
LOW…in_the_loop/user_input/03_step_user_input_streaming.py166CODE
LOW…an_in_the_loop/confirmation/04_step_continued_event.py66CODE
LOW…he_loop/confirmation/03_step_confirmation_streaming.py98CODE
LOW…_the_loop/executor_hitl/09_executor_continued_event.py72CODE
LOW…8_human_in_the_loop/condition/02_condition_on_error.py115CODE
LOW…an_in_the_loop/condition/01_condition_user_decision.py71CODE
LOW…level_hitl/02_step_user_input_and_tool_confirmation.py81CODE
LOW…level_hitl/02_step_user_input_and_tool_confirmation.py100CODE
LOW…/dual_level_hitl/03_condition_and_tool_confirmation.py119CODE
LOW…evel_hitl/04_router_selection_and_tool_confirmation.py125CODE
LOW…l_level_hitl/05_output_review_and_tool_confirmation.py83CODE
LOW…n_the_loop/dual_level_hitl/09_multi_step_mixed_hitl.py155CODE
LOW…n_the_loop/dual_level_hitl/09_multi_step_mixed_hitl.py206CODE
LOW…n_the_loop/dual_level_hitl/09_multi_step_mixed_hitl.py247CODE
LOW…vel_hitl/06_loop_confirmation_and_tool_confirmation.py101CODE
LOW…vel_hitl/01_step_confirmation_and_tool_confirmation.py90CODE
LOW…l_hitl/07_router_confirmation_and_tool_confirmation.py120CODE
LOW…lows/08_human_in_the_loop/error/01_error_retry_skip.py75CODE
LOW…man_in_the_loop/error/02_error_retry_skip_streaming.py111CODE
LOW…man_in_the_loop/loop/02_loop_confirmation_streaming.py87CODE
LOW…s/workspace_tools/workspace_tools_with_confirmation.py44CODE
LOWlibs/agno_infra/agno/infra/config.py50CODE
LOWlibs/agno_infra/agno/infra/config.py104CODE
LOWlibs/agno_infra/agno/infra/helpers.py39CODE
LOWlibs/agno_infra/agno/docker/resources.py31CODE
LOWlibs/agno_infra/agno/docker/resources.py191CODE
LOWlibs/agno_infra/agno/docker/resources.py355CODE
LOWlibs/agno_infra/agno/docker/resource/container.py112CODE
LOWlibs/agno_infra/agno/docker/resource/container.py170CODE
1202 more matches not shown…
Structural Annotation Overuse310 hits · 590 pts
SeverityFileLineSnippetContext
LOWcookbook/00_quickstart/sequential_workflow.py33# Step 1: Data Gatherer — Fetches raw market dataCOMMENT
LOWcookbook/00_quickstart/sequential_workflow.py64# Step 2: Analyst — Interprets the dataSTRING
LOWcookbook/00_quickstart/sequential_workflow.py93# Step 3: Report Writer — Produces final outputSTRING
LOWcookbook/00_quickstart/sequential_workflow.py130 data_step, # Step 1: Gather dataSTRING
LOWcookbook/00_quickstart/sequential_workflow.py131 analysis_step, # Step 2: Analyze dataSTRING
LOWcookbook/00_quickstart/sequential_workflow.py132 report_step, # Step 3: Write reportSTRING
LOW…i_interactions/deep_research_collaborative_planning.py48 # Step 1: request a research plan (collaborative_planning=True)COMMENT
LOW…i_interactions/deep_research_collaborative_planning.py61 # Step 3: approve and execute. Flip to execute-mode before this turn.COMMENT
LOW…ok/90_models/google/gemini/file_search_rag_pipeline.py170 # Step 1: Create and populate storeCOMMENT
LOW…ok/90_models/google/gemini/file_search_rag_pipeline.py181 # Step 2: List and verify documentsCOMMENT
LOW…ok/90_models/google/gemini/file_search_rag_pipeline.py194 # Step 3: Interactive queryingCOMMENT
LOW…ok/90_models/google/gemini/file_search_rag_pipeline.py210 # Step 4: Citation analysisCOMMENT
LOW…ok/90_models/google/gemini/file_search_rag_pipeline.py222 # Step 5: CleanupCOMMENT
LOW…book/02_agents/11_approvals/audit_approval_overview.py81 # Step 1: Run critical action - creates a pending approval record BEFORE executionCOMMENT
LOW…book/02_agents/11_approvals/audit_approval_overview.py131 # Step 4: Run sensitive action - creates an audit approval record AFTER executionCOMMENT
LOW…book/02_agents/11_approvals/audit_approval_overview.py168 # Step 7: Query DB filtering by approval_type to show separationCOMMENT
LOWcookbook/02_agents/11_approvals/approval_basic.py78 # Step 1: Run - agent will pause because the tool requires approvalCOMMENT
LOWcookbook/02_agents/11_approvals/approval_basic.py85 # Step 2: Check that an approval record was created in the DBCOMMENT
LOWcookbook/02_agents/11_approvals/approval_basic.py97 # Step 3: Confirm the requirement and continue the runCOMMENT
LOWcookbook/02_agents/11_approvals/approval_basic.py111 # Step 4: Resolve the approval record in the DBCOMMENT
LOWcookbook/02_agents/11_approvals/approval_basic.py124 # Step 5: Verify no more pending approvalsCOMMENT
LOWcookbook/02_agents/11_approvals/audit_approval_async.py68 # Step 1: Async run - agent will pause because the tool requires confirmationCOMMENT
LOWcookbook/02_agents/11_approvals/audit_approval_async.py75 # Step 2: Verify no approval record yet (logged approvals are created after resolution)COMMENT
LOWcookbook/02_agents/11_approvals/audit_approval_async.py82 # Step 3: Confirm and continue asyncCOMMENT
LOWcookbook/02_agents/11_approvals/audit_approval_async.py96 # Step 4: Verify logged approval record was created in DBCOMMENT
LOW…ok/02_agents/11_approvals/audit_approval_user_input.py67 # Step 1: Run - agent will pause because the tool requires user inputCOMMENT
LOW…ok/02_agents/11_approvals/audit_approval_user_input.py74 # Step 2: Verify no logged approvals exist yet (audit approval creates records AFTER resolution)COMMENT
LOW…ok/02_agents/11_approvals/audit_approval_user_input.py81 # Step 3: Provide user input and continueCOMMENT
LOW…ok/02_agents/11_approvals/audit_approval_user_input.py97 # Step 4: Verify logged approval record was created after resolutionCOMMENT
LOW…ok/02_agents/11_approvals/audit_approval_user_input.py114 # Step 5: Verify total stateCOMMENT
LOWcookbook/02_agents/11_approvals/approval_user_input.py69 # Step 1: Run - agent will pauseCOMMENT
LOWcookbook/02_agents/11_approvals/approval_user_input.py76 # Step 2: Check that an approval record was created in the DBCOMMENT
LOWcookbook/02_agents/11_approvals/approval_user_input.py88 # Step 3: Provide user input for recipient and confirmCOMMENT
LOWcookbook/02_agents/11_approvals/approval_user_input.py107 # Step 4: Resolve the approval record in the DBCOMMENT
LOWcookbook/02_agents/11_approvals/approval_user_input.py120 # Step 5: Verify no more pending approvalsCOMMENT
LOW…book/02_agents/11_approvals/audit_approval_external.py66 # Step 1: Run - agent will pause because the tool requires external executionCOMMENT
LOW…book/02_agents/11_approvals/audit_approval_external.py73 # Step 2: Verify no approval record yet (logged approvals are created after resolution)COMMENT
LOW…book/02_agents/11_approvals/audit_approval_external.py80 # Step 3: Provide external execution result and continueCOMMENT
LOW…book/02_agents/11_approvals/audit_approval_external.py96 # Step 4: Verify logged approval record was created in DBCOMMENT
LOWcookbook/02_agents/11_approvals/approval_async.py80 # Step 1: Async run - agent will pauseCOMMENT
LOWcookbook/02_agents/11_approvals/approval_async.py87 # Step 2: Check approval record in DBCOMMENT
LOWcookbook/02_agents/11_approvals/approval_async.py96 # Step 3: Confirm and continue asyncCOMMENT
LOWcookbook/02_agents/11_approvals/approval_async.py110 # Step 4: Resolve approvalCOMMENT
LOWcookbook/02_agents/11_approvals/approval_async.py122 # Step 5: Verify clean stateCOMMENT
LOWcookbook/02_agents/11_approvals/approval_team.py80 # Step 1: Run - team will pauseCOMMENT
LOWcookbook/02_agents/11_approvals/approval_team.py87 # Step 2: Check approval recordCOMMENT
LOWcookbook/02_agents/11_approvals/approval_team.py98 # Step 3: Confirm and continueCOMMENT
LOWcookbook/02_agents/11_approvals/approval_team.py110 # Step 4: Resolve approval in DBCOMMENT
LOWcookbook/02_agents/11_approvals/approval_team.py123 # Step 5: VerifyCOMMENT
LOW…/02_agents/11_approvals/audit_approval_confirmation.py69 # Step 1: Run - agent will pause because the tool requires confirmationCOMMENT
LOW…/02_agents/11_approvals/audit_approval_confirmation.py76 # Step 2: Confirm and continueCOMMENT
LOW…/02_agents/11_approvals/audit_approval_confirmation.py90 # Step 3: Verify logged approval record was createdCOMMENT
LOW…/02_agents/11_approvals/audit_approval_confirmation.py109 # Step 4: Run again - agent will pause for a new confirmationCOMMENT
LOW…/02_agents/11_approvals/audit_approval_confirmation.py116 # Step 5: Reject and continueCOMMENT
LOW…/02_agents/11_approvals/audit_approval_confirmation.py130 # Step 6: Verify logged approval record for rejectionCOMMENT
LOW…/02_agents/11_approvals/approval_external_execution.py68 # Step 1: Run - agent will pauseCOMMENT
LOW…/02_agents/11_approvals/approval_external_execution.py75 # Step 2: Check that an approval record was created in the DBCOMMENT
LOW…/02_agents/11_approvals/approval_external_execution.py87 # Step 3: Set external execution result and continueCOMMENT
LOW…/02_agents/11_approvals/approval_external_execution.py101 # Step 4: Resolve the approval record in the DBCOMMENT
LOW…/02_agents/11_approvals/approval_external_execution.py114 # Step 5: Verify no more pending approvalsCOMMENT
250 more matches not shown…
Verbosity Indicators302 hits · 580 pts
SeverityFileLineSnippetContext
LOWcookbook/00_quickstart/sequential_workflow.py33# Step 1: Data Gatherer — Fetches raw market dataCOMMENT
LOWcookbook/00_quickstart/sequential_workflow.py64# Step 2: Analyst — Interprets the dataSTRING
LOWcookbook/00_quickstart/sequential_workflow.py93# Step 3: Report Writer — Produces final outputSTRING
LOWcookbook/00_quickstart/sequential_workflow.py130 data_step, # Step 1: Gather dataSTRING
LOWcookbook/00_quickstart/sequential_workflow.py131 analysis_step, # Step 2: Analyze dataSTRING
LOWcookbook/00_quickstart/sequential_workflow.py132 report_step, # Step 3: Write reportSTRING
LOW…i_interactions/deep_research_collaborative_planning.py48 # Step 1: request a research plan (collaborative_planning=True)COMMENT
LOW…i_interactions/deep_research_collaborative_planning.py61 # Step 3: approve and execute. Flip to execute-mode before this turn.COMMENT
LOW…ok/90_models/google/gemini/file_search_rag_pipeline.py170 # Step 1: Create and populate storeCOMMENT
LOW…ok/90_models/google/gemini/file_search_rag_pipeline.py181 # Step 2: List and verify documentsCOMMENT
LOW…ok/90_models/google/gemini/file_search_rag_pipeline.py194 # Step 3: Interactive queryingCOMMENT
LOW…ok/90_models/google/gemini/file_search_rag_pipeline.py210 # Step 4: Citation analysisCOMMENT
LOW…ok/90_models/google/gemini/file_search_rag_pipeline.py222 # Step 5: CleanupCOMMENT
LOW…book/02_agents/11_approvals/audit_approval_overview.py81 # Step 1: Run critical action - creates a pending approval record BEFORE executionCOMMENT
LOW…book/02_agents/11_approvals/audit_approval_overview.py131 # Step 4: Run sensitive action - creates an audit approval record AFTER executionCOMMENT
LOW…book/02_agents/11_approvals/audit_approval_overview.py168 # Step 7: Query DB filtering by approval_type to show separationCOMMENT
LOWcookbook/02_agents/11_approvals/approval_basic.py78 # Step 1: Run - agent will pause because the tool requires approvalCOMMENT
LOWcookbook/02_agents/11_approvals/approval_basic.py85 # Step 2: Check that an approval record was created in the DBCOMMENT
LOWcookbook/02_agents/11_approvals/approval_basic.py97 # Step 3: Confirm the requirement and continue the runCOMMENT
LOWcookbook/02_agents/11_approvals/approval_basic.py111 # Step 4: Resolve the approval record in the DBCOMMENT
LOWcookbook/02_agents/11_approvals/approval_basic.py124 # Step 5: Verify no more pending approvalsCOMMENT
LOWcookbook/02_agents/11_approvals/audit_approval_async.py68 # Step 1: Async run - agent will pause because the tool requires confirmationCOMMENT
LOWcookbook/02_agents/11_approvals/audit_approval_async.py75 # Step 2: Verify no approval record yet (logged approvals are created after resolution)COMMENT
LOWcookbook/02_agents/11_approvals/audit_approval_async.py82 # Step 3: Confirm and continue asyncCOMMENT
LOWcookbook/02_agents/11_approvals/audit_approval_async.py96 # Step 4: Verify logged approval record was created in DBCOMMENT
LOW…ok/02_agents/11_approvals/audit_approval_user_input.py67 # Step 1: Run - agent will pause because the tool requires user inputCOMMENT
LOW…ok/02_agents/11_approvals/audit_approval_user_input.py74 # Step 2: Verify no logged approvals exist yet (audit approval creates records AFTER resolution)COMMENT
LOW…ok/02_agents/11_approvals/audit_approval_user_input.py81 # Step 3: Provide user input and continueCOMMENT
LOW…ok/02_agents/11_approvals/audit_approval_user_input.py97 # Step 4: Verify logged approval record was created after resolutionCOMMENT
LOW…ok/02_agents/11_approvals/audit_approval_user_input.py114 # Step 5: Verify total stateCOMMENT
LOWcookbook/02_agents/11_approvals/approval_user_input.py69 # Step 1: Run - agent will pauseCOMMENT
LOWcookbook/02_agents/11_approvals/approval_user_input.py76 # Step 2: Check that an approval record was created in the DBCOMMENT
LOWcookbook/02_agents/11_approvals/approval_user_input.py88 # Step 3: Provide user input for recipient and confirmCOMMENT
LOWcookbook/02_agents/11_approvals/approval_user_input.py107 # Step 4: Resolve the approval record in the DBCOMMENT
LOWcookbook/02_agents/11_approvals/approval_user_input.py120 # Step 5: Verify no more pending approvalsCOMMENT
LOW…book/02_agents/11_approvals/audit_approval_external.py66 # Step 1: Run - agent will pause because the tool requires external executionCOMMENT
LOW…book/02_agents/11_approvals/audit_approval_external.py73 # Step 2: Verify no approval record yet (logged approvals are created after resolution)COMMENT
LOW…book/02_agents/11_approvals/audit_approval_external.py80 # Step 3: Provide external execution result and continueCOMMENT
LOW…book/02_agents/11_approvals/audit_approval_external.py96 # Step 4: Verify logged approval record was created in DBCOMMENT
LOWcookbook/02_agents/11_approvals/approval_async.py80 # Step 1: Async run - agent will pauseCOMMENT
LOWcookbook/02_agents/11_approvals/approval_async.py87 # Step 2: Check approval record in DBCOMMENT
LOWcookbook/02_agents/11_approvals/approval_async.py96 # Step 3: Confirm and continue asyncCOMMENT
LOWcookbook/02_agents/11_approvals/approval_async.py110 # Step 4: Resolve approvalCOMMENT
LOWcookbook/02_agents/11_approvals/approval_async.py122 # Step 5: Verify clean stateCOMMENT
LOWcookbook/02_agents/11_approvals/approval_team.py80 # Step 1: Run - team will pauseCOMMENT
LOWcookbook/02_agents/11_approvals/approval_team.py87 # Step 2: Check approval recordCOMMENT
LOWcookbook/02_agents/11_approvals/approval_team.py98 # Step 3: Confirm and continueCOMMENT
LOWcookbook/02_agents/11_approvals/approval_team.py110 # Step 4: Resolve approval in DBCOMMENT
LOWcookbook/02_agents/11_approvals/approval_team.py123 # Step 5: VerifyCOMMENT
LOW…/02_agents/11_approvals/audit_approval_confirmation.py69 # Step 1: Run - agent will pause because the tool requires confirmationCOMMENT
LOW…/02_agents/11_approvals/audit_approval_confirmation.py76 # Step 2: Confirm and continueCOMMENT
LOW…/02_agents/11_approvals/audit_approval_confirmation.py90 # Step 3: Verify logged approval record was createdCOMMENT
LOW…/02_agents/11_approvals/audit_approval_confirmation.py109 # Step 4: Run again - agent will pause for a new confirmationCOMMENT
LOW…/02_agents/11_approvals/audit_approval_confirmation.py116 # Step 5: Reject and continueCOMMENT
LOW…/02_agents/11_approvals/audit_approval_confirmation.py130 # Step 6: Verify logged approval record for rejectionCOMMENT
LOW…/02_agents/11_approvals/approval_external_execution.py68 # Step 1: Run - agent will pauseCOMMENT
LOW…/02_agents/11_approvals/approval_external_execution.py75 # Step 2: Check that an approval record was created in the DBCOMMENT
LOW…/02_agents/11_approvals/approval_external_execution.py87 # Step 3: Set external execution result and continueCOMMENT
LOW…/02_agents/11_approvals/approval_external_execution.py101 # Step 4: Resolve the approval record in the DBCOMMENT
LOW…/02_agents/11_approvals/approval_external_execution.py114 # Step 5: Verify no more pending approvalsCOMMENT
242 more matches not shown…
Redundant / Tautological Comments394 hits · 576 pts
SeverityFileLineSnippetContext
LOWcookbook/00_quickstart/agent_with_guardrails.py144 mask_pii=False, # Set True to mask instead of blockCODE
LOW…ok/90_models/google/gemini/file_search_rag_pipeline.py161 # Check if documents directory existsCOMMENT
LOWcookbook/90_models/openai/chat/audio_output_stream.py43# Open the file once in append-binary modeCOMMENT
LOWcookbook/02_agents/12_multimodal/audio_streaming.py45 # Open the file once in append-binary modeCOMMENT
LOWcookbook/02_agents/14_advanced/cancel_run.py170 # Print the resultsCOMMENT
LOW…_agents/14_advanced/background_execution_structured.py169 # Print resultsCOMMENT
LOWcookbook/02_agents/14_advanced/custom_logging.py21 custom_logger.setLevel(logging.INFO) # Set level to INFO to show info messagesCODE
LOW…_human_in_the_loop/mixed_external_and_regular_tools.py55 # Check if the agent paused for external tool executionCOMMENT
LOWcookbook/08_learning/06_quick_tests/04_claude_model.py63 # Check if LearningMachine was initializedCOMMENT
LOWcookbook/scripts/run_singlestore.sh3# Check if container exists and remove it if it doesCOMMENT
LOW…agent_os/middleware/agent_os_with_custom_middleware.py50 # Check if rate limit exceededCOMMENT
LOW…k/05_agent_os/middleware/extract_content_middleware.py45 # Check if it's a streaming responseCOMMENT
LOWcookbook/05_agent_os/client_a2a/04_error_handling.py91 # Check if the task failed at the application levelCOMMENT
LOWcookbook/05_agent_os/workflow/workflow_with_router.py73 # Check if the topic is tech/startup related - use HackerNewsCOMMENT
LOW…ook/05_agent_os/workflow/workflow_with_nested_steps.py74 # Check if any output contains substantial contentCOMMENT
LOWcookbook/05_agent_os/workflow/workflow_with_loop.py70 # Check if we have good research resultsCOMMENT
LOW…book/05_agent_os/workflow/basic_chat_workflow_agent.py45 # Check if story is long enough to benefit from editingCOMMENT
LOW…kflow_with_parallel_and_custom_function_step_stream.py88 # Check if response and content existSTRING
LOW…kflow_with_parallel_and_custom_function_step_stream.py155 # Check if response and content existSTRING
LOW…kflow_with_parallel_and_custom_function_step_stream.py226 # Check if response and content existSTRING
LOW…ok/05_agent_os/client/12_continue_run_sse_reconnect.py119 # Check if the run paused (tool approval needed)COMMENT
LOWcookbook/05_agent_os/remote/05_agent_os_gateway.py62 # Check if story is long enough to benefit from editingCOMMENT
LOW…in_the_loop/user_input/03_step_user_input_streaming.py215 # Check if the event contains the workflow run outputCOMMENT
LOW…in_the_loop/confirmation/01_basic_step_confirmation.py66# Check if workflow is pausedCOMMENT
LOW…op/executor_hitl/05_agent_confirmation_in_loop_step.py122 # Check if workflow is pausedCOMMENT
LOW…cutor_hitl/06_agent_confirmation_in_steps_container.py138 # Check if workflow is pausedCOMMENT
LOW…ols/mcp/mcp_toolbox_demo/hotel_management_workflows.py73 # Assign tools to agentsCOMMENT
LOWlibs/agno_infra/scripts/release_manual.sh26 # Check if this is a pre-release versionCOMMENT
LOWlibs/agno_infra/agno/infra/config.py144 # Check if file in ignored directoryCOMMENT
LOWlibs/agno_infra/agno/infra/operator.py116 # Check if we can create the infra in the current dirCOMMENT
LOWlibs/agno_infra/agno/infra/operator.py201 # Check if the infra contains a `infra` dirCOMMENT
LOWlibs/agno_infra/agno/docker/resource/container.py316 # Check if container is stopped/pausedCOMMENT
LOWlibs/agno_infra/agno/docker/resource/image.py80 # Set use_cache to False so image is always builtCOMMENT
LOWlibs/agno_infra/agno/cli/config.py120 # Check if we're deleting the active infra, if yes, unset the active infraCOMMENT
LOWlibs/agno_infra/agno/cli/operator.py33 # Check if ~/.config/ag exists, if it is not a dir - delete it and create the directoryCOMMENT
LOWlibs/agno_infra/agno/aws/resource/rds/db_instance.py564 # Check if vpc_security_group_ids has changedCOMMENT
LOWlibs/agno_infra/agno/aws/resource/rds/db_instance.py576 # Check if db_subnet_group_name has changedCOMMENT
LOWlibs/agno_infra/agno/aws/resource/rds/db_cluster.py649 # Check if vpc_security_group_ids has changedCOMMENT
LOWlibs/agno/tests/unit/reader/test_text_reader.py198 # Check if the id ends with "_chunk_0" or "_chunk_1"COMMENT
LOWlibs/agno/tests/unit/tools/test_todoist_tools.py8# Check if todoist_api_python can be imported without errorsCOMMENT
LOWlibs/agno/tests/unit/tools/test_tavily.py128 # Set format to markdownCOMMENT
LOWlibs/agno/tests/unit/tools/test_tavily.py157 # Set format to textCOMMENT
LOWlibs/agno/tests/unit/tools/test_webbrowser.py18 # Check if the tool name is correctCOMMENT
LOWlibs/agno/tests/unit/tools/test_webbrowser.py21 # Check if open_page function is registeredCOMMENT
LOWlibs/agno/tests/unit/tools/test_agentql.py7# Check if agentql can be imported without errorsCOMMENT
LOWlibs/agno/tests/unit/vectordb/test_chromadb.py33 # Check if batch_size was provided via indirect parametrizationCOMMENT
LOWlibs/agno/tests/unit/db/test_async_mongo.py268 # Check if PyMongo async is availableCOMMENT
LOW…ts/integration/workflows/test_workflow_cancellation.py116 # Check if we're in agent_step_2 contextCOMMENT
LOW…ts/integration/workflows/test_workflow_cancellation.py266 # Check if step 1 just completedCOMMENT
LOWlibs/agno/tests/integration/workflows/test_session.py158 # Increment counterCOMMENT
LOW…/agno/tests/integration/workflows/test_router_steps.py283 # Check if the router executed successfully (either has success in nested steps or router itself succeeded)COMMENT
LOW…bs/agno/tests/integration/agent/test_print_response.py210 # Check if any panel content looks like it was processed for markdownCOMMENT
LOW…bs/agno/tests/integration/agent/test_print_response.py254 # Check if any panel was created with tool-related contentCOMMENT
LOW…gno/tests/integration/models/lmstudio/test_tool_use.py10# Check if exa_py is available for tests that need ExaToolsCOMMENT
LOW…gno/tests/integration/models/google/test_multimodal.py212 # Check if it's base64 encoded by trying to decode as UTF-8STRING
LOWlibs/agno/tests/integration/models/xai/test_tool_use.py10# Check if exa_py is available for tests that need ExaToolsCOMMENT
LOW…sts/integration/models/litellm_openai/test_tool_use.py48 # Check if tool was usedCOMMENT
LOW…sts/integration/models/litellm_openai/test_tool_use.py102 # Check if tool was usedCOMMENT
LOW…s/agno/tests/integration/models/cometapi/test_basic.py197 # Check if the calculation result is in the responseCOMMENT
LOW…s/agno/tests/integration/models/cometapi/test_basic.py219 # Check if the calculation result is in the responseCOMMENT
334 more matches not shown…
Cross-Language Confusion64 hits · 484 pts
SeverityFileLineSnippetContext
HIGHcookbook/90_models/google/gemini/structured_output.py71 description="Additional notes about the event (can be null)",CODE
HIGH…workflows/07_cel_expressions/loop/cel_compound_exit.py48 end_condition="all_success && current_iteration >= 2",CODE
HIGH…workflows/07_cel_expressions/loop/cel_compound_exit.py61 print("Loop with CEL end condition: all_success && current_iteration >= 2")CODE
HIGHcookbook/91_tools/mcp/structured_content.py10If a server returns an empty (null) `content` array with only `structuredContent`,STRING
HIGHcookbook/91_tools/mcp/stagehand.py14- Build the Stagehand MCP server: cd mcp-server-browserbase/stagehand && npm install && npm run buildSTRING
HIGHlibs/agno_infra/agno/docker/resource/image.py293 for push_output in _api_client.images.push(CODE
HIGHlibs/agno_infra/agno/aws/resource/glue/crawler.py132 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGHlibs/agno_infra/agno/aws/resource/s3/bucket.py70 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGHlibs/agno_infra/agno/aws/resource/emr/cluster.py96 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGHlibs/agno_infra/agno/aws/resource/ecs/service.py125 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGHlibs/agno_infra/agno/aws/resource/ecs/service.py255 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGHlibs/agno_infra/agno/aws/resource/ecs/service.py288 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGHlibs/agno_infra/agno/aws/resource/ecs/service.py344 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGH…bs/agno_infra/agno/aws/resource/ecs/task_definition.py127 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGHlibs/agno_infra/agno/aws/resource/ecs/cluster.py53 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGHlibs/agno_infra/agno/aws/resource/elb/load_balancer.py42 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGHlibs/agno_infra/agno/aws/resource/elb/target_group.py47 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGHlibs/agno_infra/agno/aws/resource/elb/target_group.py175 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGHlibs/agno_infra/agno/aws/resource/elb/listener.py52 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGHlibs/agno_infra/agno/aws/resource/elb/listener.py180 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGHlibs/agno_infra/agno/aws/resource/iam/policy.py44 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGHlibs/agno_infra/agno/aws/resource/iam/role.py56 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGHlibs/agno_infra/agno/aws/resource/secret/manager.py94 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGH…bs/agno_infra/agno/aws/resource/elasticache/cluster.py139 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGH…bs/agno_infra/agno/aws/resource/elasticache/cluster.py299 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGH…bs/agno_infra/agno/aws/resource/elasticache/cluster.py367 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGH…no_infra/agno/aws/resource/elasticache/subnet_group.py73 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGHlibs/agno_infra/agno/aws/resource/rds/db_instance.py266 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGHlibs/agno_infra/agno/aws/resource/rds/db_instance.py544 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGHlibs/agno_infra/agno/aws/resource/rds/db_instance.py490 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGH…bs/agno_infra/agno/aws/resource/rds/db_subnet_group.py78 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGHlibs/agno_infra/agno/aws/resource/rds/db_cluster.py344 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGHlibs/agno_infra/agno/aws/resource/rds/db_cluster.py575 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGHlibs/agno_infra/agno/aws/resource/rds/db_cluster.py629 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGHlibs/agno_infra/agno/aws/resource/acm/certificate.py86 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGHlibs/agno_infra/agno/aws/resource/ec2/volume.py109 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGHlibs/agno_infra/agno/aws/resource/ec2/volume.py281 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGHlibs/agno_infra/agno/aws/resource/ec2/security_group.py148 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGHlibs/agno_infra/agno/aws/resource/ec2/security_group.py338 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGHlibs/agno_infra/agno/aws/resource/ec2/security_group.py473 # create a dict of args which are not null, otherwise aws type validation failsCOMMENT
HIGHlibs/agno/tests/unit/learn/test_memories_schema.py44 agno_learnings row columns and would always be null). Scoped to UserProfile only;STRING
HIGHlibs/agno/tests/unit/tools/test_duckdb.py237 expected_output = f"{table_name}\ncolumn_name,column_type,null,key,default,extra\nissue_id,VARCHAR,YES,None,None,NonCODE
HIGHlibs/agno/tests/unit/tools/test_coding_tools.py562 result = tools.run_shell("echo hello && cat /etc/passwd")CODE
HIGHlibs/agno/tests/unit/tools/test_coding_tools.py567 result = tools.run_shell("false || cat /etc/passwd")CODE
HIGHlibs/agno/tests/unit/tools/test_coding_tools.py666 result = tools.run_shell("echo hello && echo world")CODE
HIGHlibs/agno/tests/unit/tools/test_hackernews.py346 """Test handling of non-existent user (returns null)."""STRING
HIGHlibs/agno/tests/unit/workflow/test_cel.py86 assert is_cel_expression("a && b") is TrueCODE
HIGHlibs/agno/tests/unit/workflow/test_cel.py87 assert is_cel_expression("previous_step_content.size() > 0 && input.size() > 0") is TrueCODE
HIGHlibs/agno/tests/unit/workflow/test_cel.py91 assert is_cel_expression("a || b") is TrueCODE
HIGHlibs/agno/tests/unit/workflow/test_cel.py92 assert is_cel_expression("is_admin || is_moderator") is TrueCODE
HIGHlibs/agno/tests/unit/workflow/test_cel.py101 assert is_cel_expression("(a && b) || (c && d)") is TrueCODE
HIGHlibs/agno/tests/unit/workflow/test_cel.py102 assert is_cel_expression("!empty && size > 0") is TrueCODE
HIGHlibs/agno/tests/unit/workflow/test_cel.py206 assert is_cel_expression('previous_step_content.size() > 0 && previous_step_content.contains("error")') is TrueCODE
HIGHlibs/agno/tests/unit/workflow/test_cel.py217 assert is_cel_expression("all_success && current_iteration >= 2") is TrueCODE
HIGHlibs/agno/tests/unit/workflow/test_cel.py305 assert validate_cel_expression("a && b") is TrueCODE
HIGHlibs/agno/tests/unit/workflow/test_cel.py306 assert validate_cel_expression("a || b") is TrueCODE
HIGH…bs/agno/tests/integration/workflows/test_loop_steps.py675 end_condition="all_success && current_iteration >= 2",CODE
HIGH…bs/agno/tests/integration/workflows/test_loop_steps.py692 end_condition="step_outputs.size() >= 2 && all_success",CODE
HIGH…bs/agno/tests/integration/workflows/test_loop_steps.py775 end_condition="current_iteration >= 2 && all_success",CODE
HIGHlibs/agno/agno/models/cohere/chat.py183 # Fix optional parameters where the "type" is [type, null]COMMENT
4 more matches not shown…
AI Structural Patterns582 hits · 392 pts
SeverityFileLineSnippetContext
LOWcookbook/03_teams/03_tools/member_tool_hooks.py92CODE
LOWcookbook/09_evals/performance/async_function.py24CODE
LOW…s/tool_hooks/tool_hook_in_toolkit_with_state_nested.py56CODE
LOW…91_tools/tool_hooks/tool_hook_in_toolkit_with_state.py50CODE
LOWlibs/agno_infra/agno/infra/operator.py214CODE
LOWlibs/agno_infra/agno/infra/operator.py289CODE
LOWlibs/agno_infra/agno/infra/operator.py360CODE
LOWlibs/agno_infra/agno/cli/infra_cli.py81CODE
LOWlibs/agno_infra/agno/cli/infra_cli.py279CODE
LOWlibs/agno_infra/agno/cli/infra_cli.py467CODE
LOWlibs/agno_infra/agno/cli/infra_cli.py635CODE
LOWlibs/agno_infra/agno/cli/operator.py63CODE
LOWlibs/agno_infra/agno/cli/operator.py139CODE
LOWlibs/agno_infra/agno/cli/operator.py212CODE
LOWlibs/agno/tests/unit/tools/test_unsplash.py32CODE
LOW…bs/agno/tests/unit/memory/test_memory_manager_async.py146CODE
LOWlibs/agno/tests/unit/agent/test_run_regressions.py84CODE
LOWlibs/agno/tests/unit/agent/test_run_regressions.py390CODE
LOWlibs/agno/tests/unit/agent/test_run_regressions.py484CODE
LOWlibs/agno/tests/unit/agent/test_run_regressions.py656CODE
LOWlibs/agno/tests/unit/agent/test_run_regressions.py1166CODE
LOW…bs/agno/tests/unit/team/test_run_context_precedence.py80CODE
LOW…bs/agno/tests/unit/team/test_run_context_precedence.py177CODE
LOW…s/unit/workflow/test_parallel_run_context_isolation.py30CODE
LOW…s/unit/workflow/test_parallel_run_context_isolation.py89CODE
LOWlibs/agno/tests/unit/os/test_mcp_auth_builtin.py114CODE
LOWlibs/agno/tests/unit/os/test_telegram_interface.py307CODE
LOWlibs/agno/tests/unit/eval/test_suite.py30CODE
LOWlibs/agno/agno/learn/machine.py367CODE
LOWlibs/agno/agno/learn/machine.py410CODE
LOWlibs/agno/agno/learn/machine.py589CODE
LOWlibs/agno/agno/learn/machine.py635CODE
LOWlibs/agno/agno/tools/bitbucket.py13CODE
LOWlibs/agno/agno/tools/redshift.py44CODE
LOWlibs/agno/agno/tools/csv_toolkit.py11CODE
LOWlibs/agno/agno/tools/searchapi.py29CODE
LOWlibs/agno/agno/tools/models_labs.py39CODE
LOWlibs/agno/agno/tools/openweather.py29CODE
LOWlibs/agno/agno/tools/daytona.py56CODE
LOWlibs/agno/agno/tools/toolkit.py17CODE
LOWlibs/agno/agno/tools/studio.py93CODE
LOWlibs/agno/agno/tools/tavily.py15CODE
LOWlibs/agno/agno/tools/whatsapp.py35CODE
LOWlibs/agno/agno/tools/memory.py14CODE
LOWlibs/agno/agno/tools/baidusearch.py30CODE
LOWlibs/agno/agno/tools/coding.py122CODE
LOWlibs/agno/agno/tools/gitlab.py21CODE
LOWlibs/agno/agno/tools/file_generation.py40CODE
LOWlibs/agno/agno/tools/salesforce.py50CODE
LOWlibs/agno/agno/tools/docling.py48CODE
LOWlibs/agno/agno/tools/decorator.py61CODE
LOWlibs/agno/agno/tools/serper.py12CODE
LOWlibs/agno/agno/tools/exa.py45CODE
LOWlibs/agno/agno/tools/telegram.py33CODE
LOWlibs/agno/agno/tools/youcom.py54CODE
LOWlibs/agno/agno/tools/scavio.py15CODE
LOWlibs/agno/agno/tools/scavio.py146CODE
LOWlibs/agno/agno/tools/scavio.py239CODE
LOWlibs/agno/agno/tools/scavio.py317CODE
LOWlibs/agno/agno/tools/jina.py21CODE
522 more matches not shown…
Modern AI Meta-Vocabulary82 hits · 288 pts
SeverityFileLineSnippetContext
MEDIUMcookbook/README.md23### I want to orchestrate complex processesCOMMENT
MEDIUMcookbook/README.md36### Knowledge & RAGCOMMENT
MEDIUM…ook/02_agents/06_memory_and_learning/memory_manager.py21 # Enable agentic memory so the agent can store and retrieve memoriesCOMMENT
MEDIUMcookbook/02_agents/08_guardrails/README.md1# guardrailsCOMMENT
MEDIUM…k/02_agents/15_dependencies/dependencies_in_context.py48 # think of it as dependency injection for AgentsCOMMENT
MEDIUM…k/02_agents/03_context_management/few_shot_learning.py84 # Create agent with few-shot learningSTRING
MEDIUM…k/02_agents/03_context_management/few_shot_learning.py89 additional_input=support_examples, # few-shot learning examplesSTRING
MEDIUM…k/02_agents/07_knowledge/agentic_rag_with_reranking.py35 # Agentic RAG is enabled by default when `knowledge` is provided to the Agent.COMMENT
MEDIUM…k/02_agents/07_knowledge/agentic_rag_with_reasoning.py37 # Agentic RAG is enabled by default when `knowledge` is provided to the Agent.COMMENT
MEDIUMcookbook/02_agents/07_knowledge/agentic_rag.py31 # Add a tool to search the knowledge base which enables agentic RAG.COMMENT
MEDIUMcookbook/02_agents/07_knowledge/agentic_rag.py31 # Add a tool to search the knowledge base which enables agentic RAG.COMMENT
MEDIUMcookbook/02_agents/07_knowledge/traditional_rag.py32 # Enable RAG by adding context from the `knowledge` to the user prompt.COMMENT
MEDIUMcookbook/observability/maxim_ops.py51# Aggregate both agents into a multi-agent systemCOMMENT
MEDIUMcookbook/03_teams/TEST_LOG.md296### guardrails/openai_moderation.pyCOMMENT
MEDIUMcookbook/03_teams/TEST_LOG.md306### guardrails/pii_detection.pyCOMMENT
MEDIUMcookbook/03_teams/TEST_LOG.md316### guardrails/prompt_injection.pyCOMMENT
MEDIUMcookbook/03_teams/18_guardrails/README.md1# guardrailsCOMMENT
MEDIUMcookbook/gemini_3/7_thinking.py30 # Show the model's chain of thought in the responseCOMMENT
MEDIUMcookbook/gemini_3/README.md100python cookbook/gemini_3/15_file_search.py # Server-side RAGCODE
MEDIUMcookbook/levels_of_agentic_software/config.yaml15 # Level 3: Learning + agentic memory — improves over timeCOMMENT
MEDIUMcookbook/05_agent_os/dbs/surreal_db/agents.py24 # Enable agentic memoryCOMMENT
MEDIUMcookbook/07_knowledge/README.md1# Knowledge: RAG for AgentsCOMMENT
MEDIUMcookbook/07_knowledge/README.md106# Start with basic RAGCOMMENT
MEDIUMcookbook/07_knowledge/README.md109# Try agentic RAGCOMMENT
MEDIUMcookbook/07_knowledge/README.md109# Try agentic RAGCOMMENT
MEDIUMcookbook/07_knowledge/README.md116## Two RAG ModesCOMMENT
MEDIUM…k/07_knowledge/09_archive/filters/agentic_filtering.py24# Note: ContentsDB is OPTIONAL for agentic filteringCOMMENT
MEDIUM…k/07_knowledge/09_archive/filters/agentic_filtering.py33# # contents_db not provided - agentic filtering will work without validationCOMMENT
MEDIUM…k/07_knowledge/09_archive/filters/agentic_filtering.py93# Enable agentic filteringCOMMENT
MEDIUM…nowledge/09_archive/filters/async_agentic_filtering.py93# Enable agentic filteringCOMMENT
MEDIUM…rchive/filters/agentic_filtering_with_output_schema.py91# Enable agentic filteringCOMMENT
MEDIUM…e/05_integrations/rag/agentic_rag_infinity_reranker.py43 # Agentic RAG is enabled by default when `knowledge` is provided to the Agent.COMMENT
MEDIUMcookbook/07_knowledge/05_integrations/rag/README.md1# RAG IntegrationsCOMMENT
MEDIUM…okbook/07_knowledge/01_getting_started/01_basic_rag.py47# Traditional RAG: context is fetched and injected into the prompt automatically.COMMENT
MEDIUMcookbook/07_knowledge/01_getting_started/README.md22# Basic RAG (simplest pattern)COMMENT
MEDIUMcookbook/07_knowledge/01_getting_started/README.md25# Agentic RAG (recommended for production)COMMENT
MEDIUMcookbook/07_knowledge/01_getting_started/README.md29## Basic vs Agentic RAGCOMMENT
MEDIUM…book/07_knowledge/01_getting_started/02_agentic_rag.py47# Agentic RAG: the agent gets a search tool and decides when to use it.COMMENT
MEDIUM…7_knowledge/02_building_blocks/05_agentic_filtering.py46# Enable agentic filtering: the agent inspects metadata keys and dynamicallyCOMMENT
MEDIUMcookbook/04_workflows/06_advanced_concepts/TEST_LOG.md75### guardrails/prompt_injection.pyCOMMENT
MEDIUM…_advanced_concepts/run_params/workflow_dependencies.py56 # Enable dependency injection into agent contextCOMMENT
MEDIUM…04_workflows/06_advanced_concepts/guardrails/README.md1# 04_workflows/06_advanced_concepts/guardrailsCOMMENT
MEDIUM…_workflows/06_advanced_concepts/guardrails/TEST_LOG.md1# TEST_LOG for cookbook/04_workflows/06_advanced_concepts/guardrailsCOMMENT
MEDIUM…/08_human_in_the_loop/user_input/02_step_user_input.py148 # Run the agent-based workflowCOMMENT
MEDIUMcookbook/91_tools/apify_tools.py56 # RAG Web Search DemonstrationsCOMMENT
MEDIUM…agno/tests/unit/models/test_context_window_patterns.py8# Anthropic context window patternsCOMMENT
MEDIUMlibs/agno/tests/integration/agent/test_guardrails.py697 # Test safe input passes through all guardrailsCOMMENT
MEDIUMlibs/agno/tests/integration/agent/test_rag.py45 # Enable RAG by adding references from Knowledge to the user prompt.COMMENT
MEDIUMlibs/agno/agno/exceptions.py95 # Patterns that indicate a context window / token limit exceeded errorCOMMENT
MEDIUMlibs/agno/agno/tools/reasoning.py190 # Default instructions and few-shot examplesSTRING
MEDIUMlibs/agno/agno/context/web/provider.py82 # gets a synthesized, cited answer back instead of orchestrating rawCOMMENT
MEDIUMlibs/agno/agno/utils/tokens.py476# OpenAI's Whisper model actually uses ~50 tokens/second (20ms per token), but this estimate is more conservative for coCOMMENT
MEDIUMlibs/agno/agno/utils/knowledge.py21 # If agentic filters exist and manual filters (passed by user) do not, use agentic filtersCOMMENT
MEDIUMlibs/agno/agno/utils/knowledge.py25 # If both agentic filters exist and manual filters (passed by user) exist, use manual filters (give priority to userCOMMENT
MEDIUMlibs/agno/agno/agent/_hooks.py73 # Global background mode: run guardrails synchronously, buffer everything else.COMMENT
MEDIUMlibs/agno/agno/agent/_hooks.py75 # Non-guardrail hooks are buffered and only queued after ALL guardrails pass —COMMENT
MEDIUMlibs/agno/agno/agent/agent.py152 # Enable RAG by adding references from Knowledge to the user prompt.COMMENT
MEDIUMlibs/agno/agno/agent/agent.py208 # Add a tool that allows the Model to search the knowledge base (aka Agentic RAG)COMMENT
MEDIUMlibs/agno/agno/agent/agent.py277 # Use these for few-shot learning or to provide additional context to the Model.COMMENT
MEDIUMlibs/agno/agno/agent/_storage.py490 # TODO: implement agentic memory serializationCOMMENT
22 more matches not shown…
Modern Structural Boilerplate284 hits · 286 pts
SeverityFileLineSnippetContext
LOW…8_learning/08_custom_stores/01_minimal_custom_store.py149 def set_context(self, key: str, value: Any) -> None:CODE
LOW…okbook/07_knowledge/03_production/04_error_handling.py22logger = logging.getLogger(__name__)CODE
LOWlibs/agno_infra/agno/infra/config.py77 def set_local_env(self) -> None:CODE
LOWlibs/agno_infra/agno/infra/operator.py442def set_infra_as_active(infra_dir_name: Optional[str]) -> None:CODE
LOWlibs/agno_infra/agno/docker/app/__init__.py3__all__ = [CODE
LOWlibs/agno_infra/agno/docker/app/streamlit/__init__.py3__all__ = [CODE
LOWlibs/agno_infra/agno/docker/app/whoami/__init__.py3__all__ = [CODE
LOWlibs/agno_infra/agno/docker/app/redis/__init__.py3__all__ = [CODE
LOWlibs/agno_infra/agno/docker/app/postgres/__init__.py4__all__ = [CODE
LOWlibs/agno_infra/agno/docker/app/fastapi/__init__.py3__all__ = [CODE
LOWlibs/agno_infra/agno/docker/app/celery/__init__.py3__all__ = [CODE
LOWlibs/agno_infra/agno/cli/config.py35 def set_active_infra_dir(self, infra_root_path: Optional[Path]) -> None:CODE
LOWlibs/agno_infra/agno/aws/app/base.py121 def set_aws_env_vars(self, env_dict: Dict[str, str], aws_region: Optional[str] = None) -> None:CODE
LOWlibs/agno_infra/agno/aws/resource/secret/__init__.py4__all__ = [CODE
LOW…s/agno_infra/agno/aws/resource/elasticache/__init__.py4__all__ = [CODE
LOWlibs/agno_infra/agno/aws/resource/rds/__init__.py5__all__ = [CODE
LOWlibs/agno_infra/agno/aws/resource/acm/__init__.py3__all__ = [CODE
LOWlibs/agno_infra/agno/aws/resource/ec2/__init__.py5__all__ = [CODE
LOWlibs/agno_infra/agno/base/__init__.py7__all__ = ["InfraBase", "ContainerContext", "InfraApp", "InfraResource", "InfraResources"]CODE
LOWlibs/agno_infra/agno/base/base.py105 def set_infra_settings(self, infra_settings: Optional[InfraSettings] = None) -> None:CODE
LOW…/unit/knowledge/test_knowledge_metadata_propagation.py90 def update_metadata(self, content_id: str, metadata: Dict[str, Any]) -> None:CODE
LOW…sts/unit/knowledge/test_knowledge_filter_validation.py72 def update_metadata(self, content_id: str, metadata) -> None:CODE
LOW…o/tests/unit/knowledge/test_knowledge_topic_loading.py77 def update_metadata(self, content_id: str, metadata) -> None:CODE
LOW…no/tests/unit/knowledge/test_knowledge_search_tools.py72 def update_metadata(self, content_id: str, metadata) -> None:CODE
LOW…no/tests/unit/knowledge/test_knowledge_content_hash.py72 def update_metadata(self, content_id: str, metadata) -> None:CODE
LOW…s/agno/tests/unit/knowledge/test_knowledge_encoding.py96 def update_metadata(self, content_id: str, metadata: Dict[str, Any]) -> None:CODE
LOW…bs/agno/tests/unit/knowledge/test_knowledge_readers.py72 def update_metadata(self, content_id: str, metadata) -> None:CODE
LOW…ests/unit/knowledge/test_knowledge_insert_many_auth.py75 def update_metadata(self, content_id: str, metadata) -> None:CODE
LOW…/agno/tests/unit/knowledge/test_knowledge_isolation.py87 def update_metadata(self, content_id: str, metadata: Dict[str, Any]) -> None:CODE
LOW…it/knowledge/chunking/test_url_ingestion_chunk_flag.py87 def update_metadata(self, content_id: str, metadata) -> None:CODE
LOWlibs/agno/agno/__init__.py8__all__ = ["__version__"]CODE
LOWlibs/agno/agno/tracing/__init__.py12__all__ = ["DatabaseSpanExporter", "setup_tracing"]CODE
LOWlibs/agno/agno/learn/__init__.py43__all__ = [CODE
LOWlibs/agno/agno/learn/machine.py715 def set_log_level(self) -> None:CODE
LOWlibs/agno/agno/learn/stores/__init__.py29__all__ = [CODE
LOWlibs/agno/agno/tools/google_maps.py15__all__ = ["GoogleMapTools"]CODE
LOWlibs/agno/agno/tools/daytona.py158 def _set_working_directory(self, agent: Union[Agent, Team], directory: str) -> None:CODE
LOWlibs/agno/agno/tools/__init__.py5__all__ = [CODE
LOWlibs/agno/agno/tools/googlesheets.py15__all__ = ["GoogleSheetsTools"]CODE
LOWlibs/agno/agno/tools/googlecalendar.py15__all__ = ["GoogleCalendarTools"]CODE
LOWlibs/agno/agno/tools/gmail.py14__all__ = ["GmailTools"]CODE
LOWlibs/agno/agno/tools/google_bigquery.py15__all__ = ["GoogleBigQueryTools", "_clean_sql"]CODE
LOWlibs/agno/agno/tools/google_drive.py15__all__ = ["GoogleDriveTools"]CODE
LOWlibs/agno/agno/tools/google/__init__.py1__all__ = [CODE
LOWlibs/agno/agno/tools/google/auth/__init__.py5__all__ = [CODE
LOWlibs/agno/agno/tools/mcp/__init__.py5__all__ = [CODE
LOWlibs/agno/agno/context/__init__.py10__all__ = [CODE
LOWlibs/agno/agno/context/database/__init__.py7__all__ = [CODE
LOWlibs/agno/agno/context/calendar/__init__.py3__all__ = ["GoogleCalendarContextProvider"]CODE
LOWlibs/agno/agno/context/web/__init__.py7__all__ = [CODE
LOWlibs/agno/agno/context/google/__init__.py5__all__ = ["validate_google_credentials"]CODE
LOWlibs/agno/agno/context/workspace/__init__.py3__all__ = ["DEFAULT_WORKSPACE_INSTRUCTIONS", "WorkspaceContextProvider"]CODE
LOWlibs/agno/agno/context/wiki/__init__.py17__all__ = [CODE
LOWlibs/agno/agno/context/mcp/__init__.py3__all__ = ["DEFAULT_MCP_BASE_INSTRUCTIONS", "MCPContextProvider"]CODE
LOWlibs/agno/agno/context/gdrive/__init__.py6__all__ = ["DEFAULT_GDRIVE_INSTRUCTIONS", "GoogleDriveContextProvider", "GDriveContextProvider"]CODE
LOWlibs/agno/agno/context/slack/__init__.py6__all__ = [CODE
LOWlibs/agno/agno/context/fs/__init__.py3__all__ = ["DEFAULT_FS_INSTRUCTIONS", "FilesystemContextProvider"]CODE
LOWlibs/agno/agno/context/gmail/__init__.py3__all__ = ["GmailContextProvider"]CODE
LOWlibs/agno/agno/guardrails/__init__.py6__all__ = ["BaseGuardrail", "OpenAIModerationGuardrail", "PIIDetectionGuardrail", "PromptInjectionGuardrail"]CODE
LOWlibs/agno/agno/memory/__init__.py9__all__ = [CODE
224 more matches not shown…
Over-Commented Block305 hits · 282 pts
SeverityFileLineSnippetContext
LOWcookbook/00_quickstart/requirements.txt1# This file was autogenerated by uv via the following command:COMMENT
LOWcookbook/00_quickstart/requirements.txt21 # jsonschemaCOMMENT
LOWcookbook/00_quickstart/requirements.txt41charset-normalizer==3.4.7COMMENT
LOWcookbook/00_quickstart/requirements.txt61 # via agnoCOMMENT
LOWcookbook/00_quickstart/requirements.txt81 # via onnxruntimeCOMMENT
LOWcookbook/00_quickstart/requirements.txt101 # viaCOMMENT
LOWcookbook/00_quickstart/requirements.txt121 # google-genaiCOMMENT
LOWcookbook/00_quickstart/requirements.txt141 # viaCOMMENT
LOWcookbook/00_quickstart/requirements.txt161 # via -r cookbook/00_quickstart/requirements.inCOMMENT
LOWcookbook/00_quickstart/requirements.txt181opentelemetry-api==1.42.0COMMENT
LOWcookbook/00_quickstart/requirements.txt201opentelemetry-sdk==1.42.0COMMENT
LOWcookbook/00_quickstart/requirements.txt221 # onnxruntimeCOMMENT
LOWcookbook/00_quickstart/requirements.txt241psycopg-binary==3.3.4COMMENT
LOWcookbook/00_quickstart/requirements.txt261pydantic-core==2.46.4COMMENT
LOWcookbook/00_quickstart/requirements.txt281 # kubernetesCOMMENT
LOWcookbook/00_quickstart/requirements.txt301 # uvicornCOMMENT
LOWcookbook/00_quickstart/requirements.txt321 # typerCOMMENT
LOWcookbook/00_quickstart/requirements.txt341 # via gitdbCOMMENT
LOWcookbook/00_quickstart/requirements.txt361tqdm==4.67.3COMMENT
LOWcookbook/00_quickstart/requirements.txt381 # huggingface-hubCOMMENT
LOWcookbook/00_quickstart/requirements.txt401 # pydanticCOMMENT
LOWcookbook/00_quickstart/requirements.txt421websockets==16.0COMMENT
LOWcookbook/90_models/deepinfra/basic.py21# Get the response in a variableCOMMENT
LOWcookbook/90_models/google/gemini/search.py21# Ask questions that require current informationCOMMENT
LOWcookbook/90_models/fireworks/basic.py21# Get the response in a variableCOMMENT
LOWcookbook/90_models/meta/llama_openai/basic.py21# Get the response in a variableCOMMENT
LOWcookbook/90_models/meta/llama/basic.py21# Get the response in a variableCOMMENT
LOWcookbook/90_models/xai/finance_agent.py81# - Taiwan Semiconductor (TSM)COMMENT
LOWcookbook/90_models/mistral/basic.py21# run: RunOutput = agent.run("Share a 2 sentence horror story")COMMENT
LOWcookbook/93_components/auto_populate_registry.py101 # workflow step. None of them were passed to a Registry explicitly. The sameCOMMENT
LOW…book/02_agents/05_state_and_session/session_summary.py41COMMENT
LOW…/02_agents/14_advanced/01_create_cultural_knowledge.py21# The CultureManager distills reusable insights into the shared cultural layerCOMMENT
LOW…kbook/02_agents/14_advanced/04_manually_add_culture.py81 # "How do I set up a FastAPI service using Docker?",COMMENT
LOW…ents/14_advanced/02_use_cultural_knowledge_in_agent.py21# format responses, how to write tutorials, or tone/style preferences).COMMENT
LOW…k/02_agents/15_dependencies/dependencies_in_context.py41# Create a Context-Aware Agent that can access real-time HackerNews dataCOMMENT
LOWcookbook/08_learning/requirements.txt1# This file was autogenerated by uv via the following command:COMMENT
LOWcookbook/08_learning/requirements.txt21attrs==25.4.0COMMENT
LOWcookbook/08_learning/requirements.txt41 # via requestsCOMMENT
LOWcookbook/08_learning/requirements.txt61 # via email-validatorCOMMENT
LOWcookbook/08_learning/requirements.txt81 # via huggingface-hubCOMMENT
LOWcookbook/08_learning/requirements.txt101 # opentelemetry-exporter-otlp-proto-grpcCOMMENT
LOWcookbook/08_learning/requirements.txt121 # chromadbCOMMENT
LOWcookbook/08_learning/requirements.txt141 # requestsCOMMENT
LOWcookbook/08_learning/requirements.txt161 # via richCOMMENT
LOWcookbook/08_learning/requirements.txt181onnxruntime==1.23.2COMMENT
LOWcookbook/08_learning/requirements.txt201 # opentelemetry-sdkCOMMENT
LOWcookbook/08_learning/requirements.txt221 # openinference-instrumentation-agnoCOMMENT
LOWcookbook/08_learning/requirements.txt241protobuf==6.33.3COMMENT
LOWcookbook/08_learning/requirements.txt261 # viaCOMMENT
LOWcookbook/08_learning/requirements.txt281pygments==2.19.2COMMENT
LOWcookbook/08_learning/requirements.txt301 # fastapiCOMMENT
LOWcookbook/08_learning/requirements.txt321requests-oauthlib==2.0.0COMMENT
LOWcookbook/08_learning/requirements.txt341sentry-sdk==2.49.0COMMENT
LOWcookbook/08_learning/requirements.txt361sse-starlette==3.1.2COMMENT
LOWcookbook/08_learning/requirements.txt381typer==0.21.1COMMENT
LOWcookbook/08_learning/requirements.txt401 # openinference-instrumentation-agnoCOMMENT
LOWcookbook/08_learning/requirements.txt421 # pydantic-settingsCOMMENT
LOWcookbook/08_learning/requirements.txt441 # viaCOMMENT
LOWcookbook/data_labeling/image_search/requirements.txt1# This file was autogenerated by uv via the following command:COMMENT
LOWcookbook/data_labeling/image_search/requirements.txt21 # requestsCOMMENT
245 more matches not shown…
Fake / Example Data247 hits · 216 pts
SeverityFileLineSnippetContext
LOW…2_agents/05_state_and_session/dynamic_session_state.py29 name: str = "John Doe",CODE
LOW…2_agents/05_state_and_session/dynamic_session_state.py74 session_state={"customer_profiles": {"123": {"name": "Jane Doe"}}},CODE
LOW…ok/02_agents/11_approvals/approval_list_and_resolve.py126 resolved_by="admin@example.com",CODE
LOW…ok/02_agents/11_approvals/approval_list_and_resolve.py154 resolved_by="admin@example.com",CODE
LOWcookbook/02_agents/11_approvals/approval_post_hook.py81 resolved_by="admin@example.com",CODE
LOWcookbook/02_agents/11_approvals/approval_post_hook.py97 assert run.metadata["approval"]["resolved_by"] == "admin@example.com"CODE
LOW…ook/02_agents/15_dependencies/dependencies_in_tools.py98 "name": "John Doe",CODE
LOWcookbook/02_agents/10_human_in_the_loop/user_input.py46 "to_address": "test@test.com",CODE
LOW…okbook/02_agents/18_checkpointing/01_crash_recovery.py57 return f"Detail for {item}: lorem ipsum dolor sit amet"CODE
LOW…okbook/02_agents/18_checkpointing/01_crash_recovery.py57 return f"Detail for {item}: lorem ipsum dolor sit amet"CODE
LOW…k/integrations/surrealdb/custom_memory_instructions.py67 print("John Doe's memories:")STRING
LOW…k/integrations/surrealdb/custom_memory_instructions.py102 print("Jane Doe's memories:")STRING
LOWcookbook/integrations/surrealdb/memory_creation.py53 print("John Doe's memories:")STRING
LOWcookbook/integrations/surrealdb/memory_creation.py69 print("Jane Doe's memories:")STRING
LOW…okbook/integrations/surrealdb/memory_search_surreal.py44 print("John Doe's memories:")CODE
LOWcookbook/03_teams/03_tools/member_tool_hooks.py25 "name": "John Doe",CODE
LOWcookbook/03_teams/03_tools/member_tool_hooks.py34 "name": "Jane Doe",CODE
LOW…book/03_teams/06_memory/01_team_with_memory_manager.py65 print("John Doe's memories:")CODE
LOWcookbook/03_teams/06_memory/TEST_LOG.md438│ │ input="Add or update user memory: set user's name to 'John Doe' and note that he likes to hike in the mountains CODE
LOWcookbook/03_teams/06_memory/TEST_LOG.md450│ │ input="Add or update user memory: set user's name to 'John Doe' and note that he likes to hike in the mountains CODE
LOWcookbook/03_teams/06_memory/TEST_LOG.md462│ │ input="Add or update user memory: set user's name to 'John Doe' and note that he likes to hike in the mountains CODE
LOWcookbook/03_teams/06_memory/TEST_LOG.md474│ │ input="Add or update user memory: set user's name to 'John Doe' and note that he likes to hike in the mountains CODE
LOWcookbook/03_teams/23_checkpointing/01_crash_recovery.py48 return f"Detail for {item}: lorem ipsum dolor sit amet"CODE
LOWcookbook/03_teams/23_checkpointing/01_crash_recovery.py48 return f"Detail for {item}: lorem ipsum dolor sit amet"CODE
LOW…ok/03_teams/17_dependencies/dependencies_in_context.py22 "name": "John Doe",CODE
LOW…book/03_teams/17_dependencies/dependencies_in_tools.py23 "name": "John Doe",CODE
LOW…ok/03_teams/17_dependencies/dependencies_to_members.py22 "name": "John Doe",CODE
LOW…03_teams/01_quickstart/07_share_member_interactions.py22 "name": "John Doe",CODE
LOW…05_agent_os/middleware/agent_os_with_jwt_middleware.py92 "name": "John Doe",CODE
LOWcookbook/05_agent_os/interfaces/agui/user_input.py33 "placeholder": "Enter search term..."CODE
LOWcookbook/05_agent_os/customize/handle_custom_events.py43 customer_name = run_context.session_state.get("customer_name", "John Doe")CODE
LOWcookbook/05_agent_os/customize/handle_custom_events.py100 --data-urlencode 'session_state={"customer_name": "John Doe", "customer_email": "john.doe@example.com", "customeSTRING
LOWcookbook/05_agent_os/customize/handle_custom_events.py107 --data-urlencode 'session_state={"customer_name": "John Doe", "customer_email": "john.doe@example.com", "customeSTRING
LOWcookbook/05_agent_os/customize/custom_fastapi_app.py49 "name": "John Doe",CODE
LOWcookbook/05_agent_os/customize/custom_fastapi_app.py54 "name": "Jane Doe",CODE
LOWcookbook/11_memory/01_agent_with_memory.py55 print("John Doe's memories:")CODE
LOWcookbook/11_memory/01_agent_with_memory.py66 print("John Doe's memories:")CODE
LOWcookbook/11_memory/04_custom_memory_manager.py56 print("John Doe's memories:")STRING
LOWcookbook/11_memory/memory_manager/02_memory_creation.py47 print("John Doe's memories:")STRING
LOWcookbook/11_memory/memory_manager/02_memory_creation.py62 print("Jane Doe's memories:")STRING
LOWcookbook/11_memory/memory_manager/04_memory_search.py40 print("John Doe's memories:")CODE
LOW…memory/memory_manager/03_custom_memory_instructions.py55 print("John Doe's memories:")STRING
LOW…memory/memory_manager/03_custom_memory_instructions.py90 print("Jane Doe's memories:")STRING
LOWcookbook/91_tools/salesforce_tools.py101 # "Update the account 'Acme Corp' to set the industry to 'Technology'",COMMENT
LOWcookbook/91_tools/custom_tool_events.py33 customer_name="John Doe",CODE
LOWcookbook/91_tools/google/gmail/inbox_triage.py58 user_id = "user@example.com"CODE
LOW…91_tools/other/include_exclude_tools_custom_toolkit.py44 "name": "John Doe",CODE
LOW…s/tool_hooks/tool_hook_in_toolkit_with_state_nested.py71 "123": {"name": "Jane Doe", "email": "jane.doe@example.com"},CODE
LOW…s/tool_hooks/tool_hook_in_toolkit_with_state_nested.py72 "456": {"name": "John Doe", "email": "john.doe@example.com"},CODE
LOWcookbook/91_tools/tool_hooks/tool_hook_in_toolkit.py36 "name": "John Doe",CODE
LOWcookbook/91_tools/tool_hooks/tool_hook_in_toolkit.py123 "name": "John Doe",CODE
LOW…91_tools/tool_hooks/tool_hook_in_toolkit_with_state.py58 "123": {"name": "Jane Doe", "email": "jane.doe@example.com"},CODE
LOW…91_tools/tool_hooks/tool_hook_in_toolkit_with_state.py59 "456": {"name": "John Doe", "email": "john.doe@example.com"},CODE
LOW…ok/91_tools/tool_hooks/tool_hooks_in_toolkit_nested.py38 "name": "John Doe",CODE
LOW…ok/91_tools/tool_hooks/tool_hooks_in_toolkit_nested.py114 "name": "John Doe",CODE
LOWlibs/agno/tests/unit/test_filters.py266 filter_expr = CONTAINS("name", "John Doe")CODE
LOWlibs/agno/tests/unit/test_filters.py267 assert filter_expr.value == "John Doe"CODE
LOWlibs/agno/tests/unit/tools/test_telegram.py65 monkeypatch.setenv("TELEGRAM_TOKEN", "fake-token")CODE
LOWlibs/agno/tests/unit/tools/test_telegram.py73 monkeypatch.setenv("TELEGRAM_TOKEN", "fake-token")CODE
LOWlibs/agno/tests/unit/tools/test_telegram.py80 monkeypatch.setenv("TELEGRAM_TOKEN", "fake-token")CODE
187 more matches not shown…
AI Slop Vocabulary65 hits · 130 pts
SeverityFileLineSnippetContext
MEDIUM…ook/90_models/google/gemini/url_context_with_search.py1"""Combine URL context with Google Search for comprehensive web analysis.STRING
MEDIUM…/02_agents/14_advanced/01_create_cultural_knowledge.py35# - Communication best practicesCOMMENT
LOW…book/02_agents/02_input_output/followup_suggestions.py28# Create the Agent — just set followups=TrueCOMMENT
MEDIUMcookbook/02_agents/09_hooks/stream_hook.py39 # Agent with comprehensive output validationCOMMENT
MEDIUMcookbook/02_agents/09_hooks/pre_hook_input.py87 # Create a financial advisor agent with comprehensive hooksCOMMENT
MEDIUMcookbook/02_agents/09_hooks/post_hook_output.py123 # Agent with comprehensive output validationCOMMENT
MEDIUM…okbook/02_agents/18_checkpointing/01_crash_recovery.py100 # This is robust — we wait for the actual checkpoint, not a fixed sleep.COMMENT
LOW…_learning/06_quick_tests/02_learning_true_shorthand.py27# This is the simplest way to enable learning - just set learning=TrueCOMMENT
LOW…8_learning/08_custom_stores/01_minimal_custom_store.py60 # For simple stores, can just return dict or a dataclassCOMMENT
MEDIUMcookbook/01_demo/evals/cases.py82 # tool-call assertion is the robust signal that HTML generation works.COMMENT
LOWcookbook/05_agent_os/followup/followups_agentos.py10# Create the Agent — just set followups=TrueCOMMENT
MEDIUMcookbook/05_agent_os/client_a2a/04_error_handling.py79 """Demonstrate comprehensive error handling pattern."""STRING
MEDIUM…ent_os/workflow/customer_research_workflow_parallel.py257 # Initialize comprehensive session state structureCOMMENT
MEDIUM…ent_os/workflow/customer_research_workflow_parallel.py744# Create the comprehensive customer research workflowSTRING
MEDIUM…kbook/07_knowledge/09_archive/readers/tavily_reader.py43 extract_depth="advanced", # 2 credits per 5 URLs, more comprehensiveCODE
MEDIUMcookbook/91_tools/brightdata_tools.py62 # "Search Google for 'Python web scraping best practices' and give me the top 5 results",COMMENT
MEDIUMcookbook/91_tools/financial_datasets_tools.py193 # """Create a comprehensive financial summary for NVDA including:COMMENT
MEDIUMcookbook/91_tools/financial_datasets_tools.py193 # """Create a comprehensive financial summary for NVDA including:COMMENT
MEDIUMcookbook/91_tools/github_tools.py92 # Example: Get comprehensive repository statsCOMMENT
MEDIUMcookbook/91_tools/github_tools.py94 # "Get comprehensive stats for the agno-agi/agno repository", markdown=TrueCOMMENT
MEDIUMcookbook/91_tools/github_tools.py99 # "Get comprehensive details for pull request #100 in the agno-agi/agno repository",COMMENT
LOWcookbook/91_tools/browserbase_tools.py75 # The same agent instance works for both sync and async - just use arun/aprint_response!STRING
LOWcookbook/91_tools/browserbase_tools.py81 # # Same agent, just use async methods - it will automatically use async toolsSTRING
MEDIUMlibs/agno/tests/unit/tools/test_github.py780 """Test getting comprehensive details of a pull request."""STRING
MEDIUMlibs/agno/tests/unit/tools/test_github.py900 """Test getting comprehensive repository information including statistics."""STRING
MEDIUMlibs/agno/tests/unit/app/test_agui_app.py946 """Complex test with interleaved content and tool calls (comprehensive scenario)"""STRING
MEDIUMlibs/agno/tests/unit/vectordb/test_pgvector.py339 """Test vector_search method using more comprehensive mocking."""STRING
MEDIUM…o/tests/integration/workflows/test_streaming_events.py674 """Test comprehensive workflow with multiple component types with stream_events=True."""STRING
MEDIUM…o/tests/integration/workflows/test_streaming_events.py721 """Test comprehensive workflow with multiple component types - async with stream_events=True."""STRING
MEDIUM…o/tests/integration/workflows/test_streaming_events.py760 """Test comprehensive workflow with multiple component types with stream_events=False."""STRING
MEDIUMlibs/agno/tests/integration/agent/test_hooks.py594 """Test comprehensive error handling in hooks."""STRING
MEDIUMlibs/agno/tests/integration/agent/test_memory_impact.py168 # Verify that memory usage is reasonable - the agent should not utilize excessive memoryCOMMENT
MEDIUMlibs/agno/tests/integration/db/sqlite/test_session.py599 # Create comprehensive AgentSession with all possible fields populatedCOMMENT
MEDIUMlibs/agno/tests/integration/db/sqlite/test_session.py655 # Create comprehensive TeamSession with all possible fields populatedCOMMENT
MEDIUMlibs/agno/tests/integration/db/postgres/test_session.py654 # Create comprehensive AgentSession with all possible fields populatedCOMMENT
MEDIUMlibs/agno/tests/integration/db/postgres/test_session.py710 # Create comprehensive TeamSession with all possible fields populatedCOMMENT
MEDIUM…s/agno/tests/integration/db/postgres/test_knowledge.py333 # Upsert the comprehensive knowledgeCOMMENT
MEDIUMlibs/agno/tests/integration/db/postgres/test_memory.py206 # Creating a comprehensive memoryCOMMENT
LOWlibs/agno/tests/integration/os/test_jwt_middleware.py983 validate=False, # Don't fail on validation errors, just set authenticated=FalseCODE
MEDIUMlibs/agno/agno/tools/shopify.py646 """Get comprehensive order analytics for a time period.STRING
MEDIUMlibs/agno/agno/tools/docker.py10 # Apply more comprehensive monkey patch for Python 3.12 compatibilityCOMMENT
MEDIUMlibs/agno/agno/tools/docker.py16 # Create a more comprehensive patched version that ignores any unknown parametersCOMMENT
MEDIUMlibs/agno/agno/tools/github.py886 """Get comprehensive details of a pull request including comments, labels, and metadata.STRING
MEDIUMlibs/agno/agno/tools/github.py994 """Get comprehensive repository information including statistics.STRING
LOWlibs/agno/agno/tools/function.py1020 # If no hooks, just return the entrypoint execution functionCOMMENT
LOWlibs/agno/agno/tools/function.py1229 # If no hooks, just return the async entrypoint execution functionCOMMENT
MEDIUMlibs/agno/agno/memory/strategies/summarize.py1"""Summarize strategy: Combine all memories into single comprehensive summary."""STRING
MEDIUMlibs/agno/agno/memory/strategies/summarize.py16 """Combine all memories into single comprehensive summary.STRING
MEDIUMlibs/agno/agno/memory/strategies/summarize.py49 """Summarize multiple memories into single comprehensive summary.STRING
MEDIUMlibs/agno/agno/memory/strategies/summarize.py87 # Create comprehensive prompt for summarizationSTRING
MEDIUMlibs/agno/agno/memory/strategies/summarize.py126 """Async version: Summarize multiple memories into single comprehensive summary.STRING
MEDIUMlibs/agno/agno/memory/strategies/summarize.py164 # Create comprehensive prompt for summarizationSTRING
MEDIUMlibs/agno/agno/vectordb/couchbase/couchbase.py361 # This is a more robust way than just len(batch) - len(exceptions)COMMENT
MEDIUMlibs/agno/agno/models/google/gemini_interactions.py484 # which forces store=True), leverage server-side state: passCOMMENT
LOWlibs/agno/agno/team/_response.py1699 # Content is already a dict - just set content_typeCOMMENT
LOWlibs/agno/agno/team/_response.py1731 # Content is already a dict - just set content_typeCOMMENT
MEDIUMlibs/agno/agno/os/routers/database.py36 """Create the database router with comprehensive OpenAPI documentation."""STRING
MEDIUMlibs/agno/agno/os/routers/metrics/metrics.py28 """Create metrics router with comprehensive OpenAPI documentation for system metrics and analytics endpoints."""STRING
MEDIUMlibs/agno/agno/os/routers/traces/traces.py75 """Create traces router with comprehensive OpenAPI documentation for trace endpoints."""STRING
MEDIUMlibs/agno/agno/os/routers/evals/evals.py49 """Create eval router with comprehensive OpenAPI documentation for agent/team evaluation endpoints."""STRING
5 more matches not shown…
Magic Placeholder Names32 hits · 126 pts
SeverityFileLineSnippetContext
HIGHcookbook/90_models/google/gemini_interactions/README.md17export GOOGLE_API_KEY=your-api-keyCODE
HIGHcookbook/90_models/google/gemini/parallel_grounding.py37 # parallel_api_key="your-api-key",COMMENT
HIGHcookbook/integrations/parallel/04_research_assistant.py14- export PARALLEL_API_KEY=<your-api-key>STRING
HIGH…/integrations/parallel/08_competitive_intel_monitor.py17- export PARALLEL_API_KEY=<your-api-key>STRING
HIGHcookbook/integrations/parallel/06_research_team.py13- export PARALLEL_API_KEY=<your-api-key>STRING
HIGHcookbook/integrations/parallel/README.md37export PARALLEL_API_KEY=<your-api-key>CODE
HIGHcookbook/integrations/parallel/02_extract_content.py14- export PARALLEL_API_KEY=<your-api-key>STRING
HIGHcookbook/integrations/parallel/07_research_workflow.py13- export PARALLEL_API_KEY=<your-api-key>STRING
HIGHcookbook/integrations/parallel/03_deep_research.py19- export PARALLEL_API_KEY=<your-api-key>STRING
HIGHcookbook/integrations/parallel/01_quickstart.py14- export PARALLEL_API_KEY=<your-api-key>STRING
HIGHcookbook/integrations/parallel/05_web_plus_knowledge.py16- export PARALLEL_API_KEY=<your-api-key>STRING
HIGHcookbook/integrations/parallel/05_web_plus_knowledge.py17- export OPENAI_API_KEY=<your-api-key> (model + embeddings)STRING
HIGHcookbook/integrations/parallel/09_agent_os_app.py14- export PARALLEL_API_KEY=<your-api-key>STRING
HIGH…knowledge/09_archive/embedders/vllm_embedder_remote.py24 api_key="your-api-key",CODE
HIGHcookbook/91_tools/nano_banana_tools.py5- Set your Google API key as environment variable: `export GOOGLE_API_KEY="your_api_key"`STRING
HIGHcookbook/91_tools/calcom_tools.py29 export CALCOM_API_KEY="your_api_key"STRING
HIGHcookbook/91_tools/firecrawl_tools.py7 export FIRECRAWL_API_KEY=<your-api-key>STRING
HIGHcookbook/91_tools/e2b_tools.py20 export E2B_API_KEY=your_api_keySTRING
HIGHcookbook/91_tools/brandfetch_tools.py12export BRANDFETCH_API_KEY=your_api_keySTRING
HIGHcookbook/91_tools/scrapegraph_tools.py7 export SGAI_API_KEY=<your-api-key>STRING
HIGHcookbook/91_tools/daytona_tools.py8 export DAYTONA_API_KEY=<your_api_key>STRING
HIGHcookbook/91_tools/parallel/news_search.py20- export PARALLEL_API_KEY=<your-api-key>STRING
HIGHcookbook/91_tools/parallel/company_enrichment.py19- export PARALLEL_API_KEY=<your-api-key>STRING
HIGHcookbook/91_tools/parallel/output_schemas.py16- export PARALLEL_API_KEY=<your-api-key>STRING
HIGHcookbook/91_tools/parallel/investment_monitor.py18- export PARALLEL_API_KEY=<your-api-key>STRING
HIGHcookbook/91_tools/parallel/competitor_tracker.py25- export PARALLEL_API_KEY=<your-api-key>STRING
HIGHcookbook/91_tools/parallel/README.md28export PARALLEL_API_KEY=<your-api-key>CODE
HIGHcookbook/91_tools/parallel/market_research.py18- export PARALLEL_API_KEY=<your-api-key>STRING
HIGHcookbook/91_tools/antigravity/antigravity_tools.py14 export GEMINI_API_KEY=<your_api_key>STRING
HIGHlibs/agno/tests/system/README.md75echo "OPENAI_API_KEY=your-api-key-here" > .envCODE
HIGHlibs/agno/tests/system/run_tests.sh25 echo " OPENAI_API_KEY=your-api-key-here"CODE
HIGHlibs/agno/agno/tools/scrapegraph.py7 export SGAI_API_KEY=<your-api-key>STRING
Example Usage Blocks29 hits · 50 pts
SeverityFileLineSnippetContext
LOWcookbook/90_models/groq/reasoning/finance_agent.py29# Example usageCOMMENT
LOW…s/05_state_and_session/session_state_multiple_users.py86 # Example usageCOMMENT
LOW…02_agents/05_state_and_session/session_state_events.py42 # Example usageCOMMENT
LOW…ts/05_state_and_session/session_state_manual_update.py42 # Example usageCOMMENT
LOW…_agents/05_state_and_session/session_state_advanced.py85 # Example usageSTRING
LOW…/02_agents/05_state_and_session/session_state_basic.py42 # Example usageCOMMENT
LOW…k/02_agents/15_dependencies/dependencies_in_context.py59 # Example usageCOMMENT
LOW…ent_os/workflow/customer_research_workflow_parallel.py778# # Example usageSTRING
LOWcookbook/91_tools/shopify_tools.py52# Example usageCOMMENT
LOWcookbook/91_tools/calcom_tools.py81# Example usageSTRING
LOWcookbook/91_tools/file_tools.py201# Example usageCOMMENT
LOWcookbook/91_tools/spotify_tools.py47# Example usageCOMMENT
LOWcookbook/91_tools/website_tools.py29# Example usageCOMMENT
LOWcookbook/91_tools/aws_lambda_tools.py90# Example usageCOMMENT
LOWcookbook/91_tools/crawl4ai_tools.py66# Example usageCOMMENT
LOWcookbook/91_tools/other/complex_input_types.py82# Example usageCOMMENT
LOWcookbook/91_tools/mcp/multiple_servers.py47# Example usageCOMMENT
LOWcookbook/91_tools/mcp/include_tools.py49# Example usageSTRING
LOWcookbook/91_tools/mcp/include_exclude_tools.py47# Example usageCOMMENT
LOW…91_tools/mcp/multiple_servers_allow_partial_failure.py52# Example usageCOMMENT
LOWcookbook/91_tools/mcp/filesystem.py59# Example usageSTRING
LOWcookbook/91_tools/mcp/groq_mcp.py79# Example usageCOMMENT
LOWcookbook/91_tools/mcp/gibsonai.py85# Example usageSTRING
LOWcookbook/91_tools/mcp/github.py60# Example usageSTRING
LOWcookbook/91_tools/mcp/sequential_thinking.py57# Example usageSTRING
LOWcookbook/91_tools/mcp/mem0.py67# Example usageSTRING
LOWcookbook/91_tools/mcp/local_server/client.py34# Example usageCOMMENT
LOWlibs/agno_infra/scripts/generate_requirements.sh5# Usage:COMMENT
LOWlibs/agno/scripts/generate_requirements.sh5# Usage:COMMENT
Hallucination Indicators5 hits · 50 pts
SeverityFileLineSnippetContext
CRITICALlibs/agno/tests/unit/tools/test_google_drive.py105 drive_tools.service.files.return_value.export_media.assert_called_once()CODE
CRITICALlibs/agno/tests/unit/tools/models/test_morph.py109 mock_morph_tools._morph_client.chat.completions.create.assert_called_once_with(CODE
CRITICALlibs/agno/tests/unit/tools/models/test_morph.py137 mock_morph_tools._morph_client.chat.completions.create.assert_called_once_with(CODE
CRITICALlibs/agno/tests/unit/models/google/test_gemini.py731 mock_get_client.return_value.aio.file_search_stores.download_media.assert_awaited_once_with(media_id=media_id)CODE
CRITICALlibs/agno/agno/models/azure/ai_foundry.py30 from azure.core.exceptions import HttpResponseErrorCODE
TODO Padding22 hits · 38 pts
SeverityFileLineSnippetContext
LOW…sts/integration/db/surrealdb/test_surrealdb_session.py49# TODO: add tests for get_sessions using filters and sortingCOMMENT
LOWlibs/agno/agno/agent/_storage.py766 # TODO: implement reasoning model deserializationCOMMENT
LOWlibs/agno/agno/agent/_storage.py775 # TODO: implement parser model deserializationCOMMENT
LOWlibs/agno/agno/agent/_storage.py784 # TODO: implement output model deserializationCOMMENT
LOWlibs/agno/agno/agent/_storage.py826 # TODO: implement memory manager deserializationCOMMENT
LOWlibs/agno/agno/agent/_storage.py832 # TODO: implement session summary manager deserializationCOMMENT
LOWlibs/agno/agno/agent/_storage.py838 # TODO: implement culture manager deserializationCOMMENT
LOWlibs/agno/agno/agent/_storage.py479 # TODO: implement session summary manager serializationCOMMENT
LOWlibs/agno/agno/agent/_storage.py490 # TODO: implement agentic memory serializationCOMMENT
LOWlibs/agno/agno/agent/_storage.py726 # TODO: implement compression manager serializationCOMMENT
LOWlibs/agno/agno/agent/_storage.py856 # TODO: implement compression manager deserializationCOMMENT
LOWlibs/agno/agno/models/aws/bedrock.py435 # TODO: Add caching: https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference-call.htmlCOMMENT
LOWlibs/agno/agno/team/_storage.py785 # TODO: implement reasoning model deserializationCOMMENT
LOWlibs/agno/agno/team/_storage.py794 # TODO: implement parser model deserializationCOMMENT
LOWlibs/agno/agno/team/_storage.py803 # TODO: implement output model deserializationCOMMENT
LOWlibs/agno/agno/team/_storage.py603 # TODO: implement memory manager serializationCOMMENT
LOWlibs/agno/agno/team/_storage.py616 # TODO: implement session summary manager serializationCOMMENT
LOWlibs/agno/agno/team/_storage.py656 # TODO: implement compression manager serializationCOMMENT
LOWlibs/agno/agno/team/_storage.py663 # TODO: implement reasoning model serializationCOMMENT
LOWlibs/agno/agno/team/_storage.py845 # TODO: implement memory manager deserializationCOMMENT
LOWlibs/agno/agno/team/_storage.py851 # TODO: implement session summary manager deserializationCOMMENT
LOWlibs/agno/agno/team/_storage.py869 # TODO: implement compression manager deserializationCOMMENT
AI Response Leakage3 hits · 26 pts
SeverityFileLineSnippetContext
HIGH…05_agent_os/middleware/agent_os_with_jwt_middleware.py70 # In this example, we want this middleware to demonstrate parameter injection, not token validation.COMMENT
HIGHcookbook/91_tools/mcp/sse_transport/client.py38# In this example we connect to both our example server (SSE transport), and a different server (stdio transport).COMMENT
HIGH…kbook/91_tools/mcp/streamable_http_transport/client.py39# In this example we connect to both our example server (Streamable HTTP transport), and a different server (stdio transCOMMENT
Dead Code14 hits · 22 pts
SeverityFileLineSnippetContext
MEDIUMlibs/agno/tests/unit/test_fallback.py450CODE
MEDIUMlibs/agno/tests/unit/test_fallback.py475CODE
MEDIUMlibs/agno/tests/unit/test_fallback.py675CODE
MEDIUMlibs/agno/tests/unit/agent/test_unified_continue.py2088CODE
MEDIUM…o/tests/unit/models/test_retry_error_classification.py321CODE
MEDIUM…o/tests/unit/models/test_retry_error_classification.py338CODE
MEDIUM…o/tests/unit/models/test_retry_error_classification.py357CODE
MEDIUM…o/tests/unit/models/test_retry_error_classification.py376CODE
MEDIUM…o/tests/unit/models/test_retry_error_classification.py508CODE
MEDIUM…o/tests/unit/models/test_retry_error_classification.py534CODE
MEDIUM…ests/unit/team/test_acontinue_run_background_stream.py154CODE
MEDIUMlibs/agno/tests/unit/os/interfaces/test_agui_router.py34CODE
MEDIUM…s/agno/tests/integration/os/test_agui_authorization.py54CODE
MEDIUMlibs/agno/agno/agents/base.py768CODE
Overly Generic Function Names14 hits · 14 pts
SeverityFileLineSnippetContext
LOWcookbook/90_models/clients/http_client_caching.py47 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOWcookbook/90_models/clients/http_client_caching.py79 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOWcookbook/90_models/clients/http_client_caching.py117 def handle_request(self, request: httpx.Request) -> httpx.Response:CODE
LOW…agent_os/human_in_the_loop/workflow/step_user_input.py97def process_data(step_input: StepInput) -> StepOutput:CODE
LOW…/08_human_in_the_loop/user_input/02_step_user_input.py94def process_data(step_input: StepInput) -> StepOutput:CODE
LOW…lows/08_human_in_the_loop/error/01_error_retry_skip.py35def process_data(step_input: StepInput) -> StepOutput:CODE
LOW…man_in_the_loop/error/02_error_retry_skip_streaming.py48def process_data(step_input: StepInput) -> StepOutput:CODE
LOWcookbook/91_tools/mcp/mem0.py60def process_data(data):STRING
LOWlibs/agno/tests/unit/workflow/test_hitl.py38def process_data(step_input: StepInput) -> StepOutput:CODE
LOWlibs/agno/tests/unit/os/test_per_request_isolation.py478 def my_function(step_input: StepInput) -> StepOutput:CODE
LOWlibs/agno/tests/integration/workflows/test_hitl.py32def process_data(step_input: StepInput) -> StepOutput:CODE
LOW…ests/integration/models/anthropic/test_format_tools.py131 def process_data(data: Union[str, Dict[str, Any]]):CODE
LOWlibs/agno/agno/tools/decorator.py116 def my_function():STRING
LOWlibs/agno/agno/team/_task_tools.py403 def execute_task(task_id: str, member_id: str) -> Iterator[Union[RunOutputEvent, TeamRunOutputEvent, str]]:CODE
Slop Phrases2 hits · 5 pts
SeverityFileLineSnippetContext
MEDIUM…k/02_agents/03_context_management/few_shot_learning.py31 f you don't receive the email within 5 minutes, please check your spam folder. Let me know if you need any assistancCODE
MEDIUMlibs/agno_infra/agno/aws/resource/acm/certificate.py49 # if users can reach your site by using either name. The maximum number of domain names that you can add to anCOMMENT