├── .editorconfig ├── .github ├── ISSUE_TEMPLATE │ ├── bug-report.yml │ ├── config.yml │ └── feature-request.yml ├── pull_request_template.md └── workflows │ ├── performance.yml │ ├── pr-lint.yml │ ├── release.yml │ ├── stale-issues.yml │ ├── test.yml │ └── test_on_release.yml ├── .gitignore ├── CODEOWNERS ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── cookbook ├── .gitignore ├── README.md ├── __init__.py ├── agent_concepts │ ├── .gitignore │ ├── README.md │ ├── __init__.py │ ├── agentic_search │ │ ├── __init__.py │ │ ├── agentic_rag.py │ │ └── agentic_rag_with_reasoning.py │ ├── async │ │ ├── __init__.py │ │ ├── basic.py │ │ ├── basic_stream.py │ │ ├── data_analyst.py │ │ ├── delay.py │ │ ├── gather_agents.py │ │ ├── reasoning.py │ │ ├── structured_output.py │ │ └── tool_use.py │ ├── context │ │ ├── __init__.py │ │ ├── add_context.py │ │ ├── agent_context.py │ │ └── context_in_instructions.py │ ├── knowledge │ │ ├── README.md │ │ ├── __init__.py │ │ ├── arxiv_kb.py │ │ ├── arxiv_kb_async.py │ │ ├── chunking │ │ │ ├── __init__.py │ │ │ ├── agentic_chunking.py │ │ │ ├── default.py │ │ │ ├── document_chunking.py │ │ │ ├── fixed_size_chunking.py │ │ │ ├── recursive_chunking.py │ │ │ └── semantic_chunking.py │ │ ├── combined_kb.py │ │ ├── combined_kb_async.py │ │ ├── csv_kb.py │ │ ├── csv_kb_async.py │ │ ├── csv_url_kb.py │ │ ├── csv_url_kb_async.py │ │ ├── custom │ │ │ ├── __init__.py │ │ │ ├── async_retriever.py │ │ │ └── retriever.py │ │ ├── doc_kb.py │ │ ├── docx_kb.py │ │ ├── docx_kb_async.py │ │ ├── embedders │ │ │ ├── __init__.py │ │ │ ├── aws_bedrock_embedder.py │ │ │ ├── azure_embedder.py │ │ │ ├── cohere_embedder.py │ │ │ ├── fireworks_embedder.py │ │ │ ├── gemini_embedder.py │ │ │ ├── huggingface_embedder.py │ │ │ ├── mistral_embedder.py │ │ │ ├── ollama_embedder.py │ │ │ ├── openai_embedder.py │ │ │ ├── qdrant_fastembed.py │ │ │ ├── sentence_transformer_embedder.py │ │ │ ├── together_embedder.py │ │ │ └── voyageai_embedder.py │ │ ├── filters │ │ │ ├── __init__.py │ │ │ ├── docx │ │ │ │ ├── agentic_filtering.py │ │ │ │ ├── async_filtering.py │ │ │ │ ├── filtering.py │ │ │ │ └── filtering_on_load.py │ │ │ ├── filtering_chroma_db.py │ │ │ ├── filtering_lance_db.py │ │ │ ├── filtering_milvus.py │ │ │ ├── filtering_mongo_db.py │ │ │ ├── filtering_pgvector.py │ │ │ ├── filtering_pinecone.py │ │ │ ├── filtering_qdrant_db.py │ │ │ ├── filtering_traditional_RAG.py │ │ │ ├── filtering_weaviate.py │ │ │ ├── json │ │ │ │ ├── agentic_filtering.py │ │ │ │ ├── async_filtering.py │ │ │ │ ├── filtering.py │ │ │ │ └── filtering_on_load.py │ │ │ ├── pdf │ │ │ │ ├── agentic_filtering.py │ │ │ │ ├── async_filtering.py │ │ │ │ ├── filtering.py │ │ │ │ └── filtering_on_load.py │ │ │ ├── pdf_url │ │ │ │ ├── agentic_filtering.py │ │ │ │ ├── async_filtering.py │ │ │ │ ├── filtering.py │ │ │ │ └── filtering_on_load.py │ │ │ └── text │ │ │ │ ├── agentic_filtering.py │ │ │ │ ├── async_filtering.py │ │ │ │ ├── filtering.py │ │ │ │ └── filtering_on_load.py │ │ ├── firecrawl_kb.py │ │ ├── firecrawl_kb_async.py │ │ ├── json_kb.py │ │ ├── json_kb_async.py │ │ ├── langchain_kb.py │ │ ├── llamaindex_kb.py │ │ ├── markdown_kb.py │ │ ├── markdown_kb_async.py │ │ ├── pdf_kb.py │ │ ├── pdf_kb_async.py │ │ ├── pdf_url_kb.py │ │ ├── pdf_url_kb_async.py │ │ ├── readers │ │ │ ├── __init__.py │ │ │ ├── firecrawl_reader.py │ │ │ ├── json_reader.py │ │ │ ├── url_reader.py │ │ │ └── web_reader.py │ │ ├── s3_pdf_kb.py │ │ ├── s3_pdf_kb_async.py │ │ ├── s3_text_kb.py │ │ ├── s3_text_kb_async.py │ │ ├── search_type │ │ │ ├── __init__.py │ │ │ ├── hybrid_search.py │ │ │ ├── keyword_search.py │ │ │ └── vector_search.py │ │ ├── text_kb.py │ │ ├── text_kb_async.py │ │ ├── url_kb.py │ │ ├── url_kb_async.py │ │ ├── vector_dbs │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── cassandra_db │ │ │ │ ├── __init__.py │ │ │ │ ├── async_cassandra_db.py │ │ │ │ └── cassandra_db.py │ │ │ ├── chroma_db │ │ │ │ ├── __init__.py │ │ │ │ ├── async_chroma_db.py │ │ │ │ └── chroma_db.py │ │ │ ├── clickhouse_db │ │ │ │ ├── __init__.py │ │ │ │ ├── async_clickhouse.py │ │ │ │ └── clickhouse.py │ │ │ ├── couchbase_db │ │ │ │ ├── __init__.py │ │ │ │ ├── async_couchbase_db.py │ │ │ │ └── couchbase_db.py │ │ │ ├── lance_db │ │ │ │ ├── __init__.py │ │ │ │ ├── async_lance_db.py │ │ │ │ ├── lance_db.py │ │ │ │ └── lance_db_hybrid_search.py │ │ │ ├── milvus_db │ │ │ │ ├── __init__.py │ │ │ │ ├── async_milvus_db.py │ │ │ │ ├── milvus_db.py │ │ │ │ └── milvus_db_hybrid_search.py │ │ │ ├── mongo_db │ │ │ │ ├── __init__.py │ │ │ │ ├── async_mongo_db.py │ │ │ │ ├── cosmos_mongodb_vcore.py │ │ │ │ ├── mongo_db.py │ │ │ │ └── mongo_db_hybrid_search.py │ │ │ ├── pgvector_db │ │ │ │ ├── __init__.py │ │ │ │ ├── async_pg_vector.py │ │ │ │ ├── pg_vector.py │ │ │ │ └── pgvector_hybrid_search.py │ │ │ ├── pinecone_db │ │ │ │ ├── __init__.py │ │ │ │ ├── async_pinecone_db.py │ │ │ │ └── pinecone_db.py │ │ │ ├── qdrant_db │ │ │ │ ├── __init__.py │ │ │ │ ├── async_qdrant_db.py │ │ │ │ ├── qdrant_db.py │ │ │ │ └── qdrant_db_hybrid_search.py │ │ │ ├── singlestore.py │ │ │ ├── upstash_db.py │ │ │ └── weaviate_db │ │ │ │ ├── __init__.py │ │ │ │ ├── async_weaviate_db.py │ │ │ │ ├── weaviate_db.py │ │ │ │ └── weaviate_db_hybrid_search.py │ │ ├── website_kb.py │ │ ├── website_kb_async.py │ │ ├── wikipedia_kb.py │ │ ├── youtube_kb.py │ │ └── youtube_kb_async.py │ ├── memory │ │ ├── 00_builtin_memory.py │ │ ├── 01_standalone_memory.py │ │ ├── 02_persistent_memory.py │ │ ├── 03_memory_creation.py │ │ ├── 04_custom_memory_creation.py │ │ ├── 05_memory_search.py │ │ ├── 06_agent_with_memory.py │ │ ├── 07_agentic_memory.py │ │ ├── 08_agent_with_summaries.py │ │ ├── 09_agents_share_memory.py │ │ ├── 10_custom_memory.py │ │ ├── 11_multi_user_multi_session_chat.py │ │ ├── 12_multi_user_multi_session_chat_concurrent.py │ │ ├── 13_memory_references.py │ │ ├── 14_session_summary_references.py │ │ ├── 15_memory_demo.py │ │ ├── 16_custom_memory_instructions.py │ │ ├── 17_builtin_memory_with_session_summary.py │ │ ├── __init__.py │ │ ├── db │ │ │ ├── __init__.py │ │ │ ├── mongodb.py │ │ │ ├── postgres.py │ │ │ ├── redis_db.py │ │ │ └── sqlite.py │ │ ├── integrations │ │ │ ├── __init__.py │ │ │ ├── mem0_integration.py │ │ │ └── zep_integration.py │ │ ├── playground.py │ │ └── utils.py │ ├── memory_legacy │ │ ├── 01_builtin_memory.py │ │ ├── 02_persistent_memory.py │ │ ├── 03_memories_and_summaries.py │ │ ├── 04_persistent_memory_postgres.py │ │ ├── 05_memories_and_summaries_postgres.py │ │ ├── 06_memories_and_summaries_sqlite_async.py │ │ ├── 07_persistent_memory_mongodb.py │ │ ├── 08_mem0_memory.py │ │ ├── 09_using_other_models_for_memory.py │ │ └── __init__.py │ ├── multimodal │ │ ├── .gitignore │ │ ├── __init__.py │ │ ├── audio_input_output.py │ │ ├── audio_multi_turn.py │ │ ├── audio_sentiment_analysis.py │ │ ├── audio_streaming.py │ │ ├── audio_to_text.py │ │ ├── generate_image_with_intermediate_steps.py │ │ ├── generate_video_using_models_lab.py │ │ ├── generate_video_using_replicate.py │ │ ├── image_to_audio.py │ │ ├── image_to_image_agent.py │ │ ├── image_to_structured_output.py │ │ ├── image_to_text.py │ │ ├── video_caption_agent.py │ │ └── video_to_shorts.py │ ├── other │ │ ├── __init__.py │ │ ├── agent_extra_metrics.py │ │ ├── agent_metrics.py │ │ ├── datetime_instructions.py │ │ ├── image_input_high_fidelity.py │ │ ├── input_as_dict.py │ │ ├── input_as_list.py │ │ ├── input_as_message.py │ │ ├── input_as_messages_list.py │ │ ├── instructions.py │ │ ├── instructions_via_function.py │ │ ├── intermediate_steps.py │ │ ├── response_as_variable.py │ │ ├── scenario_testing.py │ │ ├── success_criteria.py │ │ └── tool_call_limit.py │ ├── rag │ │ ├── README.md │ │ ├── __init__.py │ │ ├── agentic_rag_agent_ui.py │ │ ├── agentic_rag_lancedb.py │ │ ├── agentic_rag_pgvector.py │ │ ├── agentic_rag_with_reranking.py │ │ ├── rag_with_lance_db_and_sqlite.py │ │ ├── traditional_rag_lancedb.py │ │ └── traditional_rag_pgvector.py │ ├── state │ │ ├── __init__.py │ │ ├── last_n_session_messages.py │ │ ├── session_state.py │ │ ├── session_state_storage.py │ │ ├── session_state_user_id.py │ │ ├── shopping_list.py │ │ └── state_in_prompt.py │ ├── tool_concepts │ │ ├── __init__.py │ │ ├── custom_tools │ │ │ ├── __init__.py │ │ │ ├── async_pre_and_post_hooks.py │ │ │ ├── async_tool_decorator.py │ │ │ ├── cache_tool_calls.py │ │ │ ├── complex_input_types.py │ │ │ ├── custom_tool_manipulate_session_state.py │ │ │ ├── demo_tool.py │ │ │ ├── human_in_the_loop.py │ │ │ ├── include_exclude_tools.py │ │ │ ├── pre_and_post_hooks.py │ │ │ ├── retry_tool_call.py │ │ │ ├── retry_tool_call_from_post_hook.py │ │ │ ├── stop_after_tool_call.py │ │ │ ├── stop_agent_exception.py │ │ │ ├── tool_decorator.py │ │ │ ├── tool_decorator_with_hook.py │ │ │ ├── tool_decorator_with_instructions.py │ │ │ ├── tool_hook.py │ │ │ ├── tool_hook_async.py │ │ │ ├── tool_hooks_nested.py │ │ │ └── tool_hooks_nested_async.py │ │ └── toolkits │ │ │ ├── __init__.py │ │ │ ├── cache_tool_calls.py │ │ │ ├── include_exclude_tools.py │ │ │ ├── stop_after_tool_call_tools.py │ │ │ ├── tool_hook.py │ │ │ └── tool_hook_async.py │ └── user_control_flows │ │ ├── __init__.py │ │ ├── agentic_user_input.py │ │ ├── confirmation_required.py │ │ ├── confirmation_required_async.py │ │ ├── confirmation_required_mixed_tools.py │ │ ├── confirmation_required_multiple_tools.py │ │ ├── confirmation_required_stream.py │ │ ├── confirmation_required_stream_async.py │ │ ├── confirmation_required_toolkit.py │ │ ├── confirmation_required_with_run_id.py │ │ ├── external_tool_execution.py │ │ ├── external_tool_execution_async.py │ │ ├── external_tool_execution_stream.py │ │ ├── external_tool_execution_stream_async.py │ │ ├── external_tool_execution_toolkit.py │ │ ├── user_input_required.py │ │ ├── user_input_required_all_fields.py │ │ ├── user_input_required_async.py │ │ ├── user_input_required_stream.py │ │ └── user_input_required_stream_async.py ├── agent_levels │ ├── __init__.py │ ├── level_1_agent.py │ ├── level_2_agent.py │ ├── level_3_agent.py │ ├── level_4_team.py │ └── level_5_workflow.py ├── agents_from_scratch │ ├── README.md │ ├── __init__.py │ ├── agent_with_knowledge.py │ ├── agent_with_storage.py │ ├── agent_with_tools.py │ ├── agno_assist.py │ ├── playground.py │ └── simple_agent.py ├── apps │ ├── __init__.py │ ├── fastapi │ │ ├── __init__.py │ │ ├── basic.py │ │ └── study_friend.py │ ├── playground │ │ ├── README.md │ │ ├── __init__.py │ │ ├── agno_assist.py │ │ ├── audio_conversation_agent.py │ │ ├── azure_openai_agents.py │ │ ├── basic.py │ │ ├── blog_to_podcast.py │ │ ├── coding_agent.py │ │ ├── demo.py │ │ ├── gemini_agents.py │ │ ├── grok_agents.py │ │ ├── groq_agents.py │ │ ├── mcp_demo.py │ │ ├── multimodal_agents.py │ │ ├── ollama_agents.py │ │ ├── reasoning_demo.py │ │ ├── teams_demo.py │ │ └── upload_files.py │ ├── slack │ │ ├── README.md │ │ ├── __init__.py │ │ ├── agent_with_user_memory.py │ │ ├── basic.py │ │ └── reasoning_agent.py │ └── whatsapp │ │ ├── __init__.py │ │ ├── agent_with_media.py │ │ ├── agent_with_user_memory.py │ │ ├── basic.py │ │ ├── image_generation_model.py │ │ ├── image_generation_tools.py │ │ ├── readme.md │ │ ├── reasoning_agent.py │ │ └── study_friend.py ├── demo │ ├── README.md │ ├── __init__.py │ ├── agents │ │ ├── .gitignore │ │ ├── __init__.py │ │ ├── agno_assist.py │ │ ├── basic.py │ │ ├── load_kb.py │ │ └── memory_agent.py │ ├── app_7777.py │ ├── app_8000.py │ ├── generate_requirements.sh │ ├── requirements.in │ ├── requirements.txt │ ├── sql │ │ ├── .gitignore │ │ ├── __init__.py │ │ ├── agents.py │ │ ├── knowledge │ │ │ ├── constructors_championship.json │ │ │ ├── drivers_championship.json │ │ │ ├── fastest_laps.json │ │ │ ├── race_results.json │ │ │ ├── race_wins.json │ │ │ └── sample_queries.sql │ │ ├── load_f1_data.py │ │ └── load_knowledge.py │ └── teams │ │ ├── __init__.py │ │ └── reasoning_finance_team.py ├── evals │ ├── README.md │ ├── __init__.py │ ├── accuracy │ │ ├── __init__.py │ │ ├── accuracy_9_11_bigger_or_9_99.py │ │ ├── accuracy_basic.py │ │ ├── accuracy_team.py │ │ ├── accuracy_with_given_answer.py │ │ └── accuracy_with_tools.py │ ├── performance │ │ ├── __init__.py │ │ ├── instantiation_agent.py │ │ ├── instantiation_agent_with_tool.py │ │ ├── instantiation_team.py │ │ ├── other │ │ │ ├── __init__.py │ │ │ ├── autogen_instantiation.py │ │ │ ├── crewai_instantiation.py │ │ │ ├── langgraph_instantiation.py │ │ │ ├── openai_agents_instantiation.py │ │ │ ├── pydantic_ai_instantiation.py │ │ │ └── smolagents_instantiation.py │ │ ├── response_with_memory_updates.py │ │ ├── response_with_storage.py │ │ └── simple_response.py │ └── reliability │ │ ├── __init__.py │ │ ├── multiple_tool_calls │ │ ├── __init__.py │ │ └── openai │ │ │ └── calculator.py │ │ ├── single_tool_calls │ │ ├── __init__.py │ │ ├── google │ │ │ └── calculator.py │ │ └── openai │ │ │ └── calculator.py │ │ └── team │ │ ├── __init__.py │ │ ├── google │ │ ├── __init__.py │ │ └── company_info.py │ │ └── openai │ │ ├── __init__.py │ │ └── company_info.py ├── examples │ ├── __init__.py │ ├── a2a │ │ ├── __init__.py │ │ └── basic_agent │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── __main__.py │ │ │ ├── basic_agent.py │ │ │ └── client.py │ ├── agents │ │ ├── __init__.py │ │ ├── agent_team.py │ │ ├── agent_with_instructions.py │ │ ├── agent_with_knowledge.py │ │ ├── agent_with_memory.py │ │ ├── agent_with_reasoning.py │ │ ├── agent_with_storage.py │ │ ├── agent_with_tools.py │ │ ├── agno_assist.py │ │ ├── agno_support_agent.py │ │ ├── airbnb_mcp.py │ │ ├── basic_agent.py │ │ ├── book_recommendation.py │ │ ├── deep_knowledge.py │ │ ├── finance_agent.py │ │ ├── finance_agent_with_memory.py │ │ ├── legal_consultant.py │ │ ├── media_trend_analysis_agent.py │ │ ├── meeting_summarizer_agent.py │ │ ├── movie_recommedation.py │ │ ├── readme_generator.py │ │ ├── reasoning_finance_agent.py │ │ ├── recipe_creator.py │ │ ├── recipe_rag_image.py │ │ ├── research_agent.py │ │ ├── research_agent_exa.py │ │ ├── shopping_partner.py │ │ ├── study_partner.py │ │ ├── thinking_finance_agent.py │ │ ├── translation_agent.py │ │ ├── web_extraction_agent.py │ │ └── youtube_agent.py │ ├── multi_agent_reasoning │ │ ├── README.md │ │ ├── generate_requirements.sh │ │ ├── playground.py │ │ ├── reasoning_finance_team.py │ │ ├── requirements.in │ │ └── requirements.txt │ ├── streamlit_apps │ │ ├── __init__.py │ │ ├── agentic_rag │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── agentic_rag.py │ │ │ ├── app.py │ │ │ ├── generate_requirements.sh │ │ │ ├── requirements.in │ │ │ ├── requirements.txt │ │ │ └── utils.py │ │ ├── answer_engine │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── agents.py │ │ │ ├── app.py │ │ │ ├── generate_requirements.sh │ │ │ ├── prompts.py │ │ │ ├── requirements.in │ │ │ ├── requirements.txt │ │ │ ├── test.py │ │ │ └── utils.py │ │ ├── chess_team │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── agents.py │ │ │ ├── app.py │ │ │ ├── generate_requirements.sh │ │ │ ├── requirements.in │ │ │ ├── requirements.txt │ │ │ └── utils.py │ │ ├── game_generator │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── app.py │ │ │ ├── game_generator.py │ │ │ └── requirements.txt │ │ ├── gemini-tutor │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── agents.py │ │ │ ├── app.py │ │ │ ├── generate_requirements.sh │ │ │ ├── prompts.py │ │ │ ├── requirements.in │ │ │ ├── requirements.txt │ │ │ └── utils.py │ │ ├── geobuddy │ │ │ ├── __init__.py │ │ │ ├── app.py │ │ │ ├── geography_buddy.py │ │ │ ├── readme.md │ │ │ └── requirements.txt │ │ ├── github_mcp_agent │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── agents.py │ │ │ ├── app.py │ │ │ ├── generate_requirements.sh │ │ │ ├── requirements.in │ │ │ └── requirements.txt │ │ ├── github_repo_analyzer │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── agents.py │ │ │ ├── app.py │ │ │ ├── generate_requirements.sh │ │ │ ├── requirements.in │ │ │ ├── requirements.txt │ │ │ └── utils.py │ │ ├── image_generation │ │ │ ├── README.md │ │ │ ├── agents.py │ │ │ ├── app.py │ │ │ ├── generate_requirements.sh │ │ │ ├── requirements.in │ │ │ ├── requirements.txt │ │ │ └── utils.py │ │ ├── llama_tutor │ │ │ ├── .env.example │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── agents.py │ │ │ ├── app.py │ │ │ ├── prompts.py │ │ │ ├── requirements.txt │ │ │ └── utils.py │ │ ├── mcp_agent │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── agents.py │ │ │ ├── app.py │ │ │ ├── generate_requirements.sh │ │ │ ├── mcp_client.py │ │ │ ├── requirements.in │ │ │ ├── requirements.txt │ │ │ └── utils.py │ │ ├── medical_imaging │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── app.py │ │ │ ├── medical_agent.py │ │ │ └── requirements.txt │ │ ├── paperpal │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── app.py │ │ │ ├── requirements.txt │ │ │ └── technical_writer.py │ │ ├── parallel_world_builder │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── agents.py │ │ │ ├── app.py │ │ │ ├── requirements.txt │ │ │ └── utils.py │ │ ├── podcast_generator │ │ │ ├── __init__.py │ │ │ ├── agents.py │ │ │ ├── app.py │ │ │ ├── generate_requirements.sh │ │ │ ├── readme.md │ │ │ ├── requirements.in │ │ │ └── requirements.txt │ │ ├── sql_agent │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── agents.py │ │ │ ├── app.py │ │ │ ├── generate_requirements.sh │ │ │ ├── knowledge │ │ │ │ ├── constructors_championship.json │ │ │ │ ├── drivers_championship.json │ │ │ │ ├── fastest_laps.json │ │ │ │ ├── race_results.json │ │ │ │ ├── race_wins.json │ │ │ │ └── sample_queries.sql │ │ │ ├── load_f1_data.py │ │ │ ├── load_knowledge.py │ │ │ ├── playground.py │ │ │ ├── requirements.in │ │ │ ├── requirements.txt │ │ │ └── utils.py │ │ ├── tic_tac_toe │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── agents.py │ │ │ ├── app.py │ │ │ ├── generate_requirements.sh │ │ │ ├── requirements.in │ │ │ ├── requirements.txt │ │ │ └── utils.py │ │ ├── universal_agent_interface │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── agents.py │ │ │ ├── app.py │ │ │ ├── css.py │ │ │ ├── generate_requirements.sh │ │ │ ├── load_knowledge.py │ │ │ ├── requirements.in │ │ │ ├── requirements.txt │ │ │ ├── tools.py │ │ │ ├── uagi.py │ │ │ └── utils.py │ │ └── vision_ai │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── agents.py │ │ │ ├── app.py │ │ │ ├── generate_requirements.sh │ │ │ ├── prompt.py │ │ │ ├── requirements.in │ │ │ ├── requirements.txt │ │ │ └── utils.py │ └── teams │ │ ├── __init__.py │ │ ├── collaborate │ │ ├── __init__.py │ │ └── collaboration_team.py │ │ ├── coordinate │ │ ├── __init__.py │ │ ├── autonomous_startup_team.py │ │ ├── content_team.py │ │ ├── hackernews_team.py │ │ ├── news_agency_team.py │ │ ├── reasoning_team.py │ │ ├── skyplanner_mcp_team.py │ │ ├── tic_tac_toe_team.py │ │ ├── travel_planner_mcp_team.py │ │ └── werewolf_team.py │ │ └── route │ │ ├── ThaiRecipes.pdf │ │ ├── __init__.py │ │ ├── ai_customer_support_team.py │ │ ├── multi_language_team.py │ │ ├── multi_purpose_team.py │ │ ├── reasoning_team.py │ │ ├── sample.jpg │ │ └── simple.py ├── getting_started │ ├── .gitignore │ ├── 01_basic_agent.py │ ├── 02_agent_with_tools.py │ ├── 03_agent_with_knowledge.py │ ├── 04_agent_with_storage.py │ ├── 05_agent_team.py │ ├── 06_structured_output.py │ ├── 07_write_your_own_tool.py │ ├── 08_research_agent_exa.py │ ├── 09_research_workflow.py │ ├── 10_image_agent.py │ ├── 11_generate_image.py │ ├── 12_generate_video.py │ ├── 13_audio_input_output.py │ ├── 14_agent_state.py │ ├── 15_agent_context.py │ ├── 16_agent_session.py │ ├── 17_user_memories_and_summaries.py │ ├── 18_retry_function_call.py │ ├── 19_human_in_the_loop.py │ ├── README.md │ ├── __init__.py │ └── readme_examples.py ├── hackathon │ ├── README.md │ ├── data │ │ ├── sample_audio.wav │ │ └── sample_image.jpg │ └── workshop │ │ ├── __init__.py │ │ ├── agno_assist.py │ │ ├── agno_assist_voice.py │ │ └── playground.py ├── models │ ├── .gitignore │ ├── __init__.py │ ├── aimlapi │ │ ├── README.md │ │ ├── __init__.py │ │ ├── async_basic.py │ │ ├── async_basic_stream.py │ │ ├── async_tool_use.py │ │ ├── basic.py │ │ ├── basic_stream.py │ │ ├── image_agent.py │ │ ├── image_agent_bytes.py │ │ ├── image_agent_with_memory.py │ │ ├── structured_output.py │ │ └── tool_use.py │ ├── anthropic │ │ ├── README.md │ │ ├── __init__.py │ │ ├── async_basic.py │ │ ├── async_basic_stream.py │ │ ├── async_tool_use.py │ │ ├── basic.py │ │ ├── basic_stream.py │ │ ├── code_execution.py │ │ ├── image_input_bytes.py │ │ ├── image_input_file_upload.py │ │ ├── image_input_url.py │ │ ├── knowledge.py │ │ ├── mcp_connector.py │ │ ├── memory.py │ │ ├── pdf_input_bytes.py │ │ ├── pdf_input_file_upload.py │ │ ├── pdf_input_local.py │ │ ├── pdf_input_url.py │ │ ├── prompt_caching.py │ │ ├── prompt_caching_extended.py │ │ ├── storage.py │ │ ├── structured_output.py │ │ ├── thinking.py │ │ ├── thinking_stream.py │ │ ├── tool_use.py │ │ ├── tool_use_stream.py │ │ └── web_search.py │ ├── aws │ │ ├── __init__.py │ │ ├── bedrock │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── basic.py │ │ │ ├── basic_stream.py │ │ │ ├── image_agent_bytes.py │ │ │ ├── structured_output.py │ │ │ ├── tool_use.py │ │ │ └── tool_use_stream.py │ │ └── claude │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── async_basic.py │ │ │ ├── async_basic_stream.py │ │ │ ├── async_tool_use.py │ │ │ ├── basic.py │ │ │ ├── basic_stream.py │ │ │ ├── image_agent.py │ │ │ ├── knowledge.py │ │ │ ├── storage.py │ │ │ ├── structured_output.py │ │ │ └── tool_use.py │ ├── azure │ │ ├── __init__.py │ │ ├── ai_foundry │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── async_basic.py │ │ │ ├── async_basic_stream.py │ │ │ ├── async_tool_use.py │ │ │ ├── basic.py │ │ │ ├── basic_stream.py │ │ │ ├── demo_cohere.py │ │ │ ├── demo_mistral.py │ │ │ ├── image_agent.py │ │ │ ├── image_agent_bytes.py │ │ │ ├── knowledge.py │ │ │ ├── storage.py │ │ │ ├── structured_output.py │ │ │ └── tool_use.py │ │ └── openai │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── async_basic.py │ │ │ ├── async_basic_stream.py │ │ │ ├── basic.py │ │ │ ├── basic_stream.py │ │ │ ├── knowledge.py │ │ │ ├── storage.py │ │ │ ├── structured_output.py │ │ │ └── tool_use.py │ ├── cerebras │ │ ├── __init__.py │ │ ├── async_basic.py │ │ ├── async_basic_stream.py │ │ ├── async_tool_use.py │ │ ├── async_tool_use_stream.py │ │ ├── basic.py │ │ ├── basic_stream.py │ │ ├── knowledge.py │ │ ├── storage.py │ │ ├── structured_output.py │ │ ├── tool_use.py │ │ └── tool_use_stream.py │ ├── cerebras_openai │ │ ├── __init__.py │ │ ├── async_basic.py │ │ ├── async_basic_stream.py │ │ ├── async_tool_use.py │ │ ├── async_tool_use_stream.py │ │ ├── basic.py │ │ ├── basic_stream.py │ │ ├── knowledge.py │ │ ├── storage.py │ │ ├── structured_output.py │ │ ├── tool_use.py │ │ └── tool_use_stream.py │ ├── cohere │ │ ├── README.md │ │ ├── __init__.py │ │ ├── async_basic.py │ │ ├── async_basic_stream.py │ │ ├── async_structured_output.py │ │ ├── async_tool_use.py │ │ ├── basic.py │ │ ├── basic_stream.py │ │ ├── image_agent.py │ │ ├── image_agent_bytes.py │ │ ├── image_agent_local_file.py │ │ ├── knowledge.py │ │ ├── memory.py │ │ ├── storage.py │ │ ├── structured_output.py │ │ └── tool_use.py │ ├── deepinfra │ │ ├── README.md │ │ ├── __init__.py │ │ ├── async_basic.py │ │ ├── async_basic_stream.py │ │ ├── async_tool_use.py │ │ ├── basic.py │ │ ├── basic_stream.py │ │ ├── json_output.py │ │ └── tool_use.py │ ├── deepseek │ │ ├── README.md │ │ ├── __init__.py │ │ ├── async_basic.py │ │ ├── async_basic_streaming.py │ │ ├── async_tool_use.py │ │ ├── basic.py │ │ ├── basic_stream.py │ │ ├── structured_output.py │ │ └── tool_use.py │ ├── fireworks │ │ ├── README.md │ │ ├── __init__.py │ │ ├── async_basic.py │ │ ├── async_basic_stream.py │ │ ├── async_tool_use.py │ │ ├── basic.py │ │ ├── basic_stream.py │ │ ├── structured_output.py │ │ └── tool_use.py │ ├── google │ │ ├── __init__.py │ │ └── gemini │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── async_basic.py │ │ │ ├── async_basic_stream.py │ │ │ ├── async_image_editing.py │ │ │ ├── async_image_generation.py │ │ │ ├── async_image_generation_stream.py │ │ │ ├── async_tool_use.py │ │ │ ├── audio_input_bytes_content.py │ │ │ ├── audio_input_file_upload.py │ │ │ ├── audio_input_local_file_upload.py │ │ │ ├── basic.py │ │ │ ├── basic_stream.py │ │ │ ├── file_upload_with_cache.py │ │ │ ├── flash_thinking_agent.py │ │ │ ├── grounding.py │ │ │ ├── image_editing.py │ │ │ ├── image_generation.py │ │ │ ├── image_generation_stream.py │ │ │ ├── image_input.py │ │ │ ├── image_input_file_upload.py │ │ │ ├── imagen_tool.py │ │ │ ├── imagen_tool_advanced.py │ │ │ ├── knowledge.py │ │ │ ├── pdf_input_file_upload.py │ │ │ ├── pdf_input_local.py │ │ │ ├── pdf_input_url.py │ │ │ ├── search.py │ │ │ ├── storage.py │ │ │ ├── storage_and_memory.py │ │ │ ├── structured_output.py │ │ │ ├── tool_use.py │ │ │ ├── tool_use_stream.py │ │ │ ├── vertexai.py │ │ │ ├── video_input_bytes_content.py │ │ │ ├── video_input_file_upload.py │ │ │ ├── video_input_local_file_upload.py │ │ │ └── video_input_youtube.py │ ├── groq │ │ ├── README.md │ │ ├── __init__.py │ │ ├── agent_team.py │ │ ├── async_basic.py │ │ ├── async_basic_stream.py │ │ ├── async_tool_use.py │ │ ├── basic.py │ │ ├── basic_stream.py │ │ ├── deep_knowledge.py │ │ ├── image_agent.py │ │ ├── knowledge.py │ │ ├── metrics.py │ │ ├── reasoning │ │ │ ├── .gitignore │ │ │ ├── __init__.py │ │ │ ├── basic.py │ │ │ ├── basic_stream.py │ │ │ ├── demo_deepseek_qwen.py │ │ │ ├── demo_qwen_2_5_32B.py │ │ │ └── finance_agent.py │ │ ├── reasoning_agent.py │ │ ├── research_agent_exa.py │ │ ├── storage.py │ │ ├── structured_output.py │ │ ├── tool_use.py │ │ ├── transcription_agent.py │ │ └── translation_agent.py │ ├── huggingface │ │ ├── README.md │ │ ├── __init__.py │ │ ├── async_basic.py │ │ ├── async_basic_stream.py │ │ ├── basic.py │ │ ├── basic_stream.py │ │ ├── llama_essay_writer.py │ │ └── tool_use.py │ ├── ibm │ │ ├── __init__.py │ │ └── watsonx │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── async_basic.py │ │ │ ├── async_basic_stream.py │ │ │ ├── async_tool_use.py │ │ │ ├── basic.py │ │ │ ├── basic_stream.py │ │ │ ├── image_agent_bytes.py │ │ │ ├── knowledge.py │ │ │ ├── storage.py │ │ │ ├── structured_output.py │ │ │ └── tool_use.py │ ├── litellm │ │ ├── README.md │ │ ├── __init__.py │ │ ├── async_basic.py │ │ ├── async_basic_stream.py │ │ ├── async_tool_use.py │ │ ├── basic_gpt.py │ │ ├── basic_hf.py │ │ ├── basic_stream.py │ │ ├── knowledge.py │ │ ├── memory.py │ │ ├── storage.py │ │ ├── structured_output.py │ │ ├── tool_use.py │ │ └── tool_use_stream.py │ ├── litellm_openai │ │ ├── README.md │ │ ├── __init__.py │ │ ├── basic.py │ │ ├── basic_stream.py │ │ └── tool_use.py │ ├── lmstudio │ │ ├── README.md │ │ ├── __init__.py │ │ ├── basic.py │ │ ├── basic_stream.py │ │ ├── image_agent.py │ │ ├── knowledge.py │ │ ├── memory.py │ │ ├── storage.py │ │ ├── structured_output.py │ │ ├── tool_use.py │ │ └── tool_use_stream.py │ ├── meta │ │ ├── README.md │ │ ├── __init__.py │ │ ├── llama │ │ │ ├── __init__.py │ │ │ ├── async_basic.py │ │ │ ├── async_basic_stream.py │ │ │ ├── async_knowledge.py │ │ │ ├── async_tool_use.py │ │ │ ├── async_tool_use_stream.py │ │ │ ├── basic.py │ │ │ ├── basic_stream.py │ │ │ ├── image_input_bytes.py │ │ │ ├── image_input_file.py │ │ │ ├── knowledge.py │ │ │ ├── memory.py │ │ │ ├── metrics.py │ │ │ ├── storage.py │ │ │ ├── structured_output.py │ │ │ ├── tool_use.py │ │ │ └── tool_use_stream.py │ │ └── llama_openai │ │ │ ├── __init__.py │ │ │ ├── async_basic.py │ │ │ ├── async_basic_stream.py │ │ │ ├── async_tool_use.py │ │ │ ├── async_tool_use_stream.py │ │ │ ├── basic.py │ │ │ ├── basic_stream.py │ │ │ ├── image_input_bytes.py │ │ │ ├── image_input_file.py │ │ │ ├── knowledge.py │ │ │ ├── memory.py │ │ │ ├── metrics.py │ │ │ ├── storage.py │ │ │ ├── structured_output.py │ │ │ ├── tool_use.py │ │ │ └── tool_use_stream.py │ ├── mistral │ │ ├── README.md │ │ ├── __init__.py │ │ ├── async_basic.py │ │ ├── async_basic_stream.py │ │ ├── async_structured_output.py │ │ ├── async_tool_use.py │ │ ├── basic.py │ │ ├── basic_stream.py │ │ ├── image_bytes_input_agent.py │ │ ├── image_compare_agent.py │ │ ├── image_file_input_agent.py │ │ ├── image_ocr_with_structured_output.py │ │ ├── image_transcribe_document_agent.py │ │ ├── memory.py │ │ ├── mistral_small.py │ │ ├── structured_output.py │ │ ├── structured_output_with_tool_use.py │ │ └── tool_use.py │ ├── nebius │ │ ├── __init__.py │ │ ├── async_basic.py │ │ ├── async_basic_stream.py │ │ ├── async_tool_use.py │ │ ├── async_tool_use_stream.py │ │ ├── basic.py │ │ ├── basic_stream.py │ │ ├── knowledge.py │ │ ├── storage.py │ │ ├── structured_output.py │ │ ├── tool_use.py │ │ └── tool_use_stream.py │ ├── nvidia │ │ ├── README.md │ │ ├── __init__.py │ │ ├── async_basic.py │ │ ├── async_basic_stream.py │ │ ├── async_tool_use.py │ │ ├── basic.py │ │ ├── basic_stream.py │ │ └── tool_use.py │ ├── ollama │ │ ├── README.md │ │ ├── __init__.py │ │ ├── async_basic.py │ │ ├── async_basic_stream.py │ │ ├── basic.py │ │ ├── basic_stream.py │ │ ├── demo_deepseek_r1.py │ │ ├── demo_gemma.py │ │ ├── demo_phi4.py │ │ ├── demo_qwen.py │ │ ├── image_agent.py │ │ ├── knowledge.py │ │ ├── memory.py │ │ ├── set_client.py │ │ ├── set_temperature.py │ │ ├── storage.py │ │ ├── structured_output.py │ │ ├── super-agents.png │ │ ├── tool_use.py │ │ └── tool_use_stream.py │ ├── ollama_tools │ │ ├── README.md │ │ ├── __init__.py │ │ ├── async_basic.py │ │ ├── async_basic_stream.py │ │ ├── async_tool_use_stream.py │ │ ├── basic.py │ │ ├── basic_stream.py │ │ ├── knowledge.py │ │ ├── storage.py │ │ ├── structured_output.py │ │ ├── tool_use.py │ │ └── tool_use_stream.py │ ├── openai │ │ ├── __init__.py │ │ ├── chat │ │ │ ├── README.md │ │ │ ├── __init__.py │ │ │ ├── async_basic.py │ │ │ ├── async_basic_stream.py │ │ │ ├── async_tool_use.py │ │ │ ├── audio_input_agent.py │ │ │ ├── audio_input_and_output_multi_turn.py │ │ │ ├── audio_input_local_file_upload.py │ │ │ ├── audio_output_agent.py │ │ │ ├── audio_output_stream.py │ │ │ ├── basic.py │ │ │ ├── basic_stream.py │ │ │ ├── custom_role_map.py │ │ │ ├── generate_images.py │ │ │ ├── image_agent.py │ │ │ ├── image_agent_bytes.py │ │ │ ├── image_agent_with_memory.py │ │ │ ├── knowledge.py │ │ │ ├── memory.py │ │ │ ├── metrics.py │ │ │ ├── pdf_input_file_upload.py │ │ │ ├── pdf_input_local.py │ │ │ ├── pdf_input_url.py │ │ │ ├── storage.py │ │ │ ├── structured_output.py │ │ │ ├── text_to_speech_agent.py │ │ │ ├── tool_use.py │ │ │ └── tool_use_stream.py │ │ └── responses │ │ │ ├── __init__.py │ │ │ ├── async_basic.py │ │ │ ├── async_basic_stream.py │ │ │ ├── async_tool_use.py │ │ │ ├── basic.py │ │ │ ├── basic_stream.py │ │ │ ├── image_agent.py │ │ │ ├── image_agent_bytes.py │ │ │ ├── image_agent_with_memory.py │ │ │ ├── image_generation_agent.py │ │ │ ├── knowledge.py │ │ │ ├── memory.py │ │ │ ├── pdf_input_local.py │ │ │ ├── pdf_input_url.py │ │ │ ├── reasoning_o3_mini.py │ │ │ ├── storage.py │ │ │ ├── structured_output.py │ │ │ ├── tool_use.py │ │ │ ├── tool_use_o3.py │ │ │ ├── tool_use_stream.py │ │ │ └── websearch_builtin_tool.py │ ├── openrouter │ │ ├── README.md │ │ ├── __init__.py │ │ ├── async_basic.py │ │ ├── async_basic_stream.py │ │ ├── async_tool_use.py │ │ ├── basic.py │ │ ├── basic_stream.py │ │ ├── structured_output.py │ │ └── tool_use.py │ ├── perplexity │ │ ├── README.md │ │ ├── __init__.py │ │ ├── async_basic.py │ │ ├── async_basic_stream.py │ │ ├── basic.py │ │ ├── basic_stream.py │ │ ├── knowledge.py │ │ ├── memory.py │ │ ├── structured_output.py │ │ └── web_search.py │ ├── sambanova │ │ ├── README.md │ │ ├── __init__.py │ │ ├── async_basic.py │ │ ├── async_basic_stream.py │ │ ├── basic.py │ │ └── basic_stream.py │ ├── together │ │ ├── README.md │ │ ├── __init__.py │ │ ├── async_basic.py │ │ ├── async_basic_stream.py │ │ ├── async_tool_use.py │ │ ├── basic.py │ │ ├── basic_stream.py │ │ ├── image_agent.py │ │ ├── image_agent_bytes.py │ │ ├── image_agent_with_memory.py │ │ ├── structured_output.py │ │ └── tool_use.py │ ├── vercel │ │ ├── README.md │ │ ├── __init__.py │ │ ├── async_basic.py │ │ ├── async_basic_stream.py │ │ ├── async_tool_use.py │ │ ├── basic.py │ │ ├── basic_stream.py │ │ ├── image_agent.py │ │ ├── knowledge.py │ │ └── tool_use.py │ └── xai │ │ ├── README.md │ │ ├── __init__.py │ │ ├── async_basic.py │ │ ├── async_basic_stream.py │ │ ├── async_tool_use.py │ │ ├── basic.py │ │ ├── basic_stream.py │ │ ├── finance_agent.py │ │ ├── image_agent.py │ │ ├── image_agent_bytes.py │ │ ├── image_agent_with_memory.py │ │ ├── reasoning_agent.py │ │ ├── structured_output.py │ │ └── tool_use.py ├── observability │ ├── __init__.py │ ├── arize_phoenix_via_openinference.py │ ├── arize_phoenix_via_openinference_local.py │ ├── langfuse_via_openinference.py │ ├── langfuse_via_openlit.py │ ├── langsmith_via_openinference.py │ ├── langtrace_op.py │ ├── teams │ │ ├── langfuse_via_openinference_async_team.py │ │ └── langfuse_via_openinference_team.py │ └── weave_op.py ├── reasoning │ ├── README.md │ ├── __init__.py │ ├── agents │ │ ├── __init__.py │ │ ├── analyse_treaty_of_versailles.py │ │ ├── capture_reasoning_content_default_COT.py │ │ ├── cerebras_llama_default_COT.py │ │ ├── default_chain_of_thought.py │ │ ├── fibonacci.py │ │ ├── finance_agent.py │ │ ├── ibm_watsonx_default_COT.py │ │ ├── is_9_11_bigger_than_9_9.py │ │ ├── life_in_500000_years.py │ │ ├── logical_puzzle.py │ │ ├── mathematical_proof.py │ │ ├── mistral_reasoning_cot.py │ │ ├── plan_itenerary.py │ │ ├── python_101_curriculum.py │ │ ├── scientific_research.py │ │ ├── ship_of_theseus.py │ │ ├── strawberry.py │ │ └── trolley_problem.py │ ├── models │ │ ├── __init__.py │ │ ├── azure_ai_foundry │ │ │ ├── __init__.py │ │ │ └── reasoning_model_deepseek.py │ │ ├── azure_openai │ │ │ ├── __init__.py │ │ │ ├── o1.py │ │ │ ├── o3_mini_with_tools.py │ │ │ ├── o4_mini.py │ │ │ └── reasoning_model_gpt_4_1.py │ │ ├── deepseek │ │ │ ├── 9_11_or_9_9.py │ │ │ ├── __init__.py │ │ │ ├── analyse_treaty_of_versailles.py │ │ │ ├── ethical_dilemma.py │ │ │ ├── fibonacci.py │ │ │ ├── finance_agent.py │ │ │ ├── life_in_500000_years.py │ │ │ ├── logical_puzzle.py │ │ │ ├── mathematical_proof.py │ │ │ ├── plan_itenerary.py │ │ │ ├── python_101_curriculum.py │ │ │ ├── scientific_research.py │ │ │ ├── ship_of_theseus.py │ │ │ ├── strawberry.py │ │ │ └── trolley_problem.py │ │ ├── groq │ │ │ ├── 9_11_or_9_9.py │ │ │ ├── __init__.py │ │ │ └── deepseek_plus_claude.py │ │ ├── ollama │ │ │ ├── __init__.py │ │ │ └── reasoning_model_deepseek.py │ │ ├── openai │ │ │ ├── __init__.py │ │ │ ├── o1_pro.py │ │ │ ├── o3_mini.py │ │ │ ├── o3_mini_with_tools.py │ │ │ ├── o4_mini.py │ │ │ ├── reasoning_effort.py │ │ │ └── reasoning_model_gpt_4_1.py │ │ └── xai │ │ │ ├── __init__.py │ │ │ └── reasoning_effort.py │ ├── playground.py │ ├── teams │ │ ├── __init__.py │ │ ├── finance_team_chain_of_thought.py │ │ ├── knowledge_tool_team.py │ │ └── reasoning_finance_team.py │ └── tools │ │ ├── __init__.py │ │ ├── azure_openai_reasoning_tools.py │ │ ├── capture_reasoning_content_knowledge_tools.py │ │ ├── capture_reasoning_content_reasoning_tools.py │ │ ├── capture_reasoning_content_thinking_tools.py │ │ ├── cerebras_llama_reasoning_tools.py │ │ ├── claude_reasoning_tools.py │ │ ├── claude_thinking_tools.py │ │ ├── gemini_finance_agent.py │ │ ├── gemini_reasoning_tools.py │ │ ├── groq_llama_finance_agent.py │ │ ├── ibm_watsonx_reasoning_tools.py │ │ ├── knowledge_tools.py │ │ ├── llama_reasoning_tools.py │ │ ├── ollama_reasoning_tools.py │ │ ├── openai_reasoning_tools.py │ │ ├── reasoning_tools.py │ │ ├── thinking_playground.py │ │ └── vercel_reasoning_tools.py ├── scripts │ ├── _utils.sh │ ├── cookbook_runner.py │ ├── format.bat │ ├── format.sh │ ├── mysql-init │ │ └── init.sql │ ├── run_cassandra.sh │ ├── run_clickhouse.sh │ ├── run_couchbase.sh │ ├── run_mongodb.sh │ ├── run_mysql.sh │ ├── run_pgvector.sh │ ├── run_qdrant.sh │ ├── run_redis.sh │ ├── run_singlestore.sh │ └── run_weviate.sh ├── storage │ ├── __init__.py │ ├── dynamodb_storage │ │ ├── __init__.py │ │ ├── dynamodb_storage_for_agent.py │ │ ├── dynamodb_storage_for_team.py │ │ └── dynamodb_storage_for_workflow.py │ ├── examples │ │ ├── multi_user_multi_session.py │ │ └── sqlite_storage.py │ ├── gcs_storage │ │ ├── README.md │ │ ├── __init__.py │ │ └── gcs_json_storage_for_agent.py │ ├── json_storage │ │ ├── __init__.py │ │ ├── json_storage_for_agent.py │ │ ├── json_storage_for_team.py │ │ └── json_storage_for_workflow.py │ ├── mongodb_storage │ │ ├── __init__.py │ │ ├── mongodb_storage_for_agent.py │ │ ├── mongodb_storage_for_team.py │ │ └── mongodb_storage_for_workflow.py │ ├── postgres_storage │ │ ├── __init__.py │ │ ├── postgres_storage_for_agent.py │ │ ├── postgres_storage_for_team.py │ │ └── postgres_storage_for_workflow.py │ ├── redis_storage │ │ ├── __init__.py │ │ ├── redis_storage_for_agent.py │ │ ├── redis_storage_for_team.py │ │ └── redis_storage_for_workflow.py │ ├── singlestore_storage │ │ ├── __init__.py │ │ ├── singlestore_storage_for_agent.py │ │ ├── singlestore_storage_for_team.py │ │ └── singlestore_storage_for_workflow.py │ ├── sqllite_storage │ │ ├── __init__.py │ │ ├── sqlite_storage_for_agent.py │ │ ├── sqlite_storage_for_team.py │ │ └── sqlite_storage_for_workflow.py │ └── yaml_storage │ │ ├── __init__.py │ │ ├── yaml_storage_for_agent.py │ │ ├── yaml_storage_for_team.py │ │ └── yaml_storage_for_workflow.py ├── teams │ ├── __init__.py │ ├── medical_history.txt │ ├── memory │ │ ├── 01_chat_history.py │ │ ├── 02_persistent_chat_history.py │ │ ├── 03_user_memories.py │ │ ├── 04_agentic_context.py │ │ ├── 05_team_manages_memory.py │ │ ├── 06_team_session_summaries.py │ │ ├── 07_multiple_teams.py │ │ ├── __init__.py │ │ └── utils.py │ ├── modes │ │ ├── __init__.py │ │ ├── collaborate.py │ │ ├── coordinate.py │ │ └── route.py │ ├── reasoning_multi_purpose_team.py │ ├── response_as_variable.py │ ├── streaming.py │ ├── streaming_async.py │ ├── team_metrics.py │ ├── team_with_agentic_knowledge_filters.py │ ├── team_with_custom_tools.py │ ├── team_with_knowledge.py │ ├── team_with_knowledge_filters.py │ ├── team_with_nested_shared_state.py │ ├── team_with_shared_state.py │ ├── team_with_storage.py │ ├── team_with_tool_hooks.py │ └── team_with_tools.py ├── tools │ ├── __init__.py │ ├── agentql_tools.py │ ├── airflow_tools.py │ ├── apify_tools.py │ ├── arxiv_tools.py │ ├── async │ │ ├── __init__.py │ │ ├── groq-demo.py │ │ └── openai-demo.py │ ├── aws_lambda_tools.py │ ├── baidusearch_tools.py │ ├── bravesearch_tools.py │ ├── browserbase_tools.py │ ├── calcom_tools.py │ ├── calculator_tools.py │ ├── cartesia_tools.py │ ├── clickup_tools.py │ ├── composio_tools.py │ ├── confluence_tools.py │ ├── crawl4ai_tools.py │ ├── csv_tools.py │ ├── custom_api_tools.py │ ├── custom_async_tools.py │ ├── custom_tools.py │ ├── dalle_tools.py │ ├── desi_vocal_tools.py │ ├── discord_tools.py │ ├── docker_tools.py │ ├── duckdb_tools.py │ ├── duckduckgo_tools.py │ ├── e2b_tools.py │ ├── elevenlabs_tools.py │ ├── email_tools.py │ ├── exa_tools.py │ ├── fal_tools.py │ ├── file_tools.py │ ├── financial_datasets_tools.py │ ├── firecrawl_tools.py │ ├── giphy_tools.py │ ├── github_tools.py │ ├── gmail_tools.py │ ├── google_bigquery_tools.py │ ├── google_maps_tools.py │ ├── googlecalendar_tools.py │ ├── googlesearch_tools.py │ ├── googlesheets_tools.py │ ├── hackernews_tools.py │ ├── imdb.csv │ ├── jinareader_tools.py │ ├── jira_tools.py │ ├── linear_tools.py │ ├── lumalabs_tools.py │ ├── mcp │ │ ├── README.md │ │ ├── __init__.py │ │ ├── airbnb.py │ │ ├── brave.py │ │ ├── cli.py │ │ ├── filesystem.py │ │ ├── github.py │ │ ├── graphiti.py │ │ ├── groq_mcp.py │ │ ├── include_exclude_tools.py │ │ ├── include_tools.py │ │ ├── local_server │ │ │ ├── client.py │ │ │ └── server.py │ │ ├── mem0.py │ │ ├── multiple_servers.py │ │ ├── notion_mcp_agent.py │ │ ├── pipedream_auth.py │ │ ├── pipedream_google_calendar.py │ │ ├── pipedream_linkedin.py │ │ ├── pipedream_slack.py │ │ ├── sequential_thinking.py │ │ ├── sse_transport │ │ │ ├── README.md │ │ │ ├── client.py │ │ │ └── server.py │ │ ├── streamable_http_transport │ │ │ ├── README.md │ │ │ ├── client.py │ │ │ └── server.py │ │ ├── stripe.py │ │ └── supabase.py │ ├── mcp_tools.py │ ├── mem0_tools.py │ ├── mlx_transcribe_tools.py │ ├── models │ │ ├── __init__.py │ │ ├── azure_openai_tools.py │ │ ├── gemini_video_generation.py │ │ ├── nebius_tools.py │ │ └── openai_tools.py │ ├── models_lab_tools.py │ ├── moviepy_video_tools.py │ ├── multiple_tools.py │ ├── newspaper4k_tools.py │ ├── newspaper_tools.py │ ├── openbb_tools.py │ ├── openweather_tools.py │ ├── pandas_tools.py │ ├── postgres_tools.py │ ├── pubmed_tools.py │ ├── python_function.py │ ├── python_function_as_tool.py │ ├── python_tools.py │ ├── reddit_tools.py │ ├── replicate_tools.py │ ├── resend_tools.py │ ├── scrapegraph_tools.py │ ├── searxng_tools.py │ ├── serpapi_tools.py │ ├── shell_tools.py │ ├── slack_tools.py │ ├── sleep_tools.py │ ├── spider_tools.py │ ├── sql_tools.py │ ├── tavily_tools.py │ ├── telegram_tools.py │ ├── todoist_tools.py │ ├── tool_calls_accesing_agent.py │ ├── trello_tools.py │ ├── twilio_tools.py │ ├── visualization_tools.py │ ├── webbrowser_tools.py │ ├── webex_tools.py │ ├── website_tools.py │ ├── website_tools_knowledge.py │ ├── whatsapp_tools.py │ ├── wikipedia_tools.py │ ├── x_tools.py │ ├── yfinance_tools.py │ ├── youtube_tools.py │ ├── zendesk_tools.py │ ├── zep_async_tools.py │ ├── zep_tools.py │ └── zoom_tools.py └── workflows │ ├── .gitignore │ ├── __init__.py │ ├── async_hackernews_reporter.py │ ├── blog_post_generator.py │ ├── content_creator │ ├── __init__.py │ ├── config.py │ ├── prompts.py │ ├── readme.md │ ├── requirements.txt │ ├── scheduler.py │ └── workflow.py │ ├── employee_recruiter.py │ ├── hackernews_reporter.py │ ├── investment_report_generator.py │ ├── personalized_email_generator.py │ ├── product_manager │ ├── __init__.py │ ├── meeting_notes.txt │ └── product_manager.py │ ├── reddit_post_generator.py │ ├── self_evaluating_content_creator.py │ ├── simple_cache_workflow.py │ ├── startup_idea_validator.py │ ├── team_workflow.py │ └── workflows_playground.py ├── libs ├── agno │ ├── LICENSE │ ├── agno │ │ ├── __init__.py │ │ ├── agent │ │ │ ├── __init__.py │ │ │ ├── agent.py │ │ │ └── metrics.py │ │ ├── api │ │ │ ├── __init__.py │ │ │ ├── agent.py │ │ │ ├── api.py │ │ │ ├── app.py │ │ │ ├── evals.py │ │ │ ├── playground.py │ │ │ ├── routes.py │ │ │ ├── schemas │ │ │ │ ├── __init__.py │ │ │ │ ├── agent.py │ │ │ │ ├── app.py │ │ │ │ ├── evals.py │ │ │ │ ├── playground.py │ │ │ │ ├── response.py │ │ │ │ ├── team.py │ │ │ │ ├── user.py │ │ │ │ ├── workflows.py │ │ │ │ └── workspace.py │ │ │ ├── team.py │ │ │ ├── user.py │ │ │ ├── workflows.py │ │ │ └── workspace.py │ │ ├── app │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── fastapi │ │ │ │ ├── __init__.py │ │ │ │ ├── app.py │ │ │ │ ├── async_router.py │ │ │ │ └── sync_router.py │ │ │ ├── playground │ │ │ │ ├── __init__.py │ │ │ │ ├── app.py │ │ │ │ ├── async_router.py │ │ │ │ ├── deploy.py │ │ │ │ ├── operator.py │ │ │ │ ├── schemas.py │ │ │ │ ├── serve.py │ │ │ │ ├── settings.py │ │ │ │ ├── sync_router.py │ │ │ │ └── utils.py │ │ │ ├── settings.py │ │ │ ├── slack │ │ │ │ ├── __init__.py │ │ │ │ ├── app.py │ │ │ │ ├── async_router.py │ │ │ │ ├── security.py │ │ │ │ └── sync_router.py │ │ │ ├── utils.py │ │ │ └── whatsapp │ │ │ │ ├── __init__.py │ │ │ │ ├── app.py │ │ │ │ ├── async_router.py │ │ │ │ ├── security.py │ │ │ │ └── sync_router.py │ │ ├── cli │ │ │ ├── __init__.py │ │ │ ├── auth_server.py │ │ │ ├── config.py │ │ │ ├── console.py │ │ │ ├── credentials.py │ │ │ ├── entrypoint.py │ │ │ ├── operator.py │ │ │ ├── settings.py │ │ │ └── ws │ │ │ │ ├── __init__.py │ │ │ │ └── ws_cli.py │ │ ├── constants.py │ │ ├── debug.py │ │ ├── document │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── chunking │ │ │ │ ├── __init__.py │ │ │ │ ├── agentic.py │ │ │ │ ├── document.py │ │ │ │ ├── fixed.py │ │ │ │ ├── markdown.py │ │ │ │ ├── recursive.py │ │ │ │ ├── semantic.py │ │ │ │ └── strategy.py │ │ │ └── reader │ │ │ │ ├── __init__.py │ │ │ │ ├── arxiv_reader.py │ │ │ │ ├── base.py │ │ │ │ ├── csv_reader.py │ │ │ │ ├── docx_reader.py │ │ │ │ ├── firecrawl_reader.py │ │ │ │ ├── json_reader.py │ │ │ │ ├── markdown_reader.py │ │ │ │ ├── pdf_reader.py │ │ │ │ ├── s3 │ │ │ │ ├── __init__.py │ │ │ │ ├── pdf_reader.py │ │ │ │ └── text_reader.py │ │ │ │ ├── text_reader.py │ │ │ │ ├── url_reader.py │ │ │ │ ├── website_reader.py │ │ │ │ └── youtube_reader.py │ │ ├── embedder │ │ │ ├── __init__.py │ │ │ ├── aws_bedrock.py │ │ │ ├── azure_openai.py │ │ │ ├── base.py │ │ │ ├── cohere.py │ │ │ ├── fastembed.py │ │ │ ├── fireworks.py │ │ │ ├── google.py │ │ │ ├── huggingface.py │ │ │ ├── mistral.py │ │ │ ├── ollama.py │ │ │ ├── openai.py │ │ │ ├── sentence_transformer.py │ │ │ ├── together.py │ │ │ └── voyageai.py │ │ ├── eval │ │ │ ├── __init__.py │ │ │ ├── accuracy.py │ │ │ ├── performance.py │ │ │ ├── reliability.py │ │ │ └── utils.py │ │ ├── exceptions.py │ │ ├── file │ │ │ ├── __init__.py │ │ │ ├── file.py │ │ │ └── local │ │ │ │ ├── __init__.py │ │ │ │ ├── csv.py │ │ │ │ └── txt.py │ │ ├── infra │ │ │ ├── __init__.py │ │ │ ├── app.py │ │ │ ├── base.py │ │ │ ├── context.py │ │ │ ├── db_app.py │ │ │ ├── resource.py │ │ │ └── resources.py │ │ ├── knowledge │ │ │ ├── __init__.py │ │ │ ├── agent.py │ │ │ ├── arxiv.py │ │ │ ├── combined.py │ │ │ ├── csv.py │ │ │ ├── csv_url.py │ │ │ ├── document.py │ │ │ ├── docx.py │ │ │ ├── firecrawl.py │ │ │ ├── json.py │ │ │ ├── langchain.py │ │ │ ├── llamaindex.py │ │ │ ├── markdown.py │ │ │ ├── pdf.py │ │ │ ├── pdf_url.py │ │ │ ├── s3 │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── pdf.py │ │ │ │ └── text.py │ │ │ ├── text.py │ │ │ ├── url.py │ │ │ ├── website.py │ │ │ ├── wikipedia.py │ │ │ └── youtube.py │ │ ├── media.py │ │ ├── memory │ │ │ ├── __init__.py │ │ │ ├── agent.py │ │ │ ├── classifier.py │ │ │ ├── db │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── mongodb.py │ │ │ │ ├── postgres.py │ │ │ │ └── sqlite.py │ │ │ ├── manager.py │ │ │ ├── memory.py │ │ │ ├── row.py │ │ │ ├── summarizer.py │ │ │ ├── summary.py │ │ │ ├── team.py │ │ │ ├── v2 │ │ │ │ ├── __init__.py │ │ │ │ ├── db │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── base.py │ │ │ │ │ ├── mongodb.py │ │ │ │ │ ├── postgres.py │ │ │ │ │ ├── redis.py │ │ │ │ │ ├── schema.py │ │ │ │ │ └── sqlite.py │ │ │ │ ├── manager.py │ │ │ │ ├── memory.py │ │ │ │ ├── schema.py │ │ │ │ └── summarizer.py │ │ │ └── workflow.py │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── aimlapi │ │ │ │ ├── __init__.py │ │ │ │ └── aimlapi.py │ │ │ ├── anthropic │ │ │ │ ├── __init__.py │ │ │ │ └── claude.py │ │ │ ├── aws │ │ │ │ ├── __init__.py │ │ │ │ ├── bedrock.py │ │ │ │ └── claude.py │ │ │ ├── azure │ │ │ │ ├── __init__.py │ │ │ │ ├── ai_foundry.py │ │ │ │ └── openai_chat.py │ │ │ ├── base.py │ │ │ ├── cerebras │ │ │ │ ├── __init__.py │ │ │ │ ├── cerebras.py │ │ │ │ └── cerebras_openai.py │ │ │ ├── cohere │ │ │ │ ├── __init__.py │ │ │ │ └── chat.py │ │ │ ├── deepinfra │ │ │ │ ├── __init__.py │ │ │ │ └── deepinfra.py │ │ │ ├── deepseek │ │ │ │ ├── __init__.py │ │ │ │ └── deepseek.py │ │ │ ├── defaults.py │ │ │ ├── fireworks │ │ │ │ ├── __init__.py │ │ │ │ └── fireworks.py │ │ │ ├── google │ │ │ │ ├── __init__.py │ │ │ │ └── gemini.py │ │ │ ├── groq │ │ │ │ ├── __init__.py │ │ │ │ └── groq.py │ │ │ ├── huggingface │ │ │ │ ├── __init__.py │ │ │ │ └── huggingface.py │ │ │ ├── ibm │ │ │ │ ├── __init__.py │ │ │ │ └── watsonx.py │ │ │ ├── internlm │ │ │ │ ├── __init__.py │ │ │ │ └── internlm.py │ │ │ ├── litellm │ │ │ │ ├── __init__.py │ │ │ │ ├── chat.py │ │ │ │ └── litellm_openai.py │ │ │ ├── lmstudio │ │ │ │ ├── __init__.py │ │ │ │ └── lmstudio.py │ │ │ ├── message.py │ │ │ ├── meta │ │ │ │ ├── __init__.py │ │ │ │ ├── llama.py │ │ │ │ └── llama_openai.py │ │ │ ├── mistral │ │ │ │ ├── __init__.py │ │ │ │ └── mistral.py │ │ │ ├── nebius │ │ │ │ ├── __init__.py │ │ │ │ └── nebius.py │ │ │ ├── nvidia │ │ │ │ ├── __init__.py │ │ │ │ └── nvidia.py │ │ │ ├── ollama │ │ │ │ ├── __init__.py │ │ │ │ ├── chat.py │ │ │ │ └── tools.py │ │ │ ├── openai │ │ │ │ ├── __init__.py │ │ │ │ ├── chat.py │ │ │ │ ├── like.py │ │ │ │ └── responses.py │ │ │ ├── openrouter │ │ │ │ ├── __init__.py │ │ │ │ └── openrouter.py │ │ │ ├── perplexity │ │ │ │ ├── __init__.py │ │ │ │ └── perplexity.py │ │ │ ├── response.py │ │ │ ├── sambanova │ │ │ │ ├── __init__.py │ │ │ │ └── sambanova.py │ │ │ ├── together │ │ │ │ ├── __init__.py │ │ │ │ └── together.py │ │ │ ├── vercel │ │ │ │ ├── __init__.py │ │ │ │ └── v0.py │ │ │ └── xai │ │ │ │ ├── __init__.py │ │ │ │ └── xai.py │ │ ├── playground │ │ │ ├── __init__.py │ │ │ ├── deploy.py │ │ │ ├── playground.py │ │ │ ├── serve.py │ │ │ └── settings.py │ │ ├── py.typed │ │ ├── reasoning │ │ │ ├── __init__.py │ │ │ ├── azure_ai_foundry.py │ │ │ ├── deepseek.py │ │ │ ├── default.py │ │ │ ├── groq.py │ │ │ ├── helpers.py │ │ │ ├── ollama.py │ │ │ ├── openai.py │ │ │ └── step.py │ │ ├── reranker │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ └── cohere.py │ │ ├── run │ │ │ ├── __init__.py │ │ │ ├── messages.py │ │ │ ├── response.py │ │ │ └── team.py │ │ ├── storage │ │ │ ├── __init__.py │ │ │ ├── agent │ │ │ │ ├── __init__.py │ │ │ │ ├── dynamodb.py │ │ │ │ ├── json.py │ │ │ │ ├── mongodb.py │ │ │ │ ├── postgres.py │ │ │ │ ├── singlestore.py │ │ │ │ ├── sqlite.py │ │ │ │ └── yaml.py │ │ │ ├── base.py │ │ │ ├── dynamodb.py │ │ │ ├── gcs_json.py │ │ │ ├── json.py │ │ │ ├── mongodb.py │ │ │ ├── postgres.py │ │ │ ├── redis.py │ │ │ ├── session │ │ │ │ ├── __init__.py │ │ │ │ ├── agent.py │ │ │ │ ├── team.py │ │ │ │ └── workflow.py │ │ │ ├── singlestore.py │ │ │ ├── sqlite.py │ │ │ ├── workflow │ │ │ │ ├── __init__.py │ │ │ │ ├── mongodb.py │ │ │ │ ├── postgres.py │ │ │ │ └── sqlite.py │ │ │ └── yaml.py │ │ ├── team │ │ │ ├── __init__.py │ │ │ └── team.py │ │ ├── tools │ │ │ ├── __init__.py │ │ │ ├── agentql.py │ │ │ ├── airflow.py │ │ │ ├── api.py │ │ │ ├── apify.py │ │ │ ├── arxiv.py │ │ │ ├── aws_lambda.py │ │ │ ├── baidusearch.py │ │ │ ├── bravesearch.py │ │ │ ├── browserbase.py │ │ │ ├── calcom.py │ │ │ ├── calculator.py │ │ │ ├── cartesia.py │ │ │ ├── clickup_tool.py │ │ │ ├── confluence.py │ │ │ ├── crawl4ai.py │ │ │ ├── csv_toolkit.py │ │ │ ├── dalle.py │ │ │ ├── decorator.py │ │ │ ├── desi_vocal.py │ │ │ ├── discord.py │ │ │ ├── docker.py │ │ │ ├── duckdb.py │ │ │ ├── duckduckgo.py │ │ │ ├── e2b.py │ │ │ ├── eleven_labs.py │ │ │ ├── email.py │ │ │ ├── exa.py │ │ │ ├── fal.py │ │ │ ├── file.py │ │ │ ├── financial_datasets.py │ │ │ ├── firecrawl.py │ │ │ ├── function.py │ │ │ ├── giphy.py │ │ │ ├── github.py │ │ │ ├── gmail.py │ │ │ ├── google_bigquery.py │ │ │ ├── google_maps.py │ │ │ ├── googlecalendar.py │ │ │ ├── googlesearch.py │ │ │ ├── googlesheets.py │ │ │ ├── hackernews.py │ │ │ ├── jina.py │ │ │ ├── jira.py │ │ │ ├── knowledge.py │ │ │ ├── linear.py │ │ │ ├── local_file_system.py │ │ │ ├── lumalab.py │ │ │ ├── mcp.py │ │ │ ├── mem0.py │ │ │ ├── mlx_transcribe.py │ │ │ ├── models │ │ │ │ ├── __init__.py │ │ │ │ ├── azure_openai.py │ │ │ │ ├── gemini.py │ │ │ │ ├── groq.py │ │ │ │ └── nebius.py │ │ │ ├── models_labs.py │ │ │ ├── moviepy_video.py │ │ │ ├── newspaper.py │ │ │ ├── newspaper4k.py │ │ │ ├── openai.py │ │ │ ├── openbb.py │ │ │ ├── openweather.py │ │ │ ├── pandas.py │ │ │ ├── postgres.py │ │ │ ├── pubmed.py │ │ │ ├── python.py │ │ │ ├── reasoning.py │ │ │ ├── reddit.py │ │ │ ├── replicate.py │ │ │ ├── resend.py │ │ │ ├── scrapegraph.py │ │ │ ├── searxng.py │ │ │ ├── serpapi.py │ │ │ ├── shell.py │ │ │ ├── slack.py │ │ │ ├── sleep.py │ │ │ ├── spider.py │ │ │ ├── sql.py │ │ │ ├── streamlit │ │ │ │ ├── __init__.py │ │ │ │ └── components.py │ │ │ ├── tavily.py │ │ │ ├── telegram.py │ │ │ ├── thinking.py │ │ │ ├── todoist.py │ │ │ ├── tool_registry.py │ │ │ ├── toolkit.py │ │ │ ├── trello.py │ │ │ ├── twilio.py │ │ │ ├── user_control_flow.py │ │ │ ├── visualization.py │ │ │ ├── webbrowser.py │ │ │ ├── webex.py │ │ │ ├── website.py │ │ │ ├── whatsapp.py │ │ │ ├── wikipedia.py │ │ │ ├── x.py │ │ │ ├── yfinance.py │ │ │ ├── youtube.py │ │ │ ├── zendesk.py │ │ │ ├── zep.py │ │ │ └── zoom.py │ │ ├── utils │ │ │ ├── __init__.py │ │ │ ├── audio.py │ │ │ ├── certs.py │ │ │ ├── common.py │ │ │ ├── defaults.py │ │ │ ├── dttm.py │ │ │ ├── enum.py │ │ │ ├── env.py │ │ │ ├── filesystem.py │ │ │ ├── format_str.py │ │ │ ├── functions.py │ │ │ ├── gemini.py │ │ │ ├── git.py │ │ │ ├── http.py │ │ │ ├── json_io.py │ │ │ ├── json_schema.py │ │ │ ├── load_env.py │ │ │ ├── log.py │ │ │ ├── mcp.py │ │ │ ├── media.py │ │ │ ├── merge_dict.py │ │ │ ├── message.py │ │ │ ├── models │ │ │ │ ├── __init__.py │ │ │ │ ├── ai_foundry.py │ │ │ │ ├── aws_claude.py │ │ │ │ ├── claude.py │ │ │ │ ├── cohere.py │ │ │ │ ├── llama.py │ │ │ │ ├── mistral.py │ │ │ │ ├── openai_responses.py │ │ │ │ ├── schema_utils.py │ │ │ │ └── watsonx.py │ │ │ ├── openai.py │ │ │ ├── pickle.py │ │ │ ├── pprint.py │ │ │ ├── prompts.py │ │ │ ├── py_io.py │ │ │ ├── pyproject.py │ │ │ ├── resource_filter.py │ │ │ ├── response.py │ │ │ ├── response_iterator.py │ │ │ ├── safe_formatter.py │ │ │ ├── shell.py │ │ │ ├── string.py │ │ │ ├── timer.py │ │ │ ├── tools.py │ │ │ ├── web.py │ │ │ ├── whatsapp.py │ │ │ └── yaml_io.py │ │ ├── vectordb │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── cassandra │ │ │ │ ├── __init__.py │ │ │ │ ├── cassandra.py │ │ │ │ ├── extra_param_mixin.py │ │ │ │ └── index.py │ │ │ ├── chroma │ │ │ │ ├── __init__.py │ │ │ │ └── chromadb.py │ │ │ ├── clickhouse │ │ │ │ ├── __init__.py │ │ │ │ ├── clickhousedb.py │ │ │ │ └── index.py │ │ │ ├── couchbase │ │ │ │ ├── __init__.py │ │ │ │ └── couchbase.py │ │ │ ├── distance.py │ │ │ ├── lancedb │ │ │ │ ├── __init__.py │ │ │ │ └── lance_db.py │ │ │ ├── milvus │ │ │ │ ├── __init__.py │ │ │ │ └── milvus.py │ │ │ ├── mongodb │ │ │ │ ├── __init__.py │ │ │ │ └── mongodb.py │ │ │ ├── pgvector │ │ │ │ ├── __init__.py │ │ │ │ ├── index.py │ │ │ │ └── pgvector.py │ │ │ ├── pineconedb │ │ │ │ ├── __init__.py │ │ │ │ └── pineconedb.py │ │ │ ├── qdrant │ │ │ │ ├── __init__.py │ │ │ │ └── qdrant.py │ │ │ ├── search.py │ │ │ ├── singlestore │ │ │ │ ├── __init__.py │ │ │ │ ├── index.py │ │ │ │ └── singlestore.py │ │ │ ├── upstashdb │ │ │ │ ├── __init__.py │ │ │ │ └── upstashdb.py │ │ │ └── weaviate │ │ │ │ ├── __init__.py │ │ │ │ ├── index.py │ │ │ │ └── weaviate.py │ │ ├── workflow │ │ │ ├── __init__.py │ │ │ └── workflow.py │ │ └── workspace │ │ │ ├── __init__.py │ │ │ ├── config.py │ │ │ ├── enums.py │ │ │ ├── helpers.py │ │ │ ├── operator.py │ │ │ └── settings.py │ ├── pyproject.toml │ ├── requirements.txt │ ├── scripts │ │ ├── _utils.sh │ │ ├── format.bat │ │ ├── format.sh │ │ ├── generate_requirements.sh │ │ ├── release_manual.sh │ │ ├── test.sh │ │ ├── validate.bat │ │ └── validate.sh │ └── tests │ │ ├── __init__.py │ │ ├── integration │ │ ├── __init__.py │ │ ├── agent │ │ │ ├── __init__.py │ │ │ ├── test_agent_multimodal.py │ │ │ ├── test_agent_tool_call_limit.py │ │ │ ├── test_agent_with_storage_and_memory.py │ │ │ ├── test_agents_with_shared_model.py │ │ │ ├── test_external_execution_flows.py │ │ │ ├── test_metrics.py │ │ │ ├── test_rag.py │ │ │ ├── test_reasoning_content_default_COT.py │ │ │ ├── test_reasoning_content_reasoning_tools.py │ │ │ ├── test_reasoning_content_thinking_tools.py │ │ │ ├── test_streaming.py │ │ │ ├── test_structured_output_parsing.py │ │ │ ├── test_tool_parsing.py │ │ │ ├── test_user_confirmation_flows.py │ │ │ └── test_user_input_flows.py │ │ ├── conftest.py │ │ ├── embedder │ │ │ ├── __init__.py │ │ │ └── test_huggingface_embedder.py │ │ ├── knowledge │ │ │ ├── __init__.py │ │ │ ├── data │ │ │ │ ├── filters │ │ │ │ │ ├── cv_1.docx │ │ │ │ │ ├── cv_1.json │ │ │ │ │ ├── cv_1.md │ │ │ │ │ ├── cv_1.pdf │ │ │ │ │ ├── cv_1.txt │ │ │ │ │ ├── cv_2.docx │ │ │ │ │ ├── cv_2.json │ │ │ │ │ ├── cv_2.md │ │ │ │ │ ├── cv_2.pdf │ │ │ │ │ ├── cv_2.txt │ │ │ │ │ ├── cv_3.docx │ │ │ │ │ ├── cv_3.json │ │ │ │ │ ├── cv_3.pdf │ │ │ │ │ ├── cv_3.txt │ │ │ │ │ ├── cv_4.docx │ │ │ │ │ ├── cv_4.json │ │ │ │ │ ├── cv_4.pdf │ │ │ │ │ ├── cv_4.txt │ │ │ │ │ ├── cv_5.docx │ │ │ │ │ ├── cv_5.json │ │ │ │ │ ├── cv_5.pdf │ │ │ │ │ └── cv_5.txt │ │ │ │ ├── json │ │ │ │ │ ├── dishes.json │ │ │ │ │ └── recipes.json │ │ │ │ ├── pg_essay.md │ │ │ │ ├── pg_essay.txt │ │ │ │ ├── sample.docx │ │ │ │ └── thai_recipes_short.pdf │ │ │ ├── test_arxiv_knowledge_base.py │ │ │ ├── test_csv_knowledge_base.py │ │ │ ├── test_csv_url_knowledge_base.py │ │ │ ├── test_docx_knowledge_base.py │ │ │ ├── test_firecrawl_knowledge_base.py │ │ │ ├── test_json_knowledge_base.py │ │ │ ├── test_md_knowledge_base.py │ │ │ ├── test_pdf_knowledge_base.py │ │ │ ├── test_pdf_url_knowledge_base.py │ │ │ ├── test_text_knowledge_base.py │ │ │ ├── test_url_knowledge_base.py │ │ │ ├── test_website_knowledge_base.py │ │ │ └── test_youtube_knowledge_base.py │ │ ├── memory │ │ │ ├── __init__.py │ │ │ └── test_memory.py │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── aimlapi │ │ │ │ ├── __init__.py │ │ │ │ ├── test_basic.py │ │ │ │ └── test_tool_use.py │ │ │ ├── anthropic │ │ │ │ ├── __init__.py │ │ │ │ ├── test_basic.py │ │ │ │ ├── test_multimodal.py │ │ │ │ ├── test_thinking.py │ │ │ │ └── test_tool_use.py │ │ │ ├── aws │ │ │ │ ├── __init__.py │ │ │ │ ├── bedrock │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── test_basic.py │ │ │ │ │ ├── test_multimodal.py │ │ │ │ │ └── test_tool_use.py │ │ │ │ └── claude │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── test_basic.py │ │ │ │ │ ├── test_multimodal.py │ │ │ │ │ └── test_tool_use.py │ │ │ ├── azure │ │ │ │ ├── __init__.py │ │ │ │ ├── ai_foundry │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── test_basic.py │ │ │ │ │ ├── test_multimodal.py │ │ │ │ │ └── test_tool_use.py │ │ │ │ └── openai │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── test_basic.py │ │ │ │ │ ├── test_multimodal.py │ │ │ │ │ └── test_tool_use.py │ │ │ ├── cerebras │ │ │ │ ├── __init__.py │ │ │ │ ├── test_basic.py │ │ │ │ └── test_tool_use.py │ │ │ ├── cerebras_openai │ │ │ │ ├── __init__.py │ │ │ │ ├── test_basic.py │ │ │ │ └── test_tool_use.py │ │ │ ├── cohere │ │ │ │ ├── __init__.py │ │ │ │ ├── test_basic.py │ │ │ │ ├── test_multimodal.py │ │ │ │ └── test_tool_use.py │ │ │ ├── deepinfra │ │ │ │ ├── __init__.py │ │ │ │ ├── test_basic.py │ │ │ │ └── test_tool_use.py │ │ │ ├── deepseek │ │ │ │ ├── __init__.py │ │ │ │ ├── test_basic.py │ │ │ │ └── test_tool_use.py │ │ │ ├── fireworks │ │ │ │ ├── __init__.py │ │ │ │ ├── test_basic.py │ │ │ │ └── test_tool_use.py │ │ │ ├── google │ │ │ │ ├── __init__.py │ │ │ │ ├── test_basic.py │ │ │ │ ├── test_multimodal.py │ │ │ │ ├── test_structured_response.py │ │ │ │ ├── test_tool_parsing.py │ │ │ │ └── test_tool_use.py │ │ │ ├── groq │ │ │ │ ├── __init__.py │ │ │ │ ├── test_basic.py │ │ │ │ ├── test_multimodal.py │ │ │ │ └── test_tool_use.py │ │ │ ├── huggingface │ │ │ │ ├── __init__.py │ │ │ │ ├── test_basic.py │ │ │ │ └── test_tool_use.py │ │ │ ├── ibm │ │ │ │ ├── __init__.py │ │ │ │ └── watsonx │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── test_basic.py │ │ │ │ │ ├── test_multimodal.py │ │ │ │ │ └── test_tool_use.py │ │ │ ├── litellm │ │ │ │ ├── __init__.py │ │ │ │ ├── test_basic.py │ │ │ │ └── test_tool_use.py │ │ │ ├── litellm_openai │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── test_basic.py │ │ │ │ └── test_tool_use.py │ │ │ ├── lmstudio │ │ │ │ ├── __init__.py │ │ │ │ ├── test_basic.py │ │ │ │ └── test_tool_use.py │ │ │ ├── meta │ │ │ │ ├── __init__.py │ │ │ │ ├── llama │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── test_basic.py │ │ │ │ │ ├── test_multimodal.py │ │ │ │ │ └── test_tool_use.py │ │ │ │ └── llama_openai │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── test_basic.py │ │ │ │ │ ├── test_multimodal.py │ │ │ │ │ └── test_tool_use.py │ │ │ ├── mistral │ │ │ │ ├── __init__.py │ │ │ │ ├── test_basic.py │ │ │ │ ├── test_multimodal.py │ │ │ │ └── test_tool_use.py │ │ │ ├── nebius │ │ │ │ ├── __init__.py │ │ │ │ ├── test_basic.py │ │ │ │ └── test_tool_use.py │ │ │ ├── nvidia │ │ │ │ ├── __init__.py │ │ │ │ ├── test_basic.py │ │ │ │ └── test_tool_use.py │ │ │ ├── ollama │ │ │ │ ├── __init__.py │ │ │ │ ├── test_basic.py │ │ │ │ └── test_tool_use.py │ │ │ ├── ollama_tools │ │ │ │ ├── __init__.py │ │ │ │ ├── test_basic.py │ │ │ │ └── test_tool_use.py │ │ │ ├── openai │ │ │ │ ├── __init__.py │ │ │ │ ├── chat │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── test_basic.py │ │ │ │ │ ├── test_multimodal.py │ │ │ │ │ ├── test_structured_response.py │ │ │ │ │ └── test_tool_use.py │ │ │ │ └── responses │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── test_basic.py │ │ │ │ │ ├── test_multimodal.py │ │ │ │ │ ├── test_structured_response.py │ │ │ │ │ └── test_tool_use.py │ │ │ ├── openrouter │ │ │ │ ├── __init__.py │ │ │ │ ├── test_basic.py │ │ │ │ └── test_tool_use.py │ │ │ ├── perplexity │ │ │ │ ├── __init__.py │ │ │ │ └── test_basic.py │ │ │ ├── sambanova │ │ │ │ ├── __init__.py │ │ │ │ └── test_basic.py │ │ │ ├── sample_image.jpg │ │ │ ├── together │ │ │ │ ├── __init__.py │ │ │ │ ├── test_basic.py │ │ │ │ ├── test_multimodal.py │ │ │ │ └── test_tool_use.py │ │ │ ├── vercel │ │ │ │ ├── __init__.py │ │ │ │ ├── test_basic.py │ │ │ │ ├── test_multimodal.py │ │ │ │ └── test_tool_use.py │ │ │ └── xai │ │ │ │ ├── __init__.py │ │ │ │ ├── test_basic.py │ │ │ │ ├── test_multimodal.py │ │ │ │ └── test_tool_use.py │ │ ├── storage │ │ │ ├── __init__.py │ │ │ ├── test_json_storage_agent.py │ │ │ ├── test_json_storage_workflow.py │ │ │ ├── test_sqlite_storage_agent.py │ │ │ ├── test_sqlite_storage_workflow.py │ │ │ ├── test_yaml_storage_agent.py │ │ │ └── test_yaml_storage_workflow.py │ │ ├── teams │ │ │ ├── __init__.py │ │ │ ├── test_collaborate.py │ │ │ ├── test_coordinate.py │ │ │ ├── test_route.py │ │ │ ├── test_structured_output.py │ │ │ ├── test_team_metrics.py │ │ │ ├── test_team_multimodal.py │ │ │ ├── test_team_with_shared_model.py │ │ │ ├── test_team_with_storage_and_memory.py │ │ │ └── test_teams_v1.py │ │ ├── tools │ │ │ ├── __init__.py │ │ │ └── test_custom_api.py │ │ └── vector_dbs │ │ │ ├── __init__.py │ │ │ └── test_lancedb.py │ │ └── unit │ │ ├── __init__.py │ │ ├── memory │ │ ├── __init__.py │ │ ├── test_memory.py │ │ └── test_memory_redis.py │ │ ├── playground │ │ ├── __init__.py │ │ └── test_image_support_file_upload.py │ │ ├── reader │ │ ├── ThaiRecipes.pdf │ │ ├── __init__.py │ │ ├── test_arxiv_reader.py │ │ ├── test_csv_reader.py │ │ ├── test_docx_reader.py │ │ ├── test_firecrawl_reader.py │ │ ├── test_json_reader.py │ │ ├── test_pdf_reader.py │ │ ├── test_text_reader.py │ │ ├── test_url_reader.py │ │ ├── test_website_reader.py │ │ └── test_youtube_reader.py │ │ ├── storage │ │ ├── __init__.py │ │ ├── test_dynamodb_storage.py │ │ ├── test_gcs_json_storage.py │ │ ├── test_json_storage.py │ │ ├── test_mongodb_storage.py │ │ ├── test_postgres_storage.py │ │ ├── test_redis_storage.py │ │ ├── test_singlestore_storage.py │ │ ├── test_sqlite_storage.py │ │ └── test_yaml_storage.py │ │ ├── team │ │ ├── __init__.py │ │ ├── test_team.py │ │ └── test_team_shared_session.py │ │ ├── tools │ │ ├── __init__.py │ │ ├── models │ │ │ ├── __init__.py │ │ │ ├── test_azure_openai.py │ │ │ ├── test_gemini.py │ │ │ ├── test_groq.py │ │ │ └── test_nebius.py │ │ ├── test_agentql.py │ │ ├── test_brave_search.py │ │ ├── test_browserbase.py │ │ ├── test_calculator.py │ │ ├── test_cartesia.py │ │ ├── test_confluence.py │ │ ├── test_custom_api.py │ │ ├── test_decorator.py │ │ ├── test_e2b.py │ │ ├── test_exa.py │ │ ├── test_financial_datasets.py │ │ ├── test_firecrawl.py │ │ ├── test_functions.py │ │ ├── test_github.py │ │ ├── test_gmail_tools.py │ │ ├── test_google_bigquery.py │ │ ├── test_google_maps.py │ │ ├── test_googlesheets_tools.py │ │ ├── test_mcp.py │ │ ├── test_mem0.py │ │ ├── test_openweather.py │ │ ├── test_python_tools.py │ │ ├── test_searxng.py │ │ ├── test_todoist_tools.py │ │ ├── test_toolkit.py │ │ ├── test_visualization.py │ │ ├── test_webbrowser.py │ │ ├── test_webex.py │ │ ├── test_zep.py │ │ └── test_zoom_tools.py │ │ ├── utils │ │ ├── __init__.py │ │ ├── test_functions.py │ │ ├── test_gemini.py │ │ ├── test_gemini_dict_support.py │ │ ├── test_json_schema.py │ │ ├── test_openai.py │ │ ├── test_openai_responses.py │ │ ├── test_schema_utils.py │ │ └── test_string.py │ │ └── vectordb │ │ ├── __init__.py │ │ ├── conftest.py │ │ ├── couchbase │ │ └── test_couchbase.py │ │ ├── test_cassandra.py │ │ ├── test_chromadb.py │ │ ├── test_clickhousedb.py │ │ ├── test_lancedb.py │ │ ├── test_milvusdb.py │ │ ├── test_mongodb.py │ │ ├── test_pgvector.py │ │ ├── test_pineconedb.py │ │ ├── test_qdrantdb.py │ │ ├── test_singlestore.py │ │ └── test_weaviatedb.py └── infra │ ├── __init__.py │ ├── agno_aws │ ├── LICENSE │ ├── README.md │ ├── agno │ │ ├── __init__.py │ │ ├── aws │ │ │ ├── __init__.py │ │ │ ├── api_client.py │ │ │ ├── app │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── celery │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── worker.py │ │ │ │ ├── django │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── django.py │ │ │ │ ├── fastapi │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── fastapi.py │ │ │ │ └── streamlit │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── streamlit.py │ │ │ ├── context.py │ │ │ ├── resource │ │ │ │ ├── __init__.py │ │ │ │ ├── acm │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── certificate.py │ │ │ │ ├── base.py │ │ │ │ ├── cloudformation │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── stack.py │ │ │ │ ├── ec2 │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── security_group.py │ │ │ │ │ ├── subnet.py │ │ │ │ │ └── volume.py │ │ │ │ ├── ecs │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── cluster.py │ │ │ │ │ ├── container.py │ │ │ │ │ ├── service.py │ │ │ │ │ ├── task_definition.py │ │ │ │ │ └── volume.py │ │ │ │ ├── elasticache │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── cluster.py │ │ │ │ │ └── subnet_group.py │ │ │ │ ├── elb │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── listener.py │ │ │ │ │ ├── load_balancer.py │ │ │ │ │ └── target_group.py │ │ │ │ ├── emr │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── cluster.py │ │ │ │ ├── glue │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── crawler.py │ │ │ │ ├── iam │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── policy.py │ │ │ │ │ └── role.py │ │ │ │ ├── rds │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── db_cluster.py │ │ │ │ │ ├── db_instance.py │ │ │ │ │ └── db_subnet_group.py │ │ │ │ ├── reference.py │ │ │ │ ├── s3 │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── bucket.py │ │ │ │ │ └── object.py │ │ │ │ ├── secret │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── manager.py │ │ │ │ │ └── reader.py │ │ │ │ └── types.py │ │ │ └── resources.py │ │ └── py.typed │ ├── pyproject.toml │ ├── requirements.txt │ ├── scripts │ │ ├── _utils.sh │ │ ├── format.bat │ │ ├── format.sh │ │ ├── generate_requirements.sh │ │ ├── release_manual.sh │ │ ├── test.sh │ │ ├── validate.bat │ │ └── validate.sh │ └── tests │ │ └── __init__.py │ └── agno_docker │ ├── LICENSE │ ├── README.md │ ├── agno │ ├── __init__.py │ ├── docker │ │ ├── __init__.py │ │ ├── api_client.py │ │ ├── app │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── celery │ │ │ │ ├── __init__.py │ │ │ │ └── worker.py │ │ │ ├── fastapi │ │ │ │ ├── __init__.py │ │ │ │ └── fastapi.py │ │ │ ├── postgres │ │ │ │ ├── __init__.py │ │ │ │ ├── pgvector.py │ │ │ │ └── postgres.py │ │ │ ├── redis │ │ │ │ ├── __init__.py │ │ │ │ └── redis.py │ │ │ ├── streamlit │ │ │ │ ├── __init__.py │ │ │ │ └── streamlit.py │ │ │ └── whoami │ │ │ │ ├── __init__.py │ │ │ │ └── whoami.py │ │ ├── context.py │ │ ├── resource │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── container.py │ │ │ ├── image.py │ │ │ ├── network.py │ │ │ ├── types.py │ │ │ └── volume.py │ │ └── resources.py │ └── py.typed │ ├── pyproject.toml │ ├── requirements.txt │ ├── scripts │ ├── _utils.sh │ ├── format.bat │ ├── format.sh │ ├── generate_requirements.sh │ ├── release_manual.sh │ ├── test.sh │ ├── validate.bat │ └── validate.sh │ └── tests │ └── __init__.py └── scripts ├── _utils.bat ├── _utils.sh ├── cookbook_setup.sh ├── dev_setup.bat ├── dev_setup.sh ├── format.bat ├── format.sh ├── perf_setup.sh ├── run_model_tests.sh ├── test.sh ├── validate.bat └── validate.sh /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_size = 2 5 | indent_style = space 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | 11 | [*.py] 12 | indent_size = 4 13 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | contact_links: 3 | - name: Ask a question or discuss 4 | url: https://community.agno.com/ 5 | about: Please ask and answer questions here. 6 | -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | # Default owner for all files in the repository 2 | * @agno-agi/agno-admins 3 | -------------------------------------------------------------------------------- /cookbook/.gitignore: -------------------------------------------------------------------------------- 1 | data/ -------------------------------------------------------------------------------- /cookbook/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/.gitignore: -------------------------------------------------------------------------------- 1 | *.jpg 2 | *.png 3 | *.mp3 4 | *.wav 5 | *.mp4 6 | *.mp3 -------------------------------------------------------------------------------- /cookbook/agent_concepts/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/agentic_search/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/agentic_search/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/async/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/async/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/async/basic.py: -------------------------------------------------------------------------------- 1 | import asyncio 2 | 3 | from agno.agent import Agent 4 | from agno.models.openai import OpenAIChat 5 | 6 | agent = Agent( 7 | model=OpenAIChat(id="gpt-4o"), 8 | description="You help people with their health and fitness goals.", 9 | instructions=["Recipes should be under 5 ingredients"], 10 | markdown=True, 11 | ) 12 | # -*- Print a response to the cli 13 | asyncio.run(agent.aprint_response("Share a breakfast recipe.")) 14 | -------------------------------------------------------------------------------- /cookbook/agent_concepts/async/tool_use.py: -------------------------------------------------------------------------------- 1 | import asyncio 2 | 3 | from agno.agent import Agent 4 | from agno.models.openai import OpenAIChat 5 | from agno.tools.duckduckgo import DuckDuckGoTools 6 | 7 | agent = Agent( 8 | model=OpenAIChat(id="gpt-4o"), 9 | tools=[DuckDuckGoTools()], 10 | show_tool_calls=True, 11 | markdown=True, 12 | ) 13 | asyncio.run(agent.aprint_response("Whats happening in UK and in USA?")) 14 | -------------------------------------------------------------------------------- /cookbook/agent_concepts/context/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/context/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/knowledge/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/knowledge/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/knowledge/chunking/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/knowledge/chunking/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/knowledge/custom/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/knowledge/custom/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/knowledge/embedders/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/knowledge/embedders/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/knowledge/filters/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/knowledge/filters/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/knowledge/readers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/knowledge/readers/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/knowledge/search_type/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/knowledge/search_type/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/knowledge/vector_dbs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/knowledge/vector_dbs/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/knowledge/vector_dbs/cassandra_db/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/knowledge/vector_dbs/cassandra_db/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/knowledge/vector_dbs/chroma_db/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/knowledge/vector_dbs/chroma_db/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/knowledge/vector_dbs/clickhouse_db/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/knowledge/vector_dbs/clickhouse_db/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/knowledge/vector_dbs/couchbase_db/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/knowledge/vector_dbs/couchbase_db/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/knowledge/vector_dbs/lance_db/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/knowledge/vector_dbs/lance_db/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/knowledge/vector_dbs/milvus_db/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/knowledge/vector_dbs/milvus_db/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/knowledge/vector_dbs/mongo_db/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/knowledge/vector_dbs/mongo_db/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/knowledge/vector_dbs/pgvector_db/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/knowledge/vector_dbs/pgvector_db/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/knowledge/vector_dbs/pinecone_db/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/knowledge/vector_dbs/pinecone_db/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/knowledge/vector_dbs/qdrant_db/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/knowledge/vector_dbs/qdrant_db/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/knowledge/vector_dbs/weaviate_db/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/knowledge/vector_dbs/weaviate_db/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/memory/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/memory/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/memory/db/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/memory/db/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/memory/integrations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/memory/integrations/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/memory_legacy/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/memory_legacy/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/multimodal/.gitignore: -------------------------------------------------------------------------------- 1 | *.jpg 2 | *.png 3 | *.mp3 4 | *.wav 5 | *.mp4 6 | *.mp3 7 | -------------------------------------------------------------------------------- /cookbook/agent_concepts/multimodal/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/multimodal/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/other/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/other/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/other/datetime_instructions.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.openai import OpenAIChat 3 | 4 | agent = Agent( 5 | model=OpenAIChat(id="gpt-4o"), 6 | add_datetime_to_instructions=True, 7 | timezone_identifier="Etc/UTC", 8 | ) 9 | agent.print_response( 10 | "What is the current date and time? What is the current time in NYC?" 11 | ) 12 | -------------------------------------------------------------------------------- /cookbook/agent_concepts/other/instructions.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | 3 | agent = Agent(instructions="Share a 2 sentence story about") 4 | agent.print_response("Love in the year 12000.") 5 | -------------------------------------------------------------------------------- /cookbook/agent_concepts/rag/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/rag/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/state/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/state/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/tool_concepts/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/tool_concepts/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/tool_concepts/custom_tools/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/tool_concepts/custom_tools/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/tool_concepts/toolkits/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/tool_concepts/toolkits/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_concepts/user_control_flows/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_concepts/user_control_flows/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_levels/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agent_levels/__init__.py -------------------------------------------------------------------------------- /cookbook/agent_levels/level_1_agent.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.anthropic import Claude 3 | from agno.tools.yfinance import YFinanceTools 4 | 5 | agent = Agent( 6 | model=Claude(id="claude-sonnet-4-20250514"), 7 | tools=[YFinanceTools(stock_price=True)], 8 | instructions="Use tables to display data. Don't include any other text.", 9 | markdown=True, 10 | ) 11 | agent.print_response("What is the stock price of Apple?", stream=True) 12 | -------------------------------------------------------------------------------- /cookbook/agents_from_scratch/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/agents_from_scratch/__init__.py -------------------------------------------------------------------------------- /cookbook/apps/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/apps/__init__.py -------------------------------------------------------------------------------- /cookbook/apps/fastapi/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/apps/fastapi/__init__.py -------------------------------------------------------------------------------- /cookbook/apps/playground/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/apps/playground/__init__.py -------------------------------------------------------------------------------- /cookbook/apps/slack/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/apps/slack/__init__.py -------------------------------------------------------------------------------- /cookbook/apps/whatsapp/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/apps/whatsapp/__init__.py -------------------------------------------------------------------------------- /cookbook/demo/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/demo/__init__.py -------------------------------------------------------------------------------- /cookbook/demo/agents/.gitignore: -------------------------------------------------------------------------------- 1 | output 2 | tmp -------------------------------------------------------------------------------- /cookbook/demo/agents/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/demo/agents/__init__.py -------------------------------------------------------------------------------- /cookbook/demo/agents/load_kb.py: -------------------------------------------------------------------------------- 1 | from agno_assist import agno_assist 2 | 3 | if __name__ == "__main__": 4 | agno_assist.knowledge.load(recreate=True) 5 | -------------------------------------------------------------------------------- /cookbook/demo/requirements.in: -------------------------------------------------------------------------------- 1 | agno 2 | anthropic 3 | duckduckgo-search 4 | exa_py 5 | fastapi[standard] 6 | google-genai 7 | groq 8 | nest_asyncio 9 | openai 10 | pandas 11 | pgvector 12 | psycopg[binary] 13 | pypdf 14 | python-docx 15 | simplejson 16 | sqlalchemy 17 | streamlit 18 | uvicorn 19 | yfinance 20 | youtube-transcript-api 21 | elevenlabs -------------------------------------------------------------------------------- /cookbook/demo/sql/.gitignore: -------------------------------------------------------------------------------- 1 | output 2 | -------------------------------------------------------------------------------- /cookbook/demo/sql/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/demo/sql/__init__.py -------------------------------------------------------------------------------- /cookbook/demo/sql/load_knowledge.py: -------------------------------------------------------------------------------- 1 | from agents import agent_knowledge 2 | from agno.utils.log import logger 3 | 4 | 5 | def load_knowledge(recreate: bool = True): 6 | logger.info("Loading SQL agent knowledge.") 7 | agent_knowledge.load(recreate=recreate) 8 | logger.info("SQL agent knowledge loaded.") 9 | 10 | 11 | if __name__ == "__main__": 12 | load_knowledge() 13 | -------------------------------------------------------------------------------- /cookbook/demo/teams/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/demo/teams/__init__.py -------------------------------------------------------------------------------- /cookbook/evals/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/evals/__init__.py -------------------------------------------------------------------------------- /cookbook/evals/accuracy/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/evals/accuracy/__init__.py -------------------------------------------------------------------------------- /cookbook/evals/performance/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/evals/performance/__init__.py -------------------------------------------------------------------------------- /cookbook/evals/performance/other/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/evals/performance/other/__init__.py -------------------------------------------------------------------------------- /cookbook/evals/reliability/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/evals/reliability/__init__.py -------------------------------------------------------------------------------- /cookbook/evals/reliability/multiple_tool_calls/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/evals/reliability/multiple_tool_calls/__init__.py -------------------------------------------------------------------------------- /cookbook/evals/reliability/single_tool_calls/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/evals/reliability/single_tool_calls/__init__.py -------------------------------------------------------------------------------- /cookbook/evals/reliability/team/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/evals/reliability/team/__init__.py -------------------------------------------------------------------------------- /cookbook/evals/reliability/team/google/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/evals/reliability/team/google/__init__.py -------------------------------------------------------------------------------- /cookbook/evals/reliability/team/openai/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/evals/reliability/team/openai/__init__.py -------------------------------------------------------------------------------- /cookbook/examples/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/examples/__init__.py -------------------------------------------------------------------------------- /cookbook/examples/a2a/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/examples/a2a/__init__.py -------------------------------------------------------------------------------- /cookbook/examples/a2a/basic_agent/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/examples/a2a/basic_agent/__init__.py -------------------------------------------------------------------------------- /cookbook/examples/agents/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/examples/agents/__init__.py -------------------------------------------------------------------------------- /cookbook/examples/agents/agent_with_tools.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.anthropic import Claude 3 | from agno.tools.yfinance import YFinanceTools 4 | 5 | agent = Agent( 6 | model=Claude(id="claude-3-7-sonnet-latest"), 7 | tools=[YFinanceTools(stock_price=True)], 8 | markdown=True, 9 | ) 10 | agent.print_response("What is the stock price of Apple?", stream=True) 11 | -------------------------------------------------------------------------------- /cookbook/examples/agents/basic_agent.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.anthropic import Claude 3 | 4 | agent = Agent(model=Claude(id="claude-3-7-sonnet-latest"), markdown=True) 5 | agent.print_response("What is the stock price of Apple?", stream=True) 6 | -------------------------------------------------------------------------------- /cookbook/examples/multi_agent_reasoning/requirements.in: -------------------------------------------------------------------------------- 1 | agno 2 | anthropic 3 | duckduckgo-search 4 | fastapi[standard] 5 | openai 6 | pgvector 7 | psycopg[binary] 8 | sqlalchemy 9 | yfinance 10 | -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/examples/streamlit_apps/__init__.py -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/agentic_rag/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/examples/streamlit_apps/agentic_rag/__init__.py -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/agentic_rag/requirements.in: -------------------------------------------------------------------------------- 1 | agno 2 | anthropic 3 | duckduckgo_search 4 | google-genai 5 | groq 6 | nest_asyncio 7 | openai 8 | sqlalchemy 9 | streamlit 10 | -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/answer_engine/.gitignore: -------------------------------------------------------------------------------- 1 | output 2 | agents.db 3 | -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/answer_engine/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/examples/streamlit_apps/answer_engine/__init__.py -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/answer_engine/requirements.in: -------------------------------------------------------------------------------- 1 | agno 2 | anthropic 3 | duckduckgo_search 4 | exa_py 5 | google-generativeai 6 | google-search-results 7 | groq 8 | nest_asyncio 9 | openai 10 | sqlalchemy 11 | streamlit 12 | -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/answer_engine/test.py: -------------------------------------------------------------------------------- 1 | from agents import get_sage 2 | 3 | sage = get_sage() 4 | 5 | if __name__ == "__main__": 6 | sage.show_tool_calls = True 7 | sage.print_response("Tell me about the tarrifs the US is imposing", stream=True) 8 | -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/chess_team/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/examples/streamlit_apps/chess_team/__init__.py -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/chess_team/requirements.in: -------------------------------------------------------------------------------- 1 | agno 2 | anthropic 3 | groq 4 | google-genai 5 | nest-asyncio 6 | openai 7 | pathlib 8 | Pillow 9 | rich 10 | streamlit 11 | pydantic 12 | typing-extensions 13 | python-dotenv 14 | python-chess -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/game_generator/.gitignore: -------------------------------------------------------------------------------- 1 | *.html 2 | -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/game_generator/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/examples/streamlit_apps/game_generator/__init__.py -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/game_generator/requirements.txt: -------------------------------------------------------------------------------- 1 | agno 2 | openai 3 | streamlit 4 | 5 | -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/gemini-tutor/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/examples/streamlit_apps/gemini-tutor/__init__.py -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/geobuddy/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/examples/streamlit_apps/geobuddy/__init__.py -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/geobuddy/requirements.txt: -------------------------------------------------------------------------------- 1 | agno 2 | google-generativeai 3 | openai 4 | streamlit 5 | pillow 6 | duckduckgo-search 7 | -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/github_mcp_agent/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/examples/streamlit_apps/github_mcp_agent/__init__.py -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/github_mcp_agent/requirements.in: -------------------------------------------------------------------------------- 1 | streamlit 2 | agno 3 | mcp 4 | openai 5 | asyncio -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/github_repo_analyzer/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/examples/streamlit_apps/github_repo_analyzer/__init__.py -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/github_repo_analyzer/requirements.in: -------------------------------------------------------------------------------- 1 | # Direct dependencies for the GitHub Repo Chat App 2 | agno>=0.1.0 3 | PyGithub>=2.1.1 4 | python-dotenv>=1.0.0 5 | matplotlib>=3.7.2 6 | pandas>=2.0.3 7 | streamlit>=1.24.0 8 | openai>=1.67.0 9 | -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/image_generation/requirements.in: -------------------------------------------------------------------------------- 1 | agno 2 | cohere 3 | groq 4 | httpx 5 | nest_asyncio 6 | openai 7 | pypdf 8 | pgvector 9 | psycopg[binary] 10 | rapidocr-onnxruntime 11 | sqlalchemy 12 | streamlit -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/llama_tutor/.env.example: -------------------------------------------------------------------------------- 1 | GROQ_API_KEY= 2 | EXA_API_KEY= -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/llama_tutor/.gitignore: -------------------------------------------------------------------------------- 1 | output 2 | agents.db 3 | .venv/ 4 | *.env 5 | **/__pycache__/** -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/llama_tutor/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/examples/streamlit_apps/llama_tutor/__init__.py -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/mcp_agent/.gitignore: -------------------------------------------------------------------------------- 1 | output 2 | agents.db 3 | tmp 4 | -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/mcp_agent/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/examples/streamlit_apps/mcp_agent/__init__.py -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/mcp_agent/requirements.in: -------------------------------------------------------------------------------- 1 | agno 2 | anthropic 3 | google-genai 4 | groq 5 | lancedb 6 | mcp 7 | nest_asyncio 8 | openai 9 | sqlalchemy 10 | streamlit 11 | tantivy 12 | -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/medical_imaging/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/examples/streamlit_apps/medical_imaging/__init__.py -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/medical_imaging/requirements.txt: -------------------------------------------------------------------------------- 1 | agno 2 | openai 3 | streamlit 4 | duckduckgo-search 5 | -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/paperpal/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/examples/streamlit_apps/paperpal/__init__.py -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/paperpal/requirements.txt: -------------------------------------------------------------------------------- 1 | agno 2 | openai 3 | streamlit 4 | exa_py 5 | arxiv 6 | -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/parallel_world_builder/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/examples/streamlit_apps/parallel_world_builder/__init__.py -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/parallel_world_builder/requirements.txt: -------------------------------------------------------------------------------- 1 | agno 2 | openai 3 | streamlit 4 | google-generativeai 5 | anthropic 6 | -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/podcast_generator/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/examples/streamlit_apps/podcast_generator/__init__.py -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/podcast_generator/requirements.in: -------------------------------------------------------------------------------- 1 | agno 2 | openai 3 | streamlit 4 | duckduckgo-search 5 | -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/sql_agent/.gitignore: -------------------------------------------------------------------------------- 1 | output 2 | -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/sql_agent/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/examples/streamlit_apps/sql_agent/__init__.py -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/sql_agent/load_knowledge.py: -------------------------------------------------------------------------------- 1 | from agents import agent_knowledge 2 | from agno.utils.log import logger 3 | 4 | 5 | def load_knowledge(recreate: bool = True): 6 | logger.info("Loading SQL agent knowledge.") 7 | agent_knowledge.load(recreate=recreate) 8 | logger.info("SQL agent knowledge loaded.") 9 | 10 | 11 | if __name__ == "__main__": 12 | load_knowledge() 13 | -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/sql_agent/requirements.in: -------------------------------------------------------------------------------- 1 | agno 2 | anthropic 3 | google-genai 4 | groq 5 | nest_asyncio 6 | openai 7 | pandas 8 | pgvector 9 | psycopg[binary] 10 | simplejson 11 | sqlalchemy 12 | streamlit -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/tic_tac_toe/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/examples/streamlit_apps/tic_tac_toe/.gitignore -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/tic_tac_toe/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/examples/streamlit_apps/tic_tac_toe/__init__.py -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/tic_tac_toe/requirements.in: -------------------------------------------------------------------------------- 1 | agno 2 | anthropic 3 | groq 4 | google-genai 5 | nest-asyncio 6 | ollama 7 | openai 8 | pathlib 9 | Pillow 10 | pip-tools 11 | python-dotenv 12 | rich 13 | streamlit 14 | -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/universal_agent_interface/.gitignore: -------------------------------------------------------------------------------- 1 | output 2 | tmp 3 | -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/universal_agent_interface/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/examples/streamlit_apps/universal_agent_interface/__init__.py -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/universal_agent_interface/requirements.in: -------------------------------------------------------------------------------- 1 | agno 2 | anthropic 3 | duckduckgo-search 4 | google-genai 5 | groq 6 | duckdb 7 | exa_py 8 | nest_asyncio 9 | openai 10 | qdrant-client 11 | sqlalchemy 12 | streamlit 13 | yfinance 14 | aiofiles 15 | lancedb 16 | tantivy 17 | pypdf 18 | python-docx 19 | beautifulsoup4 -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/vision_ai/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/examples/streamlit_apps/vision_ai/__init__.py -------------------------------------------------------------------------------- /cookbook/examples/streamlit_apps/vision_ai/requirements.in: -------------------------------------------------------------------------------- 1 | agno 2 | openai 3 | google-genai 4 | mistralai 5 | pgvector 6 | psycopg[binary] 7 | simplejson 8 | sqlalchemy 9 | streamlit 10 | duckduckgo-search 11 | nest_asyncio 12 | -------------------------------------------------------------------------------- /cookbook/examples/teams/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/examples/teams/__init__.py -------------------------------------------------------------------------------- /cookbook/examples/teams/collaborate/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/examples/teams/collaborate/__init__.py -------------------------------------------------------------------------------- /cookbook/examples/teams/coordinate/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/examples/teams/coordinate/__init__.py -------------------------------------------------------------------------------- /cookbook/examples/teams/route/ThaiRecipes.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/examples/teams/route/ThaiRecipes.pdf -------------------------------------------------------------------------------- /cookbook/examples/teams/route/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/examples/teams/route/__init__.py -------------------------------------------------------------------------------- /cookbook/examples/teams/route/sample.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/examples/teams/route/sample.jpg -------------------------------------------------------------------------------- /cookbook/getting_started/.gitignore: -------------------------------------------------------------------------------- 1 | tmp 2 | -------------------------------------------------------------------------------- /cookbook/getting_started/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/getting_started/__init__.py -------------------------------------------------------------------------------- /cookbook/hackathon/data/sample_audio.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/hackathon/data/sample_audio.wav -------------------------------------------------------------------------------- /cookbook/hackathon/data/sample_image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/hackathon/data/sample_image.jpg -------------------------------------------------------------------------------- /cookbook/hackathon/workshop/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/hackathon/workshop/__init__.py -------------------------------------------------------------------------------- /cookbook/models/.gitignore: -------------------------------------------------------------------------------- 1 | *.jpg 2 | *.png 3 | *.mp3 4 | *.wav 5 | *.mp4 6 | *.mp3 7 | *.pdf 8 | *.txt 9 | -------------------------------------------------------------------------------- /cookbook/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/__init__.py -------------------------------------------------------------------------------- /cookbook/models/aimlapi/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/aimlapi/__init__.py -------------------------------------------------------------------------------- /cookbook/models/aimlapi/async_basic.py: -------------------------------------------------------------------------------- 1 | """ 2 | Basic async example using AIMlAPI. 3 | """ 4 | 5 | import asyncio 6 | 7 | from agno.agent import Agent 8 | from agno.models.aimlapi import AIMLApi 9 | 10 | agent = Agent( 11 | model=AIMLApi(id="gpt-4o-mini"), 12 | markdown=True, 13 | ) 14 | 15 | asyncio.run(agent.aprint_response("Share a 2 sentence horror story")) 16 | -------------------------------------------------------------------------------- /cookbook/models/aimlapi/async_basic_stream.py: -------------------------------------------------------------------------------- 1 | """ 2 | Basic streaming async example using AIMlAPI. 3 | """ 4 | 5 | import asyncio 6 | 7 | from agno.agent import Agent 8 | from agno.models.aimlapi import AIMLApi 9 | 10 | agent = Agent( 11 | model=AIMLApi(id="gpt-4o-mini"), 12 | markdown=True, 13 | ) 14 | 15 | asyncio.run(agent.aprint_response("Share a 2 sentence horror story", stream=True)) 16 | -------------------------------------------------------------------------------- /cookbook/models/aimlapi/basic.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent, RunResponse # noqa 2 | from agno.models.aimlapi import AIMLApi 3 | 4 | agent = Agent(model=AIMLApi(id="gpt-4o-mini"), markdown=True) 5 | 6 | # Get the response in a variable 7 | # run: RunResponse = agent.run("Share a 2 sentence horror story") 8 | # print(run.content) 9 | 10 | # Print the response in the terminal 11 | agent.print_response("Share a 2 sentence horror story") 12 | -------------------------------------------------------------------------------- /cookbook/models/aimlapi/tool_use.py: -------------------------------------------------------------------------------- 1 | """Run `pip install duckduckgo-search` to install dependencies.""" 2 | 3 | from agno.agent import Agent 4 | from agno.models.aimlapi import AIMLApi 5 | from agno.tools.duckduckgo import DuckDuckGoTools 6 | 7 | agent = Agent( 8 | model=AIMLApi(id="gpt-4o-mini"), 9 | tools=[DuckDuckGoTools()], 10 | show_tool_calls=True, 11 | markdown=True, 12 | ) 13 | 14 | agent.print_response("Whats happening in France?") 15 | -------------------------------------------------------------------------------- /cookbook/models/anthropic/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/anthropic/__init__.py -------------------------------------------------------------------------------- /cookbook/models/anthropic/async_basic.py: -------------------------------------------------------------------------------- 1 | """ 2 | Basic async example using Claude. 3 | """ 4 | 5 | import asyncio 6 | 7 | from agno.agent import Agent 8 | from agno.models.anthropic import Claude 9 | 10 | agent = Agent( 11 | model=Claude(id="claude-3-5-sonnet-20240620"), 12 | markdown=True, 13 | ) 14 | 15 | asyncio.run(agent.aprint_response("Share a 2 sentence horror story")) 16 | -------------------------------------------------------------------------------- /cookbook/models/anthropic/async_basic_stream.py: -------------------------------------------------------------------------------- 1 | """ 2 | Basic streaming async example using Claude. 3 | """ 4 | 5 | import asyncio 6 | 7 | from agno.agent import Agent 8 | from agno.models.anthropic import Claude 9 | 10 | agent = Agent( 11 | model=Claude(id="claude-3-5-sonnet-20240620"), 12 | markdown=True, 13 | ) 14 | 15 | asyncio.run(agent.aprint_response("Share a 2 sentence horror story", stream=True)) 16 | -------------------------------------------------------------------------------- /cookbook/models/anthropic/basic.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent, RunResponse # noqa 2 | from agno.models.anthropic import Claude 3 | 4 | agent = Agent(model=Claude(id="claude-3-5-sonnet-20241022"), markdown=True) 5 | 6 | # Get the response in a variable 7 | # run: RunResponse = agent.run("Share a 2 sentence horror story") 8 | # print(run.content) 9 | 10 | # Print the response in the terminal 11 | agent.print_response("Share a 2 sentence horror story") 12 | -------------------------------------------------------------------------------- /cookbook/models/anthropic/pdf_input_url.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.media import File 3 | from agno.models.anthropic import Claude 4 | 5 | agent = Agent( 6 | model=Claude(id="claude-3-5-sonnet-20241022"), 7 | markdown=True, 8 | ) 9 | 10 | agent.print_response( 11 | "Summarize the contents of the attached file.", 12 | files=[ 13 | File(url="https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf"), 14 | ], 15 | ) 16 | -------------------------------------------------------------------------------- /cookbook/models/anthropic/thinking.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.anthropic import Claude 3 | 4 | agent = Agent( 5 | model=Claude( 6 | id="claude-3-7-sonnet-20250219", 7 | max_tokens=2048, 8 | thinking={"type": "enabled", "budget_tokens": 1024}, 9 | ), 10 | markdown=True, 11 | ) 12 | 13 | # Print the response in the terminal 14 | agent.print_response("Share a very scary 2 sentence horror story") 15 | -------------------------------------------------------------------------------- /cookbook/models/anthropic/thinking_stream.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.anthropic import Claude 3 | 4 | agent = Agent( 5 | model=Claude( 6 | id="claude-3-7-sonnet-20250219", 7 | max_tokens=2048, 8 | thinking={"type": "enabled", "budget_tokens": 1024}, 9 | ), 10 | markdown=True, 11 | ) 12 | 13 | # Print the response in the terminal 14 | agent.print_response("Share a very scary 2 sentence horror story", stream=True) 15 | -------------------------------------------------------------------------------- /cookbook/models/anthropic/tool_use.py: -------------------------------------------------------------------------------- 1 | """Run `pip install duckduckgo-search` to install dependencies.""" 2 | 3 | from agno.agent import Agent 4 | from agno.models.anthropic import Claude 5 | from agno.tools.duckduckgo import DuckDuckGoTools 6 | 7 | agent = Agent( 8 | model=Claude(id="claude-3-5-sonnet-20240620"), 9 | tools=[DuckDuckGoTools()], 10 | show_tool_calls=True, 11 | markdown=True, 12 | ) 13 | agent.print_response("Whats happening in France?") 14 | -------------------------------------------------------------------------------- /cookbook/models/aws/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/aws/__init__.py -------------------------------------------------------------------------------- /cookbook/models/aws/bedrock/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/aws/bedrock/__init__.py -------------------------------------------------------------------------------- /cookbook/models/aws/bedrock/basic.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent, RunResponse # noqa 2 | from agno.models.aws import AwsBedrock 3 | 4 | agent = Agent(model=AwsBedrock(id="mistral.mistral-small-2402-v1:0"), markdown=True) 5 | 6 | # Get the response in a variable 7 | # run: RunResponse = agent.run("Share a 2 sentence horror story") 8 | # print(run.content) 9 | 10 | # Print the response in the terminal 11 | agent.print_response("Share a 2 sentence horror story") 12 | -------------------------------------------------------------------------------- /cookbook/models/aws/claude/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/aws/claude/__init__.py -------------------------------------------------------------------------------- /cookbook/models/azure/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/azure/__init__.py -------------------------------------------------------------------------------- /cookbook/models/azure/ai_foundry/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/azure/ai_foundry/__init__.py -------------------------------------------------------------------------------- /cookbook/models/azure/ai_foundry/basic.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent, RunResponse # noqa 2 | from agno.models.azure import AzureAIFoundry 3 | 4 | agent = Agent(model=AzureAIFoundry(id="Phi-4"), markdown=True) 5 | 6 | # Get the response in a variable 7 | # run: RunResponse = agent.run("Share a 2 sentence horror story") 8 | # print(run.content) 9 | 10 | # Print the response on the terminal 11 | agent.print_response("Share a 2 sentence horror story") 12 | -------------------------------------------------------------------------------- /cookbook/models/azure/ai_foundry/demo_mistral.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent, RunResponse # noqa 2 | from agno.models.azure import AzureAIFoundry 3 | 4 | agent = Agent(model=AzureAIFoundry(id="Mistral-Large-2411"), markdown=True) 5 | 6 | # Get the response in a variable 7 | # run: RunResponse = agent.run("Share a 2 sentence horror story") 8 | # print(run.content) 9 | 10 | # Print the response on the terminal 11 | agent.print_response("Share a 2 sentence horror story") 12 | -------------------------------------------------------------------------------- /cookbook/models/azure/openai/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/azure/openai/__init__.py -------------------------------------------------------------------------------- /cookbook/models/azure/openai/basic.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent, RunResponse # noqa 2 | from agno.models.azure import AzureOpenAI 3 | 4 | agent = Agent(model=AzureOpenAI(id="gpt-4o-mini"), markdown=True) 5 | 6 | # Get the response in a variable 7 | # run: RunResponse = agent.run("Share a 2 sentence horror story") 8 | # print(run.content) 9 | 10 | # Print the response on the terminal 11 | agent.print_response("Share a 2 sentence horror story") 12 | -------------------------------------------------------------------------------- /cookbook/models/cerebras/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/cerebras/__init__.py -------------------------------------------------------------------------------- /cookbook/models/cerebras/async_basic.py: -------------------------------------------------------------------------------- 1 | import asyncio 2 | 3 | from agno.agent import Agent 4 | from agno.models.cerebras import Cerebras 5 | 6 | agent = Agent( 7 | model=Cerebras(id="llama-4-scout-17b-16e-instruct"), 8 | show_tool_calls=True, 9 | markdown=True, 10 | debug_mode=True, 11 | ) 12 | 13 | asyncio.run(agent.aprint_response("write a two sentence horror story")) 14 | -------------------------------------------------------------------------------- /cookbook/models/cerebras/async_basic_stream.py: -------------------------------------------------------------------------------- 1 | import asyncio 2 | 3 | from agno.agent import Agent 4 | from agno.models.cerebras import Cerebras 5 | 6 | agent = Agent( 7 | model=Cerebras(id="llama-4-scout-17b-16e-instruct"), 8 | show_tool_calls=True, 9 | markdown=True, 10 | debug_mode=True, 11 | ) 12 | 13 | asyncio.run(agent.aprint_response("write a two sentence horror story", stream=True)) 14 | -------------------------------------------------------------------------------- /cookbook/models/cerebras/async_tool_use.py: -------------------------------------------------------------------------------- 1 | import asyncio 2 | 3 | from agno.agent import Agent 4 | from agno.models.cerebras import Cerebras 5 | from agno.tools.duckduckgo import DuckDuckGoTools 6 | 7 | agent = Agent( 8 | model=Cerebras(id="llama-4-scout-17b-16e-instruct"), 9 | tools=[DuckDuckGoTools()], 10 | show_tool_calls=True, 11 | markdown=True, 12 | debug_mode=True, 13 | ) 14 | 15 | asyncio.run(agent.aprint_response("Whats happening in France?")) 16 | -------------------------------------------------------------------------------- /cookbook/models/cerebras/basic.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.cerebras import Cerebras 3 | 4 | agent = Agent( 5 | model=Cerebras(id="llama-4-scout-17b-16e-instruct"), 6 | show_tool_calls=True, 7 | markdown=True, 8 | debug_mode=True, 9 | ) 10 | 11 | # Print the response in the terminal 12 | agent.print_response("write a two sentence horror story") 13 | -------------------------------------------------------------------------------- /cookbook/models/cerebras/basic_stream.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent, RunResponse # noqa 2 | import asyncio 3 | from agno.models.cerebras import Cerebras 4 | 5 | agent = Agent( 6 | model=Cerebras(id="llama-4-scout-17b-16e-instruct"), 7 | show_tool_calls=True, 8 | markdown=True, 9 | debug_mode=True, 10 | ) 11 | 12 | # Print the response in the terminal 13 | agent.print_response("write a two sentence horror story", stream=True) 14 | -------------------------------------------------------------------------------- /cookbook/models/cerebras/tool_use.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.cerebras import Cerebras 3 | from agno.tools.duckduckgo import DuckDuckGoTools 4 | 5 | agent = Agent( 6 | model=Cerebras(id="llama-4-scout-17b-16e-instruct"), 7 | tools=[DuckDuckGoTools()], 8 | show_tool_calls=True, 9 | markdown=True, 10 | debug_mode=True, 11 | ) 12 | 13 | # Print the response in the terminal 14 | agent.print_response("Whats happening in France?") 15 | -------------------------------------------------------------------------------- /cookbook/models/cerebras/tool_use_stream.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.cerebras import Cerebras 3 | from agno.tools.duckduckgo import DuckDuckGoTools 4 | 5 | agent = Agent( 6 | model=Cerebras(id="llama-3.3-70b"), 7 | tools=[DuckDuckGoTools()], 8 | show_tool_calls=True, 9 | markdown=True, 10 | debug_mode=True, 11 | ) 12 | 13 | # Print the response in the terminal 14 | agent.print_response("Whats happening in France?", stream=True) 15 | -------------------------------------------------------------------------------- /cookbook/models/cerebras_openai/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/cerebras_openai/__init__.py -------------------------------------------------------------------------------- /cookbook/models/cerebras_openai/async_basic.py: -------------------------------------------------------------------------------- 1 | import asyncio 2 | 3 | from agno.agent import Agent 4 | from agno.models.cerebras import CerebrasOpenAI 5 | 6 | agent = Agent( 7 | model=CerebrasOpenAI(id="llama-4-scout-17b-16e-instruct"), 8 | show_tool_calls=True, 9 | markdown=True, 10 | debug_mode=True, 11 | ) 12 | 13 | # Print the response in the terminal 14 | asyncio.run(agent.aprint_response("write a two sentence horror story")) 15 | -------------------------------------------------------------------------------- /cookbook/models/cerebras_openai/async_basic_stream.py: -------------------------------------------------------------------------------- 1 | import asyncio 2 | 3 | from agno.agent import Agent 4 | from agno.models.cerebras import CerebrasOpenAI 5 | 6 | agent = Agent( 7 | model=CerebrasOpenAI(id="llama-4-scout-17b-16e-instruct"), 8 | show_tool_calls=True, 9 | markdown=True, 10 | debug_mode=True, 11 | ) 12 | 13 | # Print the response in the terminal 14 | asyncio.run(agent.aprint_response("write a two sentence horror story", stream=True)) 15 | -------------------------------------------------------------------------------- /cookbook/models/cerebras_openai/basic.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.cerebras import CerebrasOpenAI 3 | 4 | agent = Agent( 5 | model=CerebrasOpenAI(id="llama-4-scout-17b-16e-instruct"), 6 | show_tool_calls=True, 7 | markdown=True, 8 | debug_mode=True, 9 | ) 10 | 11 | # Print the response in the terminal 12 | agent.print_response("write a two sentence horror story") 13 | -------------------------------------------------------------------------------- /cookbook/models/cerebras_openai/basic_stream.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.cerebras import CerebrasOpenAI 3 | 4 | agent = Agent( 5 | model=CerebrasOpenAI(id="llama-4-scout-17b-16e-instruct"), 6 | show_tool_calls=True, 7 | markdown=True, 8 | debug_mode=True, 9 | ) 10 | 11 | # Print the response in the terminal 12 | agent.print_response("write a two sentence horror story", stream=True) 13 | -------------------------------------------------------------------------------- /cookbook/models/cohere/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/cohere/__init__.py -------------------------------------------------------------------------------- /cookbook/models/cohere/async_basic.py: -------------------------------------------------------------------------------- 1 | """ 2 | Basic async example using Cohere. 3 | """ 4 | 5 | import asyncio 6 | 7 | from agno.agent import Agent 8 | from agno.models.cohere import Cohere 9 | 10 | agent = Agent( 11 | model=Cohere(id="command-a-03-2025"), 12 | markdown=True, 13 | ) 14 | 15 | asyncio.run(agent.aprint_response("Share a 2 sentence horror story")) 16 | -------------------------------------------------------------------------------- /cookbook/models/cohere/async_basic_stream.py: -------------------------------------------------------------------------------- 1 | """ 2 | Basic streaming async example using Cohere. 3 | """ 4 | 5 | import asyncio 6 | 7 | from agno.agent import Agent 8 | from agno.models.cohere import Cohere 9 | 10 | agent = Agent( 11 | model=Cohere(id="command-a-03-2025"), 12 | markdown=True, 13 | ) 14 | 15 | asyncio.run(agent.aprint_response("Share a 2 sentence horror story", stream=True)) 16 | -------------------------------------------------------------------------------- /cookbook/models/cohere/basic.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent, RunResponse # noqa 2 | from agno.models.cohere import Cohere 3 | 4 | agent = Agent(model=Cohere(id="command-a-03-2025"), markdown=True) 5 | 6 | # Get the response in a variable 7 | # run: RunResponse = agent.run("Share a 2 sentence horror story") 8 | # print(run.content) 9 | 10 | # Print the response in the terminal 11 | agent.print_response("Share a 2 sentence horror story") 12 | -------------------------------------------------------------------------------- /cookbook/models/cohere/tool_use.py: -------------------------------------------------------------------------------- 1 | """Run `pip install duckduckgo-search` to install dependencies.""" 2 | 3 | from agno.agent import Agent 4 | from agno.models.cohere import Cohere 5 | from agno.tools.duckduckgo import DuckDuckGoTools 6 | 7 | agent = Agent( 8 | model=Cohere(id="command-a-03-2025"), 9 | tools=[DuckDuckGoTools()], 10 | show_tool_calls=True, 11 | markdown=True, 12 | ) 13 | 14 | agent.print_response("Whats happening in France?", stream=True) 15 | -------------------------------------------------------------------------------- /cookbook/models/deepinfra/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/deepinfra/__init__.py -------------------------------------------------------------------------------- /cookbook/models/deepinfra/async_basic_stream.py: -------------------------------------------------------------------------------- 1 | import asyncio 2 | from typing import Iterator # noqa 3 | 4 | from agno.agent import Agent, RunResponse # noqa 5 | from agno.models.deepinfra import DeepInfra # noqa 6 | 7 | agent = Agent( 8 | model=DeepInfra(id="meta-llama/Llama-2-70b-chat-hf"), 9 | markdown=True, 10 | ) 11 | 12 | # Print the response in the terminal 13 | asyncio.run(agent.aprint_response("Share a 2 sentence horror story", stream=True)) 14 | -------------------------------------------------------------------------------- /cookbook/models/deepseek/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/deepseek/__init__.py -------------------------------------------------------------------------------- /cookbook/models/deepseek/async_basic.py: -------------------------------------------------------------------------------- 1 | """ 2 | Basic async example using DeepSeek. 3 | """ 4 | 5 | import asyncio 6 | 7 | from agno.agent import Agent 8 | from agno.models.deepseek import DeepSeek 9 | 10 | agent = Agent( 11 | model=DeepSeek(id="deepseek-chat"), 12 | markdown=True, 13 | ) 14 | 15 | asyncio.run(agent.aprint_response("Share a 2 sentence horror story")) 16 | -------------------------------------------------------------------------------- /cookbook/models/deepseek/async_basic_streaming.py: -------------------------------------------------------------------------------- 1 | """ 2 | Basic streaming async example using DeepSeek. 3 | """ 4 | 5 | import asyncio 6 | 7 | from agno.agent import Agent 8 | from agno.models.deepseek import DeepSeek 9 | 10 | agent = Agent( 11 | model=DeepSeek(id="deepseek-chat"), 12 | markdown=True, 13 | ) 14 | 15 | asyncio.run(agent.aprint_response("Share a 2 sentence horror story", stream=True)) 16 | -------------------------------------------------------------------------------- /cookbook/models/deepseek/basic.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent, RunResponse # noqa 2 | from agno.models.deepseek import DeepSeek 3 | 4 | agent = Agent(model=DeepSeek(id="deepseek-chat"), markdown=True) 5 | 6 | # Get the response in a variable 7 | # run: RunResponse = agent.run("Share a 2 sentence horror story") 8 | # print(run.content) 9 | 10 | # Print the response in the terminal 11 | agent.print_response("Share a 2 sentence horror story") 12 | -------------------------------------------------------------------------------- /cookbook/models/fireworks/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/fireworks/__init__.py -------------------------------------------------------------------------------- /cookbook/models/fireworks/async_basic.py: -------------------------------------------------------------------------------- 1 | """ 2 | Basic async example using Fireworks. 3 | """ 4 | 5 | import asyncio 6 | 7 | from agno.agent import Agent 8 | from agno.models.fireworks import Fireworks 9 | 10 | agent = Agent( 11 | model=Fireworks(id="accounts/fireworks/models/llama-v3p1-405b-instruct"), 12 | markdown=True, 13 | ) 14 | 15 | asyncio.run(agent.aprint_response("Share a 2 sentence horror story")) 16 | -------------------------------------------------------------------------------- /cookbook/models/fireworks/async_basic_stream.py: -------------------------------------------------------------------------------- 1 | """ 2 | Basic streaming async example using Fireworks. 3 | """ 4 | 5 | import asyncio 6 | 7 | from agno.agent import Agent 8 | from agno.models.fireworks import Fireworks 9 | 10 | agent = Agent( 11 | model=Fireworks(id="accounts/fireworks/models/llama-v3p1-405b-instruct"), 12 | markdown=True, 13 | ) 14 | 15 | asyncio.run(agent.aprint_response("Share a 2 sentence horror story", stream=True)) 16 | -------------------------------------------------------------------------------- /cookbook/models/google/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/google/__init__.py -------------------------------------------------------------------------------- /cookbook/models/google/gemini/.gitignore: -------------------------------------------------------------------------------- 1 | *.jpg 2 | *.png 3 | *.mp3 4 | *.wav 5 | *.mp4 6 | *.mp3 7 | -------------------------------------------------------------------------------- /cookbook/models/google/gemini/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/google/gemini/__init__.py -------------------------------------------------------------------------------- /cookbook/models/google/gemini/basic.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent, RunResponse # noqa 2 | from agno.models.google import Gemini 3 | 4 | agent = Agent(model=Gemini(id="gemini-2.0-flash-001"), markdown=True) 5 | 6 | # Get the response in a variable 7 | # run: RunResponse = agent.run("Share a 2 sentence horror story") 8 | # print(run.content) 9 | 10 | # Print the response in the terminal 11 | agent.print_response("Share a 2 sentence horror story") 12 | -------------------------------------------------------------------------------- /cookbook/models/google/gemini/grounding.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.google import Gemini 3 | 4 | agent = Agent( 5 | model=Gemini(id="gemini-2.0-flash", grounding=True), 6 | add_datetime_to_instructions=True, 7 | ) 8 | agent.print_response( 9 | "Give me the latest details on Tariffs?", stream=True, markdown=True 10 | ) 11 | -------------------------------------------------------------------------------- /cookbook/models/google/gemini/search.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.google import Gemini 3 | 4 | agent = Agent( 5 | model=Gemini(id="gemini-2.0-flash-exp", search=True), 6 | show_tool_calls=True, 7 | markdown=True, 8 | ) 9 | agent.print_response("Show me top 2 news stories from USA?") 10 | -------------------------------------------------------------------------------- /cookbook/models/google/gemini/tool_use.py: -------------------------------------------------------------------------------- 1 | """Run `pip install duckduckgo-search` to install dependencies.""" 2 | 3 | from agno.agent import Agent 4 | from agno.models.google import Gemini 5 | from agno.tools.duckduckgo import DuckDuckGoTools 6 | 7 | agent = Agent( 8 | model=Gemini(id="gemini-2.0-flash-001"), 9 | tools=[DuckDuckGoTools()], 10 | show_tool_calls=True, 11 | markdown=True, 12 | ) 13 | agent.print_response("Whats happening in France?") 14 | -------------------------------------------------------------------------------- /cookbook/models/groq/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/groq/__init__.py -------------------------------------------------------------------------------- /cookbook/models/groq/async_basic.py: -------------------------------------------------------------------------------- 1 | import asyncio 2 | 3 | from agno.agent import Agent 4 | from agno.models.groq import Groq 5 | 6 | agent = Agent( 7 | model=Groq(id="llama-3.3-70b-versatile"), 8 | description="You help people with their health and fitness goals.", 9 | instructions=["Recipes should be under 5 ingredients"], 10 | ) 11 | # -*- Print a response to the cli 12 | asyncio.run(agent.aprint_response("Share a breakfast recipe.", markdown=True)) 13 | -------------------------------------------------------------------------------- /cookbook/models/groq/basic.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent, RunResponse # noqa 2 | from agno.models.groq import Groq 3 | 4 | agent = Agent(model=Groq(id="llama-3.3-70b-versatile"), markdown=True) 5 | 6 | # Get the response in a variable 7 | # run: RunResponse = agent.run("Share a 2 sentence horror story") 8 | # print(run.content) 9 | 10 | # Print the response on the terminal 11 | agent.print_response("Share a 2 sentence horror story") 12 | -------------------------------------------------------------------------------- /cookbook/models/groq/image_agent.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.media import Image 3 | from agno.models.groq import Groq 4 | 5 | agent = Agent(model=Groq(id="llama-3.2-90b-vision-preview")) 6 | 7 | agent.print_response( 8 | "Tell me about this image", 9 | images=[ 10 | Image(url="https://upload.wikimedia.org/wikipedia/commons/f/f2/LPU-v1-die.jpg"), 11 | ], 12 | stream=True, 13 | ) 14 | -------------------------------------------------------------------------------- /cookbook/models/groq/reasoning/.gitignore: -------------------------------------------------------------------------------- 1 | tmp 2 | -------------------------------------------------------------------------------- /cookbook/models/groq/reasoning/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/groq/reasoning/__init__.py -------------------------------------------------------------------------------- /cookbook/models/groq/reasoning/basic.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.groq import Groq 3 | 4 | agent = Agent(model=Groq(id="deepseek-r1-distill-llama-70b-specdec"), markdown=True) 5 | 6 | # Print the response on the terminal 7 | agent.print_response("Share a 2 sentence horror story") 8 | -------------------------------------------------------------------------------- /cookbook/models/groq/reasoning/basic_stream.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.groq import Groq 3 | 4 | agent = Agent(model=Groq(id="deepseek-r1-distill-llama-70b-specdec"), markdown=True) 5 | 6 | # Print the response on the terminal 7 | agent.print_response("Share a 2 sentence horror story", stream=True) 8 | -------------------------------------------------------------------------------- /cookbook/models/huggingface/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/huggingface/__init__.py -------------------------------------------------------------------------------- /cookbook/models/huggingface/async_basic.py: -------------------------------------------------------------------------------- 1 | import asyncio 2 | 3 | from agno.agent import Agent 4 | from agno.models.huggingface import HuggingFace 5 | 6 | agent = Agent( 7 | model=HuggingFace( 8 | id="mistralai/Mistral-7B-Instruct-v0.2", max_tokens=4096, temperature=0 9 | ), 10 | ) 11 | asyncio.run( 12 | agent.aprint_response( 13 | "What is meaning of life and then recommend 5 best books to read about it" 14 | ) 15 | ) 16 | -------------------------------------------------------------------------------- /cookbook/models/huggingface/basic.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.huggingface import HuggingFace 3 | 4 | agent = Agent( 5 | model=HuggingFace( 6 | id="mistralai/Mistral-7B-Instruct-v0.2", max_tokens=4096, temperature=0 7 | ), 8 | ) 9 | agent.print_response( 10 | "What is meaning of life and then recommend 5 best books to read about it" 11 | ) 12 | -------------------------------------------------------------------------------- /cookbook/models/huggingface/basic_stream.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.huggingface import HuggingFace 3 | 4 | agent = Agent( 5 | model=HuggingFace( 6 | id="mistralai/Mistral-7B-Instruct-v0.2", max_tokens=4096, temperature=0 7 | ), 8 | ) 9 | agent.print_response( 10 | "What is meaning of life and then recommend 5 best books to read about it", 11 | stream=True, 12 | ) 13 | -------------------------------------------------------------------------------- /cookbook/models/ibm/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/ibm/__init__.py -------------------------------------------------------------------------------- /cookbook/models/ibm/watsonx/.gitignore: -------------------------------------------------------------------------------- 1 | *.jpg 2 | *.png 3 | *.mp3 4 | *.wav 5 | *.mp4 6 | *.mp3 7 | -------------------------------------------------------------------------------- /cookbook/models/ibm/watsonx/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/ibm/watsonx/__init__.py -------------------------------------------------------------------------------- /cookbook/models/ibm/watsonx/basic.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent, RunResponse # noqa 2 | from agno.models.ibm import WatsonX 3 | 4 | agent = Agent(model=WatsonX(id="ibm/granite-20b-code-instruct"), markdown=True) 5 | 6 | # Get the response in a variable 7 | # run: RunResponse = agent.run("Share a 2 sentence horror story") 8 | # print(run.content) 9 | 10 | # Print the response in the terminal 11 | agent.print_response("Share a 2 sentence horror story") 12 | -------------------------------------------------------------------------------- /cookbook/models/litellm/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/litellm/__init__.py -------------------------------------------------------------------------------- /cookbook/models/litellm/async_basic.py: -------------------------------------------------------------------------------- 1 | import asyncio 2 | 3 | from agno.agent import Agent 4 | from agno.models.litellm import LiteLLM 5 | 6 | openai_agent = Agent( 7 | model=LiteLLM( 8 | id="gpt-4o", 9 | name="LiteLLM", 10 | ), 11 | markdown=True, 12 | ) 13 | 14 | asyncio.run(openai_agent.aprint_response("Share a 2 sentence horror story")) 15 | -------------------------------------------------------------------------------- /cookbook/models/litellm/async_basic_stream.py: -------------------------------------------------------------------------------- 1 | import asyncio 2 | 3 | from agno.agent import Agent 4 | from agno.models.litellm import LiteLLM 5 | 6 | openai_agent = Agent( 7 | model=LiteLLM( 8 | id="gpt-4o", 9 | name="LiteLLM", 10 | ), 11 | markdown=True, 12 | ) 13 | 14 | # Print the response in the terminal 15 | asyncio.run( 16 | openai_agent.aprint_response("Share a 2 sentence horror story", stream=True) 17 | ) 18 | -------------------------------------------------------------------------------- /cookbook/models/litellm/basic_gpt.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.litellm import LiteLLM 3 | 4 | openai_agent = Agent( 5 | model=LiteLLM( 6 | id="gpt-4o", 7 | name="LiteLLM", 8 | ), 9 | markdown=True, 10 | ) 11 | 12 | openai_agent.print_response("Share a 2 sentence horror story") 13 | -------------------------------------------------------------------------------- /cookbook/models/litellm/basic_hf.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.litellm import LiteLLM 3 | 4 | openai_agent = Agent( 5 | model=LiteLLM( 6 | id="huggingface/mistralai/Mistral-7B-Instruct-v0.2", 7 | top_p=0.95, 8 | ), 9 | markdown=True, 10 | ) 11 | 12 | openai_agent.print_response("Whats happening in France?") 13 | -------------------------------------------------------------------------------- /cookbook/models/litellm/basic_stream.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.litellm import LiteLLM 3 | 4 | openai_agent = Agent( 5 | model=LiteLLM( 6 | id="gpt-4o", 7 | name="LiteLLM", 8 | ), 9 | markdown=True, 10 | ) 11 | 12 | openai_agent.print_response("Share a 2 sentence horror story", stream=True) 13 | -------------------------------------------------------------------------------- /cookbook/models/litellm/tool_use.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.litellm import LiteLLM 3 | from agno.tools.yfinance import YFinanceTools 4 | 5 | openai_agent = Agent( 6 | model=LiteLLM( 7 | id="gpt-4o", 8 | name="LiteLLM", 9 | ), 10 | markdown=True, 11 | tools=[YFinanceTools()], 12 | ) 13 | 14 | # Ask a question that would likely trigger tool use 15 | openai_agent.print_response("How is TSLA stock doing right now?") 16 | -------------------------------------------------------------------------------- /cookbook/models/litellm_openai/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/litellm_openai/__init__.py -------------------------------------------------------------------------------- /cookbook/models/litellm_openai/basic.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent, RunResponse # noqa 2 | from agno.models.litellm import LiteLLMOpenAI 3 | 4 | agent = Agent(model=LiteLLMOpenAI(id="gpt-4o"), markdown=True) 5 | 6 | # Get the response in a variable 7 | # run: RunResponse = agent.run("Share a 2 sentence horror story") 8 | # print(run.content) 9 | 10 | # Print the response in the terminal 11 | agent.print_response("Share a 2 sentence horror story") 12 | -------------------------------------------------------------------------------- /cookbook/models/litellm_openai/basic_stream.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent, RunResponse # noqa 2 | from agno.models.litellm import LiteLLMOpenAI 3 | 4 | agent = Agent(model=LiteLLMOpenAI(id="gpt-4o"), markdown=True) 5 | 6 | # Get the response in a variable 7 | # run: RunResponse = agent.run("Share a 2 sentence horror story") 8 | # print(run.content) 9 | 10 | # Print the response in the terminal 11 | agent.print_response("Share a 2 sentence horror story", stream=True) 12 | -------------------------------------------------------------------------------- /cookbook/models/litellm_openai/tool_use.py: -------------------------------------------------------------------------------- 1 | """Run `pip install duckduckgo-search` to install dependencies.""" 2 | 3 | from agno.agent import Agent 4 | from agno.models.litellm import LiteLLMOpenAI 5 | from agno.tools.duckduckgo import DuckDuckGoTools 6 | 7 | agent = Agent( 8 | model=LiteLLMOpenAI(id="gpt-4o"), 9 | tools=[DuckDuckGoTools()], 10 | show_tool_calls=True, 11 | markdown=True, 12 | ) 13 | agent.print_response("Whats happening in France?") 14 | -------------------------------------------------------------------------------- /cookbook/models/lmstudio/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/lmstudio/__init__.py -------------------------------------------------------------------------------- /cookbook/models/lmstudio/basic.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent, RunResponse # noqa 2 | from agno.models.lmstudio import LMStudio 3 | 4 | agent = Agent(model=LMStudio(id="qwen2.5-7b-instruct-1m"), markdown=True) 5 | 6 | # Get the response in a variable 7 | # run: RunResponse = agent.run("Share a 2 sentence horror story") 8 | # print(run.content) 9 | 10 | # Print the response in the terminal 11 | agent.print_response("Share a 2 sentence horror story") 12 | -------------------------------------------------------------------------------- /cookbook/models/lmstudio/tool_use.py: -------------------------------------------------------------------------------- 1 | """Run `pip install duckduckgo-search` to install dependencies.""" 2 | 3 | from agno.agent import Agent 4 | from agno.models.lmstudio import LMStudio 5 | from agno.tools.duckduckgo import DuckDuckGoTools 6 | 7 | agent = Agent( 8 | model=LMStudio(id="qwen2.5-7b-instruct-1m"), 9 | tools=[DuckDuckGoTools()], 10 | show_tool_calls=True, 11 | markdown=True, 12 | ) 13 | agent.print_response("Whats happening in France?") 14 | -------------------------------------------------------------------------------- /cookbook/models/meta/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/meta/__init__.py -------------------------------------------------------------------------------- /cookbook/models/meta/llama/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/meta/llama/__init__.py -------------------------------------------------------------------------------- /cookbook/models/meta/llama_openai/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/meta/llama_openai/__init__.py -------------------------------------------------------------------------------- /cookbook/models/mistral/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/mistral/__init__.py -------------------------------------------------------------------------------- /cookbook/models/mistral/async_basic.py: -------------------------------------------------------------------------------- 1 | """ 2 | Basic async example using Mistral. 3 | """ 4 | 5 | import asyncio 6 | 7 | from agno.agent import Agent 8 | from agno.models.mistral.mistral import MistralChat 9 | 10 | agent = Agent( 11 | model=MistralChat(id="mistral-large-latest"), 12 | markdown=True, 13 | ) 14 | 15 | asyncio.run(agent.aprint_response("Share a 2 sentence horror story")) 16 | -------------------------------------------------------------------------------- /cookbook/models/mistral/async_basic_stream.py: -------------------------------------------------------------------------------- 1 | """ 2 | Basic streaming async example using Mistral. 3 | """ 4 | 5 | import asyncio 6 | 7 | from agno.agent import Agent 8 | from agno.models.mistral.mistral import MistralChat 9 | 10 | agent = Agent( 11 | model=MistralChat(id="mistral-large-latest"), 12 | markdown=True, 13 | ) 14 | 15 | asyncio.run(agent.aprint_response("Share a 2 sentence horror story", stream=True)) 16 | -------------------------------------------------------------------------------- /cookbook/models/nebius/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/nebius/__init__.py -------------------------------------------------------------------------------- /cookbook/models/nebius/async_basic.py: -------------------------------------------------------------------------------- 1 | import asyncio 2 | 3 | from agno.agent import Agent 4 | from agno.models.nebius import Nebius 5 | 6 | agent = Agent( 7 | model=Nebius(), 8 | show_tool_calls=True, 9 | markdown=True, 10 | debug_mode=True, 11 | ) 12 | 13 | # Print the response in the terminal 14 | asyncio.run(agent.aprint_response("write a two sentence horror story")) 15 | -------------------------------------------------------------------------------- /cookbook/models/nebius/async_basic_stream.py: -------------------------------------------------------------------------------- 1 | import asyncio 2 | 3 | from agno.agent import Agent 4 | from agno.models.nebius import Nebius 5 | 6 | agent = Agent( 7 | model=Nebius(), 8 | show_tool_calls=True, 9 | markdown=True, 10 | debug_mode=True, 11 | ) 12 | 13 | # Print the response in the terminal 14 | asyncio.run(agent.aprint_response("write a two sentence horror story", stream=True)) 15 | -------------------------------------------------------------------------------- /cookbook/models/nebius/async_tool_use.py: -------------------------------------------------------------------------------- 1 | import asyncio 2 | 3 | from agno.agent import Agent 4 | from agno.models.nebius import Nebius 5 | from agno.tools.duckduckgo import DuckDuckGoTools 6 | 7 | agent = Agent( 8 | model=Nebius(id="Qwen/Qwen3-30B-A3B"), 9 | tools=[DuckDuckGoTools()], 10 | show_tool_calls=True, 11 | markdown=True, 12 | debug_mode=True, 13 | ) 14 | 15 | asyncio.run(agent.aprint_response("Whats happening in France?")) 16 | -------------------------------------------------------------------------------- /cookbook/models/nebius/async_tool_use_stream.py: -------------------------------------------------------------------------------- 1 | import asyncio 2 | 3 | from agno.agent import Agent 4 | from agno.models.nebius import Nebius 5 | from agno.tools.duckduckgo import DuckDuckGoTools 6 | 7 | agent = Agent( 8 | model=Nebius(id="Qwen/Qwen3-30B-A3B"), 9 | tools=[DuckDuckGoTools()], 10 | show_tool_calls=True, 11 | markdown=True, 12 | debug_mode=True, 13 | ) 14 | 15 | asyncio.run(agent.aprint_response("Whats happening in France?", stream=True)) 16 | -------------------------------------------------------------------------------- /cookbook/models/nebius/basic.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.nebius import Nebius 3 | 4 | agent = Agent( 5 | model=Nebius(), 6 | show_tool_calls=True, 7 | markdown=True, 8 | debug_mode=True, 9 | ) 10 | 11 | # Print the response in the terminal 12 | agent.print_response("write a two sentence horror story") 13 | -------------------------------------------------------------------------------- /cookbook/models/nebius/basic_stream.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.nebius import Nebius 3 | 4 | agent = Agent( 5 | model=Nebius(), 6 | show_tool_calls=True, 7 | markdown=True, 8 | debug_mode=True, 9 | ) 10 | 11 | # Print the response in the terminal 12 | agent.print_response("write a two sentence horror story", stream=True) 13 | -------------------------------------------------------------------------------- /cookbook/models/nebius/tool_use.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.nebius import Nebius 3 | from agno.tools.duckduckgo import DuckDuckGoTools 4 | 5 | agent = Agent( 6 | model=Nebius(id="Qwen/Qwen3-30B-A3B"), 7 | tools=[DuckDuckGoTools()], 8 | show_tool_calls=True, 9 | markdown=True, 10 | debug_mode=True, 11 | ) 12 | 13 | # Print the response in the terminal 14 | agent.print_response("Whats happening in France?") 15 | -------------------------------------------------------------------------------- /cookbook/models/nebius/tool_use_stream.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.nebius import Nebius 3 | from agno.tools.duckduckgo import DuckDuckGoTools 4 | 5 | agent = Agent( 6 | model=Nebius(id="Qwen/Qwen3-30B-A3B"), 7 | tools=[DuckDuckGoTools()], 8 | show_tool_calls=True, 9 | markdown=True, 10 | debug_mode=True, 11 | ) 12 | 13 | # Print the response in the terminal 14 | agent.print_response("Whats happening in France?", stream=True) 15 | -------------------------------------------------------------------------------- /cookbook/models/nvidia/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/nvidia/__init__.py -------------------------------------------------------------------------------- /cookbook/models/nvidia/async_basic.py: -------------------------------------------------------------------------------- 1 | """ 2 | Basic async example using Nvidia. 3 | """ 4 | 5 | import asyncio 6 | 7 | from agno.agent import Agent 8 | from agno.models.nvidia import Nvidia 9 | 10 | agent = Agent(model=Nvidia(id="meta/llama-3.3-70b-instruct"), markdown=True) 11 | 12 | asyncio.run(agent.aprint_response("Share a 2 sentence horror story")) 13 | -------------------------------------------------------------------------------- /cookbook/models/nvidia/async_basic_stream.py: -------------------------------------------------------------------------------- 1 | """ 2 | Basic streaming async example using Nvidia. 3 | """ 4 | 5 | import asyncio 6 | 7 | from agno.agent import Agent 8 | from agno.models.nvidia import Nvidia 9 | 10 | agent = Agent(model=Nvidia(id="meta/llama-3.3-70b-instruct"), markdown=True) 11 | 12 | asyncio.run(agent.aprint_response("Share a 2 sentence horror story", stream=True)) 13 | -------------------------------------------------------------------------------- /cookbook/models/nvidia/basic.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent, RunResponse # noqa 2 | from agno.models.nvidia import Nvidia 3 | 4 | agent = Agent(model=Nvidia(id="meta/llama-3.3-70b-instruct"), markdown=True) 5 | 6 | # Get the response in a variable 7 | # run: RunResponse = agent.run("Share a 2 sentence horror story") 8 | # print(run.content) 9 | 10 | # Print the response in the terminal 11 | agent.print_response("Share a 2 sentence horror story") 12 | -------------------------------------------------------------------------------- /cookbook/models/ollama/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/ollama/__init__.py -------------------------------------------------------------------------------- /cookbook/models/ollama/async_basic.py: -------------------------------------------------------------------------------- 1 | import asyncio 2 | 3 | from agno.agent import Agent 4 | from agno.models.ollama import Ollama 5 | 6 | agent = Agent( 7 | model=Ollama(id="llama3.1:8b"), 8 | description="You help people with their health and fitness goals.", 9 | instructions=["Recipes should be under 5 ingredients"], 10 | ) 11 | # -*- Print a response to the cli 12 | asyncio.run(agent.aprint_response("Share a breakfast recipe.", markdown=True)) 13 | -------------------------------------------------------------------------------- /cookbook/models/ollama/basic.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent, RunResponse # noqa 2 | from agno.models.ollama import Ollama 3 | 4 | agent = Agent(model=Ollama(id="llama3.1:8b"), markdown=True) 5 | 6 | # Get the response in a variable 7 | # run: RunResponse = agent.run("Share a 2 sentence horror story") 8 | # print(run.content) 9 | 10 | # Print the response in the terminal 11 | agent.print_response("Share a 2 sentence horror story") 12 | -------------------------------------------------------------------------------- /cookbook/models/ollama/demo_deepseek_r1.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent, RunResponse # noqa 2 | from agno.models.ollama import Ollama 3 | 4 | agent = Agent(model=Ollama(id="deepseek-r1:14b"), markdown=True) 5 | 6 | # Print the response in the terminal 7 | agent.print_response( 8 | "Write me python code to solve quadratic equations. Explain your reasoning." 9 | ) 10 | -------------------------------------------------------------------------------- /cookbook/models/ollama/demo_phi4.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent, RunResponse # noqa 2 | from agno.models.ollama import Ollama 3 | from agno.tools.duckduckgo import DuckDuckGoTools 4 | 5 | agent = Agent(model=Ollama(id="phi4"), markdown=True) 6 | 7 | # Print the response in the terminal 8 | agent.print_response("Tell me a scary story in exactly 10 words.") 9 | -------------------------------------------------------------------------------- /cookbook/models/ollama/set_client.py: -------------------------------------------------------------------------------- 1 | """Run `pip install yfinance` to install dependencies.""" 2 | 3 | from agno.agent import Agent, RunResponse # noqa 4 | from agno.models.ollama import Ollama 5 | from ollama import Client as OllamaClient 6 | 7 | agent = Agent( 8 | model=Ollama(id="llama3.1:8b", client=OllamaClient()), 9 | markdown=True, 10 | ) 11 | 12 | # Print the response in the terminal 13 | agent.print_response("Share a 2 sentence horror story") 14 | -------------------------------------------------------------------------------- /cookbook/models/ollama/super-agents.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/ollama/super-agents.png -------------------------------------------------------------------------------- /cookbook/models/ollama/tool_use.py: -------------------------------------------------------------------------------- 1 | """Run `pip install duckduckgo-search` to install dependencies.""" 2 | 3 | from agno.agent import Agent 4 | from agno.models.ollama import Ollama 5 | from agno.tools.duckduckgo import DuckDuckGoTools 6 | 7 | agent = Agent( 8 | model=Ollama(id="llama3.2:latest"), 9 | tools=[DuckDuckGoTools()], 10 | show_tool_calls=True, 11 | markdown=True, 12 | ) 13 | agent.print_response("Whats happening in France?") 14 | -------------------------------------------------------------------------------- /cookbook/models/ollama_tools/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/ollama_tools/__init__.py -------------------------------------------------------------------------------- /cookbook/models/ollama_tools/basic.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent, RunResponse # noqa 2 | from agno.models.ollama import OllamaTools 3 | 4 | agent = Agent(model=OllamaTools(id="llama3.1:8b"), markdown=True) 5 | 6 | # Get the response in a variable 7 | # run: RunResponse = agent.run("Share a 2 sentence horror story") 8 | # print(run.content) 9 | 10 | # Print the response in the terminal 11 | agent.print_response("Share a 2 sentence horror story") 12 | -------------------------------------------------------------------------------- /cookbook/models/ollama_tools/tool_use.py: -------------------------------------------------------------------------------- 1 | """Run `pip install duckduckgo-search` to install dependencies.""" 2 | 3 | from agno.agent import Agent 4 | from agno.models.ollama import OllamaTools 5 | from agno.tools.duckduckgo import DuckDuckGoTools 6 | 7 | agent = Agent( 8 | model=OllamaTools(id="llama3.2:latest"), 9 | tools=[DuckDuckGoTools()], 10 | show_tool_calls=True, 11 | markdown=True, 12 | ) 13 | agent.print_response("Whats happening in France?") 14 | -------------------------------------------------------------------------------- /cookbook/models/openai/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/openai/__init__.py -------------------------------------------------------------------------------- /cookbook/models/openai/chat/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/openai/chat/__init__.py -------------------------------------------------------------------------------- /cookbook/models/openai/chat/basic.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent, RunResponse # noqa 2 | from agno.models.openai import OpenAIChat 3 | 4 | agent = Agent(model=OpenAIChat(id="gpt-4o"), markdown=True, debug_mode=True) 5 | 6 | # Get the response in a variable 7 | # run: RunResponse = agent.run("Share a 2 sentence horror story") 8 | # print(run.content) 9 | 10 | # Print the response in the terminal 11 | agent.print_response("Share a 2 sentence horror story") 12 | -------------------------------------------------------------------------------- /cookbook/models/openai/chat/pdf_input_url.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.media import File 3 | from agno.models.openai import OpenAIChat 4 | 5 | agent = Agent( 6 | model=OpenAIChat(id="gpt-4o"), 7 | markdown=True, 8 | add_history_to_messages=True, 9 | ) 10 | 11 | agent.print_response( 12 | "Suggest me a recipe from the attached file.", 13 | files=[File(url="https://agno-public.s3.amazonaws.com/recipes/ThaiRecipes.pdf")], 14 | ) 15 | -------------------------------------------------------------------------------- /cookbook/models/openai/chat/tool_use.py: -------------------------------------------------------------------------------- 1 | """Run `pip install duckduckgo-search` to install dependencies.""" 2 | 3 | from agno.agent import Agent 4 | from agno.models.openai import OpenAIChat 5 | from agno.tools.duckduckgo import DuckDuckGoTools 6 | 7 | agent = Agent( 8 | model=OpenAIChat(id="gpt-4o"), 9 | tools=[DuckDuckGoTools()], 10 | show_tool_calls=True, 11 | markdown=True, 12 | ) 13 | agent.print_response("Whats happening in France?") 14 | -------------------------------------------------------------------------------- /cookbook/models/openai/responses/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/openai/responses/__init__.py -------------------------------------------------------------------------------- /cookbook/models/openai/responses/websearch_builtin_tool.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.openai import OpenAIResponses 3 | from agno.tools.file import FileTools 4 | 5 | agent = Agent( 6 | model=OpenAIResponses(id="gpt-4o"), 7 | tools=[{"type": "web_search_preview"}, FileTools()], 8 | instructions="Save the results to a file with a relevant name.", 9 | markdown=True, 10 | ) 11 | agent.print_response("Whats happening in France?") 12 | -------------------------------------------------------------------------------- /cookbook/models/openrouter/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/openrouter/__init__.py -------------------------------------------------------------------------------- /cookbook/models/openrouter/basic.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent, RunResponse # noqa 2 | from agno.models.openrouter import OpenRouter 3 | 4 | agent = Agent(model=OpenRouter(id="gpt-4o"), markdown=True) 5 | 6 | # Get the response in a variable 7 | # run: RunResponse = agent.run("Share a 2 sentence horror story") 8 | # print(run.content) 9 | 10 | # Print the response in the terminal 11 | agent.print_response("Share a 2 sentence horror story") 12 | -------------------------------------------------------------------------------- /cookbook/models/perplexity/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/perplexity/__init__.py -------------------------------------------------------------------------------- /cookbook/models/perplexity/basic.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent, RunResponse # noqa 2 | from agno.models.perplexity import Perplexity 3 | 4 | agent = Agent(model=Perplexity(id="sonar-pro"), markdown=True) 5 | 6 | # Get the response in a variable 7 | # run: RunResponse = agent.run("Share a 2 sentence horror story") 8 | # print(run.content) 9 | 10 | # Print the response in the terminal 11 | agent.print_response("Share a 2 sentence horror story") 12 | -------------------------------------------------------------------------------- /cookbook/models/perplexity/web_search.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent, RunResponse # noqa 2 | from agno.models.perplexity import Perplexity 3 | 4 | agent = Agent(model=Perplexity(id="sonar-pro"), markdown=True) 5 | 6 | # Print the response in the terminal 7 | agent.print_response("Show me top 2 news stories from USA?") 8 | 9 | # Get the response in a variable 10 | # run: RunResponse = agent.run("What is happening in the world today?") 11 | # print(run.content) 12 | -------------------------------------------------------------------------------- /cookbook/models/sambanova/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/sambanova/__init__.py -------------------------------------------------------------------------------- /cookbook/models/sambanova/basic.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent, RunResponse # noqa 2 | from agno.models.sambanova import Sambanova 3 | 4 | agent = Agent(model=Sambanova(id="Meta-Llama-3.1-8B-Instruct"), markdown=True) 5 | 6 | # Get the response in a variable 7 | # run: RunResponse = agent.run("Share a 2 sentence horror story") 8 | # print(run.content) 9 | 10 | # Print the response in the terminal 11 | agent.print_response("Share a 2 sentence horror story") 12 | -------------------------------------------------------------------------------- /cookbook/models/together/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/together/__init__.py -------------------------------------------------------------------------------- /cookbook/models/vercel/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/vercel/__init__.py -------------------------------------------------------------------------------- /cookbook/models/vercel/async_basic.py: -------------------------------------------------------------------------------- 1 | import asyncio 2 | 3 | from agno.agent import Agent, RunResponse # noqa 4 | from agno.models.vercel import v0 5 | 6 | agent = Agent(model=v0(id="v0-1.0-md"), markdown=True) 7 | 8 | # Get the response in a variable 9 | # run: RunResponse = agent.run("Share a 2 sentence horror story") 10 | # print(run.content) 11 | 12 | # Print the response in the terminal 13 | asyncio.run(agent.aprint_response("Share a 2 sentence horror story")) 14 | -------------------------------------------------------------------------------- /cookbook/models/vercel/tool_use.py: -------------------------------------------------------------------------------- 1 | """Build a Web Search Agent using xAI.""" 2 | 3 | from agno.agent import Agent 4 | from agno.models.vercel import v0 5 | from agno.tools.duckduckgo import DuckDuckGoTools 6 | 7 | agent = Agent( 8 | model=v0(id="v0-1.0-md"), 9 | tools=[DuckDuckGoTools()], 10 | show_tool_calls=True, 11 | markdown=True, 12 | ) 13 | agent.print_response("Whats happening in France?", stream=True) 14 | -------------------------------------------------------------------------------- /cookbook/models/xai/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/models/xai/__init__.py -------------------------------------------------------------------------------- /cookbook/models/xai/async_basic.py: -------------------------------------------------------------------------------- 1 | import asyncio 2 | 3 | from agno.agent import Agent, RunResponse # noqa 4 | from agno.models.xai import xAI 5 | 6 | agent = Agent(model=xAI(id="grok-2"), markdown=True) 7 | 8 | # Get the response in a variable 9 | # run: RunResponse = agent.run("Share a 2 sentence horror story") 10 | # print(run.content) 11 | 12 | # Print the response in the terminal 13 | asyncio.run(agent.aprint_response("Share a 2 sentence horror story")) 14 | -------------------------------------------------------------------------------- /cookbook/models/xai/basic.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent, RunResponse # noqa 2 | from agno.models.xai import xAI 3 | 4 | agent = Agent(model=xAI(id="grok-2"), markdown=True) 5 | 6 | # Get the response in a variable 7 | # run: RunResponse = agent.run("Share a 2 sentence horror story") 8 | # print(run.content) 9 | 10 | # Print the response in the terminal 11 | agent.print_response("Share a 2 sentence horror story") 12 | -------------------------------------------------------------------------------- /cookbook/models/xai/tool_use.py: -------------------------------------------------------------------------------- 1 | """Build a Web Search Agent using xAI.""" 2 | 3 | from agno.agent import Agent 4 | from agno.models.xai import xAI 5 | from agno.tools.duckduckgo import DuckDuckGoTools 6 | 7 | agent = Agent( 8 | model=xAI(id="grok-2"), 9 | tools=[DuckDuckGoTools()], 10 | show_tool_calls=True, 11 | markdown=True, 12 | ) 13 | agent.print_response("Whats happening in France?", stream=True) 14 | -------------------------------------------------------------------------------- /cookbook/observability/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/observability/__init__.py -------------------------------------------------------------------------------- /cookbook/reasoning/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/reasoning/__init__.py -------------------------------------------------------------------------------- /cookbook/reasoning/agents/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/reasoning/agents/__init__.py -------------------------------------------------------------------------------- /cookbook/reasoning/agents/fibonacci.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.openai import OpenAIChat 3 | 4 | task = "Give me steps to write a python script for fibonacci series" 5 | 6 | reasoning_agent = Agent( 7 | model=OpenAIChat(id="gpt-4o"), 8 | reasoning=True, 9 | markdown=True, 10 | ) 11 | reasoning_agent.print_response(task, stream=True, show_full_reasoning=True) 12 | -------------------------------------------------------------------------------- /cookbook/reasoning/agents/life_in_500000_years.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.openai import OpenAIChat 3 | 4 | task = "Write a short story about life in 500000 years" 5 | 6 | reasoning_agent = Agent( 7 | model=OpenAIChat(id="gpt-4o"), 8 | reasoning=True, 9 | markdown=True, 10 | ) 11 | reasoning_agent.print_response(task, stream=True, show_full_reasoning=True) 12 | -------------------------------------------------------------------------------- /cookbook/reasoning/agents/mathematical_proof.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.openai import OpenAIChat 3 | 4 | task = "Prove that for any positive integer n, the sum of the first n odd numbers is equal to n squared. Provide a detailed proof." 5 | 6 | reasoning_agent = Agent( 7 | model=OpenAIChat(id="gpt-4o"), 8 | reasoning=True, 9 | markdown=True, 10 | ) 11 | reasoning_agent.print_response(task, stream=True, show_full_reasoning=True) 12 | -------------------------------------------------------------------------------- /cookbook/reasoning/agents/plan_itenerary.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.openai import OpenAIChat 3 | 4 | task = "Plan an itinerary from Los Angeles to Las Vegas" 5 | 6 | reasoning_agent = Agent( 7 | model=OpenAIChat(id="gpt-4o"), 8 | reasoning=True, 9 | markdown=True, 10 | ) 11 | reasoning_agent.print_response(task, stream=True, show_full_reasoning=True) 12 | -------------------------------------------------------------------------------- /cookbook/reasoning/agents/python_101_curriculum.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.openai import OpenAIChat 3 | 4 | task = "Craft a curriculum for Python 101" 5 | 6 | reasoning_agent = Agent( 7 | model=OpenAIChat(id="gpt-4o"), 8 | reasoning=True, 9 | markdown=True, 10 | ) 11 | reasoning_agent.print_response(task, stream=True, show_full_reasoning=True) 12 | -------------------------------------------------------------------------------- /cookbook/reasoning/agents/trolley_problem.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.openai import OpenAIChat 3 | 4 | agent = Agent( 5 | model=OpenAIChat(id="gpt-4o"), 6 | reasoning=True, 7 | markdown=True, 8 | ) 9 | agent.print_response( 10 | "Solve the trolley problem. Evaluate multiple ethical frameworks. " 11 | "Include an ASCII diagram of your solution.", 12 | stream=True, 13 | show_full_reasoning=True, 14 | ) 15 | -------------------------------------------------------------------------------- /cookbook/reasoning/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/reasoning/models/__init__.py -------------------------------------------------------------------------------- /cookbook/reasoning/models/azure_ai_foundry/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/reasoning/models/azure_ai_foundry/__init__.py -------------------------------------------------------------------------------- /cookbook/reasoning/models/azure_openai/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/reasoning/models/azure_openai/__init__.py -------------------------------------------------------------------------------- /cookbook/reasoning/models/azure_openai/o1.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.azure.openai_chat import AzureOpenAI 3 | 4 | agent = Agent(model=AzureOpenAI(id="o1")) 5 | agent.print_response( 6 | "Solve the trolley problem. Evaluate multiple ethical frameworks. " 7 | "Include an ASCII diagram of your solution.", 8 | stream=True, 9 | ) 10 | -------------------------------------------------------------------------------- /cookbook/reasoning/models/azure_openai/o4_mini.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.azure.openai_chat import AzureOpenAI 3 | 4 | agent = Agent(model=AzureOpenAI(id="o4-mini")) 5 | agent.print_response( 6 | "Solve the trolley problem. Evaluate multiple ethical frameworks. " 7 | "Include an ASCII diagram of your solution.", 8 | stream=True, 9 | ) 10 | -------------------------------------------------------------------------------- /cookbook/reasoning/models/azure_openai/reasoning_model_gpt_4_1.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.azure.openai_chat import AzureOpenAI 3 | 4 | agent = Agent( 5 | model=AzureOpenAI(id="gpt-4o-mini"), reasoning_model=AzureOpenAI(id="gpt-4.1") 6 | ) 7 | agent.print_response( 8 | "Solve the trolley problem. Evaluate multiple ethical frameworks. " 9 | "Include an ASCII diagram of your solution.", 10 | stream=True, 11 | ) 12 | -------------------------------------------------------------------------------- /cookbook/reasoning/models/deepseek/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/reasoning/models/deepseek/__init__.py -------------------------------------------------------------------------------- /cookbook/reasoning/models/deepseek/fibonacci.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.deepseek import DeepSeek 3 | from agno.models.openai import OpenAIChat 4 | 5 | task = "Give me steps to write a python script for fibonacci series" 6 | 7 | reasoning_agent = Agent( 8 | model=OpenAIChat(id="gpt-4o"), 9 | reasoning_model=DeepSeek(id="deepseek-reasoner"), 10 | markdown=True, 11 | ) 12 | reasoning_agent.print_response(task, stream=True) 13 | -------------------------------------------------------------------------------- /cookbook/reasoning/models/deepseek/life_in_500000_years.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.deepseek import DeepSeek 3 | from agno.models.openai import OpenAIChat 4 | 5 | task = "Write a short story about life in 500000 years" 6 | 7 | reasoning_agent = Agent( 8 | model=OpenAIChat(id="gpt-4o"), 9 | reasoning_model=DeepSeek(id="deepseek-reasoner"), 10 | markdown=True, 11 | ) 12 | reasoning_agent.print_response(task, stream=True) 13 | -------------------------------------------------------------------------------- /cookbook/reasoning/models/deepseek/plan_itenerary.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.deepseek import DeepSeek 3 | from agno.models.openai import OpenAIChat 4 | 5 | task = "Plan an itinerary from Los Angeles to Las Vegas" 6 | 7 | reasoning_agent = Agent( 8 | model=OpenAIChat(id="gpt-4o"), 9 | reasoning_model=DeepSeek(id="deepseek-reasoner"), 10 | markdown=True, 11 | ) 12 | reasoning_agent.print_response(task, stream=True) 13 | -------------------------------------------------------------------------------- /cookbook/reasoning/models/deepseek/python_101_curriculum.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.deepseek import DeepSeek 3 | from agno.models.openai import OpenAIChat 4 | 5 | task = "Craft a curriculum for Python 101" 6 | 7 | reasoning_agent = Agent( 8 | model=OpenAIChat(id="gpt-4o"), 9 | reasoning_model=DeepSeek(id="deepseek-reasoner"), 10 | markdown=True, 11 | ) 12 | reasoning_agent.print_response(task, stream=True) 13 | -------------------------------------------------------------------------------- /cookbook/reasoning/models/groq/9_11_or_9_9.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.groq import Groq 3 | 4 | agent = Agent( 5 | model=Groq( 6 | id="deepseek-r1-distill-llama-70b", temperature=0.6, max_tokens=1024, top_p=0.95 7 | ), 8 | markdown=True, 9 | ) 10 | agent.print_response("9.11 and 9.9 -- which is bigger?", stream=True) 11 | -------------------------------------------------------------------------------- /cookbook/reasoning/models/groq/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/reasoning/models/groq/__init__.py -------------------------------------------------------------------------------- /cookbook/reasoning/models/ollama/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/reasoning/models/ollama/__init__.py -------------------------------------------------------------------------------- /cookbook/reasoning/models/ollama/reasoning_model_deepseek.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.ollama.chat import Ollama 3 | 4 | agent = Agent( 5 | model=Ollama(id="llama3.2:latest"), 6 | reasoning_model=Ollama(id="deepseek-r1:14b", max_tokens=4096), 7 | ) 8 | agent.print_response( 9 | "Solve the trolley problem. Evaluate multiple ethical frameworks. " 10 | "Include an ASCII diagram of your solution.", 11 | stream=True, 12 | ) 13 | -------------------------------------------------------------------------------- /cookbook/reasoning/models/openai/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/reasoning/models/openai/__init__.py -------------------------------------------------------------------------------- /cookbook/reasoning/models/openai/o1_pro.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.openai import OpenAIResponses 3 | 4 | agent = Agent(model=OpenAIResponses(id="o1-pro")) 5 | agent.print_response( 6 | "Solve the trolley problem. Evaluate multiple ethical frameworks. " 7 | "Include an ASCII diagram of your solution.", 8 | stream=True, 9 | ) 10 | -------------------------------------------------------------------------------- /cookbook/reasoning/models/openai/o3_mini.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.openai import OpenAIChat 3 | 4 | agent = Agent( 5 | model=OpenAIChat(id="o3-mini"), 6 | ) 7 | agent.print_response( 8 | "Solve the trolley problem. Evaluate multiple ethical frameworks. " 9 | "Include an ASCII diagram of your solution.", 10 | stream=True, 11 | stream_intermediate_steps=True, 12 | ) 13 | -------------------------------------------------------------------------------- /cookbook/reasoning/models/openai/o4_mini.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.openai.responses import OpenAIResponses 3 | 4 | agent = Agent(model=OpenAIResponses(id="o3-mini")) 5 | agent.print_response( 6 | "Solve the trolley problem. Evaluate multiple ethical frameworks. " 7 | "Include an ASCII diagram of your solution.", 8 | stream=True, 9 | ) 10 | -------------------------------------------------------------------------------- /cookbook/reasoning/models/openai/reasoning_model_gpt_4_1.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.openai.responses import OpenAIResponses 3 | 4 | agent = Agent( 5 | model=OpenAIResponses(id="gpt-4o-mini"), 6 | reasoning_model=OpenAIResponses(id="gpt-4.1"), 7 | ) 8 | agent.print_response( 9 | "Solve the trolley problem. Evaluate multiple ethical frameworks. " 10 | "Include an ASCII diagram of your solution.", 11 | stream=True, 12 | ) 13 | -------------------------------------------------------------------------------- /cookbook/reasoning/models/xai/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/reasoning/models/xai/__init__.py -------------------------------------------------------------------------------- /cookbook/reasoning/teams/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/reasoning/teams/__init__.py -------------------------------------------------------------------------------- /cookbook/reasoning/tools/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/reasoning/tools/__init__.py -------------------------------------------------------------------------------- /cookbook/scripts/run_cassandra.sh: -------------------------------------------------------------------------------- 1 | docker run -d \ 2 | -p 9042:9042 cassandra:latest \ 3 | --name cassandra-db -------------------------------------------------------------------------------- /cookbook/scripts/run_clickhouse.sh: -------------------------------------------------------------------------------- 1 | docker run -d \ 2 | -e CLICKHOUSE_DB=ai \ 3 | -e CLICKHOUSE_USER=ai \ 4 | -e CLICKHOUSE_PASSWORD=ai \ 5 | -e CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT=1 \ 6 | -v clickhouse_data:/var/lib/clickhouse/ \ 7 | -v clickhouse_log:/var/log/clickhouse-server/ \ 8 | -p 8123:8123 \ 9 | -p 9000:9000 \ 10 | --ulimit nofile=262144:262144 \ 11 | --name clickhouse-server \ 12 | clickhouse/clickhouse-server 13 | -------------------------------------------------------------------------------- /cookbook/scripts/run_couchbase.sh: -------------------------------------------------------------------------------- 1 | docker run -d --name couchbase-server \ 2 | -p 8091-8096:8091-8096 \ 3 | -p 11210:11210 \ 4 | -e COUCHBASE_ADMINISTRATOR_USERNAME=Administrator \ 5 | -e COUCHBASE_ADMINISTRATOR_PASSWORD=password \ 6 | couchbase:latest 7 | -------------------------------------------------------------------------------- /cookbook/scripts/run_mongodb.sh: -------------------------------------------------------------------------------- 1 | docker run -d \ 2 | --name local-mongo \ 3 | -p 27017:27017 \ 4 | -e MONGO_INITDB_ROOT_USERNAME=mongoadmin \ 5 | -e MONGO_INITDB_ROOT_PASSWORD=secret \ 6 | mongo -------------------------------------------------------------------------------- /cookbook/scripts/run_mysql.sh: -------------------------------------------------------------------------------- 1 | docker run -d \ 2 | -e MYSQL_ROOT_PASSWORD=agno \ 3 | -e MYSQL_DATABASE=agno \ 4 | -e MYSQL_USER=agno \ 5 | -e MYSQL_PASSWORD=agno \ 6 | -p 3306:3306 \ 7 | -v mysql_data:/var/lib/mysql \ 8 | -v $(pwd)/cookbook/mysql-init:/docker-entrypoint-initdb.d \ 9 | --name mysql \ 10 | mysql:8.0 11 | -------------------------------------------------------------------------------- /cookbook/scripts/run_pgvector.sh: -------------------------------------------------------------------------------- 1 | docker run -d \ 2 | -e POSTGRES_DB=ai \ 3 | -e POSTGRES_USER=ai \ 4 | -e POSTGRES_PASSWORD=ai \ 5 | -e PGDATA=/var/lib/postgresql/data/pgdata \ 6 | -v pgvolume:/var/lib/postgresql/data \ 7 | -p 5532:5432 \ 8 | --name pgvector \ 9 | agnohq/pgvector:16 10 | -------------------------------------------------------------------------------- /cookbook/scripts/run_qdrant.sh: -------------------------------------------------------------------------------- 1 | docker run -d \ 2 | --name qdrant \ 3 | -p 6333:6333 \ 4 | -p 6334:6334 \ 5 | -v $(pwd)/tmp/qdrant_storage:/qdrant/storage:z \ 6 | qdrant/qdrant -------------------------------------------------------------------------------- /cookbook/scripts/run_redis.sh: -------------------------------------------------------------------------------- 1 | docker run -d \ 2 | --name my-redis \ 3 | -p 6379:6379 \ 4 | redis 5 | -------------------------------------------------------------------------------- /cookbook/scripts/run_weviate.sh: -------------------------------------------------------------------------------- 1 | docker run -d \ 2 | -p 8080:8080 \ 3 | -p 50051:50051 \ 4 | --name weaviate \ 5 | cr.weaviate.io/semitechnologies/weaviate:1.28.4 6 | -------------------------------------------------------------------------------- /cookbook/storage/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/storage/__init__.py -------------------------------------------------------------------------------- /cookbook/storage/dynamodb_storage/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/storage/dynamodb_storage/__init__.py -------------------------------------------------------------------------------- /cookbook/storage/gcs_storage/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/storage/gcs_storage/__init__.py -------------------------------------------------------------------------------- /cookbook/storage/json_storage/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/storage/json_storage/__init__.py -------------------------------------------------------------------------------- /cookbook/storage/mongodb_storage/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/storage/mongodb_storage/__init__.py -------------------------------------------------------------------------------- /cookbook/storage/postgres_storage/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/storage/postgres_storage/__init__.py -------------------------------------------------------------------------------- /cookbook/storage/redis_storage/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/storage/redis_storage/__init__.py -------------------------------------------------------------------------------- /cookbook/storage/singlestore_storage/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/storage/singlestore_storage/__init__.py -------------------------------------------------------------------------------- /cookbook/storage/sqllite_storage/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/storage/sqllite_storage/__init__.py -------------------------------------------------------------------------------- /cookbook/storage/yaml_storage/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/storage/yaml_storage/__init__.py -------------------------------------------------------------------------------- /cookbook/teams/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/teams/__init__.py -------------------------------------------------------------------------------- /cookbook/teams/memory/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/teams/memory/__init__.py -------------------------------------------------------------------------------- /cookbook/teams/modes/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/teams/modes/__init__.py -------------------------------------------------------------------------------- /cookbook/tools/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/tools/__init__.py -------------------------------------------------------------------------------- /cookbook/tools/arxiv_tools.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.tools.arxiv import ArxivTools 3 | 4 | agent = Agent(tools=[ArxivTools()], show_tool_calls=True) 5 | agent.print_response("Search arxiv for 'language models'", markdown=True) 6 | -------------------------------------------------------------------------------- /cookbook/tools/async/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/tools/async/__init__.py -------------------------------------------------------------------------------- /cookbook/tools/composio_tools.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from composio_agno import Action, ComposioToolSet 3 | 4 | toolset = ComposioToolSet() 5 | composio_tools = toolset.get_tools( 6 | actions=[Action.GITHUB_STAR_A_REPOSITORY_FOR_THE_AUTHENTICATED_USER] 7 | ) 8 | 9 | agent = Agent(tools=composio_tools, show_tool_calls=True) 10 | agent.print_response("Can you star agno-agi/agno repo?") 11 | -------------------------------------------------------------------------------- /cookbook/tools/crawl4ai_tools.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.tools.crawl4ai import Crawl4aiTools 3 | 4 | agent = Agent(tools=[Crawl4aiTools(max_length=None)], show_tool_calls=True) 5 | agent.print_response("Tell me about https://github.com/agno-agi/agno.") 6 | -------------------------------------------------------------------------------- /cookbook/tools/duckdb_tools.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.tools.duckdb import DuckDbTools 3 | 4 | agent = Agent( 5 | tools=[DuckDbTools()], 6 | show_tool_calls=True, 7 | instructions="Use this file for Movies data: https://agno-public.s3.amazonaws.com/demo_data/IMDB-Movie-Data.csv", 8 | ) 9 | agent.print_response( 10 | "What is the average rating of movies?", markdown=True, stream=False 11 | ) 12 | -------------------------------------------------------------------------------- /cookbook/tools/duckduckgo_tools.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.models.openai import OpenAIChat 3 | from agno.tools.duckduckgo import DuckDuckGoTools 4 | 5 | agent = Agent( 6 | model=OpenAIChat(id="gpt-4.5-preview"), 7 | tools=[DuckDuckGoTools()], 8 | show_tool_calls=True, 9 | ) 10 | 11 | agent.print_response("Whats the latest about gpt 4.5?", markdown=True) 12 | -------------------------------------------------------------------------------- /cookbook/tools/file_tools.py: -------------------------------------------------------------------------------- 1 | from pathlib import Path 2 | 3 | from agno.agent import Agent 4 | from agno.tools.file import FileTools 5 | 6 | agent = Agent(tools=[FileTools(Path("tmp/file"))], show_tool_calls=True) 7 | agent.print_response( 8 | "What is the most advanced LLM currently? Save the answer to a file.", markdown=True 9 | ) 10 | -------------------------------------------------------------------------------- /cookbook/tools/hackernews_tools.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.tools.hackernews import HackerNewsTools 3 | 4 | agent = Agent( 5 | name="Hackernews Team", 6 | tools=[HackerNewsTools()], 7 | show_tool_calls=True, 8 | markdown=True, 9 | ) 10 | agent.print_response( 11 | "Write an engaging summary of the users with the top 2 stories on hackernews. Please mention the stories as well.", 12 | ) 13 | -------------------------------------------------------------------------------- /cookbook/tools/jinareader_tools.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.tools.jina import JinaReaderTools 3 | 4 | agent = Agent(tools=[JinaReaderTools()], show_tool_calls=True) 5 | agent.print_response("Summarize: https://github.com/agno-agi") 6 | -------------------------------------------------------------------------------- /cookbook/tools/jira_tools.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.tools.jira import JiraTools 3 | 4 | agent = Agent(tools=[JiraTools()]) 5 | agent.print_response("Find all issues in project PROJ", markdown=True) 6 | -------------------------------------------------------------------------------- /cookbook/tools/mcp/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/tools/mcp/__init__.py -------------------------------------------------------------------------------- /cookbook/tools/mcp/sse_transport/README.md: -------------------------------------------------------------------------------- 1 | # MCP server using SSE transport 2 | 3 | This cookbook shows how to use the `MCPTool` util with an MCP server using SSE transport. 4 | 5 | 1. Run the server with SSE transport 6 | ```bash 7 | python cookbook/tools/mcp/sse_transport/server.py 8 | ``` 9 | 10 | 2. Run the agent using the MCP integration connecting to our server 11 | ```bash 12 | python cookbook/tools/mcp/sse_transport/client.py 13 | ``` -------------------------------------------------------------------------------- /cookbook/tools/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/tools/models/__init__.py -------------------------------------------------------------------------------- /cookbook/tools/models_lab_tools.py: -------------------------------------------------------------------------------- 1 | """Run `pip install requests` to install dependencies.""" 2 | 3 | from agno.agent import Agent 4 | from agno.tools.models_labs import ModelsLabTools 5 | 6 | # Create an Agent with the ModelsLabs tool 7 | agent = Agent(tools=[ModelsLabTools()], name="ModelsLabs Agent") 8 | 9 | agent.print_response( 10 | "Generate a video of a beautiful sunset over the ocean", markdown=True 11 | ) 12 | -------------------------------------------------------------------------------- /cookbook/tools/newspaper4k_tools.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.tools.newspaper4k import Newspaper4kTools 3 | 4 | agent = Agent(tools=[Newspaper4kTools()], show_tool_calls=True) 5 | agent.print_response( 6 | "Please summarize https://www.rockymountaineer.com/blog/experience-icefields-parkway-scenic-drive-lifetime" 7 | ) 8 | -------------------------------------------------------------------------------- /cookbook/tools/newspaper_tools.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.tools.newspaper import NewspaperTools 3 | 4 | agent = Agent(tools=[NewspaperTools()]) 5 | agent.print_response("Please summarize https://en.wikipedia.org/wiki/Language_model") 6 | -------------------------------------------------------------------------------- /cookbook/tools/pubmed_tools.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.tools.pubmed import PubmedTools 3 | 4 | agent = Agent(tools=[PubmedTools()], show_tool_calls=True) 5 | agent.print_response("Tell me about ulcerative colitis.") 6 | -------------------------------------------------------------------------------- /cookbook/tools/python_tools.py: -------------------------------------------------------------------------------- 1 | from pathlib import Path 2 | 3 | from agno.agent import Agent 4 | from agno.tools.python import PythonTools 5 | 6 | agent = Agent(tools=[PythonTools(base_dir=Path("tmp/python"))], show_tool_calls=True) 7 | agent.print_response( 8 | "Write a python script for fibonacci series and display the result till the 10th number" 9 | ) 10 | -------------------------------------------------------------------------------- /cookbook/tools/resend_tools.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.tools.resend import ResendTools 3 | 4 | from_email = "" 5 | to_email = "" 6 | 7 | agent = Agent(tools=[ResendTools(from_email=from_email)], show_tool_calls=True) 8 | agent.print_response(f"Send an email to {to_email} greeting them with hello world") 9 | -------------------------------------------------------------------------------- /cookbook/tools/serpapi_tools.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.tools.serpapi import SerpApiTools 3 | 4 | agent = Agent(tools=[SerpApiTools()], show_tool_calls=True) 5 | agent.print_response("Whats happening in the USA?", markdown=True) 6 | -------------------------------------------------------------------------------- /cookbook/tools/shell_tools.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.tools.shell import ShellTools 3 | 4 | agent = Agent(tools=[ShellTools()], show_tool_calls=True) 5 | agent.print_response("Show me the contents of the current directory", markdown=True) 6 | -------------------------------------------------------------------------------- /cookbook/tools/sleep_tools.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.tools.sleep import SleepTools 3 | 4 | # Create an Agent with the Sleep tool 5 | agent = Agent(tools=[SleepTools()], name="Sleep Agent") 6 | 7 | # Example 1: Sleep for 2 seconds 8 | agent.print_response("Sleep for 2 seconds") 9 | 10 | # Example 2: Sleep for a longer duration 11 | agent.print_response("Sleep for 5 seconds") 12 | -------------------------------------------------------------------------------- /cookbook/tools/spider_tools.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.tools.spider import SpiderTools 3 | 4 | agent = Agent(tools=[SpiderTools(optional_params={"proxy_enabled": True})]) 5 | agent.print_response( 6 | 'Can you scrape the first search result from a search on "news in USA"?' 7 | ) 8 | -------------------------------------------------------------------------------- /cookbook/tools/sql_tools.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.tools.sql import SQLTools 3 | 4 | db_url = "postgresql+psycopg://ai:ai@localhost:5532/ai" 5 | 6 | agent = Agent(tools=[SQLTools(db_url=db_url)]) 7 | agent.print_response( 8 | "List the tables in the database. Tell me about contents of one of the tables", 9 | markdown=True, 10 | ) 11 | -------------------------------------------------------------------------------- /cookbook/tools/tavily_tools.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.tools.tavily import TavilyTools 3 | 4 | agent = Agent(tools=[TavilyTools()], show_tool_calls=True) 5 | agent.print_response("Search tavily for 'language models'", markdown=True) 6 | -------------------------------------------------------------------------------- /cookbook/tools/website_tools.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.tools.website import WebsiteTools 3 | 4 | agent = Agent(tools=[WebsiteTools()], show_tool_calls=True) 5 | 6 | agent.print_response( 7 | "Search web page: 'https://docs.agno.com/introduction'", markdown=True 8 | ) 9 | -------------------------------------------------------------------------------- /cookbook/tools/wikipedia_tools.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.tools.wikipedia import WikipediaTools 3 | 4 | agent = Agent(tools=[WikipediaTools()], show_tool_calls=True) 5 | agent.print_response("Search wikipedia for 'ai'") 6 | -------------------------------------------------------------------------------- /cookbook/tools/youtube_tools.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.tools.youtube import YouTubeTools 3 | 4 | agent = Agent( 5 | tools=[YouTubeTools()], 6 | show_tool_calls=True, 7 | description="You are a YouTube agent. Obtain the captions of a YouTube video and answer questions.", 8 | ) 9 | agent.print_response( 10 | "Summarize this video https://www.youtube.com/watch?v=Iv9dewmcFbs&t", markdown=True 11 | ) 12 | -------------------------------------------------------------------------------- /cookbook/tools/zendesk_tools.py: -------------------------------------------------------------------------------- 1 | from agno.agent import Agent 2 | from agno.tools.zendesk import ZendeskTools 3 | 4 | agent = Agent(tools=[ZendeskTools()], show_tool_calls=True) 5 | agent.print_response("How do I login?", markdown=True) 6 | -------------------------------------------------------------------------------- /cookbook/workflows/.gitignore: -------------------------------------------------------------------------------- 1 | reports/* 2 | tmp/* 3 | -------------------------------------------------------------------------------- /cookbook/workflows/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/workflows/__init__.py -------------------------------------------------------------------------------- /cookbook/workflows/content_creator/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/workflows/content_creator/__init__.py -------------------------------------------------------------------------------- /cookbook/workflows/content_creator/config.py: -------------------------------------------------------------------------------- 1 | import os 2 | from enum import Enum 3 | 4 | from dotenv import load_dotenv 5 | 6 | load_dotenv() 7 | 8 | 9 | TYPEFULLY_API_URL = "https://api.typefully.com/v1/drafts/" 10 | TYPEFULLY_API_KEY = os.getenv("TYPEFULLY_API_KEY") 11 | HEADERS = {"X-API-KEY": f"Bearer {TYPEFULLY_API_KEY}"} 12 | 13 | 14 | # Define the enums 15 | class PostType(Enum): 16 | TWITTER = "Twitter" 17 | LINKEDIN = "LinkedIn" 18 | -------------------------------------------------------------------------------- /cookbook/workflows/content_creator/requirements.txt: -------------------------------------------------------------------------------- 1 | agno 2 | firecrawl-py 3 | openai 4 | packaging 5 | requests 6 | typing 7 | pydantic 8 | python-dotenv 9 | requests 10 | -------------------------------------------------------------------------------- /cookbook/workflows/product_manager/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/cookbook/workflows/product_manager/__init__.py -------------------------------------------------------------------------------- /libs/agno/agno/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/agno/__init__.py -------------------------------------------------------------------------------- /libs/agno/agno/api/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/agno/api/__init__.py -------------------------------------------------------------------------------- /libs/agno/agno/api/schemas/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/agno/api/schemas/__init__.py -------------------------------------------------------------------------------- /libs/agno/agno/api/schemas/app.py: -------------------------------------------------------------------------------- 1 | from typing import Any, Dict, Optional 2 | 3 | from pydantic import BaseModel 4 | 5 | 6 | class AppCreate(BaseModel): 7 | """Data sent to API to create an App""" 8 | 9 | app_id: Optional[str] = None 10 | name: Optional[str] = None 11 | description: Optional[str] = None 12 | config: Dict[str, Any] 13 | -------------------------------------------------------------------------------- /libs/agno/agno/api/schemas/response.py: -------------------------------------------------------------------------------- 1 | from pydantic import BaseModel 2 | 3 | 4 | class ApiResponseSchema(BaseModel): 5 | status: str = "fail" 6 | message: str = "invalid request" 7 | -------------------------------------------------------------------------------- /libs/agno/agno/api/schemas/workflows.py: -------------------------------------------------------------------------------- 1 | from typing import Any, Dict, Optional 2 | 3 | from pydantic import BaseModel 4 | 5 | 6 | class WorkflowCreate(BaseModel): 7 | """Data sent to API to create aWorkflow""" 8 | 9 | workflow_id: str 10 | app_id: Optional[str] = None 11 | name: Optional[str] = None 12 | config: Dict[str, Any] 13 | -------------------------------------------------------------------------------- /libs/agno/agno/app/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/agno/app/__init__.py -------------------------------------------------------------------------------- /libs/agno/agno/app/fastapi/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/agno/app/fastapi/__init__.py -------------------------------------------------------------------------------- /libs/agno/agno/app/playground/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/agno/app/playground/__init__.py -------------------------------------------------------------------------------- /libs/agno/agno/app/slack/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/agno/app/slack/__init__.py -------------------------------------------------------------------------------- /libs/agno/agno/app/whatsapp/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/agno/app/whatsapp/__init__.py -------------------------------------------------------------------------------- /libs/agno/agno/cli/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/agno/cli/__init__.py -------------------------------------------------------------------------------- /libs/agno/agno/cli/ws/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/agno/cli/ws/__init__.py -------------------------------------------------------------------------------- /libs/agno/agno/document/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.document.base import Document 2 | 3 | __all__ = [ 4 | "Document", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/agno/agno/document/chunking/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/agno/document/chunking/__init__.py -------------------------------------------------------------------------------- /libs/agno/agno/document/reader/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.document.reader.base import Reader 2 | 3 | __all__ = [ 4 | "Reader", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/agno/agno/document/reader/s3/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/agno/document/reader/s3/__init__.py -------------------------------------------------------------------------------- /libs/agno/agno/embedder/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.embedder.base import Embedder 2 | 3 | __all__ = [ 4 | "Embedder", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/agno/agno/embedder/fireworks.py: -------------------------------------------------------------------------------- 1 | from dataclasses import dataclass 2 | from os import getenv 3 | from typing import Optional 4 | 5 | from agno.embedder.openai import OpenAIEmbedder 6 | 7 | 8 | @dataclass 9 | class FireworksEmbedder(OpenAIEmbedder): 10 | id: str = "nomic-ai/nomic-embed-text-v1.5" 11 | dimensions: int = 768 12 | api_key: Optional[str] = getenv("FIREWORKS_API_KEY") 13 | base_url: str = "https://api.fireworks.ai/inference/v1" 14 | -------------------------------------------------------------------------------- /libs/agno/agno/embedder/together.py: -------------------------------------------------------------------------------- 1 | from dataclasses import dataclass 2 | from os import getenv 3 | from typing import Optional 4 | 5 | from agno.embedder.openai import OpenAIEmbedder 6 | 7 | 8 | @dataclass 9 | class TogetherEmbedder(OpenAIEmbedder): 10 | id: str = "togethercomputer/m2-bert-80M-32k-retrieval" 11 | dimensions: int = 768 12 | api_key: Optional[str] = getenv("TOGETHER_API_KEY") 13 | base_url: str = "https://api.together.xyz/v1" 14 | -------------------------------------------------------------------------------- /libs/agno/agno/eval/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/agno/eval/__init__.py -------------------------------------------------------------------------------- /libs/agno/agno/file/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.file.file import File 2 | 3 | __all__ = [ 4 | "File", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/agno/agno/file/local/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/agno/file/local/__init__.py -------------------------------------------------------------------------------- /libs/agno/agno/infra/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/agno/infra/__init__.py -------------------------------------------------------------------------------- /libs/agno/agno/knowledge/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.knowledge.agent import AgentKnowledge 2 | 3 | __all__ = [ 4 | "AgentKnowledge", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/agno/agno/knowledge/s3/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/agno/knowledge/s3/__init__.py -------------------------------------------------------------------------------- /libs/agno/agno/memory/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.memory.agent import AgentMemory 2 | from agno.memory.memory import Memory 3 | from agno.memory.row import MemoryRow 4 | from agno.memory.team import TeamMemory 5 | 6 | __all__ = [ 7 | "AgentMemory", 8 | "Memory", 9 | "MemoryRow", 10 | "TeamMemory", 11 | ] 12 | -------------------------------------------------------------------------------- /libs/agno/agno/memory/db/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.memory.db.base import MemoryDb 2 | 3 | __all__ = [ 4 | "MemoryDb", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/agno/agno/memory/v2/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.memory.v2.memory import Memory, MemoryManager, MemoryRow, SessionSummarizer 2 | from agno.memory.v2.schema import SessionSummary, UserMemory 3 | -------------------------------------------------------------------------------- /libs/agno/agno/memory/v2/db/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.memory.db.base import MemoryDb 2 | -------------------------------------------------------------------------------- /libs/agno/agno/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/agno/models/__init__.py -------------------------------------------------------------------------------- /libs/agno/agno/models/aimlapi/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.models.aimlapi.aimlapi import AIMLApi 2 | 3 | __all__ = [ 4 | "AIMLApi", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/agno/agno/models/anthropic/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.models.anthropic.claude import Claude 2 | 3 | __all__ = [ 4 | "Claude", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/agno/agno/models/aws/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.models.aws.bedrock import AwsBedrock 2 | 3 | try: 4 | from agno.models.aws.claude import Claude 5 | except ImportError: 6 | 7 | class Claude: # type: ignore 8 | def __init__(self, *args, **kwargs): 9 | raise ImportError("`anthropic` not installed. Please install using `pip install anthropic`") 10 | 11 | 12 | __all__ = [ 13 | "AwsBedrock", 14 | "Claude", 15 | ] 16 | -------------------------------------------------------------------------------- /libs/agno/agno/models/cerebras/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.models.cerebras.cerebras import Cerebras 2 | 3 | try: 4 | from agno.models.cerebras.cerebras_openai import CerebrasOpenAI 5 | except ImportError: 6 | 7 | class CerebrasOpenAI: # type: ignore 8 | def __init__(self, *args, **kwargs): 9 | raise ImportError("`openai` not installed. Please install it via `pip install openai`") 10 | 11 | 12 | __all__ = ["Cerebras", "CerebrasOpenAI"] 13 | -------------------------------------------------------------------------------- /libs/agno/agno/models/cohere/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.models.cohere.chat import Cohere 2 | 3 | __all__ = [ 4 | "Cohere", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/agno/agno/models/deepinfra/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.models.deepinfra.deepinfra import DeepInfra 2 | 3 | __all__ = [ 4 | "DeepInfra", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/agno/agno/models/deepseek/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.models.deepseek.deepseek import DeepSeek 2 | 3 | __all__ = [ 4 | "DeepSeek", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/agno/agno/models/defaults.py: -------------------------------------------------------------------------------- 1 | DEFAULT_OPENAI_MODEL_ID: str = "gpt-4o" 2 | -------------------------------------------------------------------------------- /libs/agno/agno/models/fireworks/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.models.fireworks.fireworks import Fireworks 2 | 3 | __all__ = [ 4 | "Fireworks", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/agno/agno/models/google/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.models.google.gemini import Gemini 2 | 3 | __all__ = [ 4 | "Gemini", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/agno/agno/models/groq/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.models.groq.groq import Groq 2 | 3 | __all__ = [ 4 | "Groq", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/agno/agno/models/huggingface/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.models.huggingface.huggingface import HuggingFace 2 | 3 | __all__ = [ 4 | "HuggingFace", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/agno/agno/models/ibm/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.models.ibm.watsonx import WatsonX 2 | 3 | __all__ = [ 4 | "WatsonX", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/agno/agno/models/internlm/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.models.internlm.internlm import InternLM 2 | 3 | __all__ = ["InternLM"] 4 | -------------------------------------------------------------------------------- /libs/agno/agno/models/litellm/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.models.litellm.chat import LiteLLM 2 | 3 | try: 4 | from agno.models.litellm.litellm_openai import LiteLLMOpenAI 5 | except ImportError: 6 | 7 | class LiteLLMOpenAI: # type: ignore 8 | def __init__(self, *args, **kwargs): 9 | raise ImportError("`openai` not installed. Please install using `pip install openai`") 10 | 11 | 12 | __all__ = [ 13 | "LiteLLM", 14 | ] 15 | -------------------------------------------------------------------------------- /libs/agno/agno/models/lmstudio/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.models.lmstudio.lmstudio import LMStudio 2 | 3 | __all__ = [ 4 | "LMStudio", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/agno/agno/models/meta/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.models.meta.llama import Llama 2 | 3 | try: 4 | from agno.models.meta.llama_openai import LlamaOpenAI 5 | except ImportError: 6 | 7 | class LlamaOpenAI: # type: ignore 8 | def __init__(self, *args, **kwargs): 9 | raise ImportError("`openai` not installed. Please install it via `pip install openai`") 10 | 11 | 12 | __all__ = ["Llama", "LlamaOpenAI"] 13 | -------------------------------------------------------------------------------- /libs/agno/agno/models/mistral/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.models.mistral.mistral import MistralChat 2 | 3 | __all__ = [ 4 | "MistralChat", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/agno/agno/models/nebius/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.models.nebius.nebius import Nebius 2 | 3 | __all__ = ["Nebius"] 4 | -------------------------------------------------------------------------------- /libs/agno/agno/models/nvidia/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.models.nvidia.nvidia import Nvidia 2 | 3 | __all__ = [ 4 | "Nvidia", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/agno/agno/models/ollama/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.models.ollama.chat import Ollama 2 | from agno.models.ollama.tools import OllamaTools 3 | 4 | __all__ = [ 5 | "Ollama", 6 | "OllamaTools", 7 | ] 8 | -------------------------------------------------------------------------------- /libs/agno/agno/models/openai/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.models.openai.chat import OpenAIChat 2 | from agno.models.openai.like import OpenAILike 3 | from agno.models.openai.responses import OpenAIResponses 4 | 5 | __all__ = [ 6 | "OpenAIChat", 7 | "OpenAILike", 8 | "OpenAIResponses", 9 | ] 10 | -------------------------------------------------------------------------------- /libs/agno/agno/models/openrouter/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.models.openrouter.openrouter import OpenRouter 2 | 3 | __all__ = [ 4 | "OpenRouter", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/agno/agno/models/perplexity/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.models.perplexity.perplexity import Perplexity 2 | 3 | __all__ = [ 4 | "Perplexity", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/agno/agno/models/sambanova/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.models.sambanova.sambanova import Sambanova 2 | 3 | __all__ = [ 4 | "Sambanova", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/agno/agno/models/together/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.models.together.together import Together 2 | 3 | __all__ = [ 4 | "Together", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/agno/agno/models/vercel/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.models.vercel.v0 import v0 2 | 3 | __all__ = ["v0"] 4 | -------------------------------------------------------------------------------- /libs/agno/agno/models/xai/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.models.xai.xai import xAI 2 | 3 | __all__ = ["xAI"] 4 | -------------------------------------------------------------------------------- /libs/agno/agno/playground/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.playground.deploy import deploy_playground_app 2 | from agno.playground.playground import Playground, PlaygroundSettings 3 | from agno.playground.serve import serve_playground_app 4 | 5 | __all__ = [ 6 | "deploy_playground_app", 7 | "Playground", 8 | "PlaygroundSettings", 9 | "serve_playground_app", 10 | ] 11 | -------------------------------------------------------------------------------- /libs/agno/agno/playground/deploy.py: -------------------------------------------------------------------------------- 1 | from agno.app.playground.deploy import deploy_playground_app 2 | 3 | __all__ = ["deploy_playground_app"] 4 | -------------------------------------------------------------------------------- /libs/agno/agno/playground/playground.py: -------------------------------------------------------------------------------- 1 | from agno.app.playground.app import Playground, PlaygroundSettings # type: ignore 2 | 3 | __all__ = ["Playground", "PlaygroundSettings"] 4 | -------------------------------------------------------------------------------- /libs/agno/agno/playground/serve.py: -------------------------------------------------------------------------------- 1 | from agno.app.playground.serve import serve_playground_app 2 | 3 | __all__ = ["serve_playground_app"] 4 | -------------------------------------------------------------------------------- /libs/agno/agno/playground/settings.py: -------------------------------------------------------------------------------- 1 | from agno.app.playground.settings import PlaygroundSettings 2 | 3 | __all__ = ["PlaygroundSettings"] 4 | -------------------------------------------------------------------------------- /libs/agno/agno/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/agno/py.typed -------------------------------------------------------------------------------- /libs/agno/agno/reasoning/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/agno/reasoning/__init__.py -------------------------------------------------------------------------------- /libs/agno/agno/reranker/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/agno/reranker/__init__.py -------------------------------------------------------------------------------- /libs/agno/agno/reranker/base.py: -------------------------------------------------------------------------------- 1 | from typing import List 2 | 3 | from pydantic import BaseModel, ConfigDict 4 | 5 | from agno.document import Document 6 | 7 | 8 | class Reranker(BaseModel): 9 | """Base class for rerankers""" 10 | 11 | model_config = ConfigDict(arbitrary_types_allowed=True, populate_by_name=True) 12 | 13 | def rerank(self, query: str, documents: List[Document]) -> List[Document]: 14 | raise NotImplementedError 15 | -------------------------------------------------------------------------------- /libs/agno/agno/run/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/agno/run/__init__.py -------------------------------------------------------------------------------- /libs/agno/agno/storage/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/agno/storage/__init__.py -------------------------------------------------------------------------------- /libs/agno/agno/storage/agent/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/agno/storage/agent/__init__.py -------------------------------------------------------------------------------- /libs/agno/agno/storage/agent/dynamodb.py: -------------------------------------------------------------------------------- 1 | from agno.storage.dynamodb import DynamoDbStorage as DynamoDbAgentStorage # noqa: F401 2 | -------------------------------------------------------------------------------- /libs/agno/agno/storage/agent/json.py: -------------------------------------------------------------------------------- 1 | from agno.storage.json import JsonStorage as JsonAgentStorage # noqa: F401 2 | -------------------------------------------------------------------------------- /libs/agno/agno/storage/agent/mongodb.py: -------------------------------------------------------------------------------- 1 | from agno.storage.mongodb import MongoDbStorage as MongoDbAgentStorage # noqa: F401 2 | -------------------------------------------------------------------------------- /libs/agno/agno/storage/agent/postgres.py: -------------------------------------------------------------------------------- 1 | from agno.storage.postgres import PostgresStorage as PostgresAgentStorage # noqa: F401 2 | -------------------------------------------------------------------------------- /libs/agno/agno/storage/agent/singlestore.py: -------------------------------------------------------------------------------- 1 | from agno.storage.singlestore import SingleStoreStorage as SingleStoreAgentStorage # noqa: F401 2 | -------------------------------------------------------------------------------- /libs/agno/agno/storage/agent/sqlite.py: -------------------------------------------------------------------------------- 1 | from agno.storage.sqlite import SqliteStorage as SqliteAgentStorage # noqa: F401 2 | -------------------------------------------------------------------------------- /libs/agno/agno/storage/agent/yaml.py: -------------------------------------------------------------------------------- 1 | from agno.storage.yaml import YamlStorage as YamlAgentStorage # noqa: F401 2 | -------------------------------------------------------------------------------- /libs/agno/agno/storage/session/__init__.py: -------------------------------------------------------------------------------- 1 | from typing import Union 2 | 3 | from agno.storage.session.agent import AgentSession 4 | from agno.storage.session.team import TeamSession 5 | from agno.storage.session.workflow import WorkflowSession 6 | 7 | Session = Union[AgentSession, TeamSession, WorkflowSession] 8 | 9 | __all__ = [ 10 | "AgentSession", 11 | "TeamSession", 12 | "WorkflowSession", 13 | "Session", 14 | ] 15 | -------------------------------------------------------------------------------- /libs/agno/agno/storage/workflow/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/agno/storage/workflow/__init__.py -------------------------------------------------------------------------------- /libs/agno/agno/storage/workflow/mongodb.py: -------------------------------------------------------------------------------- 1 | from agno.storage.mongodb import MongoDbStorage as MongoDbWorkflowStorage # noqa: F401 2 | -------------------------------------------------------------------------------- /libs/agno/agno/storage/workflow/postgres.py: -------------------------------------------------------------------------------- 1 | from agno.storage.postgres import PostgresStorage as PostgresWorkflowStorage # noqa: F401 2 | -------------------------------------------------------------------------------- /libs/agno/agno/storage/workflow/sqlite.py: -------------------------------------------------------------------------------- 1 | from agno.storage.sqlite import SqliteStorage as SqliteWorkflowStorage # noqa: F401 2 | -------------------------------------------------------------------------------- /libs/agno/agno/team/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.team.team import RunResponse, Team, TeamRunResponse 2 | 3 | __all__ = ["Team", "RunResponse", "TeamRunResponse"] 4 | -------------------------------------------------------------------------------- /libs/agno/agno/tools/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.tools.decorator import tool 2 | from agno.tools.function import Function, FunctionCall 3 | from agno.tools.toolkit import Toolkit 4 | 5 | __all__ = [ 6 | "tool", 7 | "Function", 8 | "FunctionCall", 9 | "Toolkit", 10 | ] 11 | -------------------------------------------------------------------------------- /libs/agno/agno/tools/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/agno/tools/models/__init__.py -------------------------------------------------------------------------------- /libs/agno/agno/tools/streamlit/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/agno/tools/streamlit/__init__.py -------------------------------------------------------------------------------- /libs/agno/agno/tools/tool_registry.py: -------------------------------------------------------------------------------- 1 | from agno.tools.toolkit import Toolkit as ToolRegistry # type: ignore # noqa: F401 2 | -------------------------------------------------------------------------------- /libs/agno/agno/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/agno/utils/__init__.py -------------------------------------------------------------------------------- /libs/agno/agno/utils/audio.py: -------------------------------------------------------------------------------- 1 | import base64 2 | 3 | 4 | def write_audio_to_file(audio, filename: str): 5 | """ 6 | Write base64 encoded audio file to disk. 7 | 8 | :param audio: Base64 encoded audio file 9 | :param filename: The filename to save the audio to 10 | """ 11 | wav_bytes = base64.b64decode(audio) 12 | with open(filename, "wb") as f: 13 | f.write(wav_bytes) 14 | -------------------------------------------------------------------------------- /libs/agno/agno/utils/dttm.py: -------------------------------------------------------------------------------- 1 | from datetime import datetime, timezone 2 | 3 | 4 | def current_datetime() -> datetime: 5 | return datetime.now() 6 | 7 | 8 | def current_datetime_utc() -> datetime: 9 | return datetime.now(timezone.utc) 10 | 11 | 12 | def current_datetime_utc_str() -> str: 13 | return current_datetime_utc().strftime("%Y-%m-%dT%H:%M:%S") 14 | -------------------------------------------------------------------------------- /libs/agno/agno/utils/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/agno/utils/models/__init__.py -------------------------------------------------------------------------------- /libs/agno/agno/vectordb/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.vectordb.base import VectorDb 2 | 3 | __all__ = ["VectorDb"] 4 | -------------------------------------------------------------------------------- /libs/agno/agno/vectordb/cassandra/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.vectordb.cassandra.cassandra import Cassandra 2 | 3 | __all__ = [ 4 | "Cassandra", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/agno/agno/vectordb/cassandra/extra_param_mixin.py: -------------------------------------------------------------------------------- 1 | from typing import List 2 | 3 | from cassio.table.mixins.base_table import BaseTableMixin 4 | from cassio.table.table_types import ColumnSpecType 5 | 6 | 7 | class ExtraParamMixin(BaseTableMixin): 8 | def _schema_da(self) -> List[ColumnSpecType]: 9 | return super()._schema_da() + [ 10 | ("document_name", "TEXT"), 11 | ] 12 | -------------------------------------------------------------------------------- /libs/agno/agno/vectordb/chroma/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.vectordb.chroma.chromadb import ChromaDb 2 | 3 | __all__ = [ 4 | "ChromaDb", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/agno/agno/vectordb/clickhouse/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.vectordb.clickhouse.clickhousedb import Clickhouse 2 | from agno.vectordb.clickhouse.index import HNSW 3 | from agno.vectordb.distance import Distance 4 | 5 | __all__ = [ 6 | "Clickhouse", 7 | "HNSW", 8 | "Distance", 9 | ] 10 | -------------------------------------------------------------------------------- /libs/agno/agno/vectordb/clickhouse/index.py: -------------------------------------------------------------------------------- 1 | from typing import Literal 2 | 3 | from pydantic import BaseModel 4 | 5 | 6 | class HNSW(BaseModel): 7 | quantization: Literal["f64", "f32", "f16", "bf16", "i8"] = "bf16" 8 | hnsw_max_connections_per_layer: int = 32 9 | hnsw_candidate_list_size_for_construction: int = 128 10 | -------------------------------------------------------------------------------- /libs/agno/agno/vectordb/couchbase/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.vectordb.couchbase.couchbase import CouchbaseSearch 2 | 3 | __all__ = ["CouchbaseSearch"] 4 | -------------------------------------------------------------------------------- /libs/agno/agno/vectordb/distance.py: -------------------------------------------------------------------------------- 1 | from enum import Enum 2 | 3 | 4 | class Distance(str, Enum): 5 | cosine = "cosine" 6 | l2 = "l2" 7 | max_inner_product = "max_inner_product" 8 | -------------------------------------------------------------------------------- /libs/agno/agno/vectordb/lancedb/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.vectordb.lancedb.lance_db import LanceDb, SearchType 2 | 3 | __all__ = [ 4 | "LanceDb", 5 | "SearchType", 6 | ] 7 | -------------------------------------------------------------------------------- /libs/agno/agno/vectordb/milvus/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.vectordb.milvus.milvus import Milvus 2 | from agno.vectordb.search import SearchType 3 | 4 | __all__ = ["Milvus", "SearchType"] 5 | -------------------------------------------------------------------------------- /libs/agno/agno/vectordb/mongodb/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.vectordb.mongodb.mongodb import MongoDb 2 | 3 | __all__ = ["MongoDb"] 4 | -------------------------------------------------------------------------------- /libs/agno/agno/vectordb/pgvector/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.vectordb.distance import Distance 2 | from agno.vectordb.pgvector.index import HNSW, Ivfflat 3 | from agno.vectordb.pgvector.pgvector import PgVector 4 | from agno.vectordb.search import SearchType 5 | 6 | __all__ = [ 7 | "Distance", 8 | "HNSW", 9 | "Ivfflat", 10 | "PgVector", 11 | "SearchType", 12 | ] 13 | -------------------------------------------------------------------------------- /libs/agno/agno/vectordb/pineconedb/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.vectordb.pineconedb.pineconedb import PineconeDb 2 | 3 | __all__ = [ 4 | "PineconeDb", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/agno/agno/vectordb/qdrant/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.vectordb.qdrant.qdrant import Qdrant 2 | 3 | __all__ = [ 4 | "Qdrant", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/agno/agno/vectordb/search.py: -------------------------------------------------------------------------------- 1 | from enum import Enum 2 | 3 | 4 | class SearchType(str, Enum): 5 | vector = "vector" 6 | keyword = "keyword" 7 | hybrid = "hybrid" 8 | -------------------------------------------------------------------------------- /libs/agno/agno/vectordb/singlestore/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.vectordb.distance import Distance 2 | from agno.vectordb.singlestore.index import HNSWFlat, Ivfflat 3 | from agno.vectordb.singlestore.singlestore import SingleStore 4 | 5 | __all__ = [ 6 | "Distance", 7 | "HNSWFlat", 8 | "Ivfflat", 9 | "SingleStore", 10 | ] 11 | -------------------------------------------------------------------------------- /libs/agno/agno/vectordb/upstashdb/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.vectordb.upstashdb.upstashdb import UpstashVectorDb 2 | 3 | __all__ = [ 4 | "UpstashVectorDb", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/agno/agno/vectordb/weaviate/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.vectordb.weaviate.index import Distance, VectorIndex 2 | from agno.vectordb.weaviate.weaviate import Weaviate 3 | 4 | __all__ = [ 5 | "Distance", 6 | "VectorIndex", 7 | "Weaviate", 8 | ] 9 | -------------------------------------------------------------------------------- /libs/agno/agno/vectordb/weaviate/index.py: -------------------------------------------------------------------------------- 1 | from enum import Enum 2 | 3 | 4 | class VectorIndex(Enum): 5 | HNSW = "hnsw" 6 | FLAT = "flat" 7 | DYNAMIC = "dynamic" 8 | 9 | 10 | class Distance(Enum): 11 | COSINE = "cosine" 12 | DOT = "dot" 13 | L2_SQUARED = "l2-squared" 14 | HAMMING = "hamming" 15 | MANHATTAN = "manhattan" 16 | -------------------------------------------------------------------------------- /libs/agno/agno/workflow/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.workflow.workflow import RunEvent, RunResponse, Workflow, WorkflowSession 2 | 3 | __all__ = [ 4 | "RunEvent", 5 | "RunResponse", 6 | "Workflow", 7 | "WorkflowSession", 8 | ] 9 | -------------------------------------------------------------------------------- /libs/agno/agno/workspace/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/agno/workspace/__init__.py -------------------------------------------------------------------------------- /libs/agno/agno/workspace/enums.py: -------------------------------------------------------------------------------- 1 | from enum import Enum 2 | 3 | 4 | class WorkspaceStarterTemplate(str, Enum): 5 | agent_app = "agent-app" 6 | agent_api = "agent-api" 7 | -------------------------------------------------------------------------------- /libs/agno/tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/agent/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/agent/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/embedder/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/embedder/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/knowledge/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/knowledge/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/knowledge/data/filters/cv_1.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/knowledge/data/filters/cv_1.docx -------------------------------------------------------------------------------- /libs/agno/tests/integration/knowledge/data/filters/cv_1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/knowledge/data/filters/cv_1.pdf -------------------------------------------------------------------------------- /libs/agno/tests/integration/knowledge/data/filters/cv_2.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/knowledge/data/filters/cv_2.docx -------------------------------------------------------------------------------- /libs/agno/tests/integration/knowledge/data/filters/cv_2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/knowledge/data/filters/cv_2.pdf -------------------------------------------------------------------------------- /libs/agno/tests/integration/knowledge/data/filters/cv_3.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/knowledge/data/filters/cv_3.docx -------------------------------------------------------------------------------- /libs/agno/tests/integration/knowledge/data/filters/cv_3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/knowledge/data/filters/cv_3.pdf -------------------------------------------------------------------------------- /libs/agno/tests/integration/knowledge/data/filters/cv_4.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/knowledge/data/filters/cv_4.docx -------------------------------------------------------------------------------- /libs/agno/tests/integration/knowledge/data/filters/cv_4.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/knowledge/data/filters/cv_4.pdf -------------------------------------------------------------------------------- /libs/agno/tests/integration/knowledge/data/filters/cv_5.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/knowledge/data/filters/cv_5.docx -------------------------------------------------------------------------------- /libs/agno/tests/integration/knowledge/data/filters/cv_5.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/knowledge/data/filters/cv_5.pdf -------------------------------------------------------------------------------- /libs/agno/tests/integration/knowledge/data/json/dishes.json: -------------------------------------------------------------------------------- 1 | [{"name": "Massaman Curry", "ingredients": ["beef", "potatoes", "coconut milk", "massaman curry paste", "peanuts"], "cuisine": "Thai"}, {"name": "Panang Curry", "ingredients": ["chicken", "coconut milk", "panang curry paste", "kaffir lime leaves"], "cuisine": "Thai"}] -------------------------------------------------------------------------------- /libs/agno/tests/integration/knowledge/data/json/recipes.json: -------------------------------------------------------------------------------- 1 | [{"name": "Tom Kha Gai", "ingredients": ["chicken", "coconut milk", "galangal", "lemongrass", "lime", "fish sauce"], "cuisine": "Thai"}, {"name": "Green Curry", "ingredients": ["chicken", "coconut milk", "green curry paste", "thai basil", "fish sauce"], "cuisine": "Thai"}, {"name": "Pad Thai", "ingredients": ["rice noodles", "tofu", "bean sprouts", "peanuts", "egg", "tamarind paste"], "cuisine": "Thai"}] -------------------------------------------------------------------------------- /libs/agno/tests/integration/knowledge/data/sample.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/knowledge/data/sample.docx -------------------------------------------------------------------------------- /libs/agno/tests/integration/knowledge/data/thai_recipes_short.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/knowledge/data/thai_recipes_short.pdf -------------------------------------------------------------------------------- /libs/agno/tests/integration/memory/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/memory/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/aimlapi/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/aimlapi/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/anthropic/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/anthropic/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/aws/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/aws/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/aws/bedrock/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/aws/bedrock/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/aws/claude/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/aws/claude/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/azure/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/azure/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/azure/ai_foundry/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/azure/ai_foundry/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/azure/openai/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/azure/openai/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/cerebras/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/cerebras/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/cerebras_openai/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/cerebras_openai/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/cohere/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/cohere/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/deepinfra/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/deepinfra/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/deepseek/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/deepseek/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/fireworks/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/fireworks/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/google/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/google/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/groq/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/groq/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/huggingface/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/huggingface/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/ibm/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/ibm/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/ibm/watsonx/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/ibm/watsonx/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/litellm/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/litellm/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/litellm_openai/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/litellm_openai/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/lmstudio/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/lmstudio/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/meta/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/meta/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/meta/llama/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/meta/llama/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/meta/llama_openai/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/meta/llama_openai/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/mistral/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/mistral/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/nebius/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/nebius/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/nvidia/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/nvidia/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/ollama/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/ollama/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/ollama_tools/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/ollama_tools/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/openai/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/openai/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/openai/chat/__init__.py: -------------------------------------------------------------------------------- 1 | """Integration tests for OpenAI Responses API.""" 2 | -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/openai/responses/__init__.py: -------------------------------------------------------------------------------- 1 | """Integration tests for OpenAI Responses API.""" 2 | -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/openrouter/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/openrouter/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/perplexity/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/perplexity/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/sambanova/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/sambanova/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/sample_image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/sample_image.jpg -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/together/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/together/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/vercel/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/vercel/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/models/xai/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/models/xai/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/storage/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/storage/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/teams/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/teams/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/tools/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/tools/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/integration/vector_dbs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/integration/vector_dbs/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/unit/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/unit/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/unit/memory/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/unit/memory/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/unit/playground/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/unit/playground/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/unit/reader/ThaiRecipes.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/unit/reader/ThaiRecipes.pdf -------------------------------------------------------------------------------- /libs/agno/tests/unit/reader/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/unit/reader/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/unit/storage/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/unit/storage/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/unit/team/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/unit/team/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/unit/tools/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/unit/tools/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/unit/tools/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/unit/tools/models/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/unit/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/unit/utils/__init__.py -------------------------------------------------------------------------------- /libs/agno/tests/unit/vectordb/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/agno/tests/unit/vectordb/__init__.py -------------------------------------------------------------------------------- /libs/infra/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/infra/__init__.py -------------------------------------------------------------------------------- /libs/infra/agno_aws/README.md: -------------------------------------------------------------------------------- 1 | # Agno AWS 2 | 3 | This is the Agno AWS library. It contains the code for the Agno AWS Resources. 4 | 5 | -------------------------------------------------------------------------------- /libs/infra/agno_aws/agno/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/infra/agno_aws/agno/__init__.py -------------------------------------------------------------------------------- /libs/infra/agno_aws/agno/aws/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/infra/agno_aws/agno/aws/__init__.py -------------------------------------------------------------------------------- /libs/infra/agno_aws/agno/aws/app/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.aws.app.base import AwsApp, AwsBuildContext, ContainerContext # noqa: F401 2 | -------------------------------------------------------------------------------- /libs/infra/agno_aws/agno/aws/app/celery/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.aws.app.celery.worker import CeleryWorker 2 | -------------------------------------------------------------------------------- /libs/infra/agno_aws/agno/aws/app/django/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.aws.app.django.django import Django 2 | -------------------------------------------------------------------------------- /libs/infra/agno_aws/agno/aws/app/fastapi/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.aws.app.fastapi.fastapi import FastApi 2 | -------------------------------------------------------------------------------- /libs/infra/agno_aws/agno/aws/app/streamlit/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.aws.app.streamlit.streamlit import Streamlit 2 | -------------------------------------------------------------------------------- /libs/infra/agno_aws/agno/aws/context.py: -------------------------------------------------------------------------------- 1 | from typing import Optional 2 | 3 | from pydantic import BaseModel 4 | 5 | 6 | class AwsBuildContext(BaseModel): 7 | aws_region: Optional[str] = None 8 | aws_profile: Optional[str] = None 9 | -------------------------------------------------------------------------------- /libs/infra/agno_aws/agno/aws/resource/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/infra/agno_aws/agno/aws/resource/__init__.py -------------------------------------------------------------------------------- /libs/infra/agno_aws/agno/aws/resource/acm/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.aws.resource.acm.certificate import AcmCertificate 2 | 3 | __all__ = [ 4 | "AcmCertificate", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/infra/agno_aws/agno/aws/resource/cloudformation/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/infra/agno_aws/agno/aws/resource/cloudformation/__init__.py -------------------------------------------------------------------------------- /libs/infra/agno_aws/agno/aws/resource/ec2/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.aws.resource.ec2.security_group import InboundRule, OutboundRule, SecurityGroup, get_my_ip 2 | from agno.aws.resource.ec2.subnet import Subnet 3 | from agno.aws.resource.ec2.volume import EbsVolume 4 | 5 | __all__ = [ 6 | "InboundRule", 7 | "OutboundRule", 8 | "SecurityGroup", 9 | "get_my_ip", 10 | "Subnet", 11 | "EbsVolume", 12 | ] 13 | -------------------------------------------------------------------------------- /libs/infra/agno_aws/agno/aws/resource/ecs/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.aws.resource.ecs.cluster import EcsCluster 2 | from agno.aws.resource.ecs.container import EcsContainer 3 | from agno.aws.resource.ecs.service import EcsService 4 | from agno.aws.resource.ecs.task_definition import EcsTaskDefinition 5 | from agno.aws.resource.ecs.volume import EcsVolume 6 | -------------------------------------------------------------------------------- /libs/infra/agno_aws/agno/aws/resource/elasticache/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.aws.resource.elasticache.cluster import CacheCluster 2 | from agno.aws.resource.elasticache.subnet_group import CacheSubnetGroup 3 | 4 | __all__ = [ 5 | "CacheCluster", 6 | "CacheSubnetGroup", 7 | ] 8 | -------------------------------------------------------------------------------- /libs/infra/agno_aws/agno/aws/resource/elb/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.aws.resource.elb.listener import Listener 2 | from agno.aws.resource.elb.load_balancer import LoadBalancer 3 | from agno.aws.resource.elb.target_group import TargetGroup 4 | -------------------------------------------------------------------------------- /libs/infra/agno_aws/agno/aws/resource/emr/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.aws.resource.emr.cluster import EmrCluster 2 | -------------------------------------------------------------------------------- /libs/infra/agno_aws/agno/aws/resource/glue/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.aws.resource.glue.crawler import GlueCrawler 2 | -------------------------------------------------------------------------------- /libs/infra/agno_aws/agno/aws/resource/iam/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.aws.resource.iam.policy import IamPolicy 2 | from agno.aws.resource.iam.role import IamRole 3 | -------------------------------------------------------------------------------- /libs/infra/agno_aws/agno/aws/resource/rds/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.aws.resource.rds.db_cluster import DbCluster 2 | from agno.aws.resource.rds.db_instance import DbInstance 3 | from agno.aws.resource.rds.db_subnet_group import DbSubnetGroup 4 | 5 | __all__ = [ 6 | "DbCluster", 7 | "DbInstance", 8 | "DbSubnetGroup", 9 | ] 10 | -------------------------------------------------------------------------------- /libs/infra/agno_aws/agno/aws/resource/reference.py: -------------------------------------------------------------------------------- 1 | from typing import Optional 2 | 3 | from agno.aws.api_client import AwsApiClient 4 | 5 | 6 | class AwsReference: 7 | def __init__(self, reference): 8 | self.reference = reference 9 | 10 | def get_reference(self, aws_client: Optional[AwsApiClient] = None): 11 | return self.reference(aws_client=aws_client) 12 | -------------------------------------------------------------------------------- /libs/infra/agno_aws/agno/aws/resource/s3/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.aws.resource.s3.bucket import S3Bucket 2 | from agno.aws.resource.s3.object import S3Object 3 | -------------------------------------------------------------------------------- /libs/infra/agno_aws/agno/aws/resource/secret/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.aws.resource.secret.manager import SecretsManager 2 | from agno.aws.resource.secret.reader import read_secrets 3 | 4 | __all__ = [ 5 | "SecretsManager", 6 | "read_secrets", 7 | ] 8 | -------------------------------------------------------------------------------- /libs/infra/agno_aws/agno/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/infra/agno_aws/agno/py.typed -------------------------------------------------------------------------------- /libs/infra/agno_aws/tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/infra/agno_aws/tests/__init__.py -------------------------------------------------------------------------------- /libs/infra/agno_docker/README.md: -------------------------------------------------------------------------------- 1 | # Agno Docker 2 | 3 | This is the Agno Docker library. It contains the code for the Agno Docker Resources. 4 | 5 | -------------------------------------------------------------------------------- /libs/infra/agno_docker/agno/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/infra/agno_docker/agno/__init__.py -------------------------------------------------------------------------------- /libs/infra/agno_docker/agno/docker/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/infra/agno_docker/agno/docker/__init__.py -------------------------------------------------------------------------------- /libs/infra/agno_docker/agno/docker/app/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.docker.app.base import ContainerContext, DockerApp, DockerBuildContext # noqa: F401 2 | 3 | __all__ = [ 4 | "ContainerContext", 5 | "DockerApp", 6 | "DockerBuildContext", 7 | ] 8 | -------------------------------------------------------------------------------- /libs/infra/agno_docker/agno/docker/app/celery/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.docker.app.celery.worker import CeleryWorker 2 | 3 | __all__ = [ 4 | "CeleryWorker", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/infra/agno_docker/agno/docker/app/fastapi/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.docker.app.fastapi.fastapi import FastApi 2 | 3 | __all__ = [ 4 | "FastApi", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/infra/agno_docker/agno/docker/app/postgres/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.docker.app.postgres.pgvector import PgVectorDb 2 | from agno.docker.app.postgres.postgres import PostgresDb 3 | 4 | __all__ = [ 5 | "PgVectorDb", 6 | "PostgresDb", 7 | ] 8 | -------------------------------------------------------------------------------- /libs/infra/agno_docker/agno/docker/app/postgres/pgvector.py: -------------------------------------------------------------------------------- 1 | from agno.docker.app.postgres.postgres import PostgresDb 2 | 3 | 4 | class PgVectorDb(PostgresDb): 5 | # -*- App Name 6 | name: str = "pgvector" 7 | 8 | # -*- Image Configuration 9 | image_name: str = "agnohq/pgvector" 10 | image_tag: str = "16" 11 | -------------------------------------------------------------------------------- /libs/infra/agno_docker/agno/docker/app/redis/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.docker.app.redis.redis import Redis 2 | 3 | __all__ = [ 4 | "Redis", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/infra/agno_docker/agno/docker/app/streamlit/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.docker.app.streamlit.streamlit import Streamlit 2 | 3 | __all__ = [ 4 | "Streamlit", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/infra/agno_docker/agno/docker/app/whoami/__init__.py: -------------------------------------------------------------------------------- 1 | from agno.docker.app.whoami.whoami import Whoami 2 | 3 | __all__ = [ 4 | "Whoami", 5 | ] 6 | -------------------------------------------------------------------------------- /libs/infra/agno_docker/agno/docker/context.py: -------------------------------------------------------------------------------- 1 | from pydantic import BaseModel 2 | 3 | 4 | class DockerBuildContext(BaseModel): 5 | network: str 6 | -------------------------------------------------------------------------------- /libs/infra/agno_docker/agno/docker/resource/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/infra/agno_docker/agno/docker/resource/__init__.py -------------------------------------------------------------------------------- /libs/infra/agno_docker/agno/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/infra/agno_docker/agno/py.typed -------------------------------------------------------------------------------- /libs/infra/agno_docker/tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agno-agi/agno/30cbaca90c3c68497310687a40544cbdfe832527/libs/infra/agno_docker/tests/__init__.py --------------------------------------------------------------------------------