├── .coveragerc ├── .devcontainer ├── Dockerfile ├── README.md ├── devcontainer.json ├── python-3.10 │ └── devcontainer.json ├── python-3.11 │ └── devcontainer.json ├── python-3.12 │ └── devcontainer.json ├── python-3.13 │ └── devcontainer.json └── setup.sh ├── .gitattributes ├── .github ├── ISSUE_TEMPLATE.md ├── ISSUE_TEMPLATE │ ├── bug_report.yml │ ├── config.yml │ ├── feature_request.yml │ └── general_issue.yml ├── PULL_REQUEST_TEMPLATE.md ├── dependabot.yml └── workflows │ ├── build-docs.yml │ ├── build-mkdocs.yml │ ├── contrib-graph-rag-tests.yml │ ├── contrib-llm-test.yml │ ├── contrib-test.yml │ ├── core-llm-test.yml │ ├── core-test.yml │ ├── deploy-website-mintlify.yml │ ├── deploy-website.yml │ ├── docs-check-broken-links.yml │ ├── integration-test.yml │ ├── lfs-check.yml │ ├── mkdocs-check-broken-links.yml │ ├── pr-checks.yml │ ├── python-package.yml │ ├── test-with-optional-deps.yml │ └── type-check.yml ├── .gitignore ├── .muffet-excluded-links.txt ├── .pre-commit-config.yaml ├── CITATION.cff ├── LICENSE ├── MAINTAINERS.md ├── NOTICE.md ├── OAI_CONFIG_LIST_sample ├── README.md ├── TRANSPARENCY_FAQS.md ├── announcements.md ├── autogen ├── __init__.py ├── _website │ ├── __init__.py │ ├── generate_api_references.py │ ├── generate_mkdocs.py │ ├── notebook_processor.py │ ├── process_notebooks.py │ └── utils.py ├── agentchat │ ├── __init__.py │ ├── agent.py │ ├── assistant_agent.py │ ├── chat.py │ ├── contrib │ │ ├── __init__.py │ │ ├── agent_eval │ │ │ ├── README.md │ │ │ ├── agent_eval.py │ │ │ ├── criterion.py │ │ │ ├── critic_agent.py │ │ │ ├── quantifier_agent.py │ │ │ ├── subcritic_agent.py │ │ │ └── task.py │ │ ├── agent_optimizer.py │ │ ├── capabilities │ │ │ ├── __init__.py │ │ │ ├── agent_capability.py │ │ │ ├── generate_images.py │ │ │ ├── teachability.py │ │ │ ├── text_compressors.py │ │ │ ├── tools_capability.py │ │ │ ├── transform_messages.py │ │ │ ├── transforms.py │ │ │ ├── transforms_util.py │ │ │ └── vision_capability.py │ │ ├── captainagent │ │ │ ├── __init__.py │ │ │ ├── agent_builder.py │ │ │ ├── captainagent.py │ │ │ ├── tool_retriever.py │ │ │ └── tools │ │ │ │ ├── README.md │ │ │ │ ├── __init__.py │ │ │ │ ├── data_analysis │ │ │ │ ├── calculate_correlation.py │ │ │ │ ├── calculate_skewness_and_kurtosis.py │ │ │ │ ├── detect_outlier_iqr.py │ │ │ │ ├── detect_outlier_zscore.py │ │ │ │ ├── explore_csv.py │ │ │ │ └── shapiro_wilk_test.py │ │ │ │ ├── information_retrieval │ │ │ │ ├── arxiv_download.py │ │ │ │ ├── arxiv_search.py │ │ │ │ ├── extract_pdf_image.py │ │ │ │ ├── extract_pdf_text.py │ │ │ │ ├── get_wikipedia_text.py │ │ │ │ ├── get_youtube_caption.py │ │ │ │ ├── image_qa.py │ │ │ │ ├── optical_character_recognition.py │ │ │ │ ├── perform_web_search.py │ │ │ │ ├── scrape_wikipedia_tables.py │ │ │ │ ├── transcribe_audio_file.py │ │ │ │ └── youtube_download.py │ │ │ │ ├── math │ │ │ │ ├── calculate_circle_area_from_diameter.py │ │ │ │ ├── calculate_day_of_the_week.py │ │ │ │ ├── calculate_fraction_sum.py │ │ │ │ ├── calculate_matrix_power.py │ │ │ │ ├── calculate_reflected_point.py │ │ │ │ ├── complex_numbers_product.py │ │ │ │ ├── compute_currency_conversion.py │ │ │ │ ├── count_distinct_permutations.py │ │ │ │ ├── evaluate_expression.py │ │ │ │ ├── find_continuity_point.py │ │ │ │ ├── fraction_to_mixed_numbers.py │ │ │ │ ├── modular_inverse_sum.py │ │ │ │ ├── simplify_mixed_numbers.py │ │ │ │ ├── sum_of_digit_factorials.py │ │ │ │ └── sum_of_primes_below.py │ │ │ │ ├── requirements.txt │ │ │ │ └── tool_description.tsv │ │ ├── gpt_assistant_agent.py │ │ ├── graph_rag │ │ │ ├── __init__.py │ │ │ ├── document.py │ │ │ ├── falkor_graph_query_engine.py │ │ │ ├── falkor_graph_rag_capability.py │ │ │ ├── graph_query_engine.py │ │ │ ├── graph_rag_capability.py │ │ │ ├── neo4j_graph_query_engine.py │ │ │ ├── neo4j_graph_rag_capability.py │ │ │ ├── neo4j_native_graph_query_engine.py │ │ │ └── neo4j_native_graph_rag_capability.py │ │ ├── img_utils.py │ │ ├── llamaindex_conversable_agent.py │ │ ├── llava_agent.py │ │ ├── math_user_proxy_agent.py │ │ ├── multimodal_conversable_agent.py │ │ ├── qdrant_retrieve_user_proxy_agent.py │ │ ├── rag │ │ │ ├── __init__.py │ │ │ ├── chromadb_query_engine.py │ │ │ ├── llamaindex_query_engine.py │ │ │ ├── mongodb_query_engine.py │ │ │ └── query_engine.py │ │ ├── retrieve_assistant_agent.py │ │ ├── retrieve_user_proxy_agent.py │ │ ├── society_of_mind_agent.py │ │ ├── swarm_agent.py │ │ ├── text_analyzer_agent.py │ │ ├── vectordb │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── chromadb.py │ │ │ ├── couchbase.py │ │ │ ├── mongodb.py │ │ │ ├── pgvectordb.py │ │ │ ├── qdrant.py │ │ │ └── utils.py │ │ └── web_surfer.py │ ├── conversable_agent.py │ ├── group │ │ ├── __init__.py │ │ ├── available_condition.py │ │ ├── context_condition.py │ │ ├── context_expression.py │ │ ├── context_str.py │ │ ├── context_variables.py │ │ ├── group_tool_executor.py │ │ ├── group_utils.py │ │ ├── handoffs.py │ │ ├── llm_condition.py │ │ ├── multi_agent_chat.py │ │ ├── on_condition.py │ │ ├── on_context_condition.py │ │ ├── patterns │ │ │ ├── __init__.py │ │ │ ├── auto.py │ │ │ ├── manual.py │ │ │ ├── pattern.py │ │ │ ├── random.py │ │ │ └── round_robin.py │ │ ├── reply_result.py │ │ ├── speaker_selection_result.py │ │ └── targets │ │ │ ├── __init__.py │ │ │ ├── group_chat_target.py │ │ │ ├── group_manager_target.py │ │ │ ├── transition_target.py │ │ │ └── transition_utils.py │ ├── groupchat.py │ ├── realtime │ │ ├── __init__.py │ │ └── experimental │ │ │ ├── __init__.py │ │ │ ├── audio_adapters │ │ │ ├── __init__.py │ │ │ ├── twilio_audio_adapter.py │ │ │ └── websocket_audio_adapter.py │ │ │ ├── audio_observer.py │ │ │ ├── clients │ │ │ ├── __init__.py │ │ │ ├── gemini │ │ │ │ ├── __init__.py │ │ │ │ └── client.py │ │ │ ├── oai │ │ │ │ ├── __init__.py │ │ │ │ ├── base_client.py │ │ │ │ ├── rtc_client.py │ │ │ │ └── utils.py │ │ │ └── realtime_client.py │ │ │ ├── function_observer.py │ │ │ ├── realtime_agent.py │ │ │ ├── realtime_events.py │ │ │ ├── realtime_observer.py │ │ │ ├── realtime_swarm.py │ │ │ └── websockets.py │ ├── realtime_agent │ │ └── __init__.py │ ├── user_proxy_agent.py │ └── utils.py ├── agents │ ├── __init__.py │ ├── contrib │ │ ├── __init__.py │ │ └── time │ │ │ ├── __init__.py │ │ │ ├── time_reply_agent.py │ │ │ └── time_tool_agent.py │ └── experimental │ │ ├── __init__.py │ │ ├── deep_research │ │ ├── __init__.py │ │ └── deep_research.py │ │ ├── discord │ │ ├── __init__.py │ │ └── discord.py │ │ ├── document_agent │ │ ├── __init__.py │ │ ├── chroma_query_engine.py │ │ ├── docling_doc_ingest_agent.py │ │ ├── document_agent.py │ │ ├── document_conditions.py │ │ ├── document_utils.py │ │ ├── inmemory_query_engine.py │ │ ├── parser_utils.py │ │ └── url_utils.py │ │ ├── reasoning │ │ ├── __init__.py │ │ └── reasoning_agent.py │ │ ├── slack │ │ ├── __init__.py │ │ └── slack.py │ │ ├── telegram │ │ ├── __init__.py │ │ └── telegram.py │ │ ├── websurfer │ │ ├── __init__.py │ │ └── websurfer.py │ │ └── wikipedia │ │ ├── __init__.py │ │ └── wikipedia.py ├── browser_utils.py ├── cache │ ├── __init__.py │ ├── abstract_cache_base.py │ ├── cache.py │ ├── cache_factory.py │ ├── cosmos_db_cache.py │ ├── disk_cache.py │ ├── in_memory_cache.py │ └── redis_cache.py ├── code_utils.py ├── coding │ ├── __init__.py │ ├── base.py │ ├── docker_commandline_code_executor.py │ ├── factory.py │ ├── func_with_reqs.py │ ├── jupyter │ │ ├── __init__.py │ │ ├── base.py │ │ ├── docker_jupyter_server.py │ │ ├── embedded_ipython_code_executor.py │ │ ├── import_utils.py │ │ ├── jupyter_client.py │ │ ├── jupyter_code_executor.py │ │ └── local_jupyter_server.py │ ├── local_commandline_code_executor.py │ ├── markdown_code_extractor.py │ └── utils.py ├── doc_utils.py ├── events │ ├── __init__.py │ ├── agent_events.py │ ├── base_event.py │ ├── client_events.py │ ├── helpers.py │ └── print_event.py ├── exception_utils.py ├── extensions │ └── __init__.py ├── fast_depends │ ├── __init__.py │ ├── _compat.py │ ├── core │ │ ├── __init__.py │ │ ├── build.py │ │ └── model.py │ ├── dependencies │ │ ├── __init__.py │ │ ├── model.py │ │ └── provider.py │ ├── library │ │ ├── __init__.py │ │ └── model.py │ ├── py.typed │ ├── schema.py │ ├── use.py │ └── utils.py ├── formatting_utils.py ├── function_utils.py ├── graph_utils.py ├── import_utils.py ├── interop │ ├── __init__.py │ ├── crewai │ │ ├── __init__.py │ │ └── crewai.py │ ├── interoperability.py │ ├── interoperable.py │ ├── langchain │ │ ├── __init__.py │ │ ├── langchain_chat_model_factory.py │ │ └── langchain_tool.py │ ├── litellm │ │ ├── __init__.py │ │ └── litellm_config_factory.py │ ├── pydantic_ai │ │ ├── __init__.py │ │ └── pydantic_ai.py │ └── registry.py ├── io │ ├── __init__.py │ ├── base.py │ ├── console.py │ ├── processors │ │ ├── __init__.py │ │ ├── base.py │ │ └── console_event_processor.py │ ├── run_response.py │ ├── thread_io_stream.py │ └── websockets.py ├── json_utils.py ├── llm_config.py ├── logger │ ├── __init__.py │ ├── base_logger.py │ ├── file_logger.py │ ├── logger_factory.py │ ├── logger_utils.py │ └── sqlite_logger.py ├── math_utils.py ├── mcp │ ├── __init__.py │ ├── __main__.py │ ├── mcp_client.py │ └── mcp_proxy │ │ ├── __init__.py │ │ ├── fastapi_code_generator_helpers.py │ │ ├── mcp_proxy.py │ │ ├── operation_grouping.py │ │ ├── operation_renaming.py │ │ ├── patch_fastapi_code_generator.py │ │ ├── security.py │ │ └── security_schema_visitor.py ├── messages │ ├── __init__.py │ ├── agent_messages.py │ ├── base_message.py │ ├── client_messages.py │ └── print_message.py ├── oai │ ├── __init__.py │ ├── anthropic.py │ ├── bedrock.py │ ├── cerebras.py │ ├── client.py │ ├── client_utils.py │ ├── cohere.py │ ├── gemini.py │ ├── gemini_types.py │ ├── groq.py │ ├── mistral.py │ ├── oai_models │ │ ├── __init__.py │ │ ├── _models.py │ │ ├── chat_completion.py │ │ ├── chat_completion_audio.py │ │ ├── chat_completion_message.py │ │ ├── chat_completion_message_tool_call.py │ │ ├── chat_completion_token_logprob.py │ │ └── completion_usage.py │ ├── ollama.py │ ├── openai_utils.py │ └── together.py ├── retrieve_utils.py ├── runtime_logging.py ├── token_count_utils.py ├── tools │ ├── __init__.py │ ├── contrib │ │ ├── __init__.py │ │ └── time │ │ │ ├── __init__.py │ │ │ └── time.py │ ├── dependency_injection.py │ ├── experimental │ │ ├── __init__.py │ │ ├── browser_use │ │ │ ├── __init__.py │ │ │ └── browser_use.py │ │ ├── crawl4ai │ │ │ ├── __init__.py │ │ │ └── crawl4ai.py │ │ ├── deep_research │ │ │ ├── __init__.py │ │ │ └── deep_research.py │ │ ├── duckduckgo │ │ │ ├── __init__.py │ │ │ └── duckduckgo_search.py │ │ ├── google │ │ │ ├── __init__.py │ │ │ ├── authentication │ │ │ │ ├── __init__.py │ │ │ │ ├── credentials_hosted_provider.py │ │ │ │ ├── credentials_local_provider.py │ │ │ │ └── credentials_provider.py │ │ │ ├── drive │ │ │ │ ├── __init__.py │ │ │ │ ├── drive_functions.py │ │ │ │ └── toolkit.py │ │ │ ├── model.py │ │ │ └── toolkit_protocol.py │ │ ├── google_search │ │ │ ├── __init__.py │ │ │ ├── google_search.py │ │ │ └── youtube_search.py │ │ ├── messageplatform │ │ │ ├── __init__.py │ │ │ ├── discord │ │ │ │ ├── __init__.py │ │ │ │ └── discord.py │ │ │ ├── slack │ │ │ │ ├── __init__.py │ │ │ │ └── slack.py │ │ │ └── telegram │ │ │ │ ├── __init__.py │ │ │ │ └── telegram.py │ │ ├── perplexity │ │ │ ├── __init__.py │ │ │ └── perplexity_search.py │ │ ├── reliable │ │ │ ├── __init__.py │ │ │ └── reliable.py │ │ ├── tavily │ │ │ ├── __init__.py │ │ │ └── tavily_search.py │ │ ├── web_search_preview │ │ │ ├── __init__.py │ │ │ └── web_search_preview.py │ │ └── wikipedia │ │ │ ├── __init__.py │ │ │ └── wikipedia.py │ ├── function_utils.py │ ├── tool.py │ └── toolkit.py ├── types.py └── version.py ├── azure-pipelines.yml ├── codecov.yml ├── license_original ├── LICENSE-CC └── LICENSE_original_MIT ├── notebook ├── Chromadb_query_engine.ipynb ├── JSON_mode_example.ipynb ├── LlamaIndex_query_engine.ipynb ├── agent_library_example.json ├── agentchat_MathChat.ipynb ├── agentchat_RetrieveChat.ipynb ├── agentchat_RetrieveChat_couchbase.ipynb ├── agentchat_RetrieveChat_mongodb.ipynb ├── agentchat_RetrieveChat_pgvector.ipynb ├── agentchat_RetrieveChat_qdrant.ipynb ├── agentchat_agentops.ipynb ├── agentchat_agentoptimizer.ipynb ├── agentchat_assistant_agent_standalone.ipynb ├── agentchat_auto_feedback_from_code_execution.ipynb ├── agentchat_azr_ai_search.ipynb ├── agentchat_captainagent.ipynb ├── agentchat_captainagent_crosstool.ipynb ├── agentchat_cost_token_tracking.ipynb ├── agentchat_custom_model.ipynb ├── agentchat_dalle_and_gpt4v.ipynb ├── agentchat_databricks_dbrx.ipynb ├── agentchat_function_call.ipynb ├── agentchat_function_call_async.ipynb ├── agentchat_function_call_code_writing.ipynb ├── agentchat_function_call_currency_calculator.ipynb ├── agentchat_function_call_currency_converter_tool_api.ipynb ├── agentchat_graph_rag_falkordb.ipynb ├── agentchat_graph_rag_neo4j.ipynb ├── agentchat_graph_rag_neo4j_native.ipynb ├── agentchat_group_chat_with_llamaindex_agents.ipynb ├── agentchat_groupchat.ipynb ├── agentchat_groupchat_RAG.ipynb ├── agentchat_groupchat_customized.ipynb ├── agentchat_groupchat_finite_state_machine.ipynb ├── agentchat_groupchat_research.ipynb ├── agentchat_groupchat_stateflow.ipynb ├── agentchat_groupchat_tools.ipynb ├── agentchat_groupchat_vis.ipynb ├── agentchat_guidance.ipynb ├── agentchat_human_feedback.ipynb ├── agentchat_image_generation_capability.ipynb ├── agentchat_inception_function.ipynb ├── agentchat_langchain.ipynb ├── agentchat_lmm_gpt-4v.ipynb ├── agentchat_lmm_llava.ipynb ├── agentchat_logging.ipynb ├── agentchat_mcp_arxiv.ipynb ├── agentchat_mcp_filesystem.ipynb ├── agentchat_mcp_wikipedia.ipynb ├── agentchat_memory_using_mem0.ipynb ├── agentchat_microsoft_fabric.ipynb ├── agentchat_multi_task_async_chats.ipynb ├── agentchat_multi_task_chats.ipynb ├── agentchat_nested_chats_chess.ipynb ├── agentchat_nested_chats_chess_altmodels.ipynb ├── agentchat_nested_sequential_chats.ipynb ├── agentchat_nestedchat.ipynb ├── agentchat_nestedchat_optiguide.ipynb ├── agentchat_oai_assistant_function_call.ipynb ├── agentchat_oai_assistant_groupchat.ipynb ├── agentchat_oai_assistant_retrieval.ipynb ├── agentchat_oai_assistant_twoagents_basic.ipynb ├── agentchat_oai_code_interpreter.ipynb ├── agentchat_openlit.ipynb ├── agentchat_pdf_rag │ ├── input_files │ │ └── nvidia_10k_2024.pdf │ ├── parsed_elements.json │ ├── parsed_pdf_info │ │ ├── figure-1-1.jpg │ │ ├── figure-33-2.jpg │ │ ├── figure-92-3.jpg │ │ ├── figure-93-4.jpg │ │ ├── figure-94-5.jpg │ │ ├── figure-95-6.jpg │ │ ├── table-12-2.jpg │ │ ├── table-2-1.jpg │ │ ├── table-32-3.jpg │ │ ├── table-33-4.jpg │ │ ├── table-36-5.jpg │ │ ├── table-39-6.jpg │ │ ├── table-39-7.jpg │ │ ├── table-39-8.jpg │ │ ├── table-40-9.jpg │ │ ├── table-41-10.jpg │ │ ├── table-42-11.jpg │ │ ├── table-42-12.jpg │ │ ├── table-43-13.jpg │ │ ├── table-47-14.jpg │ │ ├── table-50-15.jpg │ │ ├── table-51-16.jpg │ │ ├── table-52-17.jpg │ │ ├── table-52-18.jpg │ │ ├── table-53-19.jpg │ │ ├── table-54-20.jpg │ │ ├── table-60-21.jpg │ │ ├── table-61-22.jpg │ │ ├── table-61-23.jpg │ │ ├── table-61-24.jpg │ │ ├── table-62-25.jpg │ │ ├── table-63-26.jpg │ │ ├── table-63-27.jpg │ │ ├── table-64-28.jpg │ │ ├── table-64-29.jpg │ │ ├── table-65-30.jpg │ │ ├── table-65-31.jpg │ │ ├── table-66-32.jpg │ │ ├── table-66-33.jpg │ │ ├── table-66-34.jpg │ │ ├── table-67-35.jpg │ │ ├── table-68-36.jpg │ │ ├── table-68-37.jpg │ │ ├── table-68-38.jpg │ │ ├── table-69-39.jpg │ │ ├── table-69-40.jpg │ │ ├── table-70-41.jpg │ │ ├── table-70-42.jpg │ │ ├── table-70-43.jpg │ │ ├── table-71-44.jpg │ │ ├── table-72-45.jpg │ │ ├── table-73-46.jpg │ │ ├── table-73-47.jpg │ │ ├── table-75-48.jpg │ │ ├── table-75-49.jpg │ │ ├── table-75-50.jpg │ │ ├── table-76-51.jpg │ │ ├── table-77-52.jpg │ │ ├── table-78-53.jpg │ │ ├── table-79-54.jpg │ │ ├── table-79-55.jpg │ │ ├── table-79-56.jpg │ │ ├── table-80-57.jpg │ │ ├── table-81-58.jpg │ │ ├── table-82-59.jpg │ │ ├── table-83-60.jpg │ │ ├── table-85-61.jpg │ │ └── table-95-62.jpg │ ├── processed_elements.json │ └── sample_elements.json ├── agentchat_planning.ipynb ├── agentchat_quickstart_examples.ipynb ├── agentchat_realtime_gemini_swarm_websocket.ipynb ├── agentchat_realtime_gemini_websocket.ipynb ├── agentchat_realtime_swarm.ipynb ├── agentchat_realtime_swarm_webrtc.ipynb ├── agentchat_realtime_swarm_websocket.ipynb ├── agentchat_realtime_webrtc.ipynb ├── agentchat_realtime_webrtc │ ├── static │ │ └── main.js │ └── templates │ │ └── chat.html ├── agentchat_realtime_websocket.ipynb ├── agentchat_realtime_websocket │ ├── static │ │ └── main.js │ └── templates │ │ └── chat.html ├── agentchat_reasoning_agent.ipynb ├── agentchat_small_llm_rag_planning.ipynb ├── agentchat_society_of_mind.ipynb ├── agentchat_sql_spider.ipynb ├── agentchat_stream.ipynb ├── agentchat_structured_outputs.ipynb ├── agentchat_structured_outputs_from_config.ipynb ├── agentchat_swarm.ipynb ├── agentchat_swarm_enhanced.ipynb ├── agentchat_swarm_graphrag_telemetry_trip_planner.ipynb ├── agentchat_swarm_graphrag_trip_planner.ipynb ├── agentchat_swarm_w_groupchat_legacy.ipynb ├── agentchat_tabular_data_rag_workflow.ipynb ├── agentchat_teachability.ipynb ├── agentchat_teachable_oai_assistants.ipynb ├── agentchat_teaching.ipynb ├── agentchat_transform_messages.ipynb ├── agentchat_two_users.ipynb ├── agentchat_video_transcript_translate_with_whisper.ipynb ├── agentchat_web_info.ipynb ├── agentchat_webscraping_with_apify.ipynb ├── agentchat_websockets.ipynb ├── agentchat_with_memory.ipynb ├── agentchats_sequential_chats.ipynb ├── agenteval_cq_math.ipynb ├── agents_deep_researcher.ipynb ├── agents_docagent.ipynb ├── agents_websurfer.ipynb ├── agents_wikipedia.ipynb ├── async_human_input.ipynb ├── autobuild_agent_library.ipynb ├── autobuild_basic.ipynb ├── autogen_uniformed_api_calling.ipynb ├── captainagent_expert_library.json ├── cell-43-1-image.png ├── cell-46-1-image.png ├── cell-48-1-image.png ├── cell-50-1-image.png ├── cell-52-1-image.png ├── commsplatforms_discord_sentmsg.png ├── commsplatforms_slack_sentmsg.png ├── commsplatforms_telegram_sentmsg.png ├── config_loader_utility_functions.ipynb ├── contributing.md ├── docagent │ ├── AMDQ4-2024.pdf │ └── NVIDIAQ3-2025.pdf ├── docagent_swarm.png ├── friendly_and_suspicous.jpg ├── gpt_assistant_agent_function_call.ipynb ├── lats_search.ipynb ├── mcp │ ├── context_docs │ │ └── eiffel_tower.md │ ├── math │ │ └── math_server.py │ ├── mcp_arxiv.py │ ├── mcp_client.ipynb │ ├── mcp_filesystem.py │ ├── mcp_proxy.ipynb │ ├── mcp_proxy_PokeAPI.ipynb │ ├── mcp_proxy_asana.ipynb │ ├── mcp_proxy_davor.ipynb │ ├── mcp_proxy_giphy.ipynb │ ├── mcp_proxy_github.ipynb │ ├── mcp_proxy_trello.ipynb │ ├── mcp_proxy_whatsapp.ipynb │ ├── mcp_wikipedia.py │ └── security │ │ ├── mcp_proxy_api_key_cookie.ipynb │ │ ├── mcp_proxy_api_key_header.ipynb │ │ ├── mcp_proxy_api_key_query.ipynb │ │ ├── mcp_proxy_http_basic.ipynb │ │ ├── mcp_proxy_http_bearer.ipynb │ │ └── mcp_proxy_http_oauth.ipynb ├── mongodb_query_engine.ipynb ├── neo4j_property_graph_1.png ├── neo4j_property_graph_2.png ├── neo4j_property_graph_3.png ├── nested-chats-chess.png ├── nested_chat_1.png ├── nested_chat_2.png ├── oai_chatgpt_gpt4.ipynb ├── oai_completion.ipynb ├── optiGuide_new_design.png ├── reliable_basic_example.ipynb ├── reliable_google_search.ipynb ├── reliable_group_chat.ipynb ├── run_and_event_processing.ipynb ├── stateflow-swarm-example.png ├── swarm_enhanced_01.png ├── swarm_enhanced_02.png ├── swarm_enhanced_03.png ├── swarm_enhanced_04.png ├── swarm_enhanced_05.png ├── throw-exception-for-specific-error-messages.ipynb ├── tools_browser_use.ipynb ├── tools_browser_use_deepseek.ipynb ├── tools_chat_context_dependency_injection.ipynb ├── tools_commsplatforms.ipynb ├── tools_crawl4ai.ipynb ├── tools_dependency_injection.ipynb ├── tools_duckduckgo_search.ipynb ├── tools_google_drive.ipynb ├── tools_google_search.ipynb ├── tools_interoperability.ipynb ├── tools_perplexity_search.ipynb ├── tools_tavily_search.ipynb ├── tools_web_search_preview.ipynb ├── tools_wikipedia_search.ipynb ├── tools_youtube_search.ipynb ├── tree_of_thoughts.png └── viz_gc.png ├── pyproject.toml ├── scripts ├── broken-links-check.sh ├── build-setup-files.py ├── devcontainer │ ├── generate-devcontainers.py │ ├── generate-devcontainers.sh │ └── templates │ │ └── devcontainer.json.jinja ├── docs_build.sh ├── docs_build_mkdocs.sh ├── docs_serve.sh ├── docs_serve_mkdocs.sh ├── integration-test.sh ├── lint.sh ├── pre-commit-build-setup-files.sh ├── pre-commit-license-check.py ├── pre-commit-lint.sh ├── pre-commit-mypy-run.sh ├── show-coverage-report.sh ├── test-core-llm.sh ├── test-core-skip-llm.sh ├── test-docs.sh ├── test-skip-llm.sh └── test.sh ├── setup.jinja ├── setup_autogen.py ├── templates ├── client_template │ └── main.jinja2 ├── config_template │ └── config.jinja2 └── main.jinja2 ├── test ├── .gitattributes ├── __init__.py ├── agentchat │ ├── __init__.py │ ├── contrib │ │ ├── __init__.py │ │ ├── agent_eval │ │ │ ├── __init__.py │ │ │ ├── test_agent_eval.py │ │ │ ├── test_criterion.py │ │ │ └── test_task.py │ │ ├── capabilities │ │ │ ├── __init__.py │ │ │ ├── chat_with_teachable_agent.py │ │ │ ├── test_image_generation_capability.py │ │ │ ├── test_teachable_agent.py │ │ │ ├── test_tools_capability.py │ │ │ ├── test_transform_messages.py │ │ │ ├── test_transforms.py │ │ │ ├── test_transforms_util.py │ │ │ └── test_vision_capability.py │ │ ├── example_agent_builder_library.json │ │ ├── example_test_agent_builder_config.json │ │ ├── example_test_captainagent.json │ │ ├── graph_rag │ │ │ ├── BUZZ_Employee_Handbook.docx │ │ │ ├── BUZZ_Employee_Handbook.pdf │ │ │ ├── BUZZ_Employee_Handbook.txt │ │ │ ├── BUZZ_Equal-Employment-Opportunity-Policy-Detailed.docx │ │ │ ├── Toast_financial_report.pdf │ │ │ ├── __init__.py │ │ │ ├── layout_parser_paper_parsed_elements.json │ │ │ ├── test_falkor_graph_rag.py │ │ │ ├── test_graph_rag_basic.py │ │ │ ├── test_native_neo4j_graph_rag.py │ │ │ ├── test_neo4j_graph_rag.py │ │ │ ├── the_matrix.txt │ │ │ └── trip_planner_data │ │ │ │ ├── attractions.json │ │ │ │ ├── attractions.jsonl │ │ │ │ ├── cities.json │ │ │ │ ├── cities.jsonl │ │ │ │ ├── restaurants.json │ │ │ │ └── restaurants.jsonl │ │ ├── rag │ │ │ ├── __init__.py │ │ │ ├── test_chromadb_query_engine.py │ │ │ ├── test_llamaindex_query_engine.py │ │ │ └── test_mongodb_query_engine.py │ │ ├── retrievechat │ │ │ ├── __init__.py │ │ │ ├── test_pgvector_retrievechat.py │ │ │ ├── test_qdrant_retrievechat.py │ │ │ └── test_retrievechat.py │ │ ├── test_agent_builder.py │ │ ├── test_agent_optimizer.py │ │ ├── test_captainagent.py │ │ ├── test_gpt_assistant.py │ │ ├── test_img_utils.py │ │ ├── test_llamaindex_conversable_agent.py │ │ ├── test_llava.py │ │ ├── test_lmm.py │ │ ├── test_society_of_mind_agent.py │ │ ├── test_swarm.py │ │ ├── test_web_surfer.py │ │ └── vectordb │ │ │ ├── __init__.py │ │ │ ├── test_chromadb.py │ │ │ ├── test_couchbase.py │ │ │ ├── test_mongodb.py │ │ │ ├── test_pgvectordb.py │ │ │ ├── test_qdrant.py │ │ │ └── test_vectordb_utils.py │ ├── extensions │ │ ├── __init__.py │ │ ├── tsp.py │ │ └── tsp_api.py │ ├── group │ │ ├── patterns │ │ │ ├── test_auto.py │ │ │ ├── test_default.py │ │ │ ├── test_pattern.py │ │ │ ├── test_random.py │ │ │ └── test_round_robin.py │ │ ├── targets │ │ │ ├── test_group_chat_target.py │ │ │ ├── test_group_manager_target.py │ │ │ └── test_transition_target.py │ │ ├── test_available_condition.py │ │ ├── test_context_condition.py │ │ ├── test_context_expression.py │ │ ├── test_context_str.py │ │ ├── test_context_variables.py │ │ ├── test_group_tool_executor.py │ │ ├── test_group_utils.py │ │ ├── test_handoffs.py │ │ ├── test_llm_condition.py │ │ ├── test_multi_agent_chat.py │ │ ├── test_on_condition.py │ │ ├── test_on_context_condition.py │ │ ├── test_reply_result.py │ │ └── test_speaker_selection_result.py │ ├── realtime_agent │ │ ├── __init__.py │ │ ├── clients │ │ │ ├── __init__.py │ │ │ ├── test_gemini_realtime_client.py │ │ │ └── test_oai_realtime_client.py │ │ ├── realtime_test_utils.py │ │ ├── test_e2e.py │ │ ├── test_realtime_agent.py │ │ ├── test_realtime_observer.py │ │ ├── test_submodule.py │ │ └── test_swarm_start.py │ ├── test_agent_file_logging.py │ ├── test_agent_logging.py │ ├── test_agent_setup_with_use_docker_settings.py │ ├── test_agent_usage.py │ ├── test_agentchat_utils.py │ ├── test_assistant_agent.py │ ├── test_async.py │ ├── test_async_chats.py │ ├── test_async_get_human_input.py │ ├── test_cache_agent.py │ ├── test_chats.py │ ├── test_conversable_agent.py │ ├── test_dependancy_injection.py │ ├── test_event_streaming.py │ ├── test_function_and_tool_calling.py │ ├── test_function_call.py │ ├── test_function_call_groupchat.py │ ├── test_groupchat.py │ ├── test_human_input.py │ ├── test_math_user_proxy_agent.py │ ├── test_nested.py │ ├── test_structured_output.py │ ├── test_tool_calls.py │ └── tsp_prompt.txt ├── agents │ ├── __init__.py │ ├── contrib │ │ ├── __init__.py │ │ └── time │ │ │ ├── __init__.py │ │ │ ├── test_timereplyagent.py │ │ │ └── test_timetoolagent.py │ └── experimental │ │ ├── __init__.py │ │ ├── deep_research │ │ ├── __init__.py │ │ └── test_deep_research.py │ │ ├── document_agent │ │ ├── __init__.py │ │ ├── pdf_parsed │ │ │ ├── Toast_financial_report.md │ │ │ └── nvidia_10k_2024.md │ │ ├── test_docagent.py │ │ ├── test_document_utils.py │ │ ├── test_parser_utils.py │ │ └── test_url_utils.py │ │ ├── messageplatform │ │ ├── __init__.py │ │ ├── discord │ │ │ ├── __init__.py │ │ │ └── test_discord.py │ │ ├── slack │ │ │ ├── __init__.py │ │ │ └── test_slack.py │ │ └── telegram │ │ │ ├── __init__.py │ │ │ └── test_telegram.py │ │ ├── reasoning │ │ ├── __init__.py │ │ └── test_reasoning_agent.py │ │ ├── websurfer │ │ ├── __init__.py │ │ └── test_websurfer.py │ │ └── wikipedia │ │ ├── __init__.py │ │ └── test_wikipedia.py ├── cache │ ├── __init__.py │ ├── test_cache.py │ ├── test_cosmos_db_cache.py │ ├── test_disk_cache.py │ ├── test_in_memory_cache.py │ └── test_redis_cache.py ├── coding │ ├── __init__.py │ ├── test_commandline_code_executor.py │ ├── test_embedded_ipython_code_executor.py │ ├── test_factory.py │ ├── test_markdown_code_extractor.py │ └── test_user_defined_functions.py ├── conftest.py ├── events │ ├── __init__.py │ ├── conftest.py │ ├── test_agent_events.py │ ├── test_base_event.py │ ├── test_client_events.py │ └── test_print_event.py ├── fast_depends │ ├── __init__.py │ ├── async │ │ ├── __init__.py │ │ ├── test_cast.py │ │ ├── test_class.py │ │ ├── test_config.py │ │ └── test_depends.py │ ├── conftest.py │ ├── library │ │ ├── __init__.py │ │ └── test_custom.py │ ├── marks.py │ ├── sync │ │ ├── __init__.py │ │ ├── test_cast.py │ │ ├── test_class.py │ │ ├── test_config.py │ │ └── test_depends.py │ ├── test_locals.py │ ├── test_overrides.py │ ├── test_params.py │ ├── test_prebuild.py │ ├── test_schema.py │ └── wrapper.py ├── interop │ ├── __init__.py │ ├── crewai │ │ ├── __init__.py │ │ └── test_crewai.py │ ├── langchain │ │ ├── __init__.py │ │ └── test_langchain.py │ ├── litellm │ │ ├── __init__.py │ │ └── test_litellm_config_factory.py │ ├── pydantic_ai │ │ ├── __init__.py │ │ ├── test_pydantic_ai.py │ │ └── test_pydantic_ai_tool.py │ ├── test_interoperability.py │ └── test_interoperable.py ├── io │ ├── __init__.py │ ├── test_base.py │ ├── test_console.py │ └── test_websockets.py ├── mcp │ ├── __init__.py │ ├── data.json │ ├── data_trello.json │ ├── math_server.py │ ├── test_mcp.py │ └── test_mcp_proxy.py ├── messages │ ├── __init__.py │ ├── conftest.py │ ├── test_agent_messages.py │ ├── test_base_message.py │ ├── test_client_messages.py │ └── test_print_message.py ├── oai │ ├── __init__.py │ ├── test_anthropic.py │ ├── test_bedrock.py │ ├── test_cerebras.py │ ├── test_client.py │ ├── test_client_stream.py │ ├── test_client_utils.py │ ├── test_cohere.py │ ├── test_custom_client.py │ ├── test_gemini.py │ ├── test_gemini_types.py │ ├── test_groq.py │ ├── test_mistral.py │ ├── test_oai_models.py │ ├── test_ollama.py │ ├── test_together.py │ └── test_utils.py ├── test_browser_utils.py ├── test_code_utils.py ├── test_conftest.py ├── test_files │ ├── agenteval-in-out │ │ └── samples │ │ │ ├── sample_math_criteria.json │ │ │ ├── sample_math_evaluated_results.json │ │ │ ├── sample_math_response_failed.txt │ │ │ ├── sample_math_response_successful.txt │ │ │ └── sample_test_case.json │ ├── example.docx │ ├── example.pdf │ ├── example.txt │ ├── radius.txt │ └── test_image.png ├── test_graph_utils.py ├── test_import.py ├── test_import_utils.py ├── test_json_utils.py ├── test_llm_config.py ├── test_logging.py ├── test_notebook.py ├── test_retrieve_utils.py ├── test_token_count.py ├── tools │ ├── __init__.py │ ├── contrib │ │ ├── __init__.py │ │ └── time │ │ │ ├── __init__.py │ │ │ └── test_time.py │ ├── experimental │ │ ├── __init__.py │ │ ├── browser_use │ │ │ ├── __init__.py │ │ │ ├── test_browser_use.py │ │ │ └── test_langchain_factory.py │ │ ├── crawl4ai │ │ │ ├── __init__.py │ │ │ └── test_crawl4ai.py │ │ ├── deep_research │ │ │ ├── __init__.py │ │ │ └── test_deep_research.py │ │ ├── duckduckgo │ │ │ ├── __init__.py │ │ │ └── test_duckduckgo.py │ │ ├── google │ │ │ ├── __init__.py │ │ │ ├── authentication │ │ │ │ ├── __init__.py │ │ │ │ └── test_credentials_local_provider.py │ │ │ ├── conftest.py │ │ │ └── drive │ │ │ │ ├── __init__.py │ │ │ │ └── test_toolkit.py │ │ ├── google_search │ │ │ ├── __init__.py │ │ │ ├── test_google_search.py │ │ │ └── test_youtube_search.py │ │ ├── messageplatform │ │ │ ├── discord_test │ │ │ │ ├── __init__.py │ │ │ │ └── test_discord.py │ │ │ ├── slack │ │ │ │ ├── __init__.py │ │ │ │ └── test_slack.py │ │ │ └── telegram │ │ │ │ ├── __init__.py │ │ │ │ └── test_telegram.py │ │ ├── perplexity │ │ │ ├── __init__.py │ │ │ └── test_perplexity.py │ │ ├── reliable │ │ │ ├── __init__.py │ │ │ └── test_reliable.py │ │ ├── tavily │ │ │ ├── __init__.py │ │ │ └── test_tavily.py │ │ ├── web_search_preview │ │ │ ├── __init__.py │ │ │ └── test_web_search_preview.py │ │ └── wikipedia │ │ │ ├── __init__.py │ │ │ └── test_wikipedia.py │ ├── test_dependency_injection.py │ ├── test_function_utils.py │ ├── test_tool.py │ ├── test_tool_imports.py │ └── test_toolkit.py ├── twoagent.py └── website │ ├── __init__.py │ ├── test_generate_api_references.py │ ├── test_generate_mkdocs.py │ ├── test_process_notebooks.py │ └── test_utils.py └── website ├── .gitignore ├── README.md ├── blogs_and_user_stories_authors.yml ├── docs ├── .gitignore ├── _blogs │ ├── 2023-04-21-LLM-tuning-math │ │ ├── img │ │ │ ├── level2algebra.png │ │ │ ├── level3algebra.png │ │ │ ├── level4algebra.png │ │ │ └── level5algebra.png │ │ └── index.mdx │ ├── 2023-05-18-GPT-adaptive-humaneval │ │ ├── img │ │ │ ├── design.png │ │ │ └── humaneval.png │ │ └── index.mdx │ ├── 2023-06-28-MathChat │ │ ├── img │ │ │ ├── mathchatflow.png │ │ │ └── result.png │ │ └── index.mdx │ ├── 2023-07-14-Local-LLMs │ │ └── index.mdx │ ├── 2023-10-18-RetrieveChat │ │ ├── img │ │ │ ├── autogen-rag.gif │ │ │ └── retrievechat-arch.png │ │ └── index.mdx │ ├── 2023-10-26-TeachableAgent │ │ ├── img │ │ │ └── teachable-arch.png │ │ └── index.mdx │ ├── 2023-11-06-LMM-Agent │ │ ├── img │ │ │ └── teaser.png │ │ └── index.mdx │ ├── 2023-11-09-EcoAssistant │ │ ├── img │ │ │ ├── chat.webp │ │ │ ├── results.png │ │ │ ├── system.webp │ │ │ ├── template-demo.png │ │ │ └── template.png │ │ └── index.mdx │ ├── 2023-11-13-OAI-assistants │ │ ├── img │ │ │ └── teaser.jpg │ │ └── index.mdx │ ├── 2023-11-20-AgentEval │ │ ├── img │ │ │ ├── agenteval-CQ.webp │ │ │ ├── math-problems-plot.png │ │ │ └── tasks-taxonomy.webp │ │ └── index.mdx │ ├── 2023-11-26-Agent-AutoBuild │ │ ├── img │ │ │ └── agent_autobuild.webp │ │ └── index.mdx │ ├── 2023-12-01-AutoGenStudio │ │ ├── img │ │ │ ├── autogenstudio_config.png │ │ │ ├── autogenstudio_home.png │ │ │ └── autogenstudio_skills.png │ │ └── index.mdx │ ├── 2023-12-23-AgentOptimizer │ │ ├── img │ │ │ └── agentoptimizer.webp │ │ └── index.mdx │ ├── 2023-12-29-AgentDescriptions │ │ └── index.mdx │ ├── 2024-01-23-Code-execution-in-docker │ │ └── index.mdx │ ├── 2024-01-25-AutoGenBench │ │ ├── img │ │ │ └── teaser.jpg │ │ └── index.mdx │ ├── 2024-01-26-Custom-Models │ │ └── index.mdx │ ├── 2024-02-02-AutoAnny │ │ ├── img │ │ │ └── AutoAnnyLogo.jpg │ │ └── index.mdx │ ├── 2024-02-11-FSM-GroupChat │ │ ├── img │ │ │ ├── FSM_logic.webp │ │ │ ├── FSM_of_multi-agents.webp │ │ │ └── teaser.webp │ │ └── index.mdx │ ├── 2024-02-29-StateFlow │ │ ├── img │ │ │ ├── alfworld.png │ │ │ ├── bash_result.png │ │ │ ├── intercode.webp │ │ │ └── sf_example_1.webp │ │ └── index.mdx │ ├── 2024-03-03-AutoGen-Update │ │ ├── img │ │ │ ├── contributors.png │ │ │ ├── dalle_gpt4v.png │ │ │ ├── gaia.png │ │ │ ├── love.png │ │ │ └── teach.png │ │ └── index.mdx │ ├── 2024-03-11-AutoDefense │ │ ├── img │ │ │ ├── architecture.webp │ │ │ ├── defense-agency-design.webp │ │ │ ├── table-4agents.png │ │ │ ├── table-agents.png │ │ │ └── table-compared-methods.png │ │ └── index.mdx │ ├── 2024-05-24-Agent │ │ ├── img │ │ │ ├── agents.png │ │ │ └── leadership.png │ │ └── index.mdx │ ├── 2024-06-21-AgentEval │ │ ├── img │ │ │ └── agenteval_ov_v3.webp │ │ └── index.mdx │ ├── 2024-06-24-AltModels-Classes │ │ ├── img │ │ │ └── agentstogether.jpeg │ │ └── index.mdx │ ├── 2024-07-25-AgentOps │ │ ├── img │ │ │ ├── autogen-integration.png │ │ │ ├── dashboard.png │ │ │ ├── flow.png │ │ │ └── session-replay.png │ │ └── index.mdx │ ├── 2024-11-15-CaptainAgent │ │ ├── img │ │ │ ├── build.webp │ │ │ ├── chat.webp │ │ │ └── overall.webp │ │ └── index.mdx │ ├── 2024-11-17-Swarm │ │ └── index.mdx │ ├── 2024-11-27-Prompt-Leakage-Probing │ │ ├── img │ │ │ ├── probing_flow.webp │ │ │ ├── prompt_leakage_report.png │ │ │ ├── prompt_leakage_social_img.webp │ │ │ └── prompt_test_chat.webp │ │ └── index.mdx │ ├── 2024-12-02-ReasoningAgent2 │ │ ├── img │ │ │ ├── reasoningagent_1.webp │ │ │ ├── reasoningagent_2.webp │ │ │ └── tree-of-thoughts.png │ │ └── index.mdx │ ├── 2024-12-06-FalkorDB-Structured │ │ ├── img │ │ │ ├── falkordb.png │ │ │ └── tripplanner.webp │ │ └── index.mdx │ ├── 2024-12-20-RealtimeAgent │ │ └── index.mdx │ ├── 2024-12-20-Reasoning-Update │ │ ├── img │ │ │ ├── mcts_example.png │ │ │ └── reasoningagent_1.png │ │ └── index.mdx │ ├── 2024-12-20-Tools-interoperability │ │ └── index.mdx │ ├── 2025-01-07-Tools-Dependency-Injection │ │ └── index.mdx │ ├── 2025-01-08-RealtimeAgent-over-websocket │ │ └── index.mdx │ ├── 2025-01-09-RealtimeAgent-over-WebRTC │ │ └── index.mdx │ ├── 2025-01-10-WebSockets │ │ ├── img │ │ │ └── structured_messages_with_websockets.png │ │ └── index.mdx │ ├── 2025-01-22-Tools-ChatContext-Dependency-Injection │ │ └── index.mdx │ ├── 2025-01-29-RealtimeAgent-with-gemini │ │ ├── img │ │ │ └── RealtimeAgent_gemini.png │ │ └── index.mdx │ ├── 2025-01-31-WebSurferAgent │ │ └── index.mdx │ ├── 2025-01-31-Websurfing-Tools │ │ └── index.mdx │ ├── 2025-02-05-Communication-Agents │ │ ├── img │ │ │ ├── commsagents_discord_msg.png │ │ │ ├── commsagents_slack_finalmsg.png │ │ │ ├── commsagents_slack_msg.png │ │ │ └── commsagents_telegram_msg.png │ │ └── index.mdx │ ├── 2025-02-13-DeepResearchAgent │ │ └── index.mdx │ ├── 2025-04-16-Reasoning │ │ ├── img │ │ │ ├── cognition.jpg │ │ │ ├── iter.jpg │ │ │ ├── partner.jpg │ │ │ └── threads.jpeg │ │ └── index.mdx │ ├── 2025-04-28-0.9-Release-Announcement │ │ └── index.mdx │ └── 2025-05-07-AG2-Copilot-Integration │ │ ├── img │ │ ├── AG2-CopilotKit.png │ │ ├── ag2-copilotkit-architecture.png │ │ ├── quick-start-1.png │ │ └── quick-start-2.png │ │ └── index.mdx ├── community-talks │ └── 2025-04-10-NOVA │ │ └── index.mdx ├── contributor-guide │ ├── Migration-Guide.mdx │ ├── Research.mdx │ ├── building │ │ ├── creating-a-tool.mdx │ │ └── creating-an-agent.mdx │ ├── contributing.mdx │ ├── documentation.mdx │ ├── file-bug-report.mdx │ ├── how-ag2-works │ │ ├── assets │ │ │ ├── generate-reply.png │ │ │ └── initiate-chat.png │ │ ├── generate-reply.mdx │ │ ├── hooks.mdx │ │ ├── initiate-chat.mdx │ │ └── overview.mdx │ ├── maintainer.mdx │ ├── pre-commit.mdx │ ├── setup-development-environment.mdx │ └── tests.mdx ├── ecosystem │ ├── agentops.mdx │ ├── azure_cosmos_db.mdx │ ├── composio.mdx │ ├── databricks.mdx │ ├── img │ │ ├── ecosystem-databricks.png │ │ ├── ecosystem-fabric.png │ │ ├── ecosystem-llamaindex.png │ │ ├── ecosystem-memgpt.png │ │ ├── ecosystem-ollama.png │ │ └── ecosystem-promptflow.png │ ├── llamaindex.mdx │ ├── mem0.mdx │ ├── memgpt.mdx │ ├── microsoft-fabric.mdx │ ├── ollama.mdx │ ├── pgvector.mdx │ ├── portkey.mdx │ └── promptflow.mdx ├── faq │ └── FAQ.mdx ├── home │ └── quickstart.mdx ├── installation │ ├── Installation.mdx │ └── Optional-Dependencies.mdx ├── quick-start.mdx ├── use-cases │ ├── .gitignore │ ├── community-gallery │ │ └── community-gallery.mdx │ ├── notebooks │ │ └── Notebooks.mdx │ └── use-cases │ │ ├── assets │ │ ├── game-design-page.png │ │ ├── game-designed.png │ │ ├── travel-planning-falkordb.png │ │ ├── travel-planning-itinerary.png │ │ └── travel-planning-overview.png │ │ ├── customer-service.mdx │ │ ├── game-design.mdx │ │ └── travel-planning.mdx ├── user-guide │ ├── advanced-concepts │ │ ├── assets │ │ │ ├── code-execution-in-conversation.png │ │ │ ├── code-executor-docker.png │ │ │ ├── code-executor-no-docker.png │ │ │ ├── code-executor-stock-chart.png │ │ │ ├── group-chat-fsm.png │ │ │ ├── group-chat.png │ │ │ ├── nested-chats.png │ │ │ ├── sequential-two-agent-chat.png │ │ │ ├── swarm-enhanced-01.png │ │ │ ├── swarm-enhanced-02.png │ │ │ ├── swarm-enhanced-03.png │ │ │ ├── swarm-enhanced-04.png │ │ │ └── two-agent-chat.png │ │ ├── code-execution.mdx │ │ ├── ending-a-chat.mdx │ │ ├── groupchat │ │ │ ├── custom-group-chat.mdx │ │ │ ├── groupchat.mdx │ │ │ ├── resuming-group-chat.mdx │ │ │ └── tools.mdx │ │ ├── llm-configuration-deep-dive.mdx │ │ ├── nested-chat.mdx │ │ ├── orchestration │ │ │ ├── assets │ │ │ │ ├── nested-chats.png │ │ │ │ └── sequential-two-agent-chat.png │ │ │ ├── ending-a-chat.mdx │ │ │ ├── group-chat.mdx │ │ │ ├── group-chat │ │ │ │ ├── agent-tools-functions.mdx │ │ │ │ ├── context-variables.mdx │ │ │ │ ├── handoffs.mdx │ │ │ │ ├── introduction.mdx │ │ │ │ └── patterns.mdx │ │ │ ├── nested-chat.mdx │ │ │ ├── orchestrations.mdx │ │ │ ├── sequential-chat.mdx │ │ │ ├── swarm │ │ │ │ └── deprecation.mdx │ │ │ └── two-agent-chat.mdx │ │ ├── orchestrations.mdx │ │ ├── pattern-cookbook │ │ │ ├── assets │ │ │ │ ├── context_aware_routing.jpeg │ │ │ │ ├── context_aware_routing_flow.jpeg │ │ │ │ ├── escalation.jpeg │ │ │ │ ├── escalation_flow.jpeg │ │ │ │ ├── feedback_loop.jpeg │ │ │ │ ├── feedback_loop_flow.jpeg │ │ │ │ ├── hierarchical.jpeg │ │ │ │ ├── hierarchical_flow.jpeg │ │ │ │ ├── organic.jpeg │ │ │ │ ├── organic_flow.jpeg │ │ │ │ ├── pipeline.jpeg │ │ │ │ ├── pipeline_flow.jpeg │ │ │ │ ├── redundant.jpeg │ │ │ │ ├── redundant_flow.jpeg │ │ │ │ ├── star.jpeg │ │ │ │ ├── star_flow.jpeg │ │ │ │ ├── triage_tasks.jpeg │ │ │ │ └── triage_tasks_flow.jpeg │ │ │ ├── context_aware_routing.mdx │ │ │ ├── escalation.mdx │ │ │ ├── feedback_loop.mdx │ │ │ ├── hierarchical.mdx │ │ │ ├── organic.mdx │ │ │ ├── overview.mdx │ │ │ ├── pipeline.mdx │ │ │ ├── redundant.mdx │ │ │ ├── star.mdx │ │ │ └── triage_with_tasks.mdx │ │ ├── rag.mdx │ │ ├── realtime-agent │ │ │ ├── index.mdx │ │ │ ├── twilio.mdx │ │ │ ├── webrtc.mdx │ │ │ └── websocket.mdx │ │ ├── sequential-chat.mdx │ │ ├── tools │ │ │ ├── basics.mdx │ │ │ ├── controlling-use.mdx │ │ │ ├── index.mdx │ │ │ ├── interop │ │ │ │ ├── crewai.mdx │ │ │ │ ├── langchain.mdx │ │ │ │ └── pydanticai.mdx │ │ │ ├── mcp │ │ │ │ └── client.mdx │ │ │ └── tools-with-secrets.mdx │ │ └── two-agent-chat.mdx │ ├── basic-concepts │ │ ├── assets │ │ │ ├── human-in-the-loop-example.png │ │ │ └── overview-workflow.png │ │ ├── conversable-agent.mdx │ │ ├── human-in-the-loop.mdx │ │ ├── installing-ag2.mdx │ │ ├── introducing-group-chat.mdx │ │ ├── introducing-swarm-orchestration.mdx │ │ ├── introducing-tools.mdx │ │ ├── llm-configuration.mdx │ │ ├── overview.mdx │ │ └── structured-outputs.mdx │ ├── getting-started │ │ └── Getting-Started.mdx │ ├── models │ │ ├── amazon-bedrock.mdx │ │ ├── anthropic.mdx │ │ ├── assets │ │ │ ├── ag2-agentchat.png │ │ │ ├── chat-example.png │ │ │ ├── create-gcp-svc.png │ │ │ └── gemini-coding-chart.png │ │ ├── cerebras.mdx │ │ ├── cohere.mdx │ │ ├── deepseek-v3.mdx │ │ ├── google-gemini.mdx │ │ ├── google-vertexai.mdx │ │ ├── groq.mdx │ │ ├── litellm-proxy-server │ │ │ ├── azure.mdx │ │ │ ├── installation.mdx │ │ │ ├── openai.mdx │ │ │ └── watsonx.mdx │ │ ├── lm-studio.mdx │ │ ├── mistralai.mdx │ │ ├── ollama.mdx │ │ ├── openai.mdx │ │ ├── togetherai.mdx │ │ └── vLLM.mdx │ ├── reference-agents │ │ ├── assets │ │ │ ├── commsagents_discordoutput.png │ │ │ ├── commsagents_tools.png │ │ │ ├── commsplatforms_discord_sentmsg.png │ │ │ ├── commsplatforms_slack_sentmsg.png │ │ │ ├── commsplatforms_telegram_sentmsg.png │ │ │ ├── docagent_tests_story1.md │ │ │ ├── docagent_tests_story2.md │ │ │ └── websurferagent_animated.gif │ │ ├── captainagent.mdx │ │ ├── communication-platforms │ │ │ ├── discordagent.mdx │ │ │ ├── overview.mdx │ │ │ ├── slackagent.mdx │ │ │ └── telegramagent.mdx │ │ ├── deepresearchagent.mdx │ │ ├── docagent-performance.mdx │ │ ├── docagent.mdx │ │ ├── index.mdx │ │ ├── reasoningagent.mdx │ │ ├── websurferagent.mdx │ │ └── wikipediaagent.mdx │ └── reference-tools │ │ ├── browser-use.mdx │ │ ├── communication-platforms │ │ ├── discord.mdx │ │ ├── slack.mdx │ │ └── telegram.mdx │ │ ├── crawl4ai.mdx │ │ ├── deep-research.mdx │ │ ├── google-api │ │ ├── google-drive.mdx │ │ ├── google-search.mdx │ │ └── youtube-search.mdx │ │ ├── index.mdx │ │ ├── perplexity-search.mdx │ │ └── wikipedia-search.mdx └── user-stories │ ├── 2025-02-11-NOVA │ ├── img │ │ ├── nexla_ag2.webp │ │ └── nova_architecture.webp │ └── index.mdx │ ├── 2025-04-03-Fortune-500-RAG-Chatbot │ ├── img │ │ ├── 01.png │ │ ├── 02.png │ │ ├── banner.png │ │ └── profile.png │ └── index.mdx │ ├── 2025-04-04-AgentWeb │ ├── img │ │ ├── 01.png │ │ ├── banner.png │ │ └── profile.png │ └── index.mdx │ ├── 2025-04-11-Productionizing-OSS-Agents │ ├── img │ │ └── banner.png │ └── index.mdx │ ├── 2025-04-15-CMBAgent │ ├── img │ │ ├── banner.png │ │ ├── boris_profile.png │ │ ├── flow-chart.png │ │ ├── francisco_profile.png │ │ ├── inigo_profile.png │ │ └── james_profile.png │ └── index.mdx │ └── 2025-04-30-Cegid-Pulse-OS │ ├── img │ ├── 01.png │ ├── banner.png │ └── profile.png │ └── index.mdx ├── docusaurus.config.js ├── generate_api_references.py ├── logo ├── ag2-white.svg ├── ag2.svg └── favicon.svg ├── mako_templates └── text.mako ├── mint-app-gallery-deps.js ├── mint-json-template.json.jinja ├── mint-script.js ├── mint-style.css ├── mkdocs ├── .gitignore ├── README.md ├── create_api_docs.py ├── data │ ├── gallery_items.yml │ └── people.yml ├── docs.py ├── docs │ ├── .gitignore │ ├── index.md │ ├── javascripts │ │ └── extra.js │ └── stylesheets │ │ └── extra.css ├── docs_src │ └── __init__.py ├── expand_markdown.py ├── generate_mkdocs.py ├── includes │ └── .gitkeep ├── mkdocs.yml ├── overrides │ ├── 404.html │ ├── home.html │ ├── images │ │ ├── blue-bg.png │ │ ├── bot-left-corner.png │ │ ├── bot-right-corner.png │ │ ├── button-shine.png │ │ ├── city-horizon.png │ │ ├── cloud.png │ │ ├── conversation.png │ │ ├── green-bg.png │ │ ├── human.png │ │ ├── intuitive.png │ │ ├── purple-bg.png │ │ ├── sun.png │ │ ├── top-left-corner.png │ │ ├── top-right-corner.png │ │ └── yellow-bg.png │ └── main.html ├── templates │ └── redirect.html └── update_releases.py ├── package-lock.json ├── package.json ├── process_notebooks.py ├── snippets ├── advanced-concepts │ └── realtime-agent │ │ ├── img │ │ ├── 1_service_running.png │ │ ├── 2_incoming_call.png │ │ ├── 3_request_for_flight_cancellation.png │ │ ├── 4_flight_number_name.png │ │ ├── 5_refund_policy.png │ │ ├── 6_flight_refunded.png │ │ ├── realtime_agent_swarm.png │ │ ├── twilio_endpoint_config.png │ │ ├── twilio_phone_numbers.png │ │ ├── webrtc_chat.png │ │ ├── webrtc_communication_diagram.png │ │ ├── webrtc_connection_diagram.png │ │ ├── websocket_chat.png │ │ └── websocket_communication_diagram.png │ │ ├── twilio.mdx │ │ ├── webrtc.mdx │ │ └── websocket.mdx ├── components │ ├── ClientSideComponent.mdx │ └── GalleryPage.mdx ├── data │ └── GalleryItems.mdx ├── interop │ ├── crewai.mdx │ ├── langchain.mdx │ └── pydanticai.mdx ├── mcp │ └── client.mdx ├── python-examples │ ├── conversableagentchat.mdx │ ├── groupchat.mdx │ ├── groupchatcustomfsm.mdx │ ├── groupchatcustomfunc.mdx │ ├── humanintheloop.mdx │ ├── humanintheloop_financial.mdx │ ├── nestedchat.mdx │ ├── sequentialchat.mdx │ ├── structured_output.mdx │ ├── swarm.mdx │ ├── swarmgroupchat.mdx │ ├── toolregister.mdx │ └── websurferagent.mdx ├── reference-agents │ ├── deep-research.mdx │ └── img │ │ └── DeepResearchAgent.png ├── reference-tools │ ├── browser-use.mdx │ ├── crawl4ai.mdx │ ├── deep-research.mdx │ └── google-drive.mdx └── utils │ └── runmethodhelp.mdx ├── static ├── .nojekyll └── img │ ├── ag.ico │ ├── ag.svg │ ├── ag2.ico │ ├── ag2.png │ ├── ag2.svg │ ├── auto.svg │ ├── autogen.svg │ ├── autogen_agentchat.png │ ├── autogen_app.png │ ├── autogen_app.svg │ ├── chat_example.png │ ├── conv.svg │ ├── conv_2.svg │ ├── cover.png │ ├── create_gcp_svc.png │ ├── ecosystem-composio.png │ ├── extend.svg │ ├── fast.svg │ ├── favicon-dark.svg │ ├── favicon.svg │ ├── flaml.svg │ ├── flaml_logo.ico │ ├── flaml_logo_fill.svg │ ├── gallery │ ├── TensionCode.png │ ├── agent-e.png │ ├── autotx.png │ ├── composio-autogen.png │ ├── default.png │ ├── robot.jpg │ ├── webagent.jpg │ └── x-force-ide-ui.png │ ├── homepage-hero-background-large.png │ ├── homepage-hero-background.png │ ├── logo.svg │ └── love.png ├── talks ├── 2024-08-26 │ └── index.mdx ├── 2024-09-23 │ └── index.mdx ├── 2024-09-30 │ └── index.mdx ├── 2024-10-14 │ └── index.mdx ├── 2024-10-15 │ └── index.mdx ├── 2024-11-04 │ └── index.mdx ├── 2024-11-11 │ └── index.mdx ├── 2024-11-12 │ └── index.mdx ├── 2024-11-18 │ └── index.mdx ├── 2024-11-25 │ └── index.mdx ├── 2024-11-28 │ └── index.mdx ├── 2024-12-12 │ └── index.mdx ├── 2024-12-19-special_talk │ └── index.mdx ├── 2024-12-19 │ └── index.mdx ├── 2025-01-16 │ └── index.mdx ├── 2025-01-23 │ └── index.mdx └── future_talks │ └── index.mdx └── user-guide ├── captainagent ├── _category_.json ├── agent_library.mdx ├── configurations.mdx └── tool_library.mdx └── handling_long_contexts ├── _category_.json ├── compressing_text_w_llmligua.mdx └── intro_to_transform_messages.mdx /.coveragerc: -------------------------------------------------------------------------------- 1 | [run] 2 | branch = True 3 | source = autogen 4 | omit = 5 | autogen/agentchat/contrib/* 6 | autogen/_website/* 7 | -------------------------------------------------------------------------------- /.devcontainer/setup.sh: -------------------------------------------------------------------------------- 1 | # update pip 2 | pip install --upgrade pip 3 | 4 | # install dev packages 5 | pip install -e ".[dev]" 6 | 7 | # install pre-commit hook if not installed already 8 | pre-commit install 9 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: true 2 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | # Please see the documentation for all configuration options: 2 | # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates 3 | 4 | version: 2 5 | updates: 6 | # GitHub Actions 7 | - package-ecosystem: "github-actions" 8 | directory: "/" 9 | schedule: 10 | interval: "weekly" 11 | day: "monday" 12 | time: "00:00" 13 | groups: 14 | github-actions: 15 | patterns: 16 | - "*" 17 | # Python 18 | - package-ecosystem: "pip" 19 | directory: "/" 20 | schedule: 21 | interval: "weekly" 22 | day: "monday" 23 | time: "00:00" 24 | groups: 25 | pip: 26 | patterns: 27 | - "*" 28 | -------------------------------------------------------------------------------- /.github/workflows/deploy-website.yml: -------------------------------------------------------------------------------- 1 | name: Deploy MkDocs to GitHub Pages 2 | 3 | on: 4 | push: 5 | branches: [main,"0.9"] 6 | paths: 7 | - "autogen/**" 8 | - "website/**" 9 | - ".github/workflows/deploy-website.yml" 10 | - ".github/workflows/mkdocs-check-broken-links.yml" 11 | - ".github/workflows/build-mkdocs.yml" 12 | - "scripts/broken-links-check.sh" 13 | - "scripts/docs_build_mkdocs.sh" 14 | - "scripts/docs_serve_mkdocs.sh" 15 | - ".muffet-excluded-links.txt" 16 | workflow_dispatch: 17 | permissions: 18 | contents: write 19 | jobs: 20 | build_and_deploy: 21 | uses: ./.github/workflows/build-mkdocs.yml 22 | with: 23 | python-version: "3.10" 24 | -------------------------------------------------------------------------------- /.github/workflows/docs-check-broken-links.yml: -------------------------------------------------------------------------------- 1 | name: Check docs for broken links 2 | 3 | on: 4 | workflow_run: 5 | workflows: ["mintlify docs"] 6 | types: 7 | - completed 8 | branches: 9 | - main 10 | 11 | permissions: 12 | contents: read 13 | 14 | jobs: 15 | check-broken-link: 16 | if: | 17 | github.event.workflow_run.conclusion == 'success' && 18 | github.event.workflow_run.head_branch == 'main' 19 | runs-on: ubuntu-latest 20 | steps: 21 | - name: Checkout repository 22 | uses: actions/checkout@v4 23 | 24 | - name: Setup Go 25 | uses: actions/setup-go@v5 26 | 27 | - name: Install muffet 28 | run: go install github.com/raviqqe/muffet/v2@latest 29 | 30 | - name: Check for broken links 31 | run: ./scripts/broken-links-check.sh --url "https://docs.ag2.ai" 32 | -------------------------------------------------------------------------------- /.github/workflows/lfs-check.yml: -------------------------------------------------------------------------------- 1 | name: "Git LFS Check" 2 | 3 | on: pull_request 4 | 5 | concurrency: 6 | group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }} 7 | cancel-in-progress: true 8 | permissions: {} 9 | jobs: 10 | lfs-check: 11 | runs-on: ubuntu-latest 12 | steps: 13 | - name: Checkout 14 | uses: actions/checkout@v4 15 | with: 16 | lfs: true 17 | - name: "Check Git LFS files for consistency, if you see error like 'pointer: unexpectedGitObject ... should have been a pointer but was not', please install Git LFS locally, delete the problematic file, and then add it back again. This ensures it's properly tracked." 18 | run: | 19 | git lfs fsck 20 | -------------------------------------------------------------------------------- /.github/workflows/mkdocs-check-broken-links.yml: -------------------------------------------------------------------------------- 1 | name: Check mkdocs for broken links 2 | 3 | on: 4 | workflow_run: 5 | types: 6 | - completed 7 | workflows: ["pages-build-deployment"] 8 | 9 | jobs: 10 | check-broken-link: 11 | name: Check mkdocs for broken links 12 | runs-on: ubuntu-latest 13 | if: ${{ github.event.workflow_run.conclusion == 'success' }} 14 | steps: 15 | - name: Checkout repository 16 | uses: actions/checkout@v4 17 | 18 | - name: Setup Go 19 | uses: actions/setup-go@v5 20 | 21 | - name: Install muffet 22 | run: go install github.com/raviqqe/muffet/v2@latest 23 | 24 | - name: Check for broken links 25 | run: ./scripts/broken-links-check.sh --url "https://ag2ai.github.io/ag2" 26 | -------------------------------------------------------------------------------- /autogen/_website/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /autogen/agentchat/contrib/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | __all__: list[str] = [] 6 | -------------------------------------------------------------------------------- /autogen/agentchat/contrib/agent_eval/README.md: -------------------------------------------------------------------------------- 1 | Agents for running the [AgentEval](https://docs.ag2.ai/latest/docs/blog/2023/11/20/AgentEval/) pipeline. 2 | 3 | AgentEval is a process for evaluating a LLM-based system's performance on a given task. 4 | 5 | When given a task to evaluate and a few example runs, the critic and subcritic agents create evaluation criteria for evaluating a system's solution. Once the criteria have been created, the quantifier agent can evaluate subsequent task solutions based on the generated criteria. 6 | 7 | See our [blog post](https://docs.ag2.ai/blog/2024-06-21-AgentEval) for usage examples and general explanations. 8 | -------------------------------------------------------------------------------- /autogen/agentchat/contrib/capabilities/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | __all__: list[str] = [] 6 | -------------------------------------------------------------------------------- /autogen/agentchat/contrib/captainagent/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .agent_builder import AgentBuilder 6 | from .captainagent import CaptainAgent 7 | from .tool_retriever import ToolBuilder, format_ag2_tool, get_full_tool_description 8 | 9 | __all__ = ["AgentBuilder", "CaptainAgent", "ToolBuilder", "format_ag2_tool", "get_full_tool_description"] 10 | -------------------------------------------------------------------------------- /autogen/agentchat/contrib/captainagent/tools/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | __all__: list[str] = [] 6 | -------------------------------------------------------------------------------- /autogen/agentchat/contrib/captainagent/tools/data_analysis/explore_csv.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | def explore_csv(file_path, num_lines=5): 5 | """Reads a CSV file and prints the column names, shape, data types, and the first few lines of data. 6 | 7 | Args: 8 | file_path (str): The path to the CSV file. 9 | num_lines (int, optional): The number of lines to print. Defaults to 5. 10 | """ 11 | import pandas as pd 12 | 13 | df = pd.read_csv(file_path) 14 | header = df.columns 15 | print("Columns:") 16 | print(", ".join(header)) 17 | print("Shape:", df.shape) 18 | print("Data Types:") 19 | print(df.dtypes) 20 | print("First", num_lines, "lines:") 21 | print(df.head(num_lines)) 22 | -------------------------------------------------------------------------------- /autogen/agentchat/contrib/captainagent/tools/information_retrieval/get_wikipedia_text.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | def get_wikipedia_text(title): 5 | """Retrieves the text content of a Wikipedia page. It does not support tables and other complex formatting. 6 | 7 | Args: 8 | title (str): The title of the Wikipedia page. 9 | 10 | Returns: 11 | str or None: The text content of the Wikipedia page if it exists, None otherwise. 12 | """ 13 | import wikipediaapi 14 | 15 | wiki_wiki = wikipediaapi.Wikipedia("Mozilla/5.0 (merlin@example.com)", "en") 16 | page = wiki_wiki.page(title) 17 | 18 | if page.exists(): 19 | return page.text 20 | else: 21 | return None 22 | -------------------------------------------------------------------------------- /autogen/agentchat/contrib/captainagent/tools/information_retrieval/transcribe_audio_file.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | from autogen.coding.func_with_reqs import with_requirements 5 | 6 | 7 | @with_requirements(["openai-whisper"]) 8 | def transcribe_audio_file(file_path): 9 | """Transcribes the audio file located at the given file path. 10 | 11 | Args: 12 | file_path (str): The path to the audio file. 13 | 14 | Returns: 15 | str: The transcribed text from the audio file. 16 | """ 17 | import whisper 18 | 19 | model = whisper.load_model("base") 20 | result = model.transcribe(file_path) 21 | return result["text"] 22 | -------------------------------------------------------------------------------- /autogen/agentchat/contrib/captainagent/tools/math/calculate_circle_area_from_diameter.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | from autogen.coding.func_with_reqs import with_requirements 5 | 6 | 7 | @with_requirements(["sympy"]) 8 | def calculate_circle_area_from_diameter(diameter): 9 | """Calculate the area of a circle given its diameter. 10 | 11 | Args: 12 | diameter (float): The diameter of the circle. 13 | 14 | Returns: 15 | float: The area of the circle. 16 | """ 17 | from sympy import pi 18 | 19 | radius = diameter / 2 20 | area = pi * radius**2 21 | return area 22 | -------------------------------------------------------------------------------- /autogen/agentchat/contrib/captainagent/tools/math/calculate_reflected_point.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | def calculate_reflected_point(point): 5 | """Calculates the reflection point of a given point about the line y=x. 6 | 7 | Args: 8 | point (dict): A dictionary representing the coordinates of the point. 9 | The dictionary should have keys 'x' and 'y' representing the x and y coordinates respectively. 10 | 11 | Returns: 12 | dict: A dictionary representing the coordinates of the reflected point. Its keys are 'x' and 'y'. 13 | """ 14 | # Swap x and y for reflection about y=x 15 | reflected_point = {"x": point["y"], "y": point["x"]} 16 | return reflected_point 17 | -------------------------------------------------------------------------------- /autogen/agentchat/contrib/captainagent/tools/math/sum_of_digit_factorials.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | def sum_of_digit_factorials(number): 5 | """Calculates the sum of the factorial of each digit in a number, often used in problems involving curious numbers like 145. 6 | 7 | Args: 8 | number (int): The number for which to calculate the sum of digit factorials. 9 | 10 | Returns: 11 | int: The sum of the factorials of the digits in the given number. 12 | """ 13 | from math import factorial 14 | 15 | return sum(factorial(int(digit)) for digit in str(number)) 16 | -------------------------------------------------------------------------------- /autogen/agentchat/contrib/captainagent/tools/math/sum_of_primes_below.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | def sum_of_primes_below(threshold): 5 | """Calculates the sum of all prime numbers below a given threshold. 6 | 7 | Args: 8 | threshold (int): The maximum number (exclusive) up to which primes are summed. 9 | 10 | Returns: 11 | int: The sum of all prime numbers below the threshold. 12 | """ 13 | from sympy import primerange 14 | 15 | return sum(primerange(2, threshold)) 16 | -------------------------------------------------------------------------------- /autogen/agentchat/contrib/captainagent/tools/requirements.txt: -------------------------------------------------------------------------------- 1 | markdownify 2 | arxiv 3 | pymupdf 4 | wikipedia-api 5 | easyocr 6 | python-pptx 7 | openai-whisper 8 | pandas 9 | scipy 10 | sentence-transformers 11 | -------------------------------------------------------------------------------- /autogen/agentchat/contrib/graph_rag/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .document import Document, DocumentType 6 | from .graph_query_engine import GraphQueryEngine, GraphStoreQueryResult 7 | from .graph_rag_capability import GraphRagCapability 8 | 9 | __all__ = ["Document", "DocumentType", "GraphQueryEngine", "GraphRagCapability", "GraphStoreQueryResult"] 10 | -------------------------------------------------------------------------------- /autogen/agentchat/contrib/rag/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .chromadb_query_engine import ChromaDBQueryEngine 6 | from .llamaindex_query_engine import LlamaIndexQueryEngine 7 | from .mongodb_query_engine import MongoDBQueryEngine 8 | from .query_engine import RAGQueryEngine 9 | 10 | __all__ = ["ChromaDBQueryEngine", "LlamaIndexQueryEngine", "MongoDBQueryEngine", "RAGQueryEngine"] 11 | -------------------------------------------------------------------------------- /autogen/agentchat/contrib/vectordb/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | __all__: list[str] = [] 6 | -------------------------------------------------------------------------------- /autogen/agentchat/group/patterns/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | 6 | from .auto import AutoPattern 7 | from .manual import ManualPattern 8 | from .pattern import DefaultPattern 9 | from .random import RandomPattern 10 | from .round_robin import RoundRobinPattern 11 | 12 | __all__ = [ 13 | "AutoPattern", 14 | "DefaultPattern", 15 | "ManualPattern", 16 | "RandomPattern", 17 | "RoundRobinPattern", 18 | ] 19 | -------------------------------------------------------------------------------- /autogen/agentchat/group/reply_result.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | 6 | __all__ = ["ReplyResult"] 7 | 8 | 9 | from typing import Optional 10 | 11 | from pydantic import BaseModel 12 | 13 | from .context_variables import ContextVariables 14 | from .targets.transition_target import TransitionTarget 15 | 16 | 17 | class ReplyResult(BaseModel): 18 | """Result of a tool call that is used to provide the return message and the target to transition to.""" 19 | 20 | message: str 21 | target: Optional[TransitionTarget] = None 22 | context_variables: Optional[ContextVariables] = None 23 | 24 | def __str__(self) -> str: 25 | """The string representation for ReplyResult will be just the message.""" 26 | return self.message 27 | -------------------------------------------------------------------------------- /autogen/agentchat/group/targets/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | -------------------------------------------------------------------------------- /autogen/agentchat/group/targets/transition_utils.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | # Prefix for all wrapped agent names 6 | __AGENT_WRAPPER_PREFIX__ = "wrapped_" 7 | -------------------------------------------------------------------------------- /autogen/agentchat/realtime/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /autogen/agentchat/realtime/experimental/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .audio_adapters import TwilioAudioAdapter, WebSocketAudioAdapter 6 | from .audio_observer import AudioObserver 7 | from .function_observer import FunctionObserver 8 | from .realtime_agent import RealtimeAgent 9 | from .realtime_observer import RealtimeObserver 10 | from .realtime_swarm import register_swarm 11 | 12 | __all__ = [ 13 | "AudioObserver", 14 | "FunctionObserver", 15 | "RealtimeAgent", 16 | "RealtimeObserver", 17 | "TwilioAudioAdapter", 18 | "WebSocketAudioAdapter", 19 | "register_swarm", 20 | ] 21 | -------------------------------------------------------------------------------- /autogen/agentchat/realtime/experimental/audio_adapters/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .twilio_audio_adapter import TwilioAudioAdapter 6 | from .websocket_audio_adapter import WebSocketAudioAdapter 7 | 8 | __all__ = ["TwilioAudioAdapter", "WebSocketAudioAdapter"] 9 | -------------------------------------------------------------------------------- /autogen/agentchat/realtime/experimental/clients/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .gemini.client import GeminiRealtimeClient 6 | from .oai.base_client import OpenAIRealtimeClient 7 | from .realtime_client import RealtimeClientProtocol, Role, get_client 8 | 9 | __all__ = [ 10 | "GeminiRealtimeClient", 11 | "OpenAIRealtimeClient", 12 | "RealtimeClientProtocol", 13 | "Role", 14 | "get_client", 15 | ] 16 | -------------------------------------------------------------------------------- /autogen/agentchat/realtime/experimental/clients/gemini/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .client import GeminiRealtimeClient 6 | 7 | __all__ = ["GeminiRealtimeClient"] 8 | -------------------------------------------------------------------------------- /autogen/agentchat/realtime/experimental/clients/oai/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .base_client import OpenAIRealtimeClient 6 | from .rtc_client import OpenAIRealtimeWebRTCClient 7 | 8 | __all__ = ["OpenAIRealtimeClient", "OpenAIRealtimeWebRTCClient"] 9 | -------------------------------------------------------------------------------- /autogen/agentchat/realtime/experimental/websockets.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from collections.abc import AsyncIterator 6 | from typing import Any, Protocol, runtime_checkable 7 | 8 | __all__ = ["WebSocketProtocol"] 9 | 10 | 11 | @runtime_checkable 12 | class WebSocketProtocol(Protocol): 13 | """WebSocket protocol for sending and receiving JSON data modelled after FastAPI's WebSocket.""" 14 | 15 | async def send_json(self, data: Any, mode: str = "text") -> None: ... 16 | 17 | async def receive_json(self, mode: str = "text") -> Any: ... 18 | 19 | async def receive_text(self) -> str: ... 20 | 21 | def iter_text(self) -> AsyncIterator[str]: ... 22 | -------------------------------------------------------------------------------- /autogen/agentchat/realtime_agent/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from ..realtime.experimental import ( 6 | FunctionObserver, 7 | RealtimeAgent, 8 | RealtimeObserver, 9 | TwilioAudioAdapter, 10 | WebSocketAudioAdapter, 11 | register_swarm, 12 | ) 13 | 14 | __all__ = [ 15 | "FunctionObserver", 16 | "RealtimeAgent", 17 | "RealtimeObserver", 18 | "TwilioAudioAdapter", 19 | "WebSocketAudioAdapter", 20 | "register_swarm", 21 | ] 22 | -------------------------------------------------------------------------------- /autogen/agents/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /autogen/agents/contrib/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .time import TimeReplyAgent, TimeToolAgent 6 | 7 | __all__ = [ 8 | "TimeReplyAgent", 9 | "TimeToolAgent", 10 | ] 11 | -------------------------------------------------------------------------------- /autogen/agents/contrib/time/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .time_reply_agent import TimeReplyAgent 6 | from .time_tool_agent import TimeToolAgent 7 | 8 | __all__ = ["TimeReplyAgent", "TimeToolAgent"] 9 | -------------------------------------------------------------------------------- /autogen/agents/experimental/deep_research/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .deep_research import DeepResearchAgent 6 | 7 | __all__ = ["DeepResearchAgent"] 8 | -------------------------------------------------------------------------------- /autogen/agents/experimental/discord/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .discord import DiscordAgent 6 | 7 | __all__ = ["DiscordAgent"] 8 | -------------------------------------------------------------------------------- /autogen/agents/experimental/document_agent/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .chroma_query_engine import VectorChromaQueryEngine 6 | from .docling_doc_ingest_agent import DoclingDocIngestAgent 7 | from .document_agent import DocAgent 8 | from .document_utils import handle_input 9 | from .inmemory_query_engine import InMemoryQueryEngine 10 | from .parser_utils import docling_parse_docs 11 | 12 | __all__ = [ 13 | "DocAgent", 14 | "DoclingDocIngestAgent", 15 | "InMemoryQueryEngine", 16 | "VectorChromaQueryEngine", 17 | "docling_parse_docs", 18 | "handle_input", 19 | ] 20 | -------------------------------------------------------------------------------- /autogen/agents/experimental/reasoning/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .reasoning_agent import ReasoningAgent, ThinkNode 6 | 7 | __all__ = ["ReasoningAgent", "ThinkNode"] 8 | -------------------------------------------------------------------------------- /autogen/agents/experimental/slack/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .slack import SlackAgent 6 | 7 | __all__ = ["SlackAgent"] 8 | -------------------------------------------------------------------------------- /autogen/agents/experimental/telegram/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .telegram import TelegramAgent 6 | 7 | __all__ = ["TelegramAgent"] 8 | -------------------------------------------------------------------------------- /autogen/agents/experimental/websurfer/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .websurfer import WebSurferAgent 6 | 7 | __all__ = ["WebSurferAgent"] 8 | -------------------------------------------------------------------------------- /autogen/agents/experimental/wikipedia/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .wikipedia import WikipediaAgent 6 | 7 | __all__ = ["WikipediaAgent"] 8 | -------------------------------------------------------------------------------- /autogen/cache/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | # Portions derived from https://github.com/microsoft/autogen are under the MIT License. 6 | # SPDX-License-Identifier: MIT 7 | from .abstract_cache_base import AbstractCache 8 | from .cache import Cache 9 | 10 | __all__ = ["AbstractCache", "Cache"] 11 | -------------------------------------------------------------------------------- /autogen/events/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | from .base_event import BaseEvent, get_annotated_type_for_event_classes, wrap_event 5 | from .helpers import deprecated_by 6 | 7 | __all__ = ["BaseEvent", "deprecated_by", "get_annotated_type_for_event_classes", "wrap_event"] 8 | -------------------------------------------------------------------------------- /autogen/extensions/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | __all__: list[str] = [] 6 | -------------------------------------------------------------------------------- /autogen/fast_depends/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | # Portions derived from https://github.com/https://github.com/Lancetnik/FastDepends are under the MIT License. 6 | # SPDX-License-Identifier: MIT 7 | 8 | from .dependencies import Provider, dependency_provider 9 | from .use import Depends, inject 10 | 11 | __all__ = ( 12 | "Depends", 13 | "Provider", 14 | "dependency_provider", 15 | "inject", 16 | ) 17 | -------------------------------------------------------------------------------- /autogen/fast_depends/core/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | # Portions derived from https://github.com/https://github.com/Lancetnik/FastDepends are under the MIT License. 6 | # SPDX-License-Identifier: MIT 7 | 8 | from .build import build_call_model 9 | from .model import CallModel 10 | 11 | __all__ = ( 12 | "CallModel", 13 | "build_call_model", 14 | ) 15 | -------------------------------------------------------------------------------- /autogen/fast_depends/dependencies/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | # Portions derived from https://github.com/https://github.com/Lancetnik/FastDepends are under the MIT License. 6 | # SPDX-License-Identifier: MIT 7 | 8 | from .model import Depends 9 | from .provider import Provider, dependency_provider 10 | 11 | __all__ = ( 12 | "Depends", 13 | "Provider", 14 | "dependency_provider", 15 | ) 16 | -------------------------------------------------------------------------------- /autogen/fast_depends/library/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | # Portions derived from https://github.com/https://github.com/Lancetnik/FastDepends are under the MIT License. 6 | # SPDX-License-Identifier: MIT 7 | 8 | from .model import CustomField 9 | 10 | __all__ = ("CustomField",) 11 | -------------------------------------------------------------------------------- /autogen/fast_depends/py.typed: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | # Portions derived from https://github.com/https://github.com/Lancetnik/FastDepends are under the MIT License. 6 | # SPDX-License-Identifier: MIT 7 | -------------------------------------------------------------------------------- /autogen/function_utils.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from logging import getLogger 6 | 7 | from .tools import get_function_schema, load_basemodels_if_needed, serialize_to_str 8 | 9 | __all__ = ["get_function_schema", "load_basemodels_if_needed", "serialize_to_str"] 10 | 11 | logger = getLogger(__name__) 12 | 13 | logger.info("Importing from 'autogen.function_utils' is deprecated, import from 'autogen.tools' instead.") 14 | -------------------------------------------------------------------------------- /autogen/interop/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .crewai import CrewAIInteroperability 6 | from .interoperability import Interoperability 7 | from .interoperable import Interoperable 8 | from .langchain import LangChainChatModelFactory, LangChainInteroperability 9 | from .litellm import LiteLLmConfigFactory 10 | from .pydantic_ai import PydanticAIInteroperability 11 | from .registry import register_interoperable_class 12 | 13 | __all__ = [ 14 | "CrewAIInteroperability", 15 | "Interoperability", 16 | "Interoperable", 17 | "LangChainChatModelFactory", 18 | "LangChainInteroperability", 19 | "LiteLLmConfigFactory", 20 | "PydanticAIInteroperability", 21 | "register_interoperable_class", 22 | ] 23 | -------------------------------------------------------------------------------- /autogen/interop/crewai/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .crewai import CrewAIInteroperability 6 | 7 | __all__ = ["CrewAIInteroperability"] 8 | -------------------------------------------------------------------------------- /autogen/interop/langchain/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .langchain_chat_model_factory import LangChainChatModelFactory 6 | from .langchain_tool import LangChainInteroperability 7 | 8 | __all__ = ["LangChainChatModelFactory", "LangChainInteroperability"] 9 | -------------------------------------------------------------------------------- /autogen/interop/litellm/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .litellm_config_factory import LiteLLmConfigFactory 6 | 7 | __all__ = ["LiteLLmConfigFactory"] 8 | -------------------------------------------------------------------------------- /autogen/interop/pydantic_ai/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .pydantic_ai import PydanticAIInteroperability 6 | 7 | __all__ = ["PydanticAIInteroperability"] 8 | -------------------------------------------------------------------------------- /autogen/io/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | # Portions derived from https://github.com/microsoft/autogen are under the MIT License. 6 | # SPDX-License-Identifier: MIT 7 | from .base import IOStream, InputStream, OutputStream 8 | from .console import IOConsole 9 | from .websockets import IOWebsockets 10 | 11 | # Set the default input/output stream to the console 12 | IOStream.set_global_default(IOConsole()) 13 | IOStream.set_default(IOConsole()) 14 | 15 | __all__ = ("IOConsole", "IOStream", "IOWebsockets", "InputStream", "OutputStream") 16 | -------------------------------------------------------------------------------- /autogen/io/processors/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | from .base import AsyncEventProcessorProtocol, EventProcessorProtocol 5 | from .console_event_processor import AsyncConsoleEventProcessor, ConsoleEventProcessor 6 | 7 | __all__ = [ 8 | "AsyncConsoleEventProcessor", 9 | "AsyncEventProcessorProtocol", 10 | "ConsoleEventProcessor", 11 | "EventProcessorProtocol", 12 | ] 13 | -------------------------------------------------------------------------------- /autogen/io/processors/base.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | from typing import TYPE_CHECKING, Protocol 5 | 6 | from ...doc_utils import export_module 7 | 8 | if TYPE_CHECKING: 9 | from ..run_response import AsyncRunResponseProtocol, RunResponseProtocol 10 | 11 | __all__ = ["AsyncEventProcessorProtocol", "EventProcessorProtocol"] 12 | 13 | 14 | @export_module("autogen.io") 15 | class EventProcessorProtocol(Protocol): 16 | def process(self, response: "RunResponseProtocol") -> None: ... 17 | 18 | 19 | @export_module("autogen.io") 20 | class AsyncEventProcessorProtocol(Protocol): 21 | async def process(self, response: "AsyncRunResponseProtocol") -> None: ... 22 | -------------------------------------------------------------------------------- /autogen/logger/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | # Portions derived from https://github.com/microsoft/autogen are under the MIT License. 6 | # SPDX-License-Identifier: MIT 7 | from .file_logger import FileLogger 8 | from .logger_factory import LoggerFactory 9 | from .sqlite_logger import SqliteLogger 10 | 11 | __all__ = ("FileLogger", "LoggerFactory", "SqliteLogger") 12 | -------------------------------------------------------------------------------- /autogen/mcp/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .mcp_client import create_toolkit 6 | 7 | __all__ = ["create_toolkit"] 8 | -------------------------------------------------------------------------------- /autogen/mcp/mcp_proxy/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from autogen.import_utils import optional_import_block 6 | 7 | from .patch_fastapi_code_generator import ( # noqa: E402 8 | SUCCESFUL_IMPORT, 9 | patch_function_name_parsing, 10 | patch_generate_code, 11 | ) 12 | 13 | if SUCCESFUL_IMPORT: 14 | patch_function_name_parsing() 15 | patch_generate_code() 16 | 17 | from .mcp_proxy import MCPProxy # noqa: E402 18 | 19 | __all__ = ["MCPProxy", "optional_import_block"] 20 | -------------------------------------------------------------------------------- /autogen/messages/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .base_message import BaseMessage, get_annotated_type_for_message_classes, wrap_message 6 | 7 | __all__ = ["BaseMessage", "get_annotated_type_for_message_classes", "wrap_message"] 8 | -------------------------------------------------------------------------------- /autogen/oai/oai_models/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .chat_completion import ChatCompletionExtended as ChatCompletion 6 | from .chat_completion import Choice 7 | from .chat_completion_message import ChatCompletionMessage 8 | from .chat_completion_message_tool_call import ChatCompletionMessageToolCall 9 | from .completion_usage import CompletionUsage 10 | 11 | __all__ = ["ChatCompletion", "ChatCompletionMessage", "ChatCompletionMessageToolCall", "Choice", "CompletionUsage"] 12 | -------------------------------------------------------------------------------- /autogen/oai/oai_models/_models.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | # Taken over from https://github.com/openai/openai-python/blob/main/src/openai/_models.py 6 | 7 | import pydantic 8 | import pydantic.generics 9 | from pydantic import ConfigDict 10 | from typing_extensions import ClassVar 11 | 12 | __all__ = ["BaseModel"] 13 | 14 | 15 | class BaseModel(pydantic.BaseModel): 16 | model_config: ClassVar[ConfigDict] = ConfigDict(extra="allow") 17 | -------------------------------------------------------------------------------- /autogen/tools/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .dependency_injection import BaseContext, ChatContext, Depends 6 | from .function_utils import get_function_schema, load_basemodels_if_needed, serialize_to_str 7 | from .tool import Tool, tool 8 | from .toolkit import Toolkit 9 | 10 | __all__ = [ 11 | "BaseContext", 12 | "ChatContext", 13 | "Depends", 14 | "Tool", 15 | "Toolkit", 16 | "get_function_schema", 17 | "load_basemodels_if_needed", 18 | "serialize_to_str", 19 | "tool", 20 | ] 21 | -------------------------------------------------------------------------------- /autogen/tools/contrib/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .time import TimeTool 6 | 7 | __all__ = [ 8 | "TimeTool", 9 | ] 10 | -------------------------------------------------------------------------------- /autogen/tools/contrib/time/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .time import TimeTool 6 | 7 | __all__ = ["TimeTool"] 8 | -------------------------------------------------------------------------------- /autogen/tools/experimental/browser_use/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .browser_use import BrowserUseResult, BrowserUseTool, ExtractedContent 6 | 7 | __all__ = ["BrowserUseResult", "BrowserUseTool", "ExtractedContent"] 8 | -------------------------------------------------------------------------------- /autogen/tools/experimental/crawl4ai/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .crawl4ai import Crawl4AITool 6 | 7 | __all__ = ["Crawl4AITool"] 8 | -------------------------------------------------------------------------------- /autogen/tools/experimental/deep_research/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .deep_research import DeepResearchTool 6 | 7 | __all__ = ["DeepResearchTool"] 8 | -------------------------------------------------------------------------------- /autogen/tools/experimental/duckduckgo/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .duckduckgo_search import DuckDuckGoSearchTool 6 | 7 | __all__ = ["DuckDuckGoSearchTool"] 8 | -------------------------------------------------------------------------------- /autogen/tools/experimental/google/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .authentication import GoogleCredentialsLocalProvider, GoogleCredentialsProvider 6 | from .drive import GoogleDriveToolkit 7 | from .toolkit_protocol import GoogleToolkitProtocol 8 | 9 | __all__ = [ 10 | "GoogleCredentialsLocalProvider", 11 | "GoogleCredentialsProvider", 12 | "GoogleDriveToolkit", 13 | "GoogleToolkitProtocol", 14 | ] 15 | -------------------------------------------------------------------------------- /autogen/tools/experimental/google/authentication/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .credentials_local_provider import GoogleCredentialsLocalProvider 6 | from .credentials_provider import GoogleCredentialsProvider 7 | 8 | __all__ = [ 9 | "GoogleCredentialsLocalProvider", 10 | "GoogleCredentialsProvider", 11 | ] 12 | -------------------------------------------------------------------------------- /autogen/tools/experimental/google/drive/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .toolkit import GoogleDriveToolkit 6 | 7 | __all__ = [ 8 | "GoogleDriveToolkit", 9 | ] 10 | -------------------------------------------------------------------------------- /autogen/tools/experimental/google/model.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from typing import Annotated 6 | 7 | from pydantic import BaseModel, Field 8 | 9 | __all__ = [ 10 | "GoogleFileInfo", 11 | ] 12 | 13 | 14 | class GoogleFileInfo(BaseModel): 15 | name: Annotated[str, Field(description="The name of the file.")] 16 | id: Annotated[str, Field(description="The ID of the file.")] 17 | mime_type: Annotated[str, Field(alias="mimeType", description="The MIME type of the file.")] 18 | -------------------------------------------------------------------------------- /autogen/tools/experimental/google/toolkit_protocol.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from typing import Protocol, runtime_checkable 6 | 7 | __all__ = [ 8 | "GoogleToolkitProtocol", 9 | ] 10 | 11 | 12 | @runtime_checkable 13 | class GoogleToolkitProtocol(Protocol): 14 | """A protocol for Google tool maps.""" 15 | 16 | @classmethod 17 | def recommended_scopes(cls) -> list[str]: 18 | """Defines a required static method without implementation.""" 19 | ... 20 | -------------------------------------------------------------------------------- /autogen/tools/experimental/google_search/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .google_search import GoogleSearchTool 6 | from .youtube_search import YoutubeSearchTool 7 | 8 | __all__ = ["GoogleSearchTool", "YoutubeSearchTool"] 9 | -------------------------------------------------------------------------------- /autogen/tools/experimental/messageplatform/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .discord import DiscordRetrieveTool, DiscordSendTool 6 | from .slack import SlackRetrieveRepliesTool, SlackRetrieveTool, SlackSendTool 7 | from .telegram import TelegramRetrieveTool, TelegramSendTool 8 | 9 | __all__ = [ 10 | "DiscordRetrieveTool", 11 | "DiscordSendTool", 12 | "SlackRetrieveRepliesTool", 13 | "SlackRetrieveTool", 14 | "SlackSendTool", 15 | "TelegramRetrieveTool", 16 | "TelegramSendTool", 17 | ] 18 | -------------------------------------------------------------------------------- /autogen/tools/experimental/messageplatform/discord/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .discord import DiscordRetrieveTool, DiscordSendTool 6 | 7 | __all__ = ["DiscordRetrieveTool", "DiscordSendTool"] 8 | -------------------------------------------------------------------------------- /autogen/tools/experimental/messageplatform/slack/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .slack import SlackRetrieveRepliesTool, SlackRetrieveTool, SlackSendTool 6 | 7 | __all__ = ["SlackRetrieveRepliesTool", "SlackRetrieveTool", "SlackSendTool"] 8 | -------------------------------------------------------------------------------- /autogen/tools/experimental/messageplatform/telegram/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .telegram import TelegramRetrieveTool, TelegramSendTool 6 | 7 | __all__ = ["TelegramRetrieveTool", "TelegramSendTool"] 8 | -------------------------------------------------------------------------------- /autogen/tools/experimental/perplexity/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .perplexity_search import PerplexitySearchTool 6 | 7 | __all__ = ["PerplexitySearchTool"] 8 | -------------------------------------------------------------------------------- /autogen/tools/experimental/reliable/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | # Portions derived from https://github.com/microsoft/autogen are under the MIT License. 6 | # SPDX-License-Identifier: MIT 7 | 8 | from .reliable import ReliableTool, ReliableToolError, SuccessfulExecutionParameters, ToolExecutionDetails 9 | 10 | __all__ = ["ReliableTool", "ReliableToolError", "SuccessfulExecutionParameters", "ToolExecutionDetails"] 11 | -------------------------------------------------------------------------------- /autogen/tools/experimental/tavily/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .tavily_search import TavilySearchTool 6 | 7 | __all__ = ["TavilySearchTool"] 8 | -------------------------------------------------------------------------------- /autogen/tools/experimental/web_search_preview/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .web_search_preview import WebSearchPreviewTool 6 | 7 | __all__ = ["WebSearchPreviewTool"] 8 | -------------------------------------------------------------------------------- /autogen/tools/experimental/wikipedia/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from .wikipedia import WikipediaPageLoadTool, WikipediaQueryRunTool 6 | 7 | __all__ = ["WikipediaPageLoadTool", "WikipediaQueryRunTool"] 8 | -------------------------------------------------------------------------------- /autogen/version.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | __all__ = ["__version__"] 6 | 7 | __version__ = "0.9.1post0" 8 | -------------------------------------------------------------------------------- /azure-pipelines.yml: -------------------------------------------------------------------------------- 1 | # Starter pipeline 2 | # Start with a minimal pipeline that you can customize to build and deploy your code. 3 | # Add steps that build, run tests, deploy, and more: 4 | # https://aka.ms/yaml 5 | 6 | trigger: 7 | - main 8 | 9 | pool: 10 | vmImage: 'windows-latest' 11 | 12 | steps: 13 | - task: securedevelopmentteam.vss-secure-development-tools.build-task-policheck.PoliCheck@2 14 | displayName: 'Run PoliCheck' 15 | inputs: 16 | targetType: F 17 | optionsPE: '1|2|3|4' 18 | 19 | - task: securedevelopmentteam.vss-secure-development-tools.build-task-postanalysis.PostAnalysis@2 20 | displayName: 'Policheck Break Build' 21 | inputs: 22 | GdnBreakAllTools: false 23 | GdnBreakGdnToolPoliCheck: true 24 | GdnBreakGdnToolPoliCheckSeverity: Warning 25 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/input_files/nvidia_10k_2024.pdf: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:536f66d7f1c3413abbf643e0a02bd0aab65639116fe630225f3f93529244658b 3 | size 1074533 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_elements.json: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:78469c67d9e702ea6283f89f77f5d9be964782bf6c0242d2d8c6a99879ecf43c 3 | size 2185964 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/figure-1-1.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:7b60a18030bb7a01079ad8dd3ae662c431f6ce686db7fbf1380031acebc93d0a 3 | size 2145 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/figure-33-2.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:442defe14cb733e85cf7a821cbec2d20f559b3c603cc3c8bec329c9fe4d8f6d9 3 | size 69750 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/figure-92-3.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:1d137771b5d03ba4715a8e3c0d128988e0ad0a5cef5dcbe4d940b5b3c3a32a8d 3 | size 5566 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/figure-93-4.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:529984bfdfd9836b0142291207909d4cd01f7c97f201a6a3dfc88257e1c311db 3 | size 5397 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/figure-94-5.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:cf16c57b061b039c8e9930efa11fdeb565110ce91fa1e9cb55e5b2e1996638ca 3 | size 5200 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/figure-95-6.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:d1c93fe1144bc0d163f8dcea0551892f114e2ff68ad2538ed6aa1cee8cce3a60 3 | size 5364 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-12-2.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:74cd46f89df486b07553ca7eb3bef9a87fe431c96b1b11e0977fa815270735f0 3 | size 42660 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-2-1.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:de8520ec58bc6c472aa6f910e8ad0a72de01baedadaa43dfa4652bb059dcec9f 3 | size 189286 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-32-3.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:b634d9b4b4921f85e62f0473237192e65a241dd4df4305caf417da3b80a1e861 3 | size 62089 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-33-4.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:dc27fe4b5af14fd610c6ec93156993f0f5330e19624fb1f81ecab99309518ce6 3 | size 32682 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-36-5.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:8ced809bb969f7605e49ccdbdb3a79901bea5a9a201035251a1c39adf7cd4df8 3 | size 54461 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-39-6.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:3a13d2574a49df5d346e80b5066fecdb0c6378888a691204ef976f9d56397d0c 3 | size 83482 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-39-7.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:fd739a1c862e65db4e5c375519184e3634f3fc12094649f296e3be0ac0079ec5 3 | size 40082 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-39-8.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:42845bdd91bac5198e80b84697a284d7dc7f507427b197bf47390e40731783a0 3 | size 46386 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-40-9.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:e9cc8f53b64555ca5eb51701e3fb3b6a60d6db589a463ed0a52ae5d9bf98e371 3 | size 68682 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-41-10.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:30992b3f47a4305e23ba46c7992a8c7620006a312ea724458284427150d2dae3 3 | size 39630 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-42-11.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:4b59d455a2329f125ae170731b6847fe2b7a88f29e9032493ce0535c04cd85ca 3 | size 28007 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-42-12.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:c507d4e0df2605769f297c9e2fdd91ec2aafb9a8385297cedff48d3f4d45349a 3 | size 35733 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-43-13.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:4c45ccc4af87c41dc9572729c2b5995d6540f651415f37d3bd62a0643cb32b0f 3 | size 44445 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-47-14.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:563a30606b8dd01ee22e0ea9ecd8d4bdf22913b7585320f339acbe290af4f7b9 3 | size 142237 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-50-15.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:e498696df863256c4c65783422d5476282375a7594e78675c8dc836b05677448 3 | size 139375 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-51-16.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:3c21dbe5bb978e846e0ecffc1dc9d76cbd805bb8da6b6525d49dce9868bf614a 3 | size 102190 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-52-17.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:f39216a5c51643583d9a4f027ee7cd7b01829372aaec539e29441ab677994a55 3 | size 138826 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-52-18.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:c8e4c906a1a925e1fdb14c06e0ac7ecb8246fa2a0bc981a47e3105cae2767385 3 | size 63739 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-53-19.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:e56e1d862f3e84238df2ad0b4d45c0924128149eb88ce470ad53ed555259cd75 3 | size 183427 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-54-20.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:ddde44818844e984ebd200e7c6fe09d045b2baa3819726010c19eb14cbdf2a5f 3 | size 303686 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-60-21.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:b5f4bdfb7e9626f95019ec3ddd1f46450ae54d123c50d661d93e36f61c9c3c10 3 | size 46261 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-61-22.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:f7c426680e5fa4dd56d90eaf5d0b0545dc6036dd49b3391293cdb84cf8034e70 3 | size 38499 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-61-23.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:c6e18c0496cf3948b13ae5d910c49d30b5af1bd0987760cb3b9feedce8d8e713 3 | size 35416 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-61-24.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:642ac19c86c63b9c31ffb04f8e416dcebce5b1ba79b628ae32d35e48b826f1ed 3 | size 64583 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-62-25.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:0e62ea4ba74a3e85135baefb2eced2b8b7e23dfd22c62ab156ee8c8423dfbe63 3 | size 41601 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-63-26.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:5f68b51a527740cecc7dfd4fbf9e9ba82405f7df361425aed7bee9f7f045cc00 3 | size 55318 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-63-27.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:d45b21c0594d8f463e0e44aef25af7e744e95718991fb11f96506f029ff2dfe6 3 | size 78562 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-64-28.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:906a491e9032a523892afae9e9f5fc69bff604f2fa801a97007c863c8ff5aae5 3 | size 64014 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-64-29.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:a549eaf6b28d04e866c72ee053eda033978c26665f4ecf4f190e3665d3a7a0de 3 | size 29749 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-65-30.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:883ab7f4e489106c38b32c094fdf4ca31175fe2f918261d0ff6cec49bc947d29 3 | size 85531 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-65-31.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:6a2f6ab861fc3a1995d513dbc13d98644f2c3406c36ab9a7ff336960a1551be4 3 | size 77384 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-66-32.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:833d8b3b852d2b2d145916ebbbee5fa1e791eaff99ba52c9b90b9d69789a30f5 3 | size 74378 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-66-33.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:bc04f5a0d4aae0f711a0b530d92af7d89adc69f517b3cd27fd73624f3720fca7 3 | size 73124 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-66-34.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:be81bf660c87ee3cf6736797b82e475231dfd577bf405b490b8c618eb1bfe88d 3 | size 43613 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-67-35.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:cbe703c4a52c8d717ffc5f49a10f221b9aba46ec53a82f06c20c1aabdc8de8aa 3 | size 131663 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-68-36.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:81f4561d6f7da14a58df8ea7ec81af66c1d24a3c4b26d602af5a221f15664b82 3 | size 40822 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-68-37.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:b2192eaa49a0b9c9aeac180598a6137b723e06a9a87c890ae6af33d9c4cf0022 3 | size 18702 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-68-38.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:8a3e7f97120b89ecf399e433a67dc2928706c89b05e0c1450381fbf81d4e5f96 3 | size 30398 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-69-39.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:73c69d7edf6614b28f5335a9156f63d4e4420edf536874039cf788426d33cbe0 3 | size 61561 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-69-40.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:f4a257651a15d3d7aa1dee120dbb3461210f49b0e2b5ea40b1b404223c5ec06f 3 | size 35857 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-70-41.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:dfab13b9565d292b821f35cd62a7dd0df1fcdae681c48d6aafaa265931f64338 3 | size 74040 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-70-42.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:f676741f3c619861a8c7b37c6448c66ea9e3adcd61c0cd2125cc004ec2faae70 3 | size 38337 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-70-43.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:d36bda4731a9927506fde1f5e1cff3d09bef4b5353b0b71e264705d2d64ee61f 3 | size 35349 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-71-44.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:4014e10cbec3bf345cd3a62198e07b35dc88bcac9a2808779ab13128f5d23c23 3 | size 20683 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-72-45.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:642be8df0f925dc484d8b3356720635230afaedaba7d07ae46170de27014d2c7 3 | size 94505 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-73-46.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:89c40584884d7b3b72f0104279d2e06d5ba5198356daba85ed5ad8d2dc8c2409 3 | size 28198 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-73-47.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:05caa76fd824ff956d5749dacfa635bbfc01758c47ac95477a1f9d1cffede277 3 | size 38362 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-75-48.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:4bc9e7b6f97fb9f05a670e73b2b69cb1785a7cc7beee008de3ff5cce43a46be6 3 | size 62731 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-75-49.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:a30d066ca7d6a67b3bed4f8a140db099d3f716d865293c96ad8daf0e0e0ba277 3 | size 28709 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-75-50.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:1a4f14977f23284199170a7b3d3188bcd42110e1aa402b2df616985d76baf949 3 | size 107963 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-76-51.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:3a27d0ad965c5564a283428340135a28393ee68cf986c1757aee566117982548 3 | size 118556 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-77-52.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:735be3e47f6430963cc3098cbfe5bc6525def440b549ac49fe461f9570dbe0ac 3 | size 54658 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-78-53.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:96348a72c7c14c5937cf43235554ae8efd98a3b6b0409e4ab851d8435c68ee07 3 | size 70330 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-79-54.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:884ec5ee6effbb173e98921b1a23205a8f7b9d6808211e9f483fb1c363e95282 3 | size 70884 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-79-55.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:76a050023989f88960ba98441333decd3c91a18450597daaaae4cfb27d52a407 3 | size 46317 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-79-56.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:1daca4ca5ffd3bddfb5a50ed4e1b822ed7f9369e18b3a4c9cdf391e80c6c6249 3 | size 47247 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-80-57.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:c1d69beefaf1c0117413fa53b7b9b15feb4efc12486d46f40776ac9975d2757f 3 | size 31572 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-81-58.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:9de4eee046ea5afca8d9cb5585c19e919e10b3e3e7ea2d5a53dc94b3b22057f5 3 | size 90702 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-82-59.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:072d31d5dd81bb5f15a7e49b582da4f2a6b841869d6666da7781e09390a4b420 3 | size 354183 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-83-60.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:54a96220a68e08e4a61d6b8b15d85092c61bb95499ed963c7db3445508fd1e0d 3 | size 102751 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-85-61.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:ceb71467ed58ab3ba9605d1445242ede96ba5f555d41cc35840bdf5323564116 3 | size 172564 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/parsed_pdf_info/table-95-62.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:49c6b8d938863a47dad6c9fcb8d62465ab99644d6432f5a49221c459064e3894 3 | size 433728 4 | -------------------------------------------------------------------------------- /notebook/agentchat_pdf_rag/processed_elements.json: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:bc4c0ff84e7320e2ad36b0b7492befb86c171bf2067df6dc9a061809c8bacc71 3 | size 671130 4 | -------------------------------------------------------------------------------- /notebook/agentchat_realtime_webrtc/static/main.js: -------------------------------------------------------------------------------- 1 | const main = async () => { 2 | const eConnecting = document.getElementById("connecting") 3 | const eConnected = document.getElementById("connected") 4 | const eDisconnected = document.getElementById("disconnected") 5 | 6 | eConnecting.style.display = "block" 7 | eConnected.style.display = "none" 8 | eDisconnected.style.display = "none" 9 | const webRTC = new ag2client.WebRTC(socketUrl) 10 | webRTC.onDisconnect = () => { 11 | eDisconnected.style.display = "block" 12 | eConnected.style.display = "none" 13 | eConnecting.style.display = "none" 14 | } 15 | await webRTC.connect(); 16 | eConnecting.style.display = "none" 17 | eConnected.style.display = "block" 18 | } 19 | 20 | main() 21 | -------------------------------------------------------------------------------- /notebook/agentchat_realtime_websocket/static/main.js: -------------------------------------------------------------------------------- 1 | // Create an instance of AudioPlayer with the WebSocket URL 2 | console.log(ag2client); 3 | const audio = new ag2client.WebsocketAudio(socketUrl); 4 | // Start receiving and playing audio 5 | audio.start(); 6 | -------------------------------------------------------------------------------- /notebook/agentchat_realtime_websocket/templates/chat.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 |Ensure microphone and speaker access is enabled.
18 | 19 | 20 | -------------------------------------------------------------------------------- /notebook/cell-43-1-image.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:b750f7fe5ed4ecfa90826e5e032850de1e7f8485105421c5fe6b799052b5338f 3 | size 281911 4 | -------------------------------------------------------------------------------- /notebook/cell-46-1-image.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:6fc869a300ec132f19102c6fb8307e7ff5ad37df3956d67d655b2f9757e5509e 3 | size 50238 4 | -------------------------------------------------------------------------------- /notebook/cell-48-1-image.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:7ec0b305f9fe60a917a70b774913b95621f8a2e65ff4e05f2d5b5e3d1706db6b 3 | size 99445 4 | -------------------------------------------------------------------------------- /notebook/cell-50-1-image.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:2f1378fb4fdaa1da2fa4ef8c5bc46f2e39f20e9b8949f55f8029735898d55b8a 3 | size 214964 4 | -------------------------------------------------------------------------------- /notebook/cell-52-1-image.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:9610a5c897cd5d43be2a37399797bf50947a323a986744201932f9456d541ddd 3 | size 217925 4 | -------------------------------------------------------------------------------- /notebook/commsplatforms_discord_sentmsg.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:d042ea933b069ec96d6692ea6d0695116758e8c0f92d2d381d8a761d551a0945 3 | size 146243 4 | -------------------------------------------------------------------------------- /notebook/commsplatforms_slack_sentmsg.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:00f8e2ef146a8a0c15d3de57c923586fa30bd816cd9744c03e21726640e5ec71 3 | size 95236 4 | -------------------------------------------------------------------------------- /notebook/commsplatforms_telegram_sentmsg.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:57079c22effc07b68a84064b78cfbafad7b3a32d7c9198b8456a2767cc44f3b3 3 | size 39912 4 | -------------------------------------------------------------------------------- /notebook/docagent/AMDQ4-2024.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ag2ai/ag2/ae86e0347325c0c30b1651847b2043f6b0d26937/notebook/docagent/AMDQ4-2024.pdf -------------------------------------------------------------------------------- /notebook/docagent/NVIDIAQ3-2025.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ag2ai/ag2/ae86e0347325c0c30b1651847b2043f6b0d26937/notebook/docagent/NVIDIAQ3-2025.pdf -------------------------------------------------------------------------------- /notebook/docagent_swarm.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:66df3bab16acbccad288c38ab4964ca85fc0ba772377dc122d61135780f740c1 3 | size 329887 4 | -------------------------------------------------------------------------------- /notebook/friendly_and_suspicous.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:edd46221675c0120d47d09e4791e677ad0b7f9f68e5d1235e91bed89ca933d49 3 | size 162342 4 | -------------------------------------------------------------------------------- /notebook/mcp/math/math_server.py: -------------------------------------------------------------------------------- 1 | # math_server.py 2 | import argparse 3 | 4 | from mcp.server.fastmcp import FastMCP 5 | 6 | mcp = FastMCP("Math") 7 | 8 | 9 | @mcp.tool() 10 | def add(a: int, b: int) -> int: 11 | """Add two numbers""" 12 | return a + b 13 | 14 | 15 | @mcp.tool() 16 | def multiply(a: int, b: int) -> int: 17 | """Multiply two numbers""" 18 | return a * b 19 | 20 | 21 | if __name__ == "__main__": 22 | parser = argparse.ArgumentParser(description="Math Server") 23 | parser.add_argument("transport", choices=["stdio", "sse"], help="Transport mode (stdio or sse)") 24 | args = parser.parse_args() 25 | 26 | mcp.run(transport=args.transport) 27 | -------------------------------------------------------------------------------- /notebook/neo4j_property_graph_1.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:d068a2b561d35b5d65d207a7865ad9068fce4d19398df96f62a0d23662f237c4 3 | size 185770 4 | -------------------------------------------------------------------------------- /notebook/neo4j_property_graph_2.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:d1f4ece3fb82f1ed074e7b2cf9b93028bc0c1c255e76895015c27c20e63726eb 3 | size 153756 4 | -------------------------------------------------------------------------------- /notebook/neo4j_property_graph_3.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:209f9cb9d34e08f282c7449f007dc1065cb6c2dffc4e322783829b0986b6ce7c 3 | size 78515 4 | -------------------------------------------------------------------------------- /notebook/nested-chats-chess.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:49bcd0dbbc9e243d106772e10419432ed65d5f6bd9884b4abdd1287e315ddda5 3 | size 219303 4 | -------------------------------------------------------------------------------- /notebook/nested_chat_1.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:5eae7c53226fdfb1adec97b3144b0701bd90d61679242e3f0daeac16fcf1f47e 3 | size 102394 4 | -------------------------------------------------------------------------------- /notebook/nested_chat_2.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:5439695b6361ee2536e33a546b7a6bf55ba6c842e9b22e5f950b4c9cb741f824 3 | size 129880 4 | -------------------------------------------------------------------------------- /notebook/optiGuide_new_design.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:dfaca6105d5a6a07aff062db88efffb6678b71f5681da41b7ef0af58cc9da291 3 | size 271961 4 | -------------------------------------------------------------------------------- /notebook/stateflow-swarm-example.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:4626672dab1ff0a26d4742136968c44868245e7d4a8cb02ac26448d60c0d3528 3 | size 174782 4 | -------------------------------------------------------------------------------- /notebook/swarm_enhanced_01.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:42da3597edc45639b3bb1e49eef4c1c0c1734769513e6f0e0672ccf2076227aa 3 | size 413112 4 | -------------------------------------------------------------------------------- /notebook/swarm_enhanced_02.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:dbe5b53aca883d4807d6768d6e8101bc720b00f6549b5765f4d0a20cdffbe59a 3 | size 363568 4 | -------------------------------------------------------------------------------- /notebook/swarm_enhanced_03.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:4a2d5e2568aacad23c4e0a720220c06d5396894a41cb1ff543566ce424d4d3aa 3 | size 357923 4 | -------------------------------------------------------------------------------- /notebook/swarm_enhanced_04.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:356c2cbfb3f030d335e698d970effe23408c1e5d88a03a61cdc51129463c492f 3 | size 377896 4 | -------------------------------------------------------------------------------- /notebook/swarm_enhanced_05.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:42cdd3ce308a95fc6e9627424eba3d8b21bf5810f34f902d07079861fd3dc500 3 | size 428372 4 | -------------------------------------------------------------------------------- /notebook/tree_of_thoughts.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:e6049d94ab2659ee43a0e50b2086c5e43a4bab419834a8c80acb1bbb5c780a65 3 | size 300686 4 | -------------------------------------------------------------------------------- /notebook/viz_gc.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:ad608e649cd1624c66d26e9038cd833271a55cf342b8ffaa5fd15dcf4fffd1fb 3 | size 223332 4 | -------------------------------------------------------------------------------- /scripts/devcontainer/generate-devcontainers.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | python3 scripts/devcontainer/generate-devcontainers.py 4 | -------------------------------------------------------------------------------- /scripts/docs_build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 3 | # 4 | # SPDX-License-Identifier: Apache-2.0 5 | 6 | set -e 7 | set -x 8 | 9 | docs_generate() { 10 | local force=$1 # Get force flag as argument 11 | cd website && \ 12 | # Only add --force if argument is exactly "--force" 13 | if [ "$force" = "--force" ]; then 14 | python ./generate_api_references.py --force 15 | else 16 | python ./generate_api_references.py 17 | fi && \ 18 | python ./process_notebooks.py render 19 | } 20 | 21 | docs_build() { 22 | local force=${1:-""} # Default to empty string if no argument 23 | docs_generate "$force" 24 | } 25 | 26 | if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then 27 | docs_build "$1" 28 | fi 29 | -------------------------------------------------------------------------------- /scripts/docs_build_mkdocs.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | set -x 5 | 6 | if [ "$1" == "--force" ]; then 7 | cd website/mkdocs; python docs.py build --force 8 | else 9 | cd website/mkdocs; python docs.py build 10 | fi 11 | -------------------------------------------------------------------------------- /scripts/docs_serve.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 3 | # 4 | # SPDX-License-Identifier: Apache-2.0 5 | 6 | 7 | set -e 8 | set -x 9 | 10 | # Store the force flag argument (default to empty string if not provided) 11 | FORCE=${1:-""} 12 | 13 | # Source the docs_build.sh script from the same directory 14 | source "$(dirname "$0")/docs_build.sh" 15 | 16 | # Run the docs_build function from docs_build.sh with the force flag 17 | docs_build "$FORCE" 18 | 19 | cd build 20 | # Check if node_modules doesn't exist 21 | if [ ! -d "node_modules" ]; then 22 | echo "Running npm install..." 23 | npm install 24 | else 25 | echo "node_modules already exists, skipping npm install..." 26 | fi 27 | 28 | # Add the command to serve the documentation 29 | echo "Serving documentation..." 30 | npm run mintlify:dev 31 | -------------------------------------------------------------------------------- /scripts/docs_serve_mkdocs.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | set -x 5 | 6 | cd website/mkdocs; python docs.py live "$@" 7 | -------------------------------------------------------------------------------- /scripts/lint.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | echo "Running ruff linter (isort, flake, pyupgrade, etc. replacement)..." 4 | ruff check 5 | 6 | echo "Running ruff formatter (black replacement)..." 7 | ruff format 8 | -------------------------------------------------------------------------------- /scripts/pre-commit-build-setup-files.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # taken from: https://jaredkhan.com/blog/mypy-pre-commit 4 | 5 | # A script for running mypy, 6 | # with all its dependencies installed. 7 | 8 | set -o errexit 9 | 10 | # Change directory to the project root directory. 11 | cd "$(dirname "$0")"/.. 12 | 13 | ./scripts/build-setup-files.py 14 | ruff check -s setup_*.py 15 | -------------------------------------------------------------------------------- /scripts/pre-commit-mypy-run.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # taken from: https://jaredkhan.com/blog/mypy-pre-commit 4 | 5 | # A script for running mypy, 6 | # with all its dependencies installed. 7 | 8 | set -o errexit 9 | 10 | # Change directory to the project root directory. 11 | cd "$(dirname "$0")"/.. 12 | 13 | pip uninstall ag2 --yes --quiet 14 | 15 | pip install -q -e .[types] 16 | 17 | mypy 18 | -------------------------------------------------------------------------------- /scripts/show-coverage-report.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 4 | # 5 | # SPDX-License-Identifier: Apache-2.0 6 | 7 | coverage report -m --include="autogen/*" --omit="autogen/extensions/tmp_code_*.py" 8 | -------------------------------------------------------------------------------- /scripts/test-core-skip-llm.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 4 | # 5 | # SPDX-License-Identifier: Apache-2.0 6 | 7 | bash scripts/test-skip-llm.sh --ignore=test/agentchat/contrib "$@" 8 | -------------------------------------------------------------------------------- /scripts/test-docs.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 4 | # 5 | # SPDX-License-Identifier: Apache-2.0 6 | 7 | bash scripts/test-skip-llm.sh -m "docs" 8 | -------------------------------------------------------------------------------- /scripts/test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 4 | # 5 | # SPDX-License-Identifier: Apache-2.0 6 | 7 | pytest --ff -vv --durations=10 --durations-min=1.0 "$@" 8 | -------------------------------------------------------------------------------- /templates/config_template/config.jinja2: -------------------------------------------------------------------------------- 1 | { 2 | "server": { 3 | "url": "{{ server_url }}" 4 | }, 5 | "authentication": {{ authentications | tojson(indent=2) }}, 6 | "operations": {{ operations | tojson(indent=2) }} 7 | } 8 | -------------------------------------------------------------------------------- /test/.gitattributes: -------------------------------------------------------------------------------- 1 | *.png filter=lfs diff=lfs merge=lfs -text 2 | -------------------------------------------------------------------------------- /test/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/agentchat/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/agentchat/contrib/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/agentchat/contrib/agent_eval/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/agentchat/contrib/capabilities/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/agentchat/contrib/graph_rag/BUZZ_Employee_Handbook.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ag2ai/ag2/ae86e0347325c0c30b1651847b2043f6b0d26937/test/agentchat/contrib/graph_rag/BUZZ_Employee_Handbook.docx -------------------------------------------------------------------------------- /test/agentchat/contrib/graph_rag/BUZZ_Employee_Handbook.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ag2ai/ag2/ae86e0347325c0c30b1651847b2043f6b0d26937/test/agentchat/contrib/graph_rag/BUZZ_Employee_Handbook.pdf -------------------------------------------------------------------------------- /test/agentchat/contrib/graph_rag/BUZZ_Equal-Employment-Opportunity-Policy-Detailed.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ag2ai/ag2/ae86e0347325c0c30b1651847b2043f6b0d26937/test/agentchat/contrib/graph_rag/BUZZ_Equal-Employment-Opportunity-Policy-Detailed.docx -------------------------------------------------------------------------------- /test/agentchat/contrib/graph_rag/Toast_financial_report.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ag2ai/ag2/ae86e0347325c0c30b1651847b2043f6b0d26937/test/agentchat/contrib/graph_rag/Toast_financial_report.pdf -------------------------------------------------------------------------------- /test/agentchat/contrib/graph_rag/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/agentchat/contrib/rag/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/agentchat/contrib/retrievechat/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/agentchat/contrib/vectordb/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/agentchat/extensions/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/agentchat/realtime_agent/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/agentchat/realtime_agent/clients/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | # Portions derived from https://github.com/microsoft/autogen are under the MIT License. 6 | # SPDX-License-Identifier: MIT 7 | -------------------------------------------------------------------------------- /test/agents/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/agents/contrib/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/agents/contrib/time/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/agents/experimental/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/agents/experimental/deep_research/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/agents/experimental/document_agent/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/agents/experimental/messageplatform/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/agents/experimental/messageplatform/discord/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/agents/experimental/messageplatform/slack/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/agents/experimental/messageplatform/telegram/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/agents/experimental/reasoning/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/agents/experimental/websurfer/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/agents/experimental/wikipedia/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/cache/__init__.py: -------------------------------------------------------------------------------- 1 | #! /bin/env bash 2 | 3 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 4 | # 5 | # SPDX-License-Identifier: Apache-2.0 6 | -------------------------------------------------------------------------------- /test/coding/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | # Portions derived from https://github.com/microsoft/autogen are under the MIT License. 6 | # SPDX-License-Identifier: MIT 7 | -------------------------------------------------------------------------------- /test/coding/test_factory.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | # Portions derived from https://github.com/microsoft/autogen are under the MIT License. 6 | # SPDX-License-Identifier: MIT 7 | import pytest 8 | 9 | from autogen.coding.factory import CodeExecutorFactory 10 | 11 | 12 | def test_create_unknown() -> None: 13 | config = {"executor": "unknown"} 14 | with pytest.raises(ValueError, match="Unknown code executor unknown"): 15 | CodeExecutorFactory.create(config) 16 | 17 | config = {} 18 | with pytest.raises(ValueError, match="Unknown code executor None"): 19 | CodeExecutorFactory.create(config) 20 | -------------------------------------------------------------------------------- /test/events/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/events/conftest.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from uuid import UUID, uuid4 6 | 7 | import pytest 8 | 9 | 10 | @pytest.fixture 11 | def uuid() -> UUID: 12 | return uuid4() 13 | -------------------------------------------------------------------------------- /test/fast_depends/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | # Portions derived from https://github.com/https://github.com/Lancetnik/FastDepends are under the MIT License. 6 | # SPDX-License-Identifier: MIT 7 | -------------------------------------------------------------------------------- /test/fast_depends/async/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | # Portions derived from https://github.com/https://github.com/Lancetnik/FastDepends are under the MIT License. 6 | # SPDX-License-Identifier: MIT 7 | -------------------------------------------------------------------------------- /test/fast_depends/async/test_class.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | # Portions derived from https://github.com/https://github.com/Lancetnik/FastDepends are under the MIT License. 6 | # SPDX-License-Identifier: MIT 7 | 8 | import pytest 9 | 10 | from autogen.fast_depends import Depends, inject 11 | 12 | 13 | def _get_var(): 14 | return 1 15 | 16 | 17 | class Class: 18 | @inject 19 | def __init__(self, a=Depends(_get_var)) -> None: 20 | self.a = a 21 | 22 | @inject 23 | async def calc(self, a=Depends(_get_var)) -> int: 24 | return a + self.a 25 | 26 | 27 | @pytest.mark.anyio 28 | async def test_class(): 29 | assert await Class().calc() == 2 30 | -------------------------------------------------------------------------------- /test/fast_depends/conftest.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | # Portions derived from https://github.com/https://github.com/Lancetnik/FastDepends are under the MIT License. 6 | # SPDX-License-Identifier: MIT 7 | 8 | import pytest 9 | 10 | 11 | @pytest.fixture 12 | def anyio_backend(): 13 | return "asyncio" 14 | -------------------------------------------------------------------------------- /test/fast_depends/library/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | # Portions derived from https://github.com/https://github.com/Lancetnik/FastDepends are under the MIT License. 6 | # SPDX-License-Identifier: MIT 7 | -------------------------------------------------------------------------------- /test/fast_depends/marks.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | # Portions derived from https://github.com/https://github.com/Lancetnik/FastDepends are under the MIT License. 6 | # SPDX-License-Identifier: MIT 7 | 8 | import pytest 9 | 10 | from autogen.fast_depends._compat import PYDANTIC_V2 11 | 12 | pydanticV1 = pytest.mark.skipif(PYDANTIC_V2, reason="requires PydanticV2") # noqa: N816 13 | 14 | pydanticV2 = pytest.mark.skipif(not PYDANTIC_V2, reason="requires PydanticV1") # noqa: N816 15 | -------------------------------------------------------------------------------- /test/fast_depends/sync/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | # Portions derived from https://github.com/https://github.com/Lancetnik/FastDepends are under the MIT License. 6 | # SPDX-License-Identifier: MIT 7 | -------------------------------------------------------------------------------- /test/fast_depends/sync/test_class.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | # Portions derived from https://github.com/https://github.com/Lancetnik/FastDepends are under the MIT License. 6 | # SPDX-License-Identifier: MIT 7 | 8 | from autogen.fast_depends import Depends, inject 9 | 10 | 11 | def _get_var(): 12 | return 1 13 | 14 | 15 | class Class: 16 | @inject 17 | def __init__(self, a=Depends(_get_var)) -> None: 18 | self.a = a 19 | 20 | @inject 21 | def calc(self, a=Depends(_get_var)) -> int: 22 | return a + self.a 23 | 24 | 25 | def test_class(): 26 | assert Class().calc() == 2 27 | -------------------------------------------------------------------------------- /test/fast_depends/test_locals.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | # Portions derived from https://github.com/https://github.com/Lancetnik/FastDepends are under the MIT License. 6 | # SPDX-License-Identifier: MIT 7 | 8 | from pydantic import BaseModel 9 | 10 | from autogen.fast_depends import inject 11 | 12 | 13 | def wrap(func): 14 | return inject(func) 15 | 16 | 17 | def test_locals(): 18 | class M(BaseModel): 19 | a: str 20 | 21 | @wrap 22 | def m(a: M) -> M: 23 | return a 24 | 25 | m(a={"a": "Hi!"}) 26 | -------------------------------------------------------------------------------- /test/fast_depends/wrapper.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | # Portions derived from https://github.com/https://github.com/Lancetnik/FastDepends are under the MIT License. 6 | # SPDX-License-Identifier: MIT 7 | 8 | from __future__ import annotations 9 | 10 | from functools import wraps 11 | 12 | 13 | def noop_wrap(func): 14 | @wraps(func) 15 | def wrapper(*args, **kwargs): 16 | return func(*args, **kwargs) 17 | 18 | return wrapper 19 | -------------------------------------------------------------------------------- /test/interop/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/interop/crewai/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | -------------------------------------------------------------------------------- /test/interop/langchain/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/interop/litellm/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/interop/pydantic_ai/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/interop/test_interoperable.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from autogen.interop import Interoperable 6 | 7 | 8 | def test_interoperable() -> None: 9 | assert Interoperable is not None 10 | -------------------------------------------------------------------------------- /test/io/__init__.py: -------------------------------------------------------------------------------- 1 | #! /bin/env bash 2 | 3 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 4 | # 5 | # SPDX-License-Identifier: Apache-2.0 6 | -------------------------------------------------------------------------------- /test/mcp/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | -------------------------------------------------------------------------------- /test/mcp/math_server.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from mcp.server.fastmcp import FastMCP 6 | 7 | mcp = FastMCP("Math") 8 | 9 | 10 | @mcp.tool() # type: ignore[misc] 11 | def add(a: int, b: int) -> int: 12 | """Add two numbers""" 13 | return a + b 14 | 15 | 16 | @mcp.tool() # type: ignore[misc] 17 | def multiply(a: int, b: int) -> int: 18 | """Multiply two numbers""" 19 | return a * b 20 | 21 | 22 | @mcp.resource("echo://{message}") 23 | def echo_resource(message: str) -> str: 24 | """Echo a message as a resource""" 25 | return f"Resource echo: {message}" 26 | 27 | 28 | if __name__ == "__main__": 29 | mcp.run(transport="stdio") 30 | -------------------------------------------------------------------------------- /test/messages/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/messages/conftest.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | from uuid import UUID, uuid4 6 | 7 | import pytest 8 | 9 | 10 | @pytest.fixture 11 | def uuid() -> UUID: 12 | return uuid4() 13 | -------------------------------------------------------------------------------- /test/messages/test_print_message.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | 6 | from autogen.events.print_event import PrintEvent 7 | from autogen.messages.print_message import PrintMessage 8 | 9 | 10 | class TestPrintMessage: 11 | def test_deprecation(self) -> None: 12 | print_message = PrintMessage("Hello, World!", "How are you", sep=" ", end="\n", flush=False) 13 | assert isinstance(print_message, PrintEvent) 14 | -------------------------------------------------------------------------------- /test/oai/__init__.py: -------------------------------------------------------------------------------- 1 | #! /bin/env bash 2 | 3 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 4 | # 5 | # SPDX-License-Identifier: Apache-2.0 6 | -------------------------------------------------------------------------------- /test/test_files/agenteval-in-out/samples/sample_math_evaluated_results.json: -------------------------------------------------------------------------------- 1 | { 2 | "sample_algebra.json": { 3 | "actual_success": "true", 4 | "estimated_performance": { 5 | "Problem Interpretation": "completely accurate", 6 | "Mathematical Methodology": "completely effective", 7 | "Calculation Correctness": "completely correct", 8 | "Explanation Clarity": "very clear", 9 | "Code Efficiency": "very efficient", 10 | "Code Correctness": "completely correct" 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /test/test_files/example.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ag2ai/ag2/ae86e0347325c0c30b1651847b2043f6b0d26937/test/test_files/example.docx -------------------------------------------------------------------------------- /test/test_files/example.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ag2ai/ag2/ae86e0347325c0c30b1651847b2043f6b0d26937/test/test_files/example.pdf -------------------------------------------------------------------------------- /test/test_files/example.txt: -------------------------------------------------------------------------------- 1 | AutoGen is an advanced tool designed to assist developers in harnessing the capabilities 2 | of Large Language Models (LLMs) for various applications. The primary purpose of AutoGen is to automate and 3 | simplify the process of building applications that leverage the power of LLMs, allowing for seamless 4 | integration, testing, and deployment. 5 | -------------------------------------------------------------------------------- /test/test_files/radius.txt: -------------------------------------------------------------------------------- 1 | 7.81mm 2 | -------------------------------------------------------------------------------- /test/test_files/test_image.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:3a942e13fddf9531678d6771a2d4993f6e18f5dcbbd498586444180122838de9 3 | size 289 4 | -------------------------------------------------------------------------------- /test/tools/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/tools/contrib/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/tools/contrib/time/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/tools/experimental/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/tools/experimental/browser_use/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/tools/experimental/crawl4ai/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/tools/experimental/deep_research/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/tools/experimental/duckduckgo/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/tools/experimental/google/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/tools/experimental/google/authentication/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/tools/experimental/google/drive/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/tools/experimental/google_search/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/tools/experimental/messageplatform/discord_test/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/tools/experimental/messageplatform/slack/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/tools/experimental/messageplatform/telegram/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/tools/experimental/perplexity/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/tools/experimental/reliable/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/tools/experimental/tavily/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/tools/experimental/web_search_preview/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/tools/experimental/wikipedia/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | -------------------------------------------------------------------------------- /test/website/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | __all__: list[str] = [] 6 | -------------------------------------------------------------------------------- /website/.gitignore: -------------------------------------------------------------------------------- 1 | # Dependencies 2 | /node_modules 3 | 4 | # Production 5 | /build 6 | 7 | # Generated files 8 | .docusaurus 9 | .cache-loader 10 | /reference 11 | /notebooks 12 | /blog 13 | mint.json 14 | /snippets/data/NotebooksMetadata.mdx 15 | 16 | docs/tutorial/*.mdx 17 | docs/tutorial/**/*.png 18 | !docs/tutorial/assets/*.png 19 | user-guide/llm_configuration.mdx 20 | user-guide/task_decomposition.mdx 21 | user-guide/prompting-and-reasoning/*.mdx 22 | user-guide/non-openai-models/*.mdx 23 | user-guide/non-openai-models/**/*.py 24 | user-guide/non-openai-models/**/*.svg 25 | cell-*-output-*.png 26 | 27 | # Misc 28 | .DS_Store 29 | .env.local 30 | .env.development.local 31 | .env.test.local 32 | .env.production.local 33 | 34 | npm-debug.log* 35 | yarn-debug.log* 36 | yarn-error.log* 37 | 38 | /.quarto/ 39 | -------------------------------------------------------------------------------- /website/docs/.gitignore: -------------------------------------------------------------------------------- 1 | topics 2 | api-reference 3 | blog 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2023-04-21-LLM-tuning-math/img/level2algebra.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:00104deeab1ee2fdbda87221c019a17e7e8e8d00eef7e719ba26e890b8b4d979 3 | size 40332 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2023-04-21-LLM-tuning-math/img/level3algebra.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:a9ae6c1c4e20494c5aa4882a621f889891b1eed1ea1149b7a5cf2bc4fd99e048 3 | size 41130 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2023-04-21-LLM-tuning-math/img/level4algebra.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:6103474a16b1f715a1226771fcf510b3a7a95a6396eb51df7d91c4a3a03642f4 3 | size 36724 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2023-04-21-LLM-tuning-math/img/level5algebra.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:1c9d938c95b031b9a88e559292850e810cd03475cee9a3046a631eb961740019 3 | size 35338 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2023-05-18-GPT-adaptive-humaneval/img/design.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:8eb30bfdfbc07d9fd2c6945e28e3f71063636c65654e37b323771bbf3ba6d3e9 3 | size 21265 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2023-05-18-GPT-adaptive-humaneval/img/humaneval.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:98543c9fbf1f5d713c34b7611bbc76522610615d9f93c9e89a2a2e0876bc71fd 3 | size 47656 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2023-06-28-MathChat/img/mathchatflow.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:4153948ade0c47a3a21ef327d28e23d2ce48da00ea1d2f67c2ae1d4e08d8656e 3 | size 95406 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2023-06-28-MathChat/img/result.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:733c841fda116d3d9ba709acb4906a96c48d311d5461d972a62f852c37362c61 3 | size 96509 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2023-10-18-RetrieveChat/img/autogen-rag.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ag2ai/ag2/ae86e0347325c0c30b1651847b2043f6b0d26937/website/docs/_blogs/2023-10-18-RetrieveChat/img/autogen-rag.gif -------------------------------------------------------------------------------- /website/docs/_blogs/2023-10-18-RetrieveChat/img/retrievechat-arch.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:a66cc322b34ab0d5c90b76e7accd0b7cf632e0d03e93851d2ad1f8b00c05829b 3 | size 253150 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2023-10-26-TeachableAgent/img/teachable-arch.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:3f681e83c85432aebd43d351283e4e4900f494cbfff9dced71f79d0e88fd8b19 3 | size 145406 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2023-11-06-LMM-Agent/img/teaser.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:37d97cdc7477973e7ad3ca1b6549cfe446315f94f78cc2603e8750a4cf1cfd03 3 | size 2368573 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2023-11-09-EcoAssistant/img/chat.webp: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:251212929dce57094ed7e064e9fe15deb0f9dffb60394126f5bed0e869d99551 3 | size 149362 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2023-11-09-EcoAssistant/img/results.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:e316f7edbbd8aecf89d6a3863ec61a1b740198f7c6bc45f3c8255d27398c6d52 3 | size 28941 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2023-11-09-EcoAssistant/img/system.webp: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:14219e6e0719c7b4baa93493c1153c20272ea3692470ae9bf9d4016ca524ed48 3 | size 152610 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2023-11-09-EcoAssistant/img/template-demo.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:46e6a4b26aaa7d7a89f5f5920bfe76762ed2b3dcaf7a16db04cb310ca15339bd 3 | size 61483 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2023-11-09-EcoAssistant/img/template.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:2da5701547efc8956a13f18a566ab307ac20ebbbdd206249a907822e9e74982f 3 | size 335376 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2023-11-13-OAI-assistants/img/teaser.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:9ab1627cab5111f1b5c2c8aaf19a0356e718d0a9866ac40453202d26f3343cdb 3 | size 232610 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2023-11-20-AgentEval/img/agenteval-CQ.webp: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:8201d899067d54da628b108b5c83e83e44b3d1797e8617e8c2292b8910d570d4 3 | size 107976 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2023-11-20-AgentEval/img/math-problems-plot.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:12e283dd7a35af47f24cee18dc6d9054eacfe95761ea1c12d3da508dc29510ff 3 | size 92959 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2023-11-20-AgentEval/img/tasks-taxonomy.webp: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:6c139edfe83019e006b98da10486e7fec58c60e3d1d7b5daa382dd6db32bc344 3 | size 193190 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2023-11-26-Agent-AutoBuild/img/agent_autobuild.webp: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:4536b5ce40b20b7863d81bc27f28dd911d2e5f179c8b360f5268f17eaebb2289 3 | size 149672 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2023-12-01-AutoGenStudio/img/autogenstudio_config.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:fdcbc2d7bcf2ba85864c14c6acebb50ad9f2c53b3696da0c81d08b73f3784e32 3 | size 173826 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2023-12-01-AutoGenStudio/img/autogenstudio_home.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:37e3e535e7d69d6bb1f1af7a1b7596599f122db848684172ec3b209c8d6d45c1 3 | size 821003 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2023-12-01-AutoGenStudio/img/autogenstudio_skills.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:67fc01c2e73b81904395e39c846e3fb3db7b2a68b4a93181a38b6e1ceda83d4b 3 | size 153680 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2023-12-23-AgentOptimizer/img/agentoptimizer.webp: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:894d12f63c18c4d40ba14bf8cfc5cc5ef44d7e9f52da2f0224d6fcd07d99b671 3 | size 180954 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-01-25-AutoGenBench/img/teaser.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:d566d133445514ce2b93c8259194fed07d63819537aafe13910ce8b934abf47e 3 | size 240855 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-02-02-AutoAnny/img/AutoAnnyLogo.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:3dc81d3d959885200859f7b17bdc504523a1170187c9752c1ddfaaddc3b4e803 3 | size 119359 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-02-11-FSM-GroupChat/img/FSM_logic.webp: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:d707207bda8e5a17f0b26b1e53b3e27cb8e2636ff8dc61507e0896ad18cef296 3 | size 165522 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-02-11-FSM-GroupChat/img/FSM_of_multi-agents.webp: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:b04b3ebe454564a11d42d9c04d700843d7096724efb3b70b86b5ec811e7c3f5c 3 | size 157208 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-02-11-FSM-GroupChat/img/teaser.webp: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:b401a28d31984134f6b0aaa5fc7431fedf09cf0d765933b42526e26865fce984 3 | size 175614 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-02-29-StateFlow/img/alfworld.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:743143d4238013dc4dc535243a25f808eea59a10bcdfcfbd4a0c1360da320ace 3 | size 65144 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-02-29-StateFlow/img/bash_result.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:3864c93f89da3435269645dddebd7e20d124b92285349944b219d71a9b7ccf8a 3 | size 55631 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-02-29-StateFlow/img/intercode.webp: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:89b254fb852d1462858a2937367f64c5d9c22b524c280e13f9696e9182bd8b71 3 | size 183636 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-02-29-StateFlow/img/sf_example_1.webp: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:704dee499ce3ef458a9bb2891ce4b88081c1272ea41a4d22b99e30a1e58f4ad8 3 | size 109998 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-03-03-AutoGen-Update/img/contributors.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:da1a0a0f4a830acb8a9a29e54ccdc8be3841154f31c64cf8f53e0b23e5aaa6cb 3 | size 493276 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-03-03-AutoGen-Update/img/dalle_gpt4v.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:4516aaf4dd8e179fe8c9d47d782dfd4aa8ef256eafe4a857c07550d79b0b0e29 3 | size 3785874 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-03-03-AutoGen-Update/img/gaia.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:73416136382be5f2b4066185e7e91eae9e7bdccb5c899bdf74b0bf487d3ecb1a 3 | size 546588 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-03-03-AutoGen-Update/img/love.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:3d3517c19fc84f61a4b81d5cb823b1d5ec3f5fe84b21703b1f0689ff5d2f646c 3 | size 150529 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-03-03-AutoGen-Update/img/teach.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:7c2cb2b3bfd91346d8f7688504d463a1314252ca1ef26490cb5f355533494e3e 3 | size 921359 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-03-11-AutoDefense/img/architecture.webp: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:7202fac5f5b6680e69453093584a9b154cc6d2e4701fda1e4b22f6edad351518 3 | size 167764 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-03-11-AutoDefense/img/defense-agency-design.webp: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:6bee1a972678ff9a10f2fc87fe4ae798e05a5c7ac917fef2a098f9cbea87009c 3 | size 204700 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-03-11-AutoDefense/img/table-4agents.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:55492a3d4504ef448b9bcbf3d8980df461a11585d03ea7155f24dd7c2183cfda 3 | size 75521 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-03-11-AutoDefense/img/table-agents.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:68ee35135459a57d21d6eb310b6d4f3d46cbee1ce5a40bc1e44d40375c6486ef 3 | size 291050 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-03-11-AutoDefense/img/table-compared-methods.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:21f5534bb42f010908cef6b9b3d264ebd5ccf1cd29ab81f87b1d7100bc76aaa6 3 | size 110141 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-05-24-Agent/img/agents.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:7b4cf0cddf0cdb7977556c4d8528605700f8aa8692152a31bfbf994868415c45 3 | size 3163177 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-05-24-Agent/img/leadership.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:9d8a26ee028d828ccbf9a0266ca926df6ffe34c16c312a0c9d4a417885a1cdb9 3 | size 193529 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-06-21-AgentEval/img/agenteval_ov_v3.webp: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:43ea6d083a5db5dc78c9adb970444bda398170a299f4799ef7b5e07ccee62748 3 | size 172314 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-06-24-AltModels-Classes/img/agentstogether.jpeg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:964628601b60ddbab8940fea45014dcd841b89783bb0b7e9ac9d3690f1c41798 3 | size 659594 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-07-25-AgentOps/img/autogen-integration.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:7651ad95c2cd12c60010480191d635062791bcf5a8a0c38726ca9bee7672bba6 3 | size 274291 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-07-25-AgentOps/img/dashboard.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:8846c031576d43dc46035a0a34bef2d67d2615a6e23875f99941208b794e0582 3 | size 1722251 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-07-25-AgentOps/img/flow.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:2387ec64c3d99c31d185282f337e060edacb69a208fbedd17afb42c928890d26 3 | size 275224 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-07-25-AgentOps/img/session-replay.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:7878b5dd5f0d3b9f1761a3fbed00ae017d9efea27dbb247afdefa9fed03942ba 3 | size 806906 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-11-15-CaptainAgent/img/build.webp: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:633a5eeafaabf557e4f37164732f1a72b26105a44835234a7526f0acf50001b1 3 | size 459224 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-11-15-CaptainAgent/img/chat.webp: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:11f504ecbcb4fcb6d2c51e63c5864c2a9ea23d795640e90d39aaf16b6a7be407 3 | size 310506 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-11-15-CaptainAgent/img/overall.webp: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:738e07ebfd66a74a55a9ff46c0ac72d9673b6e9f7b5a9a42d5db63fb162b56b2 3 | size 448006 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-11-27-Prompt-Leakage-Probing/img/probing_flow.webp: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:d7b9ff910d72031b010f8cd956649d80e78e89d606b2d420bdc9a60f8ca5638e 3 | size 242880 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-11-27-Prompt-Leakage-Probing/img/prompt_leakage_report.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:b46781618c4d60e1c6c639ae6abc6e2eefda2ec3f696a0652c0fe4129d3e502a 3 | size 186066 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-11-27-Prompt-Leakage-Probing/img/prompt_leakage_social_img.webp: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:c9fa7fcf4578a29db33aad6a3594b5d88d43f2cc587253eeaa3c4b9018bf7b8b 3 | size 226196 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-11-27-Prompt-Leakage-Probing/img/prompt_test_chat.webp: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:4232bfb393c25a5f6c61bac68d9508f8e65501445ec98b0d011aae11aa24bcd4 3 | size 151402 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-12-02-ReasoningAgent2/img/reasoningagent_1.webp: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:5a035f35a789fe8c594af9833a7083f13e80819a4c8d224b25d60691d93aed04 3 | size 236512 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-12-02-ReasoningAgent2/img/reasoningagent_2.webp: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:ff1a589261c739f449de4177cf0cb946001ee1b421e9952e447ca678ee1d513c 3 | size 242336 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-12-02-ReasoningAgent2/img/tree-of-thoughts.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:3ee63017fb52dfbb8d5fb072a4b88e5ad3ca3f8b5bda159b0b1a1791b238f0e3 3 | size 105139 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-12-06-FalkorDB-Structured/img/falkordb.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:fd137bef550fa194e7557e7070156969ad6939ab7a4f1836815c1858c327a7a6 3 | size 570585 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-12-06-FalkorDB-Structured/img/tripplanner.webp: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:8c564d1e04cb75d56a40fe5d28e79f64f912766291590e738daf7cd9c31aba51 3 | size 341066 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-12-20-Reasoning-Update/img/mcts_example.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:cf664edc82f026900bbd5e886c511d55f4c0d8e6cd1f75d8ea7fc6a07f80046c 3 | size 366499 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2024-12-20-Reasoning-Update/img/reasoningagent_1.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:2dc11a99ec953ae83fc1f397988487972a84b3bb3202087423e564fb49dedd72 3 | size 348634 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2025-01-10-WebSockets/img/structured_messages_with_websockets.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:01f84d1ba8c3fc80872e50258ccea962c1c69f0788e5c0537725e9f8d20b7057 3 | size 224403 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2025-01-29-RealtimeAgent-with-gemini/img/RealtimeAgent_gemini.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:87f9852975ac396b4cd9d9b232d9e92f91cfed4cfe5247410e9fc19995d7504e 3 | size 161873 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2025-02-05-Communication-Agents/img/commsagents_discord_msg.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:2819a7641055fed886ee8dd3c2cf66240d162a4d846a5afe30d69ae7ead0942c 3 | size 93382 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2025-02-05-Communication-Agents/img/commsagents_slack_finalmsg.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:e38cd6750087c1d040f14af60b236b6849418dfe08ec64ff6c35688b5508a2a4 3 | size 67474 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2025-02-05-Communication-Agents/img/commsagents_slack_msg.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:aad29cac95312d727bbbd8179fdd61663e60a6a06eedd6dec1f3cff3f6f6fd50 3 | size 53708 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2025-02-05-Communication-Agents/img/commsagents_telegram_msg.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:d5756c937a814dfd41b2caf2ef8d2ca03b36d602a302494499e3cd485ad0f284 3 | size 74508 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2025-04-16-Reasoning/img/cognition.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:212cd37612b27293d2d83c2bde5ab6070ccc7ad46a783ca4cf3b9105be47fd23 3 | size 1498156 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2025-04-16-Reasoning/img/iter.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:fcc065c4ed76bae991592bb92aa711f457a0d00e07c127c0496b61af1680f295 3 | size 1370667 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2025-04-16-Reasoning/img/partner.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:c2018fdb16f9615a26a90322d30031cba70ceb1cdc0c905ea9ee37ebe55372f8 3 | size 1608837 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2025-04-16-Reasoning/img/threads.jpeg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:59a0a203e1b2df7d42417cc4828a4e2ae50fe3ebcf45910b2af1e8e607fdfb31 3 | size 1334129 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2025-05-07-AG2-Copilot-Integration/img/AG2-CopilotKit.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:ead6e736fa1b78f20d18252e8530a15cea583a6da167fea47fdd3aced29bfa25 3 | size 908372 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2025-05-07-AG2-Copilot-Integration/img/ag2-copilotkit-architecture.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:9fca14180d7452029f09d827c149ddaf6da07fb47585f8a74ee8847de8ddb818 3 | size 13302 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2025-05-07-AG2-Copilot-Integration/img/quick-start-1.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:59924b4d9c9caf2b4fb377a67f1e7b3b45dd154bf357896ecf75e5ab3dc88410 3 | size 147061 4 | -------------------------------------------------------------------------------- /website/docs/_blogs/2025-05-07-AG2-Copilot-Integration/img/quick-start-2.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:c359222cf6d1fe5fa625444566911daadc1c2c226e03f9477ba4e6c6bebe18b5 3 | size 228751 4 | -------------------------------------------------------------------------------- /website/docs/contributor-guide/how-ag2-works/assets/generate-reply.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:8a81570511e5c2ecdfbab6c44026353ca823a5bb4302ad0d80250611f364c117 3 | size 301752 4 | -------------------------------------------------------------------------------- /website/docs/contributor-guide/how-ag2-works/assets/initiate-chat.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:df3c7a8700aaa9562f645b158ba3a0f9f3ce88f32766aaa25cca12cdc64dd30d 3 | size 387465 4 | -------------------------------------------------------------------------------- /website/docs/contributor-guide/pre-commit.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Pre-commit 3 | --- 4 | 5 | Run `pre-commit install` to install pre-commit into your git hooks. Before you commit, run 6 | `pre-commit run` to check if you meet the pre-commit requirements. If you use Windows (without WSL) and can't commit after installing pre-commit, you can run `pre-commit uninstall` to uninstall the hook. In WSL or Linux this is supposed to work. 7 | -------------------------------------------------------------------------------- /website/docs/ecosystem/composio.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Composio 3 | sidebarTitle: Composio 4 | --- 5 | 6 |We could not find what you were looking for.
8 |Please contact the owner of the site that linked you to the original URL and let them know their link is broken.
9 | {% endblock %} 10 | -------------------------------------------------------------------------------- /website/mkdocs/overrides/images/blue-bg.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:3d84a16eaace9e521784087df77501d99668144fdebc1bb3f8380a4abc52e341 3 | size 229328 4 | -------------------------------------------------------------------------------- /website/mkdocs/overrides/images/bot-left-corner.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:6aecffc618d6f2788be8814af611ea62cd17bef7610d5218c504d890dd009d96 3 | size 188 4 | -------------------------------------------------------------------------------- /website/mkdocs/overrides/images/bot-right-corner.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:67a11f481bcd88558738bdc63f75af074c23133f31da304490254dfd5d3fa5a4 3 | size 183 4 | -------------------------------------------------------------------------------- /website/mkdocs/overrides/images/button-shine.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:02d4f23db7245d16d274845298fad07fe4b2ffab3710d112987d7ffe61b2fc9f 3 | size 3151 4 | -------------------------------------------------------------------------------- /website/mkdocs/overrides/images/city-horizon.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:76bab7f876975d85fcda74c28c33d2545dc994d9ed1bc3423dded79dc117b35f 3 | size 9640 4 | -------------------------------------------------------------------------------- /website/mkdocs/overrides/images/cloud.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:59de76338e9453620c90410eedcc2a3296e6415f3800086a3e9415c9c7d2eb10 3 | size 6906 4 | -------------------------------------------------------------------------------- /website/mkdocs/overrides/images/conversation.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:d5c82d7dda410c1d12a90185216d23ce5df812481594a8d40e118228fde9973e 3 | size 431 4 | -------------------------------------------------------------------------------- /website/mkdocs/overrides/images/green-bg.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:bdd3fb2102d1798d3364a2751eace7883169cef0237f920d259875685a925426 3 | size 248094 4 | -------------------------------------------------------------------------------- /website/mkdocs/overrides/images/human.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:ac277382f48738424d051260bd7995e6db6d46b1c2e628acf2133dcbb3b28b12 3 | size 922 4 | -------------------------------------------------------------------------------- /website/mkdocs/overrides/images/intuitive.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:9f505995681cd740421e9240fbe6cc28325480082825b9b99baead56eca89382 3 | size 677 4 | -------------------------------------------------------------------------------- /website/mkdocs/overrides/images/purple-bg.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:5a01ce8aa38ded2b8d6e5e8284cc84a02d124801580542a29fb8b0880fc224d4 3 | size 190015 4 | -------------------------------------------------------------------------------- /website/mkdocs/overrides/images/sun.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:a1a9bfa14cfc324f6afe9c233d0856a8b58da073b3477183c33c5743b3e683fd 3 | size 6492 4 | -------------------------------------------------------------------------------- /website/mkdocs/overrides/images/top-left-corner.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:2bc4eae4e306be13353dd68fbdd04a972869b863392cadb93a2b884217e13031 3 | size 186 4 | -------------------------------------------------------------------------------- /website/mkdocs/overrides/images/top-right-corner.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:c48e28aea4ba4e2592c35d5c03e6627a0b3092c3e9c7d4656b4a71ef4f463084 3 | size 182 4 | -------------------------------------------------------------------------------- /website/mkdocs/overrides/images/yellow-bg.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:84925101d4b95a4ed13e2e1d0b873b8c9227c3bbb3a7368f92cdb572cbc2c6c4 3 | size 300400 4 | -------------------------------------------------------------------------------- /website/package-lock.json: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:fad71d101b2b617898b639dc21678f9cfc6c3dd5df8db1ac16c9dea35bd2d894 3 | size 572354 4 | -------------------------------------------------------------------------------- /website/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "website", 3 | "version": "0.0.0", 4 | "description": "The Open Source Agent OS", 5 | "type": "module", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1", 8 | "mintlify:dev": "mintlify dev" 9 | }, 10 | "license": "Apache-2.0", 11 | "dependencies": { 12 | "mintlify": "^4.0.364" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /website/process_notebooks.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | # Portions derived from https://github.com/microsoft/autogen are under the MIT License. 6 | # SPDX-License-Identifier: MIT 7 | # !/usr/bin/env python 8 | 9 | from __future__ import annotations 10 | 11 | from autogen._website.process_notebooks import main 12 | 13 | if __name__ == "__main__": 14 | main() 15 | -------------------------------------------------------------------------------- /website/snippets/advanced-concepts/realtime-agent/img/1_service_running.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:078387f868d157f6e7bc91b44487cb95bc36a74392e47927c4b7b0fbf64ae494 3 | size 37760 4 | -------------------------------------------------------------------------------- /website/snippets/advanced-concepts/realtime-agent/img/2_incoming_call.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:cbf0ed3cb33625a4784164f505be1bd0bbc303b7d48e4470a89e46bd10c4ebb2 3 | size 93384 4 | -------------------------------------------------------------------------------- /website/snippets/advanced-concepts/realtime-agent/img/3_request_for_flight_cancellation.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:2a5bc811db8b7db89f70c4fd6dc49d1d18fa580f19f057dfd87e66fb932cdbb2 3 | size 31315 4 | -------------------------------------------------------------------------------- /website/snippets/advanced-concepts/realtime-agent/img/4_flight_number_name.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:f03a5224d63c54b6e9f2d095dc08851427d1196a0e4df8ab50ecbffceebf6681 3 | size 77047 4 | -------------------------------------------------------------------------------- /website/snippets/advanced-concepts/realtime-agent/img/5_refund_policy.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:463af4d2a03c831e83e2a8d92167b8d61131469d75d226a11f5ed7a1ff24bb3e 3 | size 73380 4 | -------------------------------------------------------------------------------- /website/snippets/advanced-concepts/realtime-agent/img/6_flight_refunded.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:937e498137d076d4b6350cf9db3726e51d97bf7db11fe96b9285ded799d60fa5 3 | size 141098 4 | -------------------------------------------------------------------------------- /website/snippets/advanced-concepts/realtime-agent/img/realtime_agent_swarm.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:2940cb19d60b03e70b7e12b3032b94f726cb6b7566f3654bd3b11d7897bd2d28 3 | size 714662 4 | -------------------------------------------------------------------------------- /website/snippets/advanced-concepts/realtime-agent/img/twilio_endpoint_config.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:d119c9c7729058bde8d12bc02fac71ea38ed0a60f416beb7a048b3a2d2428f66 3 | size 328323 4 | -------------------------------------------------------------------------------- /website/snippets/advanced-concepts/realtime-agent/img/twilio_phone_numbers.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:f261d77f1e4503d3b0bca2f643664759fd20e93d169e50ecd0abbc8a03a0c935 3 | size 218414 4 | -------------------------------------------------------------------------------- /website/snippets/advanced-concepts/realtime-agent/img/webrtc_chat.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:4e1c215077062cb60f142e0fad135bbe03eb0b3210b0525c5420db0c223c63d6 3 | size 120446 4 | -------------------------------------------------------------------------------- /website/snippets/advanced-concepts/realtime-agent/img/webrtc_communication_diagram.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:8692f66986a467ea15fccdd314f3fe5e5a8de1d89efa343e4c67253adaf05f81 3 | size 160477 4 | -------------------------------------------------------------------------------- /website/snippets/advanced-concepts/realtime-agent/img/webrtc_connection_diagram.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:be16c1e7701e6249ab031c406dc19046f03b15a2156ee33af5cb513c19eda826 3 | size 164538 4 | -------------------------------------------------------------------------------- /website/snippets/advanced-concepts/realtime-agent/img/websocket_chat.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:1e1645a999ee07cc5709115fdf19ba535783e892052171c0128cd3e4d85f6876 3 | size 139029 4 | -------------------------------------------------------------------------------- /website/snippets/advanced-concepts/realtime-agent/img/websocket_communication_diagram.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:1fc93941357add8d4c6db1b4675f9a04dda6bd43394b8b591e073b33d97297e6 3 | size 152437 4 | -------------------------------------------------------------------------------- /website/snippets/components/ClientSideComponent.mdx: -------------------------------------------------------------------------------- 1 | export const ClientSideComponent = ({ Component, componentProps }) => { 2 | if (typeof document === "undefined") { 3 | return null; 4 | } 5 | 6 | return