ag2 0.9.1a1__tar.gz → 0.9.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of ag2 might be problematic. Click here for more details.
- ag2-0.9.2/.coveragerc +6 -0
- ag2-0.9.2/.devcontainer/Dockerfile +38 -0
- ag2-0.9.2/.devcontainer/README.md +28 -0
- ag2-0.9.2/.devcontainer/devcontainer.json +94 -0
- ag2-0.9.2/.devcontainer/python-3.10/devcontainer.json +94 -0
- ag2-0.9.2/.devcontainer/python-3.11/devcontainer.json +94 -0
- ag2-0.9.2/.devcontainer/python-3.12/devcontainer.json +94 -0
- ag2-0.9.2/.devcontainer/python-3.13/devcontainer.json +94 -0
- ag2-0.9.2/.devcontainer/setup.sh +8 -0
- ag2-0.9.2/.gitattributes +93 -0
- ag2-0.9.2/.github/ISSUE_TEMPLATE/bug_report.yml +53 -0
- ag2-0.9.2/.github/ISSUE_TEMPLATE/config.yml +1 -0
- ag2-0.9.2/.github/ISSUE_TEMPLATE/feature_request.yml +26 -0
- ag2-0.9.2/.github/ISSUE_TEMPLATE/general_issue.yml +41 -0
- ag2-0.9.2/.github/ISSUE_TEMPLATE.md +57 -0
- ag2-0.9.2/.github/PULL_REQUEST_TEMPLATE.md +17 -0
- ag2-0.9.2/.github/dependabot.yml +27 -0
- ag2-0.9.2/.github/workflows/build-docs.yml +68 -0
- ag2-0.9.2/.github/workflows/build-mkdocs.yml +70 -0
- ag2-0.9.2/.github/workflows/contrib-graph-rag-tests.yml +213 -0
- ag2-0.9.2/.github/workflows/contrib-llm-test.yml +219 -0
- ag2-0.9.2/.github/workflows/contrib-test.yml +872 -0
- ag2-0.9.2/.github/workflows/core-llm-test.yml +101 -0
- ag2-0.9.2/.github/workflows/core-test.yml +137 -0
- ag2-0.9.2/.github/workflows/deploy-website-mintlify.yml +32 -0
- ag2-0.9.2/.github/workflows/deploy-website.yml +23 -0
- ag2-0.9.2/.github/workflows/docs-check-broken-links.yml +31 -0
- ag2-0.9.2/.github/workflows/integration-test.yml +131 -0
- ag2-0.9.2/.github/workflows/lfs-check.yml +19 -0
- ag2-0.9.2/.github/workflows/mkdocs-check-broken-links.yml +25 -0
- ag2-0.9.2/.github/workflows/pr-checks.yml +166 -0
- ag2-0.9.2/.github/workflows/python-package.yml +67 -0
- ag2-0.9.2/.github/workflows/test-with-optional-deps.yml +202 -0
- ag2-0.9.2/.github/workflows/type-check.yml +86 -0
- ag2-0.9.2/.gitignore +203 -0
- ag2-0.9.2/.muffet-excluded-links.txt +33 -0
- ag2-0.9.2/.pre-commit-config.yaml +125 -0
- ag2-0.9.2/CITATION.cff +48 -0
- ag2-0.9.2/MAINTAINERS.md +50 -0
- ag2-0.9.2/OAI_CONFIG_LIST_sample +18 -0
- {ag2-0.9.1a1/ag2.egg-info → ag2-0.9.2}/PKG-INFO +315 -62
- {ag2-0.9.1a1 → ag2-0.9.2}/README.md +4 -4
- ag2-0.9.2/TRANSPARENCY_FAQS.md +58 -0
- ag2-0.9.2/announcements.md +47 -0
- ag2-0.9.2/autogen/__init__.py +89 -0
- ag2-0.9.2/autogen/_website/__init__.py +3 -0
- ag2-0.9.2/autogen/_website/generate_api_references.py +427 -0
- ag2-0.9.2/autogen/_website/generate_mkdocs.py +1174 -0
- ag2-0.9.2/autogen/_website/notebook_processor.py +476 -0
- ag2-0.9.2/autogen/_website/process_notebooks.py +656 -0
- ag2-0.9.2/autogen/_website/utils.py +412 -0
- ag2-0.9.2/autogen/agentchat/__init__.py +44 -0
- ag2-0.9.2/autogen/agentchat/agent.py +182 -0
- ag2-0.9.2/autogen/agentchat/assistant_agent.py +85 -0
- ag2-0.9.2/autogen/agentchat/chat.py +309 -0
- ag2-0.9.2/autogen/agentchat/contrib/__init__.py +5 -0
- ag2-0.9.2/autogen/agentchat/contrib/agent_eval/README.md +7 -0
- ag2-0.9.2/autogen/agentchat/contrib/agent_eval/agent_eval.py +108 -0
- ag2-0.9.2/autogen/agentchat/contrib/agent_eval/criterion.py +43 -0
- ag2-0.9.2/autogen/agentchat/contrib/agent_eval/critic_agent.py +44 -0
- ag2-0.9.2/autogen/agentchat/contrib/agent_eval/quantifier_agent.py +39 -0
- ag2-0.9.2/autogen/agentchat/contrib/agent_eval/subcritic_agent.py +45 -0
- ag2-0.9.2/autogen/agentchat/contrib/agent_eval/task.py +42 -0
- ag2-0.9.2/autogen/agentchat/contrib/agent_optimizer.py +429 -0
- ag2-0.9.2/autogen/agentchat/contrib/capabilities/__init__.py +5 -0
- ag2-0.9.2/autogen/agentchat/contrib/capabilities/agent_capability.py +20 -0
- ag2-0.9.2/autogen/agentchat/contrib/capabilities/generate_images.py +301 -0
- ag2-0.9.2/autogen/agentchat/contrib/capabilities/teachability.py +393 -0
- ag2-0.9.2/autogen/agentchat/contrib/capabilities/text_compressors.py +66 -0
- ag2-0.9.2/autogen/agentchat/contrib/capabilities/tools_capability.py +22 -0
- ag2-0.9.2/autogen/agentchat/contrib/capabilities/transform_messages.py +93 -0
- ag2-0.9.2/autogen/agentchat/contrib/capabilities/transforms.py +566 -0
- ag2-0.9.2/autogen/agentchat/contrib/capabilities/transforms_util.py +122 -0
- ag2-0.9.2/autogen/agentchat/contrib/capabilities/vision_capability.py +214 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/__init__.py +9 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/agent_builder.py +790 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/captainagent.py +512 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tool_retriever.py +335 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/README.md +44 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/__init__.py +5 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/data_analysis/calculate_correlation.py +40 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/data_analysis/calculate_skewness_and_kurtosis.py +28 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/data_analysis/detect_outlier_iqr.py +28 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/data_analysis/detect_outlier_zscore.py +28 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/data_analysis/explore_csv.py +21 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/data_analysis/shapiro_wilk_test.py +30 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/information_retrieval/arxiv_download.py +27 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/information_retrieval/arxiv_search.py +53 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/information_retrieval/extract_pdf_image.py +53 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/information_retrieval/extract_pdf_text.py +38 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/information_retrieval/get_wikipedia_text.py +21 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/information_retrieval/get_youtube_caption.py +34 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/information_retrieval/image_qa.py +60 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/information_retrieval/optical_character_recognition.py +61 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/information_retrieval/perform_web_search.py +47 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/information_retrieval/scrape_wikipedia_tables.py +33 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/information_retrieval/transcribe_audio_file.py +21 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/information_retrieval/youtube_download.py +35 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/math/calculate_circle_area_from_diameter.py +21 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/math/calculate_day_of_the_week.py +18 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/math/calculate_fraction_sum.py +28 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/math/calculate_matrix_power.py +31 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/math/calculate_reflected_point.py +16 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/math/complex_numbers_product.py +25 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/math/compute_currency_conversion.py +23 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/math/count_distinct_permutations.py +27 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/math/evaluate_expression.py +28 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/math/find_continuity_point.py +34 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/math/fraction_to_mixed_numbers.py +39 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/math/modular_inverse_sum.py +23 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/math/simplify_mixed_numbers.py +36 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/math/sum_of_digit_factorials.py +15 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/math/sum_of_primes_below.py +15 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/requirements.txt +10 -0
- ag2-0.9.2/autogen/agentchat/contrib/captainagent/tools/tool_description.tsv +34 -0
- ag2-0.9.2/autogen/agentchat/contrib/gpt_assistant_agent.py +526 -0
- ag2-0.9.2/autogen/agentchat/contrib/graph_rag/__init__.py +9 -0
- ag2-0.9.2/autogen/agentchat/contrib/graph_rag/document.py +29 -0
- ag2-0.9.2/autogen/agentchat/contrib/graph_rag/falkor_graph_query_engine.py +170 -0
- ag2-0.9.2/autogen/agentchat/contrib/graph_rag/falkor_graph_rag_capability.py +103 -0
- ag2-0.9.2/autogen/agentchat/contrib/graph_rag/graph_query_engine.py +53 -0
- ag2-0.9.2/autogen/agentchat/contrib/graph_rag/graph_rag_capability.py +63 -0
- ag2-0.9.2/autogen/agentchat/contrib/graph_rag/neo4j_graph_query_engine.py +268 -0
- ag2-0.9.2/autogen/agentchat/contrib/graph_rag/neo4j_graph_rag_capability.py +83 -0
- ag2-0.9.2/autogen/agentchat/contrib/graph_rag/neo4j_native_graph_query_engine.py +210 -0
- ag2-0.9.2/autogen/agentchat/contrib/graph_rag/neo4j_native_graph_rag_capability.py +93 -0
- ag2-0.9.2/autogen/agentchat/contrib/img_utils.py +397 -0
- ag2-0.9.2/autogen/agentchat/contrib/llamaindex_conversable_agent.py +117 -0
- ag2-0.9.2/autogen/agentchat/contrib/llava_agent.py +187 -0
- ag2-0.9.2/autogen/agentchat/contrib/math_user_proxy_agent.py +464 -0
- ag2-0.9.2/autogen/agentchat/contrib/multimodal_conversable_agent.py +125 -0
- ag2-0.9.2/autogen/agentchat/contrib/qdrant_retrieve_user_proxy_agent.py +324 -0
- ag2-0.9.2/autogen/agentchat/contrib/rag/__init__.py +10 -0
- ag2-0.9.2/autogen/agentchat/contrib/rag/chromadb_query_engine.py +272 -0
- ag2-0.9.2/autogen/agentchat/contrib/rag/llamaindex_query_engine.py +198 -0
- ag2-0.9.2/autogen/agentchat/contrib/rag/mongodb_query_engine.py +329 -0
- ag2-0.9.2/autogen/agentchat/contrib/rag/query_engine.py +74 -0
- ag2-0.9.2/autogen/agentchat/contrib/retrieve_assistant_agent.py +56 -0
- ag2-0.9.2/autogen/agentchat/contrib/retrieve_user_proxy_agent.py +703 -0
- ag2-0.9.2/autogen/agentchat/contrib/society_of_mind_agent.py +199 -0
- ag2-0.9.2/autogen/agentchat/contrib/swarm_agent.py +1425 -0
- ag2-0.9.2/autogen/agentchat/contrib/text_analyzer_agent.py +79 -0
- ag2-0.9.2/autogen/agentchat/contrib/vectordb/__init__.py +5 -0
- ag2-0.9.2/autogen/agentchat/contrib/vectordb/base.py +232 -0
- ag2-0.9.2/autogen/agentchat/contrib/vectordb/chromadb.py +315 -0
- ag2-0.9.2/autogen/agentchat/contrib/vectordb/couchbase.py +407 -0
- ag2-0.9.2/autogen/agentchat/contrib/vectordb/mongodb.py +550 -0
- ag2-0.9.2/autogen/agentchat/contrib/vectordb/pgvectordb.py +928 -0
- ag2-0.9.2/autogen/agentchat/contrib/vectordb/qdrant.py +320 -0
- ag2-0.9.2/autogen/agentchat/contrib/vectordb/utils.py +126 -0
- ag2-0.9.2/autogen/agentchat/contrib/web_surfer.py +303 -0
- ag2-0.9.2/autogen/agentchat/conversable_agent.py +4023 -0
- ag2-0.9.2/autogen/agentchat/group/__init__.py +64 -0
- ag2-0.9.2/autogen/agentchat/group/available_condition.py +91 -0
- ag2-0.9.2/autogen/agentchat/group/context_condition.py +77 -0
- ag2-0.9.2/autogen/agentchat/group/context_expression.py +238 -0
- ag2-0.9.2/autogen/agentchat/group/context_str.py +41 -0
- ag2-0.9.2/autogen/agentchat/group/context_variables.py +192 -0
- ag2-0.9.2/autogen/agentchat/group/group_tool_executor.py +202 -0
- ag2-0.9.2/autogen/agentchat/group/group_utils.py +591 -0
- ag2-0.9.2/autogen/agentchat/group/handoffs.py +244 -0
- ag2-0.9.2/autogen/agentchat/group/llm_condition.py +93 -0
- ag2-0.9.2/autogen/agentchat/group/multi_agent_chat.py +237 -0
- ag2-0.9.2/autogen/agentchat/group/on_condition.py +58 -0
- ag2-0.9.2/autogen/agentchat/group/on_context_condition.py +54 -0
- ag2-0.9.2/autogen/agentchat/group/patterns/__init__.py +18 -0
- ag2-0.9.2/autogen/agentchat/group/patterns/auto.py +159 -0
- ag2-0.9.2/autogen/agentchat/group/patterns/manual.py +176 -0
- ag2-0.9.2/autogen/agentchat/group/patterns/pattern.py +288 -0
- ag2-0.9.2/autogen/agentchat/group/patterns/random.py +106 -0
- ag2-0.9.2/autogen/agentchat/group/patterns/round_robin.py +117 -0
- ag2-0.9.2/autogen/agentchat/group/reply_result.py +26 -0
- ag2-0.9.2/autogen/agentchat/group/speaker_selection_result.py +41 -0
- ag2-0.9.2/autogen/agentchat/group/targets/__init__.py +4 -0
- ag2-0.9.2/autogen/agentchat/group/targets/group_chat_target.py +132 -0
- ag2-0.9.2/autogen/agentchat/group/targets/group_manager_target.py +151 -0
- ag2-0.9.2/autogen/agentchat/group/targets/transition_target.py +413 -0
- ag2-0.9.2/autogen/agentchat/group/targets/transition_utils.py +6 -0
- ag2-0.9.2/autogen/agentchat/groupchat.py +1694 -0
- ag2-0.9.2/autogen/agentchat/realtime/__init__.py +3 -0
- ag2-0.9.2/autogen/agentchat/realtime/experimental/__init__.py +20 -0
- ag2-0.9.2/autogen/agentchat/realtime/experimental/audio_adapters/__init__.py +8 -0
- ag2-0.9.2/autogen/agentchat/realtime/experimental/audio_adapters/twilio_audio_adapter.py +148 -0
- ag2-0.9.2/autogen/agentchat/realtime/experimental/audio_adapters/websocket_audio_adapter.py +139 -0
- ag2-0.9.2/autogen/agentchat/realtime/experimental/audio_observer.py +42 -0
- ag2-0.9.2/autogen/agentchat/realtime/experimental/clients/__init__.py +15 -0
- ag2-0.9.2/autogen/agentchat/realtime/experimental/clients/gemini/__init__.py +7 -0
- ag2-0.9.2/autogen/agentchat/realtime/experimental/clients/gemini/client.py +274 -0
- ag2-0.9.2/autogen/agentchat/realtime/experimental/clients/oai/__init__.py +8 -0
- ag2-0.9.2/autogen/agentchat/realtime/experimental/clients/oai/base_client.py +220 -0
- ag2-0.9.2/autogen/agentchat/realtime/experimental/clients/oai/rtc_client.py +243 -0
- ag2-0.9.2/autogen/agentchat/realtime/experimental/clients/oai/utils.py +48 -0
- ag2-0.9.2/autogen/agentchat/realtime/experimental/clients/realtime_client.py +190 -0
- ag2-0.9.2/autogen/agentchat/realtime/experimental/function_observer.py +85 -0
- ag2-0.9.2/autogen/agentchat/realtime/experimental/realtime_agent.py +158 -0
- ag2-0.9.2/autogen/agentchat/realtime/experimental/realtime_events.py +42 -0
- ag2-0.9.2/autogen/agentchat/realtime/experimental/realtime_observer.py +100 -0
- ag2-0.9.2/autogen/agentchat/realtime/experimental/realtime_swarm.py +475 -0
- ag2-0.9.2/autogen/agentchat/realtime/experimental/websockets.py +21 -0
- ag2-0.9.2/autogen/agentchat/realtime_agent/__init__.py +21 -0
- ag2-0.9.2/autogen/agentchat/user_proxy_agent.py +111 -0
- ag2-0.9.2/autogen/agentchat/utils.py +206 -0
- ag2-0.9.2/autogen/agents/__init__.py +3 -0
- ag2-0.9.2/autogen/agents/contrib/__init__.py +10 -0
- ag2-0.9.2/autogen/agents/contrib/time/__init__.py +8 -0
- ag2-0.9.2/autogen/agents/contrib/time/time_reply_agent.py +73 -0
- ag2-0.9.2/autogen/agents/contrib/time/time_tool_agent.py +51 -0
- ag2-0.9.2/autogen/agents/experimental/__init__.py +27 -0
- ag2-0.9.2/autogen/agents/experimental/deep_research/__init__.py +7 -0
- ag2-0.9.2/autogen/agents/experimental/deep_research/deep_research.py +52 -0
- ag2-0.9.2/autogen/agents/experimental/discord/__init__.py +7 -0
- ag2-0.9.2/autogen/agents/experimental/discord/discord.py +66 -0
- ag2-0.9.2/autogen/agents/experimental/document_agent/__init__.py +19 -0
- ag2-0.9.2/autogen/agents/experimental/document_agent/chroma_query_engine.py +316 -0
- ag2-0.9.2/autogen/agents/experimental/document_agent/docling_doc_ingest_agent.py +118 -0
- ag2-0.9.2/autogen/agents/experimental/document_agent/document_agent.py +461 -0
- ag2-0.9.2/autogen/agents/experimental/document_agent/document_conditions.py +50 -0
- ag2-0.9.2/autogen/agents/experimental/document_agent/document_utils.py +380 -0
- ag2-0.9.2/autogen/agents/experimental/document_agent/inmemory_query_engine.py +220 -0
- ag2-0.9.2/autogen/agents/experimental/document_agent/parser_utils.py +130 -0
- ag2-0.9.2/autogen/agents/experimental/document_agent/url_utils.py +426 -0
- ag2-0.9.2/autogen/agents/experimental/reasoning/__init__.py +7 -0
- ag2-0.9.2/autogen/agents/experimental/reasoning/reasoning_agent.py +1178 -0
- ag2-0.9.2/autogen/agents/experimental/slack/__init__.py +7 -0
- ag2-0.9.2/autogen/agents/experimental/slack/slack.py +73 -0
- ag2-0.9.2/autogen/agents/experimental/telegram/__init__.py +7 -0
- ag2-0.9.2/autogen/agents/experimental/telegram/telegram.py +77 -0
- ag2-0.9.2/autogen/agents/experimental/websurfer/__init__.py +7 -0
- ag2-0.9.2/autogen/agents/experimental/websurfer/websurfer.py +62 -0
- ag2-0.9.2/autogen/agents/experimental/wikipedia/__init__.py +7 -0
- ag2-0.9.2/autogen/agents/experimental/wikipedia/wikipedia.py +90 -0
- ag2-0.9.2/autogen/browser_utils.py +309 -0
- ag2-0.9.2/autogen/cache/__init__.py +10 -0
- ag2-0.9.2/autogen/cache/abstract_cache_base.py +75 -0
- ag2-0.9.2/autogen/cache/cache.py +203 -0
- ag2-0.9.2/autogen/cache/cache_factory.py +88 -0
- ag2-0.9.2/autogen/cache/cosmos_db_cache.py +144 -0
- ag2-0.9.2/autogen/cache/disk_cache.py +102 -0
- ag2-0.9.2/autogen/cache/in_memory_cache.py +58 -0
- ag2-0.9.2/autogen/cache/redis_cache.py +123 -0
- ag2-0.9.2/autogen/code_utils.py +596 -0
- ag2-0.9.2/autogen/coding/__init__.py +22 -0
- ag2-0.9.2/autogen/coding/base.py +119 -0
- ag2-0.9.2/autogen/coding/docker_commandline_code_executor.py +268 -0
- ag2-0.9.2/autogen/coding/factory.py +47 -0
- ag2-0.9.2/autogen/coding/func_with_reqs.py +202 -0
- ag2-0.9.2/autogen/coding/jupyter/__init__.py +23 -0
- ag2-0.9.2/autogen/coding/jupyter/base.py +36 -0
- ag2-0.9.2/autogen/coding/jupyter/docker_jupyter_server.py +167 -0
- ag2-0.9.2/autogen/coding/jupyter/embedded_ipython_code_executor.py +182 -0
- ag2-0.9.2/autogen/coding/jupyter/import_utils.py +82 -0
- ag2-0.9.2/autogen/coding/jupyter/jupyter_client.py +231 -0
- ag2-0.9.2/autogen/coding/jupyter/jupyter_code_executor.py +160 -0
- ag2-0.9.2/autogen/coding/jupyter/local_jupyter_server.py +172 -0
- ag2-0.9.2/autogen/coding/local_commandline_code_executor.py +405 -0
- ag2-0.9.2/autogen/coding/markdown_code_extractor.py +45 -0
- ag2-0.9.2/autogen/coding/utils.py +56 -0
- ag2-0.9.2/autogen/doc_utils.py +34 -0
- ag2-0.9.2/autogen/events/__init__.py +7 -0
- ag2-0.9.2/autogen/events/agent_events.py +1013 -0
- ag2-0.9.2/autogen/events/base_event.py +99 -0
- ag2-0.9.2/autogen/events/client_events.py +167 -0
- ag2-0.9.2/autogen/events/helpers.py +36 -0
- ag2-0.9.2/autogen/events/print_event.py +46 -0
- ag2-0.9.2/autogen/exception_utils.py +73 -0
- ag2-0.9.2/autogen/extensions/__init__.py +5 -0
- ag2-0.9.2/autogen/fast_depends/__init__.py +16 -0
- ag2-0.9.2/autogen/fast_depends/_compat.py +80 -0
- ag2-0.9.2/autogen/fast_depends/core/__init__.py +14 -0
- ag2-0.9.2/autogen/fast_depends/core/build.py +225 -0
- ag2-0.9.2/autogen/fast_depends/core/model.py +576 -0
- ag2-0.9.2/autogen/fast_depends/dependencies/__init__.py +15 -0
- ag2-0.9.2/autogen/fast_depends/dependencies/model.py +29 -0
- ag2-0.9.2/autogen/fast_depends/dependencies/provider.py +39 -0
- ag2-0.9.2/autogen/fast_depends/library/__init__.py +10 -0
- ag2-0.9.2/autogen/fast_depends/library/model.py +46 -0
- ag2-0.9.2/autogen/fast_depends/py.typed +6 -0
- ag2-0.9.2/autogen/fast_depends/schema.py +66 -0
- ag2-0.9.2/autogen/fast_depends/use.py +280 -0
- ag2-0.9.2/autogen/fast_depends/utils.py +187 -0
- ag2-0.9.2/autogen/formatting_utils.py +83 -0
- ag2-0.9.2/autogen/function_utils.py +13 -0
- ag2-0.9.2/autogen/graph_utils.py +178 -0
- ag2-0.9.2/autogen/import_utils.py +526 -0
- ag2-0.9.2/autogen/interop/__init__.py +22 -0
- ag2-0.9.2/autogen/interop/crewai/__init__.py +7 -0
- ag2-0.9.2/autogen/interop/crewai/crewai.py +88 -0
- ag2-0.9.2/autogen/interop/interoperability.py +71 -0
- ag2-0.9.2/autogen/interop/interoperable.py +46 -0
- ag2-0.9.2/autogen/interop/langchain/__init__.py +8 -0
- ag2-0.9.2/autogen/interop/langchain/langchain_chat_model_factory.py +155 -0
- ag2-0.9.2/autogen/interop/langchain/langchain_tool.py +82 -0
- ag2-0.9.2/autogen/interop/litellm/__init__.py +7 -0
- ag2-0.9.2/autogen/interop/litellm/litellm_config_factory.py +179 -0
- ag2-0.9.2/autogen/interop/pydantic_ai/__init__.py +7 -0
- ag2-0.9.2/autogen/interop/pydantic_ai/pydantic_ai.py +168 -0
- ag2-0.9.2/autogen/interop/registry.py +69 -0
- ag2-0.9.2/autogen/io/__init__.py +15 -0
- ag2-0.9.2/autogen/io/base.py +151 -0
- ag2-0.9.2/autogen/io/console.py +56 -0
- ag2-0.9.2/autogen/io/processors/__init__.py +12 -0
- ag2-0.9.2/autogen/io/processors/base.py +21 -0
- ag2-0.9.2/autogen/io/processors/console_event_processor.py +56 -0
- ag2-0.9.2/autogen/io/run_response.py +293 -0
- ag2-0.9.2/autogen/io/thread_io_stream.py +63 -0
- ag2-0.9.2/autogen/io/websockets.py +213 -0
- ag2-0.9.2/autogen/json_utils.py +43 -0
- ag2-0.9.2/autogen/llm_config.py +382 -0
- ag2-0.9.2/autogen/logger/__init__.py +11 -0
- ag2-0.9.2/autogen/logger/base_logger.py +128 -0
- ag2-0.9.2/autogen/logger/file_logger.py +261 -0
- ag2-0.9.2/autogen/logger/logger_factory.py +42 -0
- ag2-0.9.2/autogen/logger/logger_utils.py +57 -0
- ag2-0.9.2/autogen/logger/sqlite_logger.py +523 -0
- ag2-0.9.2/autogen/math_utils.py +339 -0
- ag2-0.9.2/autogen/mcp/__init__.py +7 -0
- ag2-0.9.2/autogen/mcp/__main__.py +78 -0
- ag2-0.9.2/autogen/mcp/mcp_client.py +208 -0
- ag2-0.9.2/autogen/mcp/mcp_proxy/__init__.py +19 -0
- ag2-0.9.2/autogen/mcp/mcp_proxy/fastapi_code_generator_helpers.py +63 -0
- ag2-0.9.2/autogen/mcp/mcp_proxy/mcp_proxy.py +581 -0
- ag2-0.9.2/autogen/mcp/mcp_proxy/operation_grouping.py +158 -0
- ag2-0.9.2/autogen/mcp/mcp_proxy/operation_renaming.py +114 -0
- ag2-0.9.2/autogen/mcp/mcp_proxy/patch_fastapi_code_generator.py +98 -0
- ag2-0.9.2/autogen/mcp/mcp_proxy/security.py +400 -0
- ag2-0.9.2/autogen/mcp/mcp_proxy/security_schema_visitor.py +37 -0
- ag2-0.9.2/autogen/messages/__init__.py +7 -0
- ag2-0.9.2/autogen/messages/agent_messages.py +948 -0
- ag2-0.9.2/autogen/messages/base_message.py +107 -0
- ag2-0.9.2/autogen/messages/client_messages.py +171 -0
- ag2-0.9.2/autogen/messages/print_message.py +49 -0
- ag2-0.9.2/autogen/oai/__init__.py +53 -0
- ag2-0.9.2/autogen/oai/anthropic.py +714 -0
- ag2-0.9.2/autogen/oai/bedrock.py +628 -0
- ag2-0.9.2/autogen/oai/cerebras.py +299 -0
- ag2-0.9.2/autogen/oai/client.py +1444 -0
- ag2-0.9.2/autogen/oai/client_utils.py +169 -0
- ag2-0.9.2/autogen/oai/cohere.py +479 -0
- ag2-0.9.2/autogen/oai/gemini.py +998 -0
- ag2-0.9.2/autogen/oai/gemini_types.py +155 -0
- ag2-0.9.2/autogen/oai/groq.py +305 -0
- ag2-0.9.2/autogen/oai/mistral.py +303 -0
- ag2-0.9.2/autogen/oai/oai_models/__init__.py +11 -0
- ag2-0.9.2/autogen/oai/oai_models/_models.py +16 -0
- ag2-0.9.2/autogen/oai/oai_models/chat_completion.py +87 -0
- ag2-0.9.2/autogen/oai/oai_models/chat_completion_audio.py +32 -0
- ag2-0.9.2/autogen/oai/oai_models/chat_completion_message.py +86 -0
- ag2-0.9.2/autogen/oai/oai_models/chat_completion_message_tool_call.py +37 -0
- ag2-0.9.2/autogen/oai/oai_models/chat_completion_token_logprob.py +63 -0
- ag2-0.9.2/autogen/oai/oai_models/completion_usage.py +60 -0
- ag2-0.9.2/autogen/oai/ollama.py +643 -0
- ag2-0.9.2/autogen/oai/openai_utils.py +881 -0
- ag2-0.9.2/autogen/oai/together.py +370 -0
- ag2-0.9.2/autogen/retrieve_utils.py +491 -0
- ag2-0.9.2/autogen/runtime_logging.py +160 -0
- ag2-0.9.2/autogen/token_count_utils.py +267 -0
- ag2-0.9.2/autogen/tools/__init__.py +20 -0
- ag2-0.9.2/autogen/tools/contrib/__init__.py +9 -0
- ag2-0.9.2/autogen/tools/contrib/time/__init__.py +7 -0
- ag2-0.9.2/autogen/tools/contrib/time/time.py +41 -0
- ag2-0.9.2/autogen/tools/dependency_injection.py +254 -0
- ag2-0.9.2/autogen/tools/experimental/__init__.py +48 -0
- ag2-0.9.2/autogen/tools/experimental/browser_use/__init__.py +7 -0
- ag2-0.9.2/autogen/tools/experimental/browser_use/browser_use.py +161 -0
- ag2-0.9.2/autogen/tools/experimental/crawl4ai/__init__.py +7 -0
- ag2-0.9.2/autogen/tools/experimental/crawl4ai/crawl4ai.py +153 -0
- ag2-0.9.2/autogen/tools/experimental/deep_research/__init__.py +7 -0
- ag2-0.9.2/autogen/tools/experimental/deep_research/deep_research.py +328 -0
- ag2-0.9.2/autogen/tools/experimental/duckduckgo/__init__.py +7 -0
- ag2-0.9.2/autogen/tools/experimental/duckduckgo/duckduckgo_search.py +109 -0
- ag2-0.9.2/autogen/tools/experimental/google/__init__.py +14 -0
- ag2-0.9.2/autogen/tools/experimental/google/authentication/__init__.py +11 -0
- ag2-0.9.2/autogen/tools/experimental/google/authentication/credentials_hosted_provider.py +43 -0
- ag2-0.9.2/autogen/tools/experimental/google/authentication/credentials_local_provider.py +91 -0
- ag2-0.9.2/autogen/tools/experimental/google/authentication/credentials_provider.py +35 -0
- ag2-0.9.2/autogen/tools/experimental/google/drive/__init__.py +9 -0
- ag2-0.9.2/autogen/tools/experimental/google/drive/drive_functions.py +124 -0
- ag2-0.9.2/autogen/tools/experimental/google/drive/toolkit.py +88 -0
- ag2-0.9.2/autogen/tools/experimental/google/model.py +17 -0
- ag2-0.9.2/autogen/tools/experimental/google/toolkit_protocol.py +19 -0
- ag2-0.9.2/autogen/tools/experimental/google_search/__init__.py +8 -0
- ag2-0.9.2/autogen/tools/experimental/google_search/google_search.py +93 -0
- ag2-0.9.2/autogen/tools/experimental/google_search/youtube_search.py +181 -0
- ag2-0.9.2/autogen/tools/experimental/messageplatform/__init__.py +17 -0
- ag2-0.9.2/autogen/tools/experimental/messageplatform/discord/__init__.py +7 -0
- ag2-0.9.2/autogen/tools/experimental/messageplatform/discord/discord.py +288 -0
- ag2-0.9.2/autogen/tools/experimental/messageplatform/slack/__init__.py +7 -0
- ag2-0.9.2/autogen/tools/experimental/messageplatform/slack/slack.py +391 -0
- ag2-0.9.2/autogen/tools/experimental/messageplatform/telegram/__init__.py +7 -0
- ag2-0.9.2/autogen/tools/experimental/messageplatform/telegram/telegram.py +275 -0
- ag2-0.9.2/autogen/tools/experimental/perplexity/__init__.py +7 -0
- ag2-0.9.2/autogen/tools/experimental/perplexity/perplexity_search.py +260 -0
- ag2-0.9.2/autogen/tools/experimental/reliable/__init__.py +10 -0
- ag2-0.9.2/autogen/tools/experimental/reliable/reliable.py +1316 -0
- ag2-0.9.2/autogen/tools/experimental/tavily/__init__.py +7 -0
- ag2-0.9.2/autogen/tools/experimental/tavily/tavily_search.py +183 -0
- ag2-0.9.2/autogen/tools/experimental/web_search_preview/__init__.py +7 -0
- ag2-0.9.2/autogen/tools/experimental/web_search_preview/web_search_preview.py +114 -0
- ag2-0.9.2/autogen/tools/experimental/wikipedia/__init__.py +7 -0
- ag2-0.9.2/autogen/tools/experimental/wikipedia/wikipedia.py +287 -0
- ag2-0.9.2/autogen/tools/function_utils.py +411 -0
- ag2-0.9.2/autogen/tools/tool.py +187 -0
- ag2-0.9.2/autogen/tools/toolkit.py +86 -0
- ag2-0.9.2/autogen/types.py +29 -0
- ag2-0.9.2/autogen/version.py +7 -0
- ag2-0.9.2/azure-pipelines.yml +24 -0
- ag2-0.9.2/codecov.yml +43 -0
- ag2-0.9.2/license_original/LICENSE-CC +395 -0
- ag2-0.9.2/license_original/LICENSE_original_MIT +21 -0
- {ag2-0.9.1a1 → ag2-0.9.2}/pyproject.toml +32 -18
- ag2-0.9.2/scripts/broken-links-check.sh +39 -0
- ag2-0.9.2/scripts/build-setup-files.py +52 -0
- ag2-0.9.2/scripts/devcontainer/generate-devcontainers.py +73 -0
- ag2-0.9.2/scripts/devcontainer/generate-devcontainers.sh +3 -0
- ag2-0.9.2/scripts/devcontainer/templates/devcontainer.json.jinja +94 -0
- ag2-0.9.2/scripts/docs_build.sh +28 -0
- ag2-0.9.2/scripts/docs_build_mkdocs.sh +10 -0
- ag2-0.9.2/scripts/docs_serve.sh +30 -0
- ag2-0.9.2/scripts/docs_serve_mkdocs.sh +6 -0
- ag2-0.9.2/scripts/integration-test.sh +39 -0
- ag2-0.9.2/scripts/lint.sh +7 -0
- ag2-0.9.2/scripts/pre-commit-build-setup-files.sh +14 -0
- ag2-0.9.2/scripts/pre-commit-license-check.py +187 -0
- ag2-0.9.2/scripts/pre-commit-lint.sh +34 -0
- ag2-0.9.2/scripts/pre-commit-mypy-run.sh +17 -0
- ag2-0.9.2/scripts/show-coverage-report.sh +7 -0
- ag2-0.9.2/scripts/test-core-llm.sh +31 -0
- ag2-0.9.2/scripts/test-core-skip-llm.sh +7 -0
- ag2-0.9.2/scripts/test-docs.sh +7 -0
- ag2-0.9.2/scripts/test-skip-llm.sh +25 -0
- ag2-0.9.2/scripts/test.sh +7 -0
- ag2-0.9.2/setup.jinja +45 -0
- ag2-0.9.2/setup_autogen.py +99 -0
- ag2-0.9.2/templates/client_template/main.jinja2 +69 -0
- ag2-0.9.2/templates/config_template/config.jinja2 +7 -0
- ag2-0.9.2/templates/main.jinja2 +61 -0
- ag2-0.9.2/website/.gitignore +38 -0
- ag2-0.9.2/website/README.md +106 -0
- ag2-0.9.2/website/blogs_and_user_stories_authors.yml +264 -0
- ag2-0.9.2/website/docs/.gitignore +3 -0
- ag2-0.9.2/website/docs/_blogs/2023-04-21-LLM-tuning-math/img/level2algebra.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2023-04-21-LLM-tuning-math/img/level3algebra.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2023-04-21-LLM-tuning-math/img/level4algebra.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2023-04-21-LLM-tuning-math/img/level5algebra.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2023-04-21-LLM-tuning-math/index.mdx +76 -0
- ag2-0.9.2/website/docs/_blogs/2023-05-18-GPT-adaptive-humaneval/img/design.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2023-05-18-GPT-adaptive-humaneval/img/humaneval.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2023-05-18-GPT-adaptive-humaneval/index.mdx +180 -0
- ag2-0.9.2/website/docs/_blogs/2023-06-28-MathChat/img/mathchatflow.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2023-06-28-MathChat/img/result.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2023-06-28-MathChat/index.mdx +98 -0
- ag2-0.9.2/website/docs/_blogs/2023-07-14-Local-LLMs/index.mdx +148 -0
- ag2-0.9.2/website/docs/_blogs/2023-10-18-RetrieveChat/img/autogen-rag.gif +0 -0
- ag2-0.9.2/website/docs/_blogs/2023-10-18-RetrieveChat/img/retrievechat-arch.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2023-10-18-RetrieveChat/index.mdx +409 -0
- ag2-0.9.2/website/docs/_blogs/2023-10-26-TeachableAgent/img/teachable-arch.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2023-10-26-TeachableAgent/index.mdx +399 -0
- ag2-0.9.2/website/docs/_blogs/2023-11-06-LMM-Agent/img/teaser.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2023-11-06-LMM-Agent/index.mdx +77 -0
- ag2-0.9.2/website/docs/_blogs/2023-11-09-EcoAssistant/img/chat.webp +3 -0
- ag2-0.9.2/website/docs/_blogs/2023-11-09-EcoAssistant/img/results.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2023-11-09-EcoAssistant/img/system.webp +3 -0
- ag2-0.9.2/website/docs/_blogs/2023-11-09-EcoAssistant/img/template-demo.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2023-11-09-EcoAssistant/img/template.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2023-11-09-EcoAssistant/index.mdx +102 -0
- ag2-0.9.2/website/docs/_blogs/2023-11-13-OAI-assistants/img/teaser.jpg +3 -0
- ag2-0.9.2/website/docs/_blogs/2023-11-13-OAI-assistants/index.mdx +117 -0
- ag2-0.9.2/website/docs/_blogs/2023-11-20-AgentEval/img/agenteval-CQ.webp +3 -0
- ag2-0.9.2/website/docs/_blogs/2023-11-20-AgentEval/img/math-problems-plot.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2023-11-20-AgentEval/img/tasks-taxonomy.webp +3 -0
- ag2-0.9.2/website/docs/_blogs/2023-11-20-AgentEval/index.mdx +150 -0
- ag2-0.9.2/website/docs/_blogs/2023-11-26-Agent-AutoBuild/img/agent_autobuild.webp +3 -0
- ag2-0.9.2/website/docs/_blogs/2023-11-26-Agent-AutoBuild/index.mdx +186 -0
- ag2-0.9.2/website/docs/_blogs/2023-12-01-AutoGenStudio/img/autogenstudio_config.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2023-12-01-AutoGenStudio/img/autogenstudio_home.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2023-12-01-AutoGenStudio/img/autogenstudio_skills.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2023-12-01-AutoGenStudio/index.mdx +230 -0
- ag2-0.9.2/website/docs/_blogs/2023-12-23-AgentOptimizer/img/agentoptimizer.webp +3 -0
- ag2-0.9.2/website/docs/_blogs/2023-12-23-AgentOptimizer/index.mdx +187 -0
- ag2-0.9.2/website/docs/_blogs/2023-12-29-AgentDescriptions/index.mdx +137 -0
- ag2-0.9.2/website/docs/_blogs/2024-01-23-Code-execution-in-docker/index.mdx +67 -0
- ag2-0.9.2/website/docs/_blogs/2024-01-25-AutoGenBench/img/teaser.jpg +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-01-25-AutoGenBench/index.mdx +146 -0
- ag2-0.9.2/website/docs/_blogs/2024-01-26-Custom-Models/index.mdx +171 -0
- ag2-0.9.2/website/docs/_blogs/2024-02-02-AutoAnny/img/AutoAnnyLogo.jpg +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-02-02-AutoAnny/index.mdx +41 -0
- ag2-0.9.2/website/docs/_blogs/2024-02-11-FSM-GroupChat/img/FSM_logic.webp +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-02-11-FSM-GroupChat/img/FSM_of_multi-agents.webp +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-02-11-FSM-GroupChat/img/teaser.webp +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-02-11-FSM-GroupChat/index.mdx +286 -0
- ag2-0.9.2/website/docs/_blogs/2024-02-29-StateFlow/img/alfworld.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-02-29-StateFlow/img/bash_result.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-02-29-StateFlow/img/intercode.webp +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-02-29-StateFlow/img/sf_example_1.webp +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-02-29-StateFlow/index.mdx +154 -0
- ag2-0.9.2/website/docs/_blogs/2024-03-03-AutoGen-Update/img/contributors.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-03-03-AutoGen-Update/img/dalle_gpt4v.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-03-03-AutoGen-Update/img/gaia.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-03-03-AutoGen-Update/img/love.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-03-03-AutoGen-Update/img/teach.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-03-03-AutoGen-Update/index.mdx +189 -0
- ag2-0.9.2/website/docs/_blogs/2024-03-11-AutoDefense/img/architecture.webp +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-03-11-AutoDefense/img/defense-agency-design.webp +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-03-11-AutoDefense/img/table-4agents.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-03-11-AutoDefense/img/table-agents.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-03-11-AutoDefense/img/table-compared-methods.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-03-11-AutoDefense/index.mdx +138 -0
- ag2-0.9.2/website/docs/_blogs/2024-05-24-Agent/img/agents.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-05-24-Agent/img/leadership.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-05-24-Agent/index.mdx +160 -0
- ag2-0.9.2/website/docs/_blogs/2024-06-21-AgentEval/img/agenteval_ov_v3.webp +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-06-21-AgentEval/index.mdx +201 -0
- ag2-0.9.2/website/docs/_blogs/2024-06-24-AltModels-Classes/img/agentstogether.jpeg +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-06-24-AltModels-Classes/index.mdx +382 -0
- ag2-0.9.2/website/docs/_blogs/2024-07-25-AgentOps/img/autogen-integration.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-07-25-AgentOps/img/dashboard.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-07-25-AgentOps/img/flow.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-07-25-AgentOps/img/session-replay.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-07-25-AgentOps/index.mdx +67 -0
- ag2-0.9.2/website/docs/_blogs/2024-11-15-CaptainAgent/img/build.webp +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-11-15-CaptainAgent/img/chat.webp +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-11-15-CaptainAgent/img/overall.webp +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-11-15-CaptainAgent/index.mdx +121 -0
- ag2-0.9.2/website/docs/_blogs/2024-11-17-Swarm/index.mdx +356 -0
- ag2-0.9.2/website/docs/_blogs/2024-11-27-Prompt-Leakage-Probing/img/probing_flow.webp +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-11-27-Prompt-Leakage-Probing/img/prompt_leakage_report.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-11-27-Prompt-Leakage-Probing/img/prompt_leakage_social_img.webp +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-11-27-Prompt-Leakage-Probing/img/prompt_test_chat.webp +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-11-27-Prompt-Leakage-Probing/index.mdx +194 -0
- ag2-0.9.2/website/docs/_blogs/2024-12-02-ReasoningAgent2/img/reasoningagent_1.webp +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-12-02-ReasoningAgent2/img/reasoningagent_2.webp +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-12-02-ReasoningAgent2/img/tree-of-thoughts.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-12-02-ReasoningAgent2/index.mdx +258 -0
- ag2-0.9.2/website/docs/_blogs/2024-12-06-FalkorDB-Structured/img/falkordb.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-12-06-FalkorDB-Structured/img/tripplanner.webp +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-12-06-FalkorDB-Structured/index.mdx +193 -0
- ag2-0.9.2/website/docs/_blogs/2024-12-20-RealtimeAgent/index.mdx +38 -0
- ag2-0.9.2/website/docs/_blogs/2024-12-20-Reasoning-Update/img/mcts_example.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-12-20-Reasoning-Update/img/reasoningagent_1.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2024-12-20-Reasoning-Update/index.mdx +280 -0
- ag2-0.9.2/website/docs/_blogs/2024-12-20-Tools-interoperability/index.mdx +55 -0
- ag2-0.9.2/website/docs/_blogs/2025-01-07-Tools-Dependency-Injection/index.mdx +387 -0
- ag2-0.9.2/website/docs/_blogs/2025-01-08-RealtimeAgent-over-websocket/index.mdx +43 -0
- ag2-0.9.2/website/docs/_blogs/2025-01-09-RealtimeAgent-over-WebRTC/index.mdx +29 -0
- ag2-0.9.2/website/docs/_blogs/2025-01-10-WebSockets/img/structured_messages_with_websockets.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2025-01-10-WebSockets/index.mdx +256 -0
- ag2-0.9.2/website/docs/_blogs/2025-01-22-Tools-ChatContext-Dependency-Injection/index.mdx +261 -0
- ag2-0.9.2/website/docs/_blogs/2025-01-29-RealtimeAgent-with-gemini/img/RealtimeAgent_gemini.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2025-01-29-RealtimeAgent-with-gemini/index.mdx +47 -0
- ag2-0.9.2/website/docs/_blogs/2025-01-31-WebSurferAgent/index.mdx +605 -0
- ag2-0.9.2/website/docs/_blogs/2025-01-31-Websurfing-Tools/index.mdx +30 -0
- ag2-0.9.2/website/docs/_blogs/2025-02-05-Communication-Agents/img/commsagents_discord_msg.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2025-02-05-Communication-Agents/img/commsagents_slack_finalmsg.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2025-02-05-Communication-Agents/img/commsagents_slack_msg.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2025-02-05-Communication-Agents/img/commsagents_telegram_msg.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2025-02-05-Communication-Agents/index.mdx +439 -0
- ag2-0.9.2/website/docs/_blogs/2025-02-13-DeepResearchAgent/index.mdx +19 -0
- ag2-0.9.2/website/docs/_blogs/2025-04-16-Reasoning/img/cognition.jpg +3 -0
- ag2-0.9.2/website/docs/_blogs/2025-04-16-Reasoning/img/iter.jpg +3 -0
- ag2-0.9.2/website/docs/_blogs/2025-04-16-Reasoning/img/partner.jpg +3 -0
- ag2-0.9.2/website/docs/_blogs/2025-04-16-Reasoning/img/threads.jpeg +3 -0
- ag2-0.9.2/website/docs/_blogs/2025-04-16-Reasoning/index.mdx +94 -0
- ag2-0.9.2/website/docs/_blogs/2025-04-28-0.9-Release-Announcement/index.mdx +1096 -0
- ag2-0.9.2/website/docs/_blogs/2025-05-07-AG2-Copilot-Integration/img/AG2-CopilotKit.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2025-05-07-AG2-Copilot-Integration/img/ag2-copilotkit-architecture.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2025-05-07-AG2-Copilot-Integration/img/quick-start-1.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2025-05-07-AG2-Copilot-Integration/img/quick-start-2.png +3 -0
- ag2-0.9.2/website/docs/_blogs/2025-05-07-AG2-Copilot-Integration/index.mdx +250 -0
- ag2-0.9.2/website/docs/community-talks/2025-04-10-NOVA/index.mdx +72 -0
- ag2-0.9.2/website/docs/contributor-guide/Migration-Guide.mdx +36 -0
- ag2-0.9.2/website/docs/contributor-guide/Research.mdx +101 -0
- ag2-0.9.2/website/docs/contributor-guide/building/creating-a-tool.mdx +215 -0
- ag2-0.9.2/website/docs/contributor-guide/building/creating-an-agent.mdx +330 -0
- ag2-0.9.2/website/docs/contributor-guide/contributing.mdx +123 -0
- ag2-0.9.2/website/docs/contributor-guide/documentation.mdx +130 -0
- ag2-0.9.2/website/docs/contributor-guide/file-bug-report.mdx +26 -0
- ag2-0.9.2/website/docs/contributor-guide/how-ag2-works/assets/generate-reply.png +3 -0
- ag2-0.9.2/website/docs/contributor-guide/how-ag2-works/assets/initiate-chat.png +3 -0
- ag2-0.9.2/website/docs/contributor-guide/how-ag2-works/generate-reply.mdx +174 -0
- ag2-0.9.2/website/docs/contributor-guide/how-ag2-works/hooks.mdx +492 -0
- ag2-0.9.2/website/docs/contributor-guide/how-ag2-works/initiate-chat.mdx +86 -0
- ag2-0.9.2/website/docs/contributor-guide/how-ag2-works/overview.mdx +20 -0
- ag2-0.9.2/website/docs/contributor-guide/maintainer.mdx +38 -0
- ag2-0.9.2/website/docs/contributor-guide/pre-commit.mdx +6 -0
- ag2-0.9.2/website/docs/contributor-guide/setup-development-environment.mdx +131 -0
- ag2-0.9.2/website/docs/contributor-guide/tests.mdx +68 -0
- ag2-0.9.2/website/docs/ecosystem/agentops.mdx +87 -0
- ag2-0.9.2/website/docs/ecosystem/azure_cosmos_db.mdx +16 -0
- ag2-0.9.2/website/docs/ecosystem/composio.mdx +10 -0
- ag2-0.9.2/website/docs/ecosystem/databricks.mdx +12 -0
- ag2-0.9.2/website/docs/ecosystem/img/ecosystem-databricks.png +3 -0
- ag2-0.9.2/website/docs/ecosystem/img/ecosystem-fabric.png +3 -0
- ag2-0.9.2/website/docs/ecosystem/img/ecosystem-llamaindex.png +3 -0
- ag2-0.9.2/website/docs/ecosystem/img/ecosystem-memgpt.png +3 -0
- ag2-0.9.2/website/docs/ecosystem/img/ecosystem-ollama.png +3 -0
- ag2-0.9.2/website/docs/ecosystem/img/ecosystem-promptflow.png +3 -0
- ag2-0.9.2/website/docs/ecosystem/llamaindex.mdx +10 -0
- ag2-0.9.2/website/docs/ecosystem/mem0.mdx +178 -0
- ag2-0.9.2/website/docs/ecosystem/memgpt.mdx +10 -0
- ag2-0.9.2/website/docs/ecosystem/microsoft-fabric.mdx +10 -0
- ag2-0.9.2/website/docs/ecosystem/ollama.mdx +10 -0
- ag2-0.9.2/website/docs/ecosystem/pgvector.mdx +8 -0
- ag2-0.9.2/website/docs/ecosystem/portkey.mdx +213 -0
- ag2-0.9.2/website/docs/ecosystem/promptflow.mdx +17 -0
- ag2-0.9.2/website/docs/faq/FAQ.mdx +273 -0
- ag2-0.9.2/website/docs/home/quickstart.mdx +492 -0
- ag2-0.9.2/website/docs/installation/Installation.mdx +115 -0
- ag2-0.9.2/website/docs/installation/Optional-Dependencies.mdx +143 -0
- ag2-0.9.2/website/docs/quick-start.mdx +140 -0
- ag2-0.9.2/website/docs/use-cases/.gitignore +1 -0
- ag2-0.9.2/website/docs/use-cases/community-gallery/community-gallery.mdx +66 -0
- ag2-0.9.2/website/docs/use-cases/notebooks/Notebooks.mdx +30 -0
- ag2-0.9.2/website/docs/use-cases/use-cases/assets/game-design-page.png +3 -0
- ag2-0.9.2/website/docs/use-cases/use-cases/assets/game-designed.png +3 -0
- ag2-0.9.2/website/docs/use-cases/use-cases/assets/travel-planning-falkordb.png +3 -0
- ag2-0.9.2/website/docs/use-cases/use-cases/assets/travel-planning-itinerary.png +3 -0
- ag2-0.9.2/website/docs/use-cases/use-cases/assets/travel-planning-overview.png +3 -0
- ag2-0.9.2/website/docs/use-cases/use-cases/customer-service.mdx +67 -0
- ag2-0.9.2/website/docs/use-cases/use-cases/game-design.mdx +58 -0
- ag2-0.9.2/website/docs/use-cases/use-cases/travel-planning.mdx +72 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/assets/code-execution-in-conversation.png +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/assets/code-executor-docker.png +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/assets/code-executor-no-docker.png +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/assets/code-executor-stock-chart.png +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/assets/group-chat-fsm.png +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/assets/group-chat.png +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/assets/nested-chats.png +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/assets/sequential-two-agent-chat.png +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/assets/swarm-enhanced-01.png +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/assets/swarm-enhanced-02.png +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/assets/swarm-enhanced-03.png +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/assets/swarm-enhanced-04.png +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/assets/two-agent-chat.png +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/code-execution.mdx +417 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/ending-a-chat.mdx +157 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/groupchat/custom-group-chat.mdx +720 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/groupchat/groupchat.mdx +344 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/groupchat/resuming-group-chat.mdx +278 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/groupchat/tools.mdx +238 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/llm-configuration-deep-dive.mdx +366 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/nested-chat.mdx +35 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/orchestration/assets/nested-chats.png +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/orchestration/assets/sequential-two-agent-chat.png +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/orchestration/ending-a-chat.mdx +157 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/orchestration/group-chat/agent-tools-functions.mdx +313 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/orchestration/group-chat/context-variables.mdx +602 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/orchestration/group-chat/handoffs.mdx +896 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/orchestration/group-chat/introduction.mdx +276 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/orchestration/group-chat/patterns.mdx +464 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/orchestration/group-chat.mdx +71 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/orchestration/nested-chat.mdx +35 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/orchestration/orchestrations.mdx +21 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/orchestration/sequential-chat.mdx +43 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/orchestration/swarm/deprecation.mdx +330 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/orchestration/two-agent-chat.mdx +69 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/orchestrations.mdx +21 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/context_aware_routing.jpeg +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/context_aware_routing_flow.jpeg +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/escalation.jpeg +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/escalation_flow.jpeg +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/feedback_loop.jpeg +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/feedback_loop_flow.jpeg +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/hierarchical.jpeg +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/hierarchical_flow.jpeg +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/organic.jpeg +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/organic_flow.jpeg +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/pipeline.jpeg +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/pipeline_flow.jpeg +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/redundant.jpeg +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/redundant_flow.jpeg +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/star.jpeg +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/star_flow.jpeg +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/triage_tasks.jpeg +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/pattern-cookbook/assets/triage_tasks_flow.jpeg +3 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/pattern-cookbook/context_aware_routing.mdx +1027 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/pattern-cookbook/escalation.mdx +758 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/pattern-cookbook/feedback_loop.mdx +1084 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/pattern-cookbook/hierarchical.mdx +1084 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/pattern-cookbook/organic.mdx +557 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/pattern-cookbook/overview.mdx +184 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/pattern-cookbook/pipeline.mdx +858 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/pattern-cookbook/redundant.mdx +824 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/pattern-cookbook/star.mdx +785 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/pattern-cookbook/triage_with_tasks.mdx +1041 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/rag.mdx +136 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/realtime-agent/index.mdx +42 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/realtime-agent/twilio.mdx +8 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/realtime-agent/webrtc.mdx +14 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/realtime-agent/websocket.mdx +19 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/sequential-chat.mdx +43 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/tools/basics.mdx +80 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/tools/controlling-use.mdx +286 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/tools/index.mdx +40 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/tools/interop/crewai.mdx +11 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/tools/interop/langchain.mdx +11 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/tools/interop/pydanticai.mdx +11 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/tools/mcp/client.mdx +12 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/tools/tools-with-secrets.mdx +217 -0
- ag2-0.9.2/website/docs/user-guide/advanced-concepts/two-agent-chat.mdx +69 -0
- ag2-0.9.2/website/docs/user-guide/basic-concepts/assets/human-in-the-loop-example.png +3 -0
- ag2-0.9.2/website/docs/user-guide/basic-concepts/assets/overview-workflow.png +3 -0
- ag2-0.9.2/website/docs/user-guide/basic-concepts/conversable-agent.mdx +155 -0
- ag2-0.9.2/website/docs/user-guide/basic-concepts/human-in-the-loop.mdx +302 -0
- ag2-0.9.2/website/docs/user-guide/basic-concepts/installing-ag2.mdx +55 -0
- ag2-0.9.2/website/docs/user-guide/basic-concepts/introducing-group-chat.mdx +735 -0
- ag2-0.9.2/website/docs/user-guide/basic-concepts/introducing-swarm-orchestration.mdx +685 -0
- ag2-0.9.2/website/docs/user-guide/basic-concepts/introducing-tools.mdx +689 -0
- ag2-0.9.2/website/docs/user-guide/basic-concepts/llm-configuration.mdx +156 -0
- ag2-0.9.2/website/docs/user-guide/basic-concepts/overview.mdx +117 -0
- ag2-0.9.2/website/docs/user-guide/basic-concepts/structured-outputs.mdx +609 -0
- ag2-0.9.2/website/docs/user-guide/getting-started/Getting-Started.mdx +163 -0
- ag2-0.9.2/website/docs/user-guide/models/amazon-bedrock.mdx +661 -0
- ag2-0.9.2/website/docs/user-guide/models/anthropic.mdx +866 -0
- ag2-0.9.2/website/docs/user-guide/models/assets/ag2-agentchat.png +3 -0
- ag2-0.9.2/website/docs/user-guide/models/assets/chat-example.png +3 -0
- ag2-0.9.2/website/docs/user-guide/models/assets/create-gcp-svc.png +3 -0
- ag2-0.9.2/website/docs/user-guide/models/assets/gemini-coding-chart.png +3 -0
- ag2-0.9.2/website/docs/user-guide/models/cerebras.mdx +351 -0
- ag2-0.9.2/website/docs/user-guide/models/cohere.mdx +398 -0
- ag2-0.9.2/website/docs/user-guide/models/deepseek-v3.mdx +378 -0
- ag2-0.9.2/website/docs/user-guide/models/google-gemini.mdx +213 -0
- ag2-0.9.2/website/docs/user-guide/models/google-vertexai.mdx +402 -0
- ag2-0.9.2/website/docs/user-guide/models/groq.mdx +404 -0
- ag2-0.9.2/website/docs/user-guide/models/litellm-proxy-server/azure.mdx +82 -0
- ag2-0.9.2/website/docs/user-guide/models/litellm-proxy-server/installation.mdx +48 -0
- ag2-0.9.2/website/docs/user-guide/models/litellm-proxy-server/openai.mdx +78 -0
- ag2-0.9.2/website/docs/user-guide/models/litellm-proxy-server/watsonx.mdx +139 -0
- ag2-0.9.2/website/docs/user-guide/models/lm-studio.mdx +114 -0
- ag2-0.9.2/website/docs/user-guide/models/mistralai.mdx +736 -0
- ag2-0.9.2/website/docs/user-guide/models/ollama.mdx +522 -0
- ag2-0.9.2/website/docs/user-guide/models/openai.mdx +70 -0
- ag2-0.9.2/website/docs/user-guide/models/togetherai.mdx +685 -0
- ag2-0.9.2/website/docs/user-guide/models/vLLM.mdx +167 -0
- ag2-0.9.2/website/docs/user-guide/reference-agents/assets/commsagents_discordoutput.png +3 -0
- ag2-0.9.2/website/docs/user-guide/reference-agents/assets/commsagents_tools.png +3 -0
- ag2-0.9.2/website/docs/user-guide/reference-agents/assets/commsplatforms_discord_sentmsg.png +3 -0
- ag2-0.9.2/website/docs/user-guide/reference-agents/assets/commsplatforms_slack_sentmsg.png +3 -0
- ag2-0.9.2/website/docs/user-guide/reference-agents/assets/commsplatforms_telegram_sentmsg.png +3 -0
- ag2-0.9.2/website/docs/user-guide/reference-agents/assets/docagent_tests_story1.md +39 -0
- ag2-0.9.2/website/docs/user-guide/reference-agents/assets/docagent_tests_story2.md +69 -0
- ag2-0.9.2/website/docs/user-guide/reference-agents/assets/websurferagent_animated.gif +0 -0
- ag2-0.9.2/website/docs/user-guide/reference-agents/captainagent.mdx +1748 -0
- ag2-0.9.2/website/docs/user-guide/reference-agents/communication-platforms/discordagent.mdx +123 -0
- ag2-0.9.2/website/docs/user-guide/reference-agents/communication-platforms/overview.mdx +88 -0
- ag2-0.9.2/website/docs/user-guide/reference-agents/communication-platforms/slackagent.mdx +143 -0
- ag2-0.9.2/website/docs/user-guide/reference-agents/communication-platforms/telegramagent.mdx +157 -0
- ag2-0.9.2/website/docs/user-guide/reference-agents/deepresearchagent.mdx +10 -0
- ag2-0.9.2/website/docs/user-guide/reference-agents/docagent-performance.mdx +677 -0
- ag2-0.9.2/website/docs/user-guide/reference-agents/docagent.mdx +483 -0
- ag2-0.9.2/website/docs/user-guide/reference-agents/index.mdx +73 -0
- ag2-0.9.2/website/docs/user-guide/reference-agents/reasoningagent.mdx +1034 -0
- ag2-0.9.2/website/docs/user-guide/reference-agents/websurferagent.mdx +124 -0
- ag2-0.9.2/website/docs/user-guide/reference-agents/wikipediaagent.mdx +91 -0
- ag2-0.9.2/website/docs/user-guide/reference-tools/browser-use.mdx +11 -0
- ag2-0.9.2/website/docs/user-guide/reference-tools/communication-platforms/discord.mdx +119 -0
- ag2-0.9.2/website/docs/user-guide/reference-tools/communication-platforms/slack.mdx +159 -0
- ag2-0.9.2/website/docs/user-guide/reference-tools/communication-platforms/telegram.mdx +148 -0
- ag2-0.9.2/website/docs/user-guide/reference-tools/crawl4ai.mdx +10 -0
- ag2-0.9.2/website/docs/user-guide/reference-tools/deep-research.mdx +9 -0
- ag2-0.9.2/website/docs/user-guide/reference-tools/google-api/google-drive.mdx +9 -0
- ag2-0.9.2/website/docs/user-guide/reference-tools/google-api/google-search.mdx +228 -0
- ag2-0.9.2/website/docs/user-guide/reference-tools/google-api/youtube-search.mdx +194 -0
- ag2-0.9.2/website/docs/user-guide/reference-tools/index.mdx +54 -0
- ag2-0.9.2/website/docs/user-guide/reference-tools/perplexity-search.mdx +170 -0
- ag2-0.9.2/website/docs/user-guide/reference-tools/wikipedia-search.mdx +216 -0
- ag2-0.9.2/website/docs/user-stories/2025-02-11-NOVA/img/nexla_ag2.webp +3 -0
- ag2-0.9.2/website/docs/user-stories/2025-02-11-NOVA/img/nova_architecture.webp +3 -0
- ag2-0.9.2/website/docs/user-stories/2025-02-11-NOVA/index.mdx +82 -0
- ag2-0.9.2/website/docs/user-stories/2025-04-03-Fortune-500-RAG-Chatbot/img/01.png +3 -0
- ag2-0.9.2/website/docs/user-stories/2025-04-03-Fortune-500-RAG-Chatbot/img/02.png +3 -0
- ag2-0.9.2/website/docs/user-stories/2025-04-03-Fortune-500-RAG-Chatbot/img/banner.png +3 -0
- ag2-0.9.2/website/docs/user-stories/2025-04-03-Fortune-500-RAG-Chatbot/img/profile.png +3 -0
- ag2-0.9.2/website/docs/user-stories/2025-04-03-Fortune-500-RAG-Chatbot/index.mdx +100 -0
- ag2-0.9.2/website/docs/user-stories/2025-04-04-AgentWeb/img/01.png +3 -0
- ag2-0.9.2/website/docs/user-stories/2025-04-04-AgentWeb/img/banner.png +3 -0
- ag2-0.9.2/website/docs/user-stories/2025-04-04-AgentWeb/img/profile.png +3 -0
- ag2-0.9.2/website/docs/user-stories/2025-04-04-AgentWeb/index.mdx +61 -0
- ag2-0.9.2/website/docs/user-stories/2025-04-11-Productionizing-OSS-Agents/img/banner.png +3 -0
- ag2-0.9.2/website/docs/user-stories/2025-04-11-Productionizing-OSS-Agents/index.mdx +27 -0
- ag2-0.9.2/website/docs/user-stories/2025-04-15-CMBAgent/img/banner.png +3 -0
- ag2-0.9.2/website/docs/user-stories/2025-04-15-CMBAgent/img/boris_profile.png +3 -0
- ag2-0.9.2/website/docs/user-stories/2025-04-15-CMBAgent/img/flow-chart.png +3 -0
- ag2-0.9.2/website/docs/user-stories/2025-04-15-CMBAgent/img/francisco_profile.png +3 -0
- ag2-0.9.2/website/docs/user-stories/2025-04-15-CMBAgent/img/inigo_profile.png +3 -0
- ag2-0.9.2/website/docs/user-stories/2025-04-15-CMBAgent/img/james_profile.png +3 -0
- ag2-0.9.2/website/docs/user-stories/2025-04-15-CMBAgent/index.mdx +92 -0
- ag2-0.9.2/website/docs/user-stories/2025-04-30-Cegid-Pulse-OS/img/01.png +3 -0
- ag2-0.9.2/website/docs/user-stories/2025-04-30-Cegid-Pulse-OS/img/banner.png +3 -0
- ag2-0.9.2/website/docs/user-stories/2025-04-30-Cegid-Pulse-OS/img/profile.png +3 -0
- ag2-0.9.2/website/docs/user-stories/2025-04-30-Cegid-Pulse-OS/index.mdx +70 -0
- ag2-0.9.2/website/docusaurus.config.js +34 -0
- ag2-0.9.2/website/generate_api_references.py +10 -0
- ag2-0.9.2/website/logo/ag2-white.svg +40 -0
- ag2-0.9.2/website/logo/ag2.svg +40 -0
- ag2-0.9.2/website/logo/favicon.svg +1 -0
- ag2-0.9.2/website/mako_templates/text.mako +470 -0
- ag2-0.9.2/website/mint-app-gallery-deps.js +106 -0
- ag2-0.9.2/website/mint-json-template.json.jinja +363 -0
- ag2-0.9.2/website/mint-script.js +21 -0
- ag2-0.9.2/website/mint-style.css +1057 -0
- ag2-0.9.2/website/mkdocs/.gitignore +4 -0
- ag2-0.9.2/website/mkdocs/README.md +3 -0
- ag2-0.9.2/website/mkdocs/create_api_docs.py +173 -0
- ag2-0.9.2/website/mkdocs/data/gallery_items.yml +263 -0
- ag2-0.9.2/website/mkdocs/data/people.yml +7 -0
- ag2-0.9.2/website/mkdocs/docs/.gitignore +3 -0
- ag2-0.9.2/website/mkdocs/docs/index.md +4 -0
- ag2-0.9.2/website/mkdocs/docs/javascripts/extra.js +428 -0
- ag2-0.9.2/website/mkdocs/docs/stylesheets/extra.css +697 -0
- ag2-0.9.2/website/mkdocs/docs.py +229 -0
- ag2-0.9.2/website/mkdocs/docs_src/__init__.py +0 -0
- ag2-0.9.2/website/mkdocs/expand_markdown.py +105 -0
- ag2-0.9.2/website/mkdocs/generate_mkdocs.py +10 -0
- ag2-0.9.2/website/mkdocs/includes/.gitkeep +0 -0
- ag2-0.9.2/website/mkdocs/mkdocs.yml +181 -0
- ag2-0.9.2/website/mkdocs/overrides/404.html +9 -0
- ag2-0.9.2/website/mkdocs/overrides/home.html +680 -0
- ag2-0.9.2/website/mkdocs/overrides/images/blue-bg.png +3 -0
- ag2-0.9.2/website/mkdocs/overrides/images/bot-left-corner.png +3 -0
- ag2-0.9.2/website/mkdocs/overrides/images/bot-right-corner.png +3 -0
- ag2-0.9.2/website/mkdocs/overrides/images/button-shine.png +3 -0
- ag2-0.9.2/website/mkdocs/overrides/images/city-horizon.png +3 -0
- ag2-0.9.2/website/mkdocs/overrides/images/cloud.png +3 -0
- ag2-0.9.2/website/mkdocs/overrides/images/conversation.png +3 -0
- ag2-0.9.2/website/mkdocs/overrides/images/green-bg.png +3 -0
- ag2-0.9.2/website/mkdocs/overrides/images/human.png +3 -0
- ag2-0.9.2/website/mkdocs/overrides/images/intuitive.png +3 -0
- ag2-0.9.2/website/mkdocs/overrides/images/purple-bg.png +3 -0
- ag2-0.9.2/website/mkdocs/overrides/images/sun.png +3 -0
- ag2-0.9.2/website/mkdocs/overrides/images/top-left-corner.png +3 -0
- ag2-0.9.2/website/mkdocs/overrides/images/top-right-corner.png +3 -0
- ag2-0.9.2/website/mkdocs/overrides/images/yellow-bg.png +3 -0
- ag2-0.9.2/website/mkdocs/overrides/main.html +40 -0
- ag2-0.9.2/website/mkdocs/templates/redirect.html +63 -0
- ag2-0.9.2/website/mkdocs/update_releases.py +90 -0
- ag2-0.9.2/website/package-lock.json +3 -0
- ag2-0.9.2/website/package.json +14 -0
- ag2-0.9.2/website/process_notebooks.py +14 -0
- ag2-0.9.2/website/snippets/advanced-concepts/realtime-agent/img/1_service_running.png +3 -0
- ag2-0.9.2/website/snippets/advanced-concepts/realtime-agent/img/2_incoming_call.png +3 -0
- ag2-0.9.2/website/snippets/advanced-concepts/realtime-agent/img/3_request_for_flight_cancellation.png +3 -0
- ag2-0.9.2/website/snippets/advanced-concepts/realtime-agent/img/4_flight_number_name.png +3 -0
- ag2-0.9.2/website/snippets/advanced-concepts/realtime-agent/img/5_refund_policy.png +3 -0
- ag2-0.9.2/website/snippets/advanced-concepts/realtime-agent/img/6_flight_refunded.png +3 -0
- ag2-0.9.2/website/snippets/advanced-concepts/realtime-agent/img/realtime_agent_swarm.png +3 -0
- ag2-0.9.2/website/snippets/advanced-concepts/realtime-agent/img/twilio_endpoint_config.png +3 -0
- ag2-0.9.2/website/snippets/advanced-concepts/realtime-agent/img/twilio_phone_numbers.png +3 -0
- ag2-0.9.2/website/snippets/advanced-concepts/realtime-agent/img/webrtc_chat.png +3 -0
- ag2-0.9.2/website/snippets/advanced-concepts/realtime-agent/img/webrtc_communication_diagram.png +3 -0
- ag2-0.9.2/website/snippets/advanced-concepts/realtime-agent/img/webrtc_connection_diagram.png +3 -0
- ag2-0.9.2/website/snippets/advanced-concepts/realtime-agent/img/websocket_chat.png +3 -0
- ag2-0.9.2/website/snippets/advanced-concepts/realtime-agent/img/websocket_communication_diagram.png +3 -0
- ag2-0.9.2/website/snippets/advanced-concepts/realtime-agent/twilio.mdx +354 -0
- ag2-0.9.2/website/snippets/advanced-concepts/realtime-agent/webrtc.mdx +228 -0
- ag2-0.9.2/website/snippets/advanced-concepts/realtime-agent/websocket.mdx +224 -0
- ag2-0.9.2/website/snippets/components/ClientSideComponent.mdx +7 -0
- ag2-0.9.2/website/snippets/components/GalleryPage.mdx +168 -0
- ag2-0.9.2/website/snippets/data/GalleryItems.mdx +246 -0
- ag2-0.9.2/website/snippets/interop/crewai.mdx +158 -0
- ag2-0.9.2/website/snippets/interop/langchain.mdx +132 -0
- ag2-0.9.2/website/snippets/interop/pydanticai.mdx +128 -0
- ag2-0.9.2/website/snippets/mcp/client.mdx +302 -0
- ag2-0.9.2/website/snippets/python-examples/conversableagentchat.mdx +25 -0
- ag2-0.9.2/website/snippets/python-examples/groupchat.mdx +73 -0
- ag2-0.9.2/website/snippets/python-examples/groupchatcustomfsm.mdx +108 -0
- ag2-0.9.2/website/snippets/python-examples/groupchatcustomfunc.mdx +123 -0
- ag2-0.9.2/website/snippets/python-examples/humanintheloop.mdx +32 -0
- ag2-0.9.2/website/snippets/python-examples/humanintheloop_financial.mdx +62 -0
- ag2-0.9.2/website/snippets/python-examples/nestedchat.mdx +137 -0
- ag2-0.9.2/website/snippets/python-examples/sequentialchat.mdx +84 -0
- ag2-0.9.2/website/snippets/python-examples/structured_output.mdx +49 -0
- ag2-0.9.2/website/snippets/python-examples/swarm.mdx +118 -0
- ag2-0.9.2/website/snippets/python-examples/swarmgroupchat.mdx +44 -0
- ag2-0.9.2/website/snippets/python-examples/toolregister.mdx +45 -0
- ag2-0.9.2/website/snippets/python-examples/websurferagent.mdx +27 -0
- ag2-0.9.2/website/snippets/reference-agents/deep-research.mdx +109 -0
- ag2-0.9.2/website/snippets/reference-agents/img/DeepResearchAgent.png +3 -0
- ag2-0.9.2/website/snippets/reference-tools/browser-use.mdx +187 -0
- ag2-0.9.2/website/snippets/reference-tools/crawl4ai.mdx +391 -0
- ag2-0.9.2/website/snippets/reference-tools/deep-research.mdx +181 -0
- ag2-0.9.2/website/snippets/reference-tools/google-drive.mdx +304 -0
- ag2-0.9.2/website/snippets/utils/runmethodhelp.mdx +30 -0
- ag2-0.9.2/website/static/.nojekyll +0 -0
- ag2-0.9.2/website/static/img/ag.ico +0 -0
- ag2-0.9.2/website/static/img/ag.svg +1 -0
- ag2-0.9.2/website/static/img/ag2.ico +0 -0
- ag2-0.9.2/website/static/img/ag2.png +3 -0
- ag2-0.9.2/website/static/img/ag2.svg +40 -0
- ag2-0.9.2/website/static/img/auto.svg +1 -0
- ag2-0.9.2/website/static/img/autogen.svg +1 -0
- ag2-0.9.2/website/static/img/autogen_agentchat.png +3 -0
- ag2-0.9.2/website/static/img/autogen_app.png +3 -0
- ag2-0.9.2/website/static/img/autogen_app.svg +86 -0
- ag2-0.9.2/website/static/img/chat_example.png +3 -0
- ag2-0.9.2/website/static/img/conv.svg +1 -0
- ag2-0.9.2/website/static/img/conv_2.svg +43 -0
- ag2-0.9.2/website/static/img/cover.png +3 -0
- ag2-0.9.2/website/static/img/create_gcp_svc.png +3 -0
- ag2-0.9.2/website/static/img/ecosystem-composio.png +3 -0
- ag2-0.9.2/website/static/img/extend.svg +81 -0
- ag2-0.9.2/website/static/img/fast.svg +1 -0
- ag2-0.9.2/website/static/img/favicon-dark.svg +7 -0
- ag2-0.9.2/website/static/img/favicon.svg +1 -0
- ag2-0.9.2/website/static/img/flaml.svg +1 -0
- ag2-0.9.2/website/static/img/flaml_logo.ico +0 -0
- ag2-0.9.2/website/static/img/flaml_logo_fill.svg +28 -0
- ag2-0.9.2/website/static/img/gallery/TensionCode.png +3 -0
- ag2-0.9.2/website/static/img/gallery/agent-e.png +3 -0
- ag2-0.9.2/website/static/img/gallery/autotx.png +3 -0
- ag2-0.9.2/website/static/img/gallery/composio-autogen.png +3 -0
- ag2-0.9.2/website/static/img/gallery/default.png +3 -0
- ag2-0.9.2/website/static/img/gallery/robot.jpg +3 -0
- ag2-0.9.2/website/static/img/gallery/webagent.jpg +3 -0
- ag2-0.9.2/website/static/img/gallery/x-force-ide-ui.png +3 -0
- ag2-0.9.2/website/static/img/homepage-hero-background-large.png +3 -0
- ag2-0.9.2/website/static/img/homepage-hero-background.png +3 -0
- ag2-0.9.2/website/static/img/logo.svg +40 -0
- ag2-0.9.2/website/static/img/love.png +3 -0
- ag2-0.9.2/website/talks/2024-08-26/index.mdx +19 -0
- ag2-0.9.2/website/talks/2024-09-23/index.mdx +15 -0
- ag2-0.9.2/website/talks/2024-09-30/index.mdx +13 -0
- ag2-0.9.2/website/talks/2024-10-14/index.mdx +13 -0
- ag2-0.9.2/website/talks/2024-10-15/index.mdx +14 -0
- ag2-0.9.2/website/talks/2024-11-04/index.mdx +13 -0
- ag2-0.9.2/website/talks/2024-11-11/index.mdx +13 -0
- ag2-0.9.2/website/talks/2024-11-12/index.mdx +13 -0
- ag2-0.9.2/website/talks/2024-11-18/index.mdx +13 -0
- ag2-0.9.2/website/talks/2024-11-25/index.mdx +13 -0
- ag2-0.9.2/website/talks/2024-11-28/index.mdx +13 -0
- ag2-0.9.2/website/talks/2024-12-12/index.mdx +13 -0
- ag2-0.9.2/website/talks/2024-12-19/index.mdx +13 -0
- ag2-0.9.2/website/talks/2024-12-19-special_talk/index.mdx +17 -0
- ag2-0.9.2/website/talks/2025-01-16/index.mdx +13 -0
- ag2-0.9.2/website/talks/2025-01-23/index.mdx +13 -0
- ag2-0.9.2/website/talks/future_talks/index.mdx +14 -0
- ag2-0.9.2/website/user-guide/captainagent/_category_.json +4 -0
- ag2-0.9.2/website/user-guide/captainagent/agent_library.mdx +52 -0
- ag2-0.9.2/website/user-guide/captainagent/configurations.mdx +94 -0
- ag2-0.9.2/website/user-guide/captainagent/tool_library.mdx +104 -0
- ag2-0.9.2/website/user-guide/handling_long_contexts/_category_.json +4 -0
- ag2-0.9.2/website/user-guide/handling_long_contexts/compressing_text_w_llmligua.mdx +181 -0
- ag2-0.9.2/website/user-guide/handling_long_contexts/intro_to_transform_messages.mdx +371 -0
- ag2-0.9.1a1/PKG-INFO +0 -506
- ag2-0.9.1a1/ag2.egg-info/SOURCES.txt +0 -22
- ag2-0.9.1a1/ag2.egg-info/dependency_links.txt +0 -1
- ag2-0.9.1a1/ag2.egg-info/requires.txt +0 -166
- ag2-0.9.1a1/ag2.egg-info/top_level.txt +0 -1
- ag2-0.9.1a1/setup.cfg +0 -4
- ag2-0.9.1a1/setup_ag2.py +0 -98
- ag2-0.9.1a1/test/test_browser_utils.py +0 -177
- ag2-0.9.1a1/test/test_code_utils.py +0 -446
- ag2-0.9.1a1/test/test_conftest.py +0 -74
- ag2-0.9.1a1/test/test_graph_utils.py +0 -171
- ag2-0.9.1a1/test/test_import.py +0 -84
- ag2-0.9.1a1/test/test_import_utils.py +0 -451
- ag2-0.9.1a1/test/test_json_utils.py +0 -48
- ag2-0.9.1a1/test/test_llm_config.py +0 -805
- ag2-0.9.1a1/test/test_logging.py +0 -321
- ag2-0.9.1a1/test/test_notebook.py +0 -154
- ag2-0.9.1a1/test/test_retrieve_utils.py +0 -278
- ag2-0.9.1a1/test/test_token_count.py +0 -171
- {ag2-0.9.1a1 → ag2-0.9.2}/LICENSE +0 -0
- {ag2-0.9.1a1 → ag2-0.9.2}/NOTICE.md +0 -0
ag2-0.9.2/.coveragerc
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
#-------------------------------------------------------------------------------------------------------------
|
|
2
|
+
# Copyright (c) 2023 - 2025, AG2ai, Inc., AG2ai open-source projects maintainers and core contributors
|
|
3
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
# Contributions to this project, i.e., https://github.com/ag2ai/ag2, are licensed under the Apache License, Version 2.0 (Apache-2.0).
|
|
5
|
+
|
|
6
|
+
# Portions derived from https://github.com/microsoft/autogen under the MIT License.
|
|
7
|
+
# SPDX-License-Identifier: MIT
|
|
8
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
9
|
+
# Licensed under the MIT License. See LICENSE file in the project root for license information.
|
|
10
|
+
#-------------------------------------------------------------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
FROM mcr.microsoft.com/vscode/devcontainers/python:3.10
|
|
13
|
+
|
|
14
|
+
#
|
|
15
|
+
# Update the OS and maybe install packages
|
|
16
|
+
#
|
|
17
|
+
ENV DEBIAN_FRONTEND=noninteractive
|
|
18
|
+
|
|
19
|
+
# add git lhs to apt
|
|
20
|
+
RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
|
|
21
|
+
|
|
22
|
+
RUN apt-get update \
|
|
23
|
+
&& apt-get upgrade -y \
|
|
24
|
+
&& apt-get -y install --no-install-recommends build-essential npm git-lfs \
|
|
25
|
+
&& apt-get autoremove -y \
|
|
26
|
+
&& apt-get clean -y \
|
|
27
|
+
&& arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) \
|
|
28
|
+
&& wget https://github.com/quarto-dev/quarto-cli/releases/download/v1.5.23/quarto-1.5.23-linux-${arch}.deb \
|
|
29
|
+
&& dpkg -i quarto-1.5.23-linux-${arch}.deb \
|
|
30
|
+
&& rm -rf /var/lib/apt/lists/* quarto-1.5.23-linux-${arch}.deb
|
|
31
|
+
ENV DEBIAN_FRONTEND=dialog
|
|
32
|
+
|
|
33
|
+
# For docs
|
|
34
|
+
RUN npm install --global yarn
|
|
35
|
+
RUN pip install --upgrade pip
|
|
36
|
+
RUN pip install pydoc-markdown
|
|
37
|
+
RUN pip install pyyaml
|
|
38
|
+
RUN pip install colored
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Devcontainer Configurations for AG2
|
|
2
|
+
|
|
3
|
+
Welcome to the `.devcontainer` directory! Here you'll find Dockerfiles and devcontainer configurations that are essential for setting up your AG2 development environment. Below is a brief overview and how you can utilize them effectively.
|
|
4
|
+
|
|
5
|
+
These configurations can be used with Codespaces and locally.
|
|
6
|
+
|
|
7
|
+
## Developing AG2 with Devcontainers
|
|
8
|
+
|
|
9
|
+
### Prerequisites
|
|
10
|
+
|
|
11
|
+
- [Docker](https://docs.docker.com/get-docker/)
|
|
12
|
+
- [Visual Studio Code](https://code.visualstudio.com/)
|
|
13
|
+
- [Visual Studio Code Remote - Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers)
|
|
14
|
+
|
|
15
|
+
### Getting Started
|
|
16
|
+
|
|
17
|
+
1. Open the project in Visual Studio Code.
|
|
18
|
+
2. Press `Ctrl+Shift+P` and select `Dev Containers: Reopen in Container`.
|
|
19
|
+
3. Select the desired python environment and wait for the container to build.
|
|
20
|
+
4. Once the container is built, you can start developing AG2.
|
|
21
|
+
|
|
22
|
+
### Troubleshooting Common Issues
|
|
23
|
+
|
|
24
|
+
- Check Docker daemon, port conflicts, and permissions issues.
|
|
25
|
+
|
|
26
|
+
### Additional Resources
|
|
27
|
+
|
|
28
|
+
For more information on Docker usage and best practices, refer to the [official Docker documentation](https://docs.docker.com).
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
// Do not edit this file directly.
|
|
2
|
+
// This file is auto generated from the template file `scripts/devcontainer/templates/devcontainer.json.jinja`.
|
|
3
|
+
// If you need to make changes, please update the template file and regenerate this file
|
|
4
|
+
// by running pre-commit command `pre-commit run --all-files`
|
|
5
|
+
// or by manually running the script `./scripts/devcontainer/generate-devcontainers.sh`.
|
|
6
|
+
{
|
|
7
|
+
"name": "python-3.9",
|
|
8
|
+
"image": "mcr.microsoft.com/devcontainers/python:3.9",
|
|
9
|
+
"secrets": {
|
|
10
|
+
"OAI_CONFIG_LIST": {
|
|
11
|
+
"description": "This key is optional and only needed if you are working on OpenAI-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
|
|
12
|
+
},
|
|
13
|
+
"OPENAI_API_KEY": {
|
|
14
|
+
"description": "This key is optional and only needed if you are working on OpenAI-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
|
|
15
|
+
},
|
|
16
|
+
"TOGETHER_API_KEY": {
|
|
17
|
+
"description": "This key is optional and only needed if you are working with Together API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
|
|
18
|
+
},
|
|
19
|
+
"ANTHROPIC_API_KEY": {
|
|
20
|
+
"description": "This key is optional and only needed if you are working with Anthropic API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
|
|
21
|
+
},
|
|
22
|
+
"GEMINI_API_KEY": {
|
|
23
|
+
"description": "This key is optional and only needed if you are working with Gemini API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
|
|
24
|
+
},
|
|
25
|
+
"AZURE_OPENAI_API_KEY": {
|
|
26
|
+
"description": "This key is optional and only needed if you are using Azure's OpenAI services. For it to work, you must also set the related environment variables: AZURE_API_ENDPOINT, AZURE_API_VERSION. Leave it blank if not required. You can always set these variables later in the codespace terminal."
|
|
27
|
+
},
|
|
28
|
+
"AZURE_API_ENDPOINT": {
|
|
29
|
+
"description": "This key is required if you are using Azure's OpenAI services. It must be used in conjunction with AZURE_OPENAI_API_KEY, AZURE_API_VERSION to ensure proper configuration. You can always set these variables later as environment variables in the codespace terminal."
|
|
30
|
+
},
|
|
31
|
+
"AZURE_API_VERSION": {
|
|
32
|
+
"description": "This key is required to specify the version of the Azure API you are using. Set this along with AZURE_OPENAI_API_KEY, AZURE_API_ENDPOINT for Azure OpenAI services. These variables can be configured later as environment variables in the codespace terminal."
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
"shutdownAction": "stopContainer",
|
|
36
|
+
"workspaceFolder": "/workspaces/ag2",
|
|
37
|
+
"runArgs": [
|
|
38
|
+
"--name",
|
|
39
|
+
"python-3.9-ag2"
|
|
40
|
+
],
|
|
41
|
+
"remoteEnv": {
|
|
42
|
+
"OAI_CONFIG_LIST": "${localEnv:OAI_CONFIG_LIST}",
|
|
43
|
+
"ANTHROPIC_API_KEY": "${localEnv:ANTHROPIC_API_KEY}",
|
|
44
|
+
"AZURE_OPENAI_API_KEY": "${localEnv:AZURE_OPENAI_API_KEY}",
|
|
45
|
+
"OPENAI_API_KEY": "${localEnv:OPENAI_API_KEY}",
|
|
46
|
+
"TOGETHER_API_KEY": "${localEnv:TOGETHER_API_KEY}",
|
|
47
|
+
"GEMINI_API_KEY": "${localEnv:GEMINI_API_KEY}",
|
|
48
|
+
"AZURE_API_ENDPOINT": "${localEnv:AZURE_API_ENDPOINT}",
|
|
49
|
+
"AZURE_API_VERSION": "${localEnv:AZURE_API_VERSION}",
|
|
50
|
+
},
|
|
51
|
+
"features": {
|
|
52
|
+
"ghcr.io/devcontainers/features/common-utils:2": {
|
|
53
|
+
"installZsh": true,
|
|
54
|
+
"installOhMyZsh": true,
|
|
55
|
+
"configureZshAsDefaultShell": true,
|
|
56
|
+
"username": "vscode",
|
|
57
|
+
"userUid": "1000",
|
|
58
|
+
"userGid": "1000"
|
|
59
|
+
// "upgradePackages": "true"
|
|
60
|
+
},
|
|
61
|
+
"ghcr.io/devcontainers/features/node:1": {},
|
|
62
|
+
"ghcr.io/devcontainers/features/git:1": {},
|
|
63
|
+
"ghcr.io/devcontainers/features/git-lfs:1": {},
|
|
64
|
+
"ghcr.io/rocker-org/devcontainer-features/quarto-cli:1": {}
|
|
65
|
+
},
|
|
66
|
+
"updateContentCommand": "bash .devcontainer/setup.sh",
|
|
67
|
+
"customizations": {
|
|
68
|
+
"vscode": {
|
|
69
|
+
"settings": {
|
|
70
|
+
"python.linting.enabled": true,
|
|
71
|
+
"python.testing.pytestEnabled": true,
|
|
72
|
+
"editor.formatOnSave": true,
|
|
73
|
+
"editor.codeActionsOnSave": {
|
|
74
|
+
"source.organizeImports": "always"
|
|
75
|
+
},
|
|
76
|
+
"[python]": {
|
|
77
|
+
"editor.defaultFormatter": "ms-python.vscode-pylance"
|
|
78
|
+
},
|
|
79
|
+
"editor.rulers": [
|
|
80
|
+
80
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
"extensions": [
|
|
84
|
+
"ms-python.python",
|
|
85
|
+
"ms-toolsai.jupyter",
|
|
86
|
+
"ms-toolsai.vscode-jupyter-cell-tags",
|
|
87
|
+
"ms-toolsai.jupyter-keymap",
|
|
88
|
+
"ms-toolsai.jupyter-renderers",
|
|
89
|
+
"ms-toolsai.vscode-jupyter-slideshow",
|
|
90
|
+
"ms-python.vscode-pylance"
|
|
91
|
+
]
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
// Do not edit this file directly.
|
|
2
|
+
// This file is auto generated from the template file `scripts/devcontainer/templates/devcontainer.json.jinja`.
|
|
3
|
+
// If you need to make changes, please update the template file and regenerate this file
|
|
4
|
+
// by running pre-commit command `pre-commit run --all-files`
|
|
5
|
+
// or by manually running the script `./scripts/devcontainer/generate-devcontainers.sh`.
|
|
6
|
+
{
|
|
7
|
+
"name": "python-3.10",
|
|
8
|
+
"image": "mcr.microsoft.com/devcontainers/python:3.10",
|
|
9
|
+
"secrets": {
|
|
10
|
+
"OAI_CONFIG_LIST": {
|
|
11
|
+
"description": "This key is optional and only needed if you are working on OpenAI-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
|
|
12
|
+
},
|
|
13
|
+
"OPENAI_API_KEY": {
|
|
14
|
+
"description": "This key is optional and only needed if you are working on OpenAI-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
|
|
15
|
+
},
|
|
16
|
+
"TOGETHER_API_KEY": {
|
|
17
|
+
"description": "This key is optional and only needed if you are working with Together API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
|
|
18
|
+
},
|
|
19
|
+
"ANTHROPIC_API_KEY": {
|
|
20
|
+
"description": "This key is optional and only needed if you are working with Anthropic API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
|
|
21
|
+
},
|
|
22
|
+
"GEMINI_API_KEY": {
|
|
23
|
+
"description": "This key is optional and only needed if you are working with Gemini API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
|
|
24
|
+
},
|
|
25
|
+
"AZURE_OPENAI_API_KEY": {
|
|
26
|
+
"description": "This key is optional and only needed if you are using Azure's OpenAI services. For it to work, you must also set the related environment variables: AZURE_API_ENDPOINT, AZURE_API_VERSION. Leave it blank if not required. You can always set these variables later in the codespace terminal."
|
|
27
|
+
},
|
|
28
|
+
"AZURE_API_ENDPOINT": {
|
|
29
|
+
"description": "This key is required if you are using Azure's OpenAI services. It must be used in conjunction with AZURE_OPENAI_API_KEY, AZURE_API_VERSION to ensure proper configuration. You can always set these variables later as environment variables in the codespace terminal."
|
|
30
|
+
},
|
|
31
|
+
"AZURE_API_VERSION": {
|
|
32
|
+
"description": "This key is required to specify the version of the Azure API you are using. Set this along with AZURE_OPENAI_API_KEY, AZURE_API_ENDPOINT for Azure OpenAI services. These variables can be configured later as environment variables in the codespace terminal."
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
"shutdownAction": "stopContainer",
|
|
36
|
+
"workspaceFolder": "/workspaces/ag2",
|
|
37
|
+
"runArgs": [
|
|
38
|
+
"--name",
|
|
39
|
+
"python-3.10-ag2"
|
|
40
|
+
],
|
|
41
|
+
"remoteEnv": {
|
|
42
|
+
"OAI_CONFIG_LIST": "${localEnv:OAI_CONFIG_LIST}",
|
|
43
|
+
"ANTHROPIC_API_KEY": "${localEnv:ANTHROPIC_API_KEY}",
|
|
44
|
+
"AZURE_OPENAI_API_KEY": "${localEnv:AZURE_OPENAI_API_KEY}",
|
|
45
|
+
"OPENAI_API_KEY": "${localEnv:OPENAI_API_KEY}",
|
|
46
|
+
"TOGETHER_API_KEY": "${localEnv:TOGETHER_API_KEY}",
|
|
47
|
+
"GEMINI_API_KEY": "${localEnv:GEMINI_API_KEY}",
|
|
48
|
+
"AZURE_API_ENDPOINT": "${localEnv:AZURE_API_ENDPOINT}",
|
|
49
|
+
"AZURE_API_VERSION": "${localEnv:AZURE_API_VERSION}",
|
|
50
|
+
},
|
|
51
|
+
"features": {
|
|
52
|
+
"ghcr.io/devcontainers/features/common-utils:2": {
|
|
53
|
+
"installZsh": true,
|
|
54
|
+
"installOhMyZsh": true,
|
|
55
|
+
"configureZshAsDefaultShell": true,
|
|
56
|
+
"username": "vscode",
|
|
57
|
+
"userUid": "1000",
|
|
58
|
+
"userGid": "1000"
|
|
59
|
+
// "upgradePackages": "true"
|
|
60
|
+
},
|
|
61
|
+
"ghcr.io/devcontainers/features/node:1": {},
|
|
62
|
+
"ghcr.io/devcontainers/features/git:1": {},
|
|
63
|
+
"ghcr.io/devcontainers/features/git-lfs:1": {},
|
|
64
|
+
"ghcr.io/rocker-org/devcontainer-features/quarto-cli:1": {}
|
|
65
|
+
},
|
|
66
|
+
"updateContentCommand": "bash .devcontainer/setup.sh",
|
|
67
|
+
"customizations": {
|
|
68
|
+
"vscode": {
|
|
69
|
+
"settings": {
|
|
70
|
+
"python.linting.enabled": true,
|
|
71
|
+
"python.testing.pytestEnabled": true,
|
|
72
|
+
"editor.formatOnSave": true,
|
|
73
|
+
"editor.codeActionsOnSave": {
|
|
74
|
+
"source.organizeImports": "always"
|
|
75
|
+
},
|
|
76
|
+
"[python]": {
|
|
77
|
+
"editor.defaultFormatter": "ms-python.vscode-pylance"
|
|
78
|
+
},
|
|
79
|
+
"editor.rulers": [
|
|
80
|
+
80
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
"extensions": [
|
|
84
|
+
"ms-python.python",
|
|
85
|
+
"ms-toolsai.jupyter",
|
|
86
|
+
"ms-toolsai.vscode-jupyter-cell-tags",
|
|
87
|
+
"ms-toolsai.jupyter-keymap",
|
|
88
|
+
"ms-toolsai.jupyter-renderers",
|
|
89
|
+
"ms-toolsai.vscode-jupyter-slideshow",
|
|
90
|
+
"ms-python.vscode-pylance"
|
|
91
|
+
]
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
// Do not edit this file directly.
|
|
2
|
+
// This file is auto generated from the template file `scripts/devcontainer/templates/devcontainer.json.jinja`.
|
|
3
|
+
// If you need to make changes, please update the template file and regenerate this file
|
|
4
|
+
// by running pre-commit command `pre-commit run --all-files`
|
|
5
|
+
// or by manually running the script `./scripts/devcontainer/generate-devcontainers.sh`.
|
|
6
|
+
{
|
|
7
|
+
"name": "python-3.11",
|
|
8
|
+
"image": "mcr.microsoft.com/devcontainers/python:3.11",
|
|
9
|
+
"secrets": {
|
|
10
|
+
"OAI_CONFIG_LIST": {
|
|
11
|
+
"description": "This key is optional and only needed if you are working on OpenAI-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
|
|
12
|
+
},
|
|
13
|
+
"OPENAI_API_KEY": {
|
|
14
|
+
"description": "This key is optional and only needed if you are working on OpenAI-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
|
|
15
|
+
},
|
|
16
|
+
"TOGETHER_API_KEY": {
|
|
17
|
+
"description": "This key is optional and only needed if you are working with Together API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
|
|
18
|
+
},
|
|
19
|
+
"ANTHROPIC_API_KEY": {
|
|
20
|
+
"description": "This key is optional and only needed if you are working with Anthropic API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
|
|
21
|
+
},
|
|
22
|
+
"GEMINI_API_KEY": {
|
|
23
|
+
"description": "This key is optional and only needed if you are working with Gemini API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
|
|
24
|
+
},
|
|
25
|
+
"AZURE_OPENAI_API_KEY": {
|
|
26
|
+
"description": "This key is optional and only needed if you are using Azure's OpenAI services. For it to work, you must also set the related environment variables: AZURE_API_ENDPOINT, AZURE_API_VERSION. Leave it blank if not required. You can always set these variables later in the codespace terminal."
|
|
27
|
+
},
|
|
28
|
+
"AZURE_API_ENDPOINT": {
|
|
29
|
+
"description": "This key is required if you are using Azure's OpenAI services. It must be used in conjunction with AZURE_OPENAI_API_KEY, AZURE_API_VERSION to ensure proper configuration. You can always set these variables later as environment variables in the codespace terminal."
|
|
30
|
+
},
|
|
31
|
+
"AZURE_API_VERSION": {
|
|
32
|
+
"description": "This key is required to specify the version of the Azure API you are using. Set this along with AZURE_OPENAI_API_KEY, AZURE_API_ENDPOINT for Azure OpenAI services. These variables can be configured later as environment variables in the codespace terminal."
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
"shutdownAction": "stopContainer",
|
|
36
|
+
"workspaceFolder": "/workspaces/ag2",
|
|
37
|
+
"runArgs": [
|
|
38
|
+
"--name",
|
|
39
|
+
"python-3.11-ag2"
|
|
40
|
+
],
|
|
41
|
+
"remoteEnv": {
|
|
42
|
+
"OAI_CONFIG_LIST": "${localEnv:OAI_CONFIG_LIST}",
|
|
43
|
+
"ANTHROPIC_API_KEY": "${localEnv:ANTHROPIC_API_KEY}",
|
|
44
|
+
"AZURE_OPENAI_API_KEY": "${localEnv:AZURE_OPENAI_API_KEY}",
|
|
45
|
+
"OPENAI_API_KEY": "${localEnv:OPENAI_API_KEY}",
|
|
46
|
+
"TOGETHER_API_KEY": "${localEnv:TOGETHER_API_KEY}",
|
|
47
|
+
"GEMINI_API_KEY": "${localEnv:GEMINI_API_KEY}",
|
|
48
|
+
"AZURE_API_ENDPOINT": "${localEnv:AZURE_API_ENDPOINT}",
|
|
49
|
+
"AZURE_API_VERSION": "${localEnv:AZURE_API_VERSION}",
|
|
50
|
+
},
|
|
51
|
+
"features": {
|
|
52
|
+
"ghcr.io/devcontainers/features/common-utils:2": {
|
|
53
|
+
"installZsh": true,
|
|
54
|
+
"installOhMyZsh": true,
|
|
55
|
+
"configureZshAsDefaultShell": true,
|
|
56
|
+
"username": "vscode",
|
|
57
|
+
"userUid": "1000",
|
|
58
|
+
"userGid": "1000"
|
|
59
|
+
// "upgradePackages": "true"
|
|
60
|
+
},
|
|
61
|
+
"ghcr.io/devcontainers/features/node:1": {},
|
|
62
|
+
"ghcr.io/devcontainers/features/git:1": {},
|
|
63
|
+
"ghcr.io/devcontainers/features/git-lfs:1": {},
|
|
64
|
+
"ghcr.io/rocker-org/devcontainer-features/quarto-cli:1": {}
|
|
65
|
+
},
|
|
66
|
+
"updateContentCommand": "bash .devcontainer/setup.sh",
|
|
67
|
+
"customizations": {
|
|
68
|
+
"vscode": {
|
|
69
|
+
"settings": {
|
|
70
|
+
"python.linting.enabled": true,
|
|
71
|
+
"python.testing.pytestEnabled": true,
|
|
72
|
+
"editor.formatOnSave": true,
|
|
73
|
+
"editor.codeActionsOnSave": {
|
|
74
|
+
"source.organizeImports": "always"
|
|
75
|
+
},
|
|
76
|
+
"[python]": {
|
|
77
|
+
"editor.defaultFormatter": "ms-python.vscode-pylance"
|
|
78
|
+
},
|
|
79
|
+
"editor.rulers": [
|
|
80
|
+
80
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
"extensions": [
|
|
84
|
+
"ms-python.python",
|
|
85
|
+
"ms-toolsai.jupyter",
|
|
86
|
+
"ms-toolsai.vscode-jupyter-cell-tags",
|
|
87
|
+
"ms-toolsai.jupyter-keymap",
|
|
88
|
+
"ms-toolsai.jupyter-renderers",
|
|
89
|
+
"ms-toolsai.vscode-jupyter-slideshow",
|
|
90
|
+
"ms-python.vscode-pylance"
|
|
91
|
+
]
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
// Do not edit this file directly.
|
|
2
|
+
// This file is auto generated from the template file `scripts/devcontainer/templates/devcontainer.json.jinja`.
|
|
3
|
+
// If you need to make changes, please update the template file and regenerate this file
|
|
4
|
+
// by running pre-commit command `pre-commit run --all-files`
|
|
5
|
+
// or by manually running the script `./scripts/devcontainer/generate-devcontainers.sh`.
|
|
6
|
+
{
|
|
7
|
+
"name": "python-3.12",
|
|
8
|
+
"image": "mcr.microsoft.com/devcontainers/python:3.12",
|
|
9
|
+
"secrets": {
|
|
10
|
+
"OAI_CONFIG_LIST": {
|
|
11
|
+
"description": "This key is optional and only needed if you are working on OpenAI-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
|
|
12
|
+
},
|
|
13
|
+
"OPENAI_API_KEY": {
|
|
14
|
+
"description": "This key is optional and only needed if you are working on OpenAI-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
|
|
15
|
+
},
|
|
16
|
+
"TOGETHER_API_KEY": {
|
|
17
|
+
"description": "This key is optional and only needed if you are working with Together API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
|
|
18
|
+
},
|
|
19
|
+
"ANTHROPIC_API_KEY": {
|
|
20
|
+
"description": "This key is optional and only needed if you are working with Anthropic API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
|
|
21
|
+
},
|
|
22
|
+
"GEMINI_API_KEY": {
|
|
23
|
+
"description": "This key is optional and only needed if you are working with Gemini API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
|
|
24
|
+
},
|
|
25
|
+
"AZURE_OPENAI_API_KEY": {
|
|
26
|
+
"description": "This key is optional and only needed if you are using Azure's OpenAI services. For it to work, you must also set the related environment variables: AZURE_API_ENDPOINT, AZURE_API_VERSION. Leave it blank if not required. You can always set these variables later in the codespace terminal."
|
|
27
|
+
},
|
|
28
|
+
"AZURE_API_ENDPOINT": {
|
|
29
|
+
"description": "This key is required if you are using Azure's OpenAI services. It must be used in conjunction with AZURE_OPENAI_API_KEY, AZURE_API_VERSION to ensure proper configuration. You can always set these variables later as environment variables in the codespace terminal."
|
|
30
|
+
},
|
|
31
|
+
"AZURE_API_VERSION": {
|
|
32
|
+
"description": "This key is required to specify the version of the Azure API you are using. Set this along with AZURE_OPENAI_API_KEY, AZURE_API_ENDPOINT for Azure OpenAI services. These variables can be configured later as environment variables in the codespace terminal."
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
"shutdownAction": "stopContainer",
|
|
36
|
+
"workspaceFolder": "/workspaces/ag2",
|
|
37
|
+
"runArgs": [
|
|
38
|
+
"--name",
|
|
39
|
+
"python-3.12-ag2"
|
|
40
|
+
],
|
|
41
|
+
"remoteEnv": {
|
|
42
|
+
"OAI_CONFIG_LIST": "${localEnv:OAI_CONFIG_LIST}",
|
|
43
|
+
"ANTHROPIC_API_KEY": "${localEnv:ANTHROPIC_API_KEY}",
|
|
44
|
+
"AZURE_OPENAI_API_KEY": "${localEnv:AZURE_OPENAI_API_KEY}",
|
|
45
|
+
"OPENAI_API_KEY": "${localEnv:OPENAI_API_KEY}",
|
|
46
|
+
"TOGETHER_API_KEY": "${localEnv:TOGETHER_API_KEY}",
|
|
47
|
+
"GEMINI_API_KEY": "${localEnv:GEMINI_API_KEY}",
|
|
48
|
+
"AZURE_API_ENDPOINT": "${localEnv:AZURE_API_ENDPOINT}",
|
|
49
|
+
"AZURE_API_VERSION": "${localEnv:AZURE_API_VERSION}",
|
|
50
|
+
},
|
|
51
|
+
"features": {
|
|
52
|
+
"ghcr.io/devcontainers/features/common-utils:2": {
|
|
53
|
+
"installZsh": true,
|
|
54
|
+
"installOhMyZsh": true,
|
|
55
|
+
"configureZshAsDefaultShell": true,
|
|
56
|
+
"username": "vscode",
|
|
57
|
+
"userUid": "1000",
|
|
58
|
+
"userGid": "1000"
|
|
59
|
+
// "upgradePackages": "true"
|
|
60
|
+
},
|
|
61
|
+
"ghcr.io/devcontainers/features/node:1": {},
|
|
62
|
+
"ghcr.io/devcontainers/features/git:1": {},
|
|
63
|
+
"ghcr.io/devcontainers/features/git-lfs:1": {},
|
|
64
|
+
"ghcr.io/rocker-org/devcontainer-features/quarto-cli:1": {}
|
|
65
|
+
},
|
|
66
|
+
"updateContentCommand": "bash .devcontainer/setup.sh",
|
|
67
|
+
"customizations": {
|
|
68
|
+
"vscode": {
|
|
69
|
+
"settings": {
|
|
70
|
+
"python.linting.enabled": true,
|
|
71
|
+
"python.testing.pytestEnabled": true,
|
|
72
|
+
"editor.formatOnSave": true,
|
|
73
|
+
"editor.codeActionsOnSave": {
|
|
74
|
+
"source.organizeImports": "always"
|
|
75
|
+
},
|
|
76
|
+
"[python]": {
|
|
77
|
+
"editor.defaultFormatter": "ms-python.vscode-pylance"
|
|
78
|
+
},
|
|
79
|
+
"editor.rulers": [
|
|
80
|
+
80
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
"extensions": [
|
|
84
|
+
"ms-python.python",
|
|
85
|
+
"ms-toolsai.jupyter",
|
|
86
|
+
"ms-toolsai.vscode-jupyter-cell-tags",
|
|
87
|
+
"ms-toolsai.jupyter-keymap",
|
|
88
|
+
"ms-toolsai.jupyter-renderers",
|
|
89
|
+
"ms-toolsai.vscode-jupyter-slideshow",
|
|
90
|
+
"ms-python.vscode-pylance"
|
|
91
|
+
]
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
// Do not edit this file directly.
|
|
2
|
+
// This file is auto generated from the template file `scripts/devcontainer/templates/devcontainer.json.jinja`.
|
|
3
|
+
// If you need to make changes, please update the template file and regenerate this file
|
|
4
|
+
// by running pre-commit command `pre-commit run --all-files`
|
|
5
|
+
// or by manually running the script `./scripts/devcontainer/generate-devcontainers.sh`.
|
|
6
|
+
{
|
|
7
|
+
"name": "python-3.13",
|
|
8
|
+
"image": "mcr.microsoft.com/devcontainers/python:3.13",
|
|
9
|
+
"secrets": {
|
|
10
|
+
"OAI_CONFIG_LIST": {
|
|
11
|
+
"description": "This key is optional and only needed if you are working on OpenAI-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
|
|
12
|
+
},
|
|
13
|
+
"OPENAI_API_KEY": {
|
|
14
|
+
"description": "This key is optional and only needed if you are working on OpenAI-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
|
|
15
|
+
},
|
|
16
|
+
"TOGETHER_API_KEY": {
|
|
17
|
+
"description": "This key is optional and only needed if you are working with Together API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
|
|
18
|
+
},
|
|
19
|
+
"ANTHROPIC_API_KEY": {
|
|
20
|
+
"description": "This key is optional and only needed if you are working with Anthropic API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
|
|
21
|
+
},
|
|
22
|
+
"GEMINI_API_KEY": {
|
|
23
|
+
"description": "This key is optional and only needed if you are working with Gemini API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal."
|
|
24
|
+
},
|
|
25
|
+
"AZURE_OPENAI_API_KEY": {
|
|
26
|
+
"description": "This key is optional and only needed if you are using Azure's OpenAI services. For it to work, you must also set the related environment variables: AZURE_API_ENDPOINT, AZURE_API_VERSION. Leave it blank if not required. You can always set these variables later in the codespace terminal."
|
|
27
|
+
},
|
|
28
|
+
"AZURE_API_ENDPOINT": {
|
|
29
|
+
"description": "This key is required if you are using Azure's OpenAI services. It must be used in conjunction with AZURE_OPENAI_API_KEY, AZURE_API_VERSION to ensure proper configuration. You can always set these variables later as environment variables in the codespace terminal."
|
|
30
|
+
},
|
|
31
|
+
"AZURE_API_VERSION": {
|
|
32
|
+
"description": "This key is required to specify the version of the Azure API you are using. Set this along with AZURE_OPENAI_API_KEY, AZURE_API_ENDPOINT for Azure OpenAI services. These variables can be configured later as environment variables in the codespace terminal."
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
"shutdownAction": "stopContainer",
|
|
36
|
+
"workspaceFolder": "/workspaces/ag2",
|
|
37
|
+
"runArgs": [
|
|
38
|
+
"--name",
|
|
39
|
+
"python-3.13-ag2"
|
|
40
|
+
],
|
|
41
|
+
"remoteEnv": {
|
|
42
|
+
"OAI_CONFIG_LIST": "${localEnv:OAI_CONFIG_LIST}",
|
|
43
|
+
"ANTHROPIC_API_KEY": "${localEnv:ANTHROPIC_API_KEY}",
|
|
44
|
+
"AZURE_OPENAI_API_KEY": "${localEnv:AZURE_OPENAI_API_KEY}",
|
|
45
|
+
"OPENAI_API_KEY": "${localEnv:OPENAI_API_KEY}",
|
|
46
|
+
"TOGETHER_API_KEY": "${localEnv:TOGETHER_API_KEY}",
|
|
47
|
+
"GEMINI_API_KEY": "${localEnv:GEMINI_API_KEY}",
|
|
48
|
+
"AZURE_API_ENDPOINT": "${localEnv:AZURE_API_ENDPOINT}",
|
|
49
|
+
"AZURE_API_VERSION": "${localEnv:AZURE_API_VERSION}",
|
|
50
|
+
},
|
|
51
|
+
"features": {
|
|
52
|
+
"ghcr.io/devcontainers/features/common-utils:2": {
|
|
53
|
+
"installZsh": true,
|
|
54
|
+
"installOhMyZsh": true,
|
|
55
|
+
"configureZshAsDefaultShell": true,
|
|
56
|
+
"username": "vscode",
|
|
57
|
+
"userUid": "1000",
|
|
58
|
+
"userGid": "1000"
|
|
59
|
+
// "upgradePackages": "true"
|
|
60
|
+
},
|
|
61
|
+
"ghcr.io/devcontainers/features/node:1": {},
|
|
62
|
+
"ghcr.io/devcontainers/features/git:1": {},
|
|
63
|
+
"ghcr.io/devcontainers/features/git-lfs:1": {},
|
|
64
|
+
"ghcr.io/rocker-org/devcontainer-features/quarto-cli:1": {}
|
|
65
|
+
},
|
|
66
|
+
"updateContentCommand": "bash .devcontainer/setup.sh",
|
|
67
|
+
"customizations": {
|
|
68
|
+
"vscode": {
|
|
69
|
+
"settings": {
|
|
70
|
+
"python.linting.enabled": true,
|
|
71
|
+
"python.testing.pytestEnabled": true,
|
|
72
|
+
"editor.formatOnSave": true,
|
|
73
|
+
"editor.codeActionsOnSave": {
|
|
74
|
+
"source.organizeImports": "always"
|
|
75
|
+
},
|
|
76
|
+
"[python]": {
|
|
77
|
+
"editor.defaultFormatter": "ms-python.vscode-pylance"
|
|
78
|
+
},
|
|
79
|
+
"editor.rulers": [
|
|
80
|
+
80
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
"extensions": [
|
|
84
|
+
"ms-python.python",
|
|
85
|
+
"ms-toolsai.jupyter",
|
|
86
|
+
"ms-toolsai.vscode-jupyter-cell-tags",
|
|
87
|
+
"ms-toolsai.jupyter-keymap",
|
|
88
|
+
"ms-toolsai.jupyter-renderers",
|
|
89
|
+
"ms-toolsai.vscode-jupyter-slideshow",
|
|
90
|
+
"ms-python.vscode-pylance"
|
|
91
|
+
]
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
ag2-0.9.2/.gitattributes
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# Source code
|
|
2
|
+
*.bash text eol=lf
|
|
3
|
+
*.bat text eol=crlf
|
|
4
|
+
*.cmd text eol=crlf
|
|
5
|
+
*.coffee text
|
|
6
|
+
*.css text diff=css eol=lf
|
|
7
|
+
*.htm text diff=html eol=lf
|
|
8
|
+
*.html text diff=html eol=lf
|
|
9
|
+
*.inc text
|
|
10
|
+
*.ini text
|
|
11
|
+
*.js text
|
|
12
|
+
*.json text eol=lf
|
|
13
|
+
*.jsx text
|
|
14
|
+
*.less text
|
|
15
|
+
*.ls text
|
|
16
|
+
*.map text -diff
|
|
17
|
+
*.od text
|
|
18
|
+
*.onlydata text
|
|
19
|
+
*.php text diff=php
|
|
20
|
+
*.pl text
|
|
21
|
+
*.ps1 text eol=crlf
|
|
22
|
+
*.py text diff=python eol=lf
|
|
23
|
+
*.rb text diff=ruby eol=lf
|
|
24
|
+
*.sass text
|
|
25
|
+
*.scm text
|
|
26
|
+
*.scss text diff=css
|
|
27
|
+
*.sh text eol=lf
|
|
28
|
+
.husky/* text eol=lf
|
|
29
|
+
*.sql text
|
|
30
|
+
*.styl text
|
|
31
|
+
*.tag text
|
|
32
|
+
*.ts text
|
|
33
|
+
*.tsx text
|
|
34
|
+
*.xml text
|
|
35
|
+
*.xhtml text diff=html
|
|
36
|
+
# Docker
|
|
37
|
+
Dockerfile text eol=lf
|
|
38
|
+
# Documentation
|
|
39
|
+
*.ipynb text
|
|
40
|
+
*.markdown text diff=markdown eol=lf
|
|
41
|
+
*.md text diff=markdown eol=lf
|
|
42
|
+
*.mdwn text diff=markdown eol=lf
|
|
43
|
+
*.mdown text diff=markdown eol=lf
|
|
44
|
+
*.mkd text diff=markdown eol=lf
|
|
45
|
+
*.mkdn text diff=markdown eol=lf
|
|
46
|
+
*.mdtxt text eol=lf
|
|
47
|
+
*.mdtext text eol=lf
|
|
48
|
+
*.txt text eol=lf
|
|
49
|
+
AUTHORS text eol=lf
|
|
50
|
+
CHANGELOG text eol=lf
|
|
51
|
+
CHANGES text eol=lf
|
|
52
|
+
CONTRIBUTING text eol=lf
|
|
53
|
+
COPYING text eol=lf
|
|
54
|
+
copyright text eol=lf
|
|
55
|
+
*COPYRIGHT* text eol=lf
|
|
56
|
+
INSTALL text eol=lf
|
|
57
|
+
license text eol=lf
|
|
58
|
+
LICENSE text eol=lf
|
|
59
|
+
NEWS text eol=lf
|
|
60
|
+
readme text eol=lf
|
|
61
|
+
*README* text eol=lf
|
|
62
|
+
TODO text
|
|
63
|
+
# Configs
|
|
64
|
+
*.cnf text eol=lf
|
|
65
|
+
*.conf text eol=lf
|
|
66
|
+
*.config text eol=lf
|
|
67
|
+
.editorconfig text
|
|
68
|
+
.env text eol=lf
|
|
69
|
+
.gitattributes text eol=lf
|
|
70
|
+
.gitconfig text eol=lf
|
|
71
|
+
.htaccess text
|
|
72
|
+
*.lock text -diff
|
|
73
|
+
package.json text eol=lf
|
|
74
|
+
package-lock.json text eol=lf -diff
|
|
75
|
+
pnpm-lock.yaml text eol=lf -diff
|
|
76
|
+
.prettierrc text
|
|
77
|
+
yarn.lock text -diff
|
|
78
|
+
*.toml text eol=lf
|
|
79
|
+
*.yaml text eol=lf
|
|
80
|
+
*.yml text eol=lf
|
|
81
|
+
browserslist text
|
|
82
|
+
Makefile text eol=lf
|
|
83
|
+
makefile text eol=lf
|
|
84
|
+
# Images
|
|
85
|
+
*.png filter=lfs diff=lfs merge=lfs -text
|
|
86
|
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
|
87
|
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
|
88
|
+
notebook/agentchat_pdf_rag/parsed_elements.json filter=lfs diff=lfs merge=lfs -text
|
|
89
|
+
notebook/agentchat_pdf_rag/input_files/nvidia_10k_2024.pdf filter=lfs diff=lfs merge=lfs -text
|
|
90
|
+
notebook/agentchat_pdf_rag/processed_elements.json filter=lfs diff=lfs merge=lfs -text
|
|
91
|
+
website/package-lock.json filter=lfs diff=lfs merge=lfs -text
|
|
92
|
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
|
93
|
+
website/mkdocs/overrides/images/*.png filter=lfs diff=lfs merge=lfs -text
|