├── website ├── static │ ├── .nojekyll │ ├── img │ │ ├── ag.ico │ │ ├── flaml_logo.ico │ │ ├── autogen_app.png │ │ ├── chat_example.png │ │ ├── autogen_agentchat.png │ │ ├── gallery │ │ │ ├── autotx.png │ │ │ ├── default.png │ │ │ ├── robot.jpg │ │ │ ├── webagent.jpg │ │ │ ├── TensionCode.png │ │ │ ├── x-force-ide-ui.png │ │ │ └── composio-autogen.png │ │ ├── autogen.svg │ │ └── fast.svg │ └── js │ │ └── custom.js ├── babel.config.js ├── docs │ ├── topics │ │ ├── groupchat │ │ │ └── _category_.json │ │ ├── handling_long_contexts │ │ │ └── _category_.json │ │ ├── prompting-and-reasoning │ │ │ └── _category_.json │ │ ├── code-execution │ │ │ └── _category_.json │ │ ├── openai-assistant │ │ │ └── _category_.json │ │ └── non-openai-models │ │ │ ├── _category_.json │ │ │ └── images │ │ │ └── cloudlocalproxy.png │ ├── Use-Cases │ │ └── images │ │ │ ├── app.png │ │ │ ├── agent_example.png │ │ │ └── autogen_agents.png │ ├── autogen-studio │ │ └── img │ │ │ ├── agent_new.png │ │ │ ├── model_new.png │ │ │ ├── skill.png │ │ │ ├── model_openai.png │ │ │ ├── workflow_chat.png │ │ │ ├── workflow_new.png │ │ │ ├── workflow_test.png │ │ │ ├── agent_assistant.png │ │ │ ├── agent_groupchat.png │ │ │ ├── agent_skillsmodel.png │ │ │ ├── ara_stockprices.png │ │ │ ├── workflow_export.png │ │ │ ├── workflow_profile.png │ │ │ └── workflow_sequential.png │ ├── tutorial │ │ └── assets │ │ │ ├── group-chat.png │ │ │ ├── nested-chats.png │ │ │ ├── conversable-agent.jpg │ │ │ ├── human-in-the-loop.png │ │ │ ├── two-agent-chat.png │ │ │ ├── code-executor-docker.png │ │ │ ├── code-executor-no-docker.png │ │ │ ├── sequential-two-agent-chat.png │ │ │ └── code-execution-in-conversation.png │ ├── ecosystem │ │ ├── img │ │ │ ├── ecosystem-composio.png │ │ │ ├── ecosystem-fabric.png │ │ │ ├── ecosystem-llamaindex.png │ │ │ ├── ecosystem-memgpt.png │ │ │ ├── ecosystem-ollama.png │ │ │ ├── ecosystem-databricks.png │ │ │ └── ecosystem-promptflow.png │ │ ├── pgvector.md │ │ ├── llamaindex.md │ │ ├── ollama.md │ │ ├── composio.md │ │ ├── memgpt.md │ │ ├── databricks.md │ │ ├── microsoft-fabric.md │ │ └── promptflow.md │ ├── contributor-guide │ │ └── pre-commit.md │ └── notebooks.mdx ├── blog │ ├── 2023-10-18-RetrieveChat │ │ └── img │ │ │ ├── autogen-rag.gif │ │ │ └── retrievechat-arch.png │ ├── 2024-05-24-Agent │ │ └── img │ │ │ ├── agents.png │ │ │ └── leadership.png │ ├── 2023-06-28-MathChat │ │ └── img │ │ │ ├── result.png │ │ │ └── mathchatflow.png │ ├── 2023-11-06-LMM-Agent │ │ └── img │ │ │ └── teaser.png │ ├── 2023-11-09-EcoAssistant │ │ └── img │ │ │ ├── chat.png │ │ │ ├── results.png │ │ │ ├── system.png │ │ │ ├── template.png │ │ │ └── template-demo.png │ ├── 2024-02-29-StateFlow │ │ └── img │ │ │ ├── alfworld.png │ │ │ ├── bash_result.png │ │ │ ├── intercode.png │ │ │ └── sf_example_1.png │ ├── 2023-11-13-OAI-assistants │ │ └── img │ │ │ └── teaser.jpg │ ├── 2023-11-20-AgentEval │ │ └── img │ │ │ ├── agenteval-CQ.png │ │ │ ├── math-problems-plot.png │ │ │ └── tasks-taxonomy.png │ ├── 2024-01-25-AutoGenBench │ │ └── img │ │ │ └── teaser.jpg │ ├── 2024-02-02-AutoAnny │ │ └── img │ │ │ └── AutoAnnyLogo.jpg │ ├── 2024-02-11-FSM-GroupChat │ │ └── img │ │ │ ├── FSM_logic.png │ │ │ ├── teaser.jpg │ │ │ └── FSM_of_multi-agents.png │ ├── 2024-03-03-AutoGen-Update │ │ └── img │ │ │ ├── gaia.png │ │ │ ├── love.png │ │ │ ├── teach.png │ │ │ ├── contributors.png │ │ │ └── dalle_gpt4v.png │ ├── 2023-04-21-LLM-tuning-math │ │ └── img │ │ │ ├── level2algebra.png │ │ │ ├── level3algebra.png │ │ │ ├── level4algebra.png │ │ │ └── level5algebra.png │ ├── 2023-05-18-GPT-adaptive-humaneval │ │ └── img │ │ │ ├── design.png │ │ │ └── humaneval.png │ ├── 2024-03-11-AutoDefense │ │ └── imgs │ │ │ ├── architecture.png │ │ │ ├── table-4agents.png │ │ │ ├── table-agents.png │ │ │ ├── defense-agency-design.png │ │ │ └── table-compared-methods.png │ ├── 2023-10-26-TeachableAgent │ │ └── img │ │ │ └── teachable-arch.png │ ├── 2023-11-26-Agent-AutoBuild │ │ └── img │ │ │ └── agent_autobuild.png │ ├── 2023-12-01-AutoGenStudio │ │ └── img │ │ │ ├── autogenstudio_home.png │ │ │ ├── autogenstudio_config.png │ │ │ └── autogenstudio_skills.png │ └── 2023-12-23-AgentOptimizer │ │ └── img │ │ └── agentoptimizer.png ├── src │ ├── components │ │ ├── HomepageFeatures.module.css │ │ └── NotebookUtils.js │ └── pages │ │ └── index.module.css ├── pydoc-markdown.yml ├── .gitignore └── build_website.sh ├── autogen ├── extensions │ └── __init__.py ├── agentchat │ ├── contrib │ │ ├── __init__.py │ │ ├── vectordb │ │ │ └── __init__.py │ │ ├── capabilities │ │ │ ├── __init__.py │ │ │ └── agent_capability.py │ │ └── agent_eval │ │ │ └── README.md │ └── __init__.py ├── version.py ├── cache │ └── __init__.py ├── logger │ ├── __init__.py │ └── logger_factory.py ├── __init__.py ├── io │ └── __init__.py ├── types.py ├── coding │ ├── __init__.py │ └── jupyter │ │ ├── __init__.py │ │ └── base.py └── oai │ └── __init__.py ├── test ├── agentchat │ ├── extensions │ │ ├── __init__.py │ │ └── tsp_api.py │ └── contrib │ │ └── agent_eval │ │ └── test_task.py ├── test_files │ ├── radius.txt │ ├── example.pdf │ ├── example.docx │ ├── test_image.png │ ├── example.txt │ └── agenteval-in-out │ │ └── samples │ │ └── sample_math_evaluated_results.json ├── coding │ └── test_factory.py ├── twoagent.py └── conftest.py ├── samples ├── apps │ ├── cap │ │ ├── py │ │ │ ├── autogencap │ │ │ │ ├── __init__.py │ │ │ │ ├── proto │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── proto-instructions.txt │ │ │ │ │ ├── Autogen.proto │ │ │ │ │ └── CAP.proto │ │ │ │ ├── ag_adapter │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── AGActor.py │ │ │ │ │ └── agent.py │ │ │ │ ├── requirements.txt │ │ │ │ ├── Constants.py │ │ │ │ ├── setup.py │ │ │ │ ├── Config.py │ │ │ │ └── utility.py │ │ │ ├── demo │ │ │ │ ├── standalone │ │ │ │ │ ├── Broker.py │ │ │ │ │ ├── directory_svc.py │ │ │ │ │ └── _paths.py │ │ │ │ ├── _paths.py │ │ │ │ ├── AGDemo.py │ │ │ │ ├── SimpleActorDemo.py │ │ │ │ ├── RemoteAGDemo.py │ │ │ │ └── single_threaded.py │ │ │ └── pyproject.toml │ │ ├── c# │ │ │ └── Readme.md │ │ ├── c++ │ │ │ └── Readme.md │ │ ├── node │ │ │ └── Readme.md │ │ └── TODO.md │ ├── autogen-studio │ │ ├── requirements.txt │ │ ├── autogenstudio │ │ │ ├── web │ │ │ │ └── __init__.py │ │ │ ├── database │ │ │ │ ├── migrations │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── README │ │ │ │ │ └── script.py.mako │ │ │ │ └── __init__.py │ │ │ ├── utils │ │ │ │ └── __init__.py │ │ │ ├── version.py │ │ │ └── __init__.py │ │ ├── setup.py │ │ ├── frontend │ │ │ ├── .env.default │ │ │ ├── postcss.config.js │ │ │ ├── .gitignore │ │ │ ├── src │ │ │ │ ├── images │ │ │ │ │ └── icon.png │ │ │ │ ├── pages │ │ │ │ │ ├── index.tsx │ │ │ │ │ ├── build.tsx │ │ │ │ │ └── gallery │ │ │ │ │ │ └── index.tsx │ │ │ │ └── hooks │ │ │ │ │ └── store.tsx │ │ │ ├── gatsby-browser.js │ │ │ ├── gatsby-ssr.tsx │ │ │ ├── tsconfig.json │ │ │ ├── LICENSE │ │ │ └── tailwind.config.js │ │ ├── docs │ │ │ └── ara_stockprices.png │ │ ├── MANIFEST.in │ │ ├── .gitignore │ │ └── Dockerfile │ ├── auto-anny │ │ ├── requirements.txt │ │ └── images │ │ │ └── icon.png │ ├── promptflow-autogen │ │ ├── .gitignore │ │ ├── requirements.txt │ │ ├── azure_openai.yaml │ │ ├── custom_conn.yaml │ │ └── flow.dag.yaml │ └── websockets │ │ ├── README.md │ │ └── setup.py ├── tools │ ├── autogenbench │ │ ├── autogenbench │ │ │ ├── version.py │ │ │ ├── template │ │ │ │ ├── requirements.txt │ │ │ │ ├── global_finalize.sh │ │ │ │ └── global_init.sh │ │ │ ├── __init__.py │ │ │ ├── __main__.py │ │ │ ├── load_module.py │ │ │ └── res │ │ │ │ └── Dockerfile │ │ ├── scenarios │ │ │ ├── MATH │ │ │ │ ├── Templates │ │ │ │ │ └── TwoAgents │ │ │ │ │ │ ├── prompt.txt │ │ │ │ │ │ ├── expected_answer.txt │ │ │ │ │ │ └── scenario_init.sh │ │ │ │ ├── MANIFEST.json │ │ │ │ └── Scripts │ │ │ │ │ └── custom_tabulate.py │ │ │ ├── Examples │ │ │ │ ├── ENV.json │ │ │ │ ├── Templates │ │ │ │ │ └── TwoAgents │ │ │ │ │ │ ├── scenario_init.sh │ │ │ │ │ │ ├── scenario_finalize.sh │ │ │ │ │ │ └── scenario.py │ │ │ │ ├── README.md │ │ │ │ ├── MANIFEST.json │ │ │ │ └── Tasks │ │ │ │ │ └── default_two_agents.jsonl │ │ │ ├── GAIA │ │ │ │ ├── Templates │ │ │ │ │ ├── BasicTwoAgents │ │ │ │ │ │ ├── prompt.txt │ │ │ │ │ │ └── expected_answer.txt │ │ │ │ │ └── SocietyOfMind │ │ │ │ │ │ ├── prompt.txt │ │ │ │ │ │ ├── expected_answer.txt │ │ │ │ │ │ └── requirements.txt │ │ │ │ └── MANIFEST.json │ │ │ ├── HumanEval │ │ │ │ ├── Templates │ │ │ │ │ ├── TwoAgents │ │ │ │ │ │ ├── prompt.txt │ │ │ │ │ │ └── coding │ │ │ │ │ │ │ └── my_tests.py │ │ │ │ │ ├── GroupChatFourAgents │ │ │ │ │ │ ├── prompt.txt │ │ │ │ │ │ └── coding │ │ │ │ │ │ │ └── my_tests.py │ │ │ │ │ ├── GroupChatThreeAgents_Distractor │ │ │ │ │ │ ├── prompt.txt │ │ │ │ │ │ └── coding │ │ │ │ │ │ │ └── my_tests.py │ │ │ │ │ └── GroupChatThreeAgents_Guardrails │ │ │ │ │ │ ├── prompt.txt │ │ │ │ │ │ └── coding │ │ │ │ │ │ └── my_tests.py │ │ │ │ ├── Scripts │ │ │ │ │ └── custom_tabulate.py │ │ │ │ └── MANIFEST.json │ │ │ ├── AutoGPT │ │ │ │ ├── Templates │ │ │ │ │ └── TwoAgents │ │ │ │ │ │ ├── should_contain.json.txt │ │ │ │ │ │ ├── should_not_contain.json.txt │ │ │ │ │ │ └── scenario_init.sh │ │ │ │ ├── Challenges │ │ │ │ │ ├── 2_combine_csv │ │ │ │ │ │ ├── artifacts_in │ │ │ │ │ │ │ ├── file1.csv │ │ │ │ │ │ │ └── file2.csv │ │ │ │ │ │ └── data.json │ │ │ │ │ ├── 1_sort_csv │ │ │ │ │ │ ├── artifacts_in │ │ │ │ │ │ │ └── input.csv │ │ │ │ │ │ └── data.json │ │ │ │ │ ├── 3_qa_small_csv │ │ │ │ │ │ ├── artifacts_in │ │ │ │ │ │ │ └── file1.csv │ │ │ │ │ │ └── data.json │ │ │ │ │ ├── 12_url_shortener │ │ │ │ │ │ └── custom_python │ │ │ │ │ │ │ └── test_url_shorten.py │ │ │ │ │ ├── 10_password_generator │ │ │ │ │ │ └── custom_python │ │ │ │ │ │ │ └── test_pwd.py │ │ │ │ │ ├── 4_qa_csv │ │ │ │ │ │ └── data.json │ │ │ │ │ ├── 6_book_price │ │ │ │ │ │ └── data.json │ │ │ │ │ ├── 5_search │ │ │ │ │ │ └── data.json │ │ │ │ │ ├── 7_revenue │ │ │ │ │ │ └── data.json │ │ │ │ │ └── 8_get_information │ │ │ │ │ │ └── data.json │ │ │ │ ├── Scripts │ │ │ │ │ └── custom_tabulate.py │ │ │ │ └── README.md │ │ │ └── MANIFEST.json │ │ ├── setup.py │ │ ├── .gitignore │ │ └── MANIFEST.in │ └── finetuning │ │ └── finetuning │ │ └── __init__.py └── simple_chat.py ├── dotnet ├── website │ ├── articles │ │ ├── Create-your-own-agent.md │ │ ├── Create-your-own-middleware.md │ │ ├── Function-call-middleware.md │ │ ├── Create-an-agent.md │ │ ├── OpenAIChatAgent-simple-chat.md │ │ ├── AutoGen.SemanticKernel │ │ │ ├── SemanticKernelAgent-simple-chat.md │ │ │ └── SemanticKernelAgent-support-more-messages.md │ │ ├── OpenAIChatAgent-support-more-messages.md │ │ └── Group-chat-overview.md │ ├── filterConfig.yml │ ├── index.md │ ├── images │ │ ├── ag.ico │ │ └── articles │ │ │ ├── ConnectTo3PartyOpenAI │ │ │ └── output.gif │ │ │ ├── CreateUserProxyAgent │ │ │ └── image-1.png │ │ │ ├── DynamicGroupChat │ │ │ └── dynamicChat.gif │ │ │ ├── PrintMessageMiddleware │ │ │ ├── printMessage.png │ │ │ └── streamingoutput.gif │ │ │ └── SequentialGroupChat │ │ │ └── SearcherSummarizer.gif │ ├── .gitignore │ ├── template │ │ └── public │ │ │ └── main.js │ ├── toc.yml │ └── README.md ├── eng │ ├── opensource.snk │ ├── MetaInfo.props │ ├── Sign.props │ └── Version.props ├── global.json ├── sample │ ├── AutoGen.BasicSamples │ │ ├── GlobalUsing.cs │ │ ├── ImageResources │ │ │ └── square.png │ │ ├── Program.cs │ │ ├── CodeSnippet │ │ │ └── UserProxyAgentCodeSnippet.cs │ │ └── Example06_UserProxyAgent.cs │ ├── AutoGen.Ollama.Sample │ │ ├── images │ │ │ └── background.png │ │ ├── Program.cs │ │ ├── Chat_With_LLaMA.cs │ │ └── AutoGen.Ollama.Sample.csproj │ ├── AutoGen.SemanticKernel.Sample │ │ ├── Program.cs │ │ └── AutoGen.SemanticKernel.Sample.csproj │ └── AutoGen.Anthropic.Samples │ │ ├── Program.cs │ │ ├── AutoGen.Anthropic.Samples.csproj │ │ └── AnthropicSamples.cs ├── src │ ├── AutoGen │ │ ├── GlobalUsing.cs │ │ ├── ConversableAgentConfig.cs │ │ └── Agent │ │ │ ├── AssistantAgent.cs │ │ │ └── UserProxyAgent.cs │ ├── AutoGen.OpenAI │ │ ├── GlobalUsing.cs │ │ ├── OpenAIConfig.cs │ │ ├── AzureOpenAIConfig.cs │ │ └── AutoGen.OpenAI.csproj │ ├── AutoGen.LMStudio │ │ ├── GlobalUsing.cs │ │ ├── AutoGen.LMStudio.csproj │ │ ├── LMStudioConfig.cs │ │ └── README.md │ ├── AutoGen.SemanticKernel │ │ ├── GlobalUsing.cs │ │ └── AutoGen.SemanticKernel.csproj │ ├── AutoGen.DotnetInteractive │ │ ├── GlobalUsing.cs │ │ ├── dotnet-tools.json │ │ └── RestoreInteractive.config │ ├── AutoGen.Core │ │ ├── ILLMConfig.cs │ │ ├── Agent │ │ │ ├── IStreamingAgent.cs │ │ │ ├── DefaultReplyAgent.cs │ │ │ └── GroupChatManager.cs │ │ ├── IGroupChat.cs │ │ ├── Middleware │ │ │ ├── MiddlewareContext.cs │ │ │ ├── IMiddleware.cs │ │ │ └── IStreamingMiddleware.cs │ │ ├── AutoGen.Core.csproj │ │ └── Message │ │ │ └── ToolCallAggregateMessage.cs │ ├── AutoGen.Mistral │ │ ├── DTOs │ │ │ ├── ResponseFormat.cs │ │ │ ├── ErrorResponse.cs │ │ │ ├── Usage.cs │ │ │ ├── FunctionDefinition.cs │ │ │ └── Error.cs │ │ ├── MistralAIModelID.cs │ │ └── AutoGen.Mistral.csproj │ ├── AutoGen.Ollama │ │ ├── Embeddings │ │ │ ├── TextEmbeddingsResponse.cs │ │ │ └── ITextEmbeddingService.cs │ │ ├── OllamaConsts.cs │ │ ├── DTOs │ │ │ ├── ChatResponseUpdate.cs │ │ │ └── Message.cs │ │ └── AutoGen.Ollama.csproj │ ├── AutoGen.Anthropic │ │ ├── Utils │ │ │ └── AnthropicConstants.cs │ │ ├── DTO │ │ │ ├── ErrorResponse.cs │ │ │ └── Content.cs │ │ └── AutoGen.Anthropic.csproj │ └── AutoGen.SourceGenerator │ │ ├── FunctionExtension.cs │ │ └── SourceGeneratorFunctionContract.cs ├── test │ ├── AutoGen.Tests │ │ ├── GlobalUsing.cs │ │ ├── ApprovalTests │ │ │ └── square.png │ │ └── Attribute │ │ │ └── OpenAIFact.cs │ ├── AutoGen.OpenAI.Tests │ │ └── GlobalUsing.cs │ ├── AutoGen.AotCompatibility.Tests │ │ ├── Program.cs │ │ └── AutoGen.AotCompatibility.Tests.csproj │ ├── AutoGen.Ollama.Tests │ │ └── images │ │ │ ├── image.png │ │ │ └── square.png │ ├── AutoGen.SemanticKernel.Tests │ │ └── ApprovalTests │ │ │ ├── KernelFunctionExtensionTests.ItCreateFunctionContractsFromPrompt.approved.txt │ │ │ ├── KernelFunctionExtensionTests.ItCreateFunctionContractsFromMethod.approved.txt │ │ │ └── KernelFunctionExtensionTests.ItCreateFunctionContractsFromTestPlugin.approved.txt │ ├── AutoGen.SourceGenerator.Tests │ │ ├── TopLevelStatementFunctionExample.cs │ │ ├── FilescopeNamespaceFunctionExample.cs │ │ └── ApprovalTests │ │ │ ├── FunctionExample.Sum_Test.approved.txt │ │ │ ├── FunctionExample.Add_Test.approved.txt │ │ │ ├── FunctionExample.DictionaryToString_Test.approved.txt │ │ │ └── FunctionExample.Query_Test.approved.txt │ ├── AutoGen.Anthropic.Tests │ │ ├── AnthropicTestUtils.cs │ │ ├── AutoGen.Anthropic.Tests.csproj │ │ └── AnthropicClientAgentTest.cs │ └── .editorconfig ├── nuget │ ├── icon.png │ └── NUGET.md ├── NuGet.config ├── .config │ └── dotnet-tools.json └── .gitignore ├── .github ├── ISSUE_TEMPLATE │ ├── config.yml │ └── feature_request.yml ├── workflows │ ├── lfs-check.yml │ ├── type-check.yml │ └── pre-commit.yml └── PULL_REQUEST_TEMPLATE.md ├── .devcontainer ├── dev │ └── devcontainer.json ├── full │ ├── devcontainer.json │ └── Dockerfile ├── devcontainer.json └── studio │ ├── devcontainer.json │ └── Dockerfile ├── .coveragerc ├── notebook ├── viz_gc.png ├── nested_chat_1.png ├── nested_chat_2.png ├── friendly_and_suspicous.jpg ├── nested-chats-chess.png └── optiGuide_new_design.png ├── scripts ├── docs_build.sh ├── docs_serve.sh └── pre-commit-mypy-run.sh ├── CODE_OF_CONDUCT.md └── azure-pipelines.yml /website/static/.nojekyll: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /autogen/extensions/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /autogen/agentchat/contrib/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/agentchat/extensions/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/test_files/radius.txt: -------------------------------------------------------------------------------- 1 | 7.81mm 2 | -------------------------------------------------------------------------------- /samples/apps/cap/py/autogencap/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /autogen/agentchat/contrib/vectordb/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /autogen/version.py: -------------------------------------------------------------------------------- 1 | __version__ = "0.2.28" 2 | -------------------------------------------------------------------------------- /samples/apps/cap/c#/Readme.md: -------------------------------------------------------------------------------- 1 | Coming soon... 2 | -------------------------------------------------------------------------------- /samples/apps/cap/py/autogencap/proto/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /autogen/agentchat/contrib/capabilities/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /samples/apps/autogen-studio/requirements.txt: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /samples/apps/cap/c++/Readme.md: -------------------------------------------------------------------------------- 1 | Coming soon... 2 | -------------------------------------------------------------------------------- /samples/apps/cap/node/Readme.md: -------------------------------------------------------------------------------- 1 | Coming soon... 2 | -------------------------------------------------------------------------------- /samples/apps/cap/py/autogencap/ag_adapter/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /samples/apps/autogen-studio/autogenstudio/web/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dotnet/website/articles/Create-your-own-agent.md: -------------------------------------------------------------------------------- 1 | ## Coming soon -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: true 2 | -------------------------------------------------------------------------------- /dotnet/website/articles/Create-your-own-middleware.md: -------------------------------------------------------------------------------- 1 | ## Coming soon -------------------------------------------------------------------------------- /dotnet/website/articles/Function-call-middleware.md: -------------------------------------------------------------------------------- 1 | # Coming soon -------------------------------------------------------------------------------- /samples/apps/auto-anny/requirements.txt: -------------------------------------------------------------------------------- 1 | discord.py 2 | pyautogen 3 | -------------------------------------------------------------------------------- /samples/apps/autogen-studio/autogenstudio/database/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/autogenbench/version.py: -------------------------------------------------------------------------------- 1 | __version__ = "0.0.3" 2 | -------------------------------------------------------------------------------- /.devcontainer/dev/devcontainer.json: -------------------------------------------------------------------------------- 1 | { 2 | "dockerFile": "Dockerfile" 3 | } 4 | -------------------------------------------------------------------------------- /.devcontainer/full/devcontainer.json: -------------------------------------------------------------------------------- 1 | { 2 | "dockerFile": "Dockerfile" 3 | } 4 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/autogenbench/template/requirements.txt: -------------------------------------------------------------------------------- 1 | pyautogen 2 | -------------------------------------------------------------------------------- /samples/apps/autogen-studio/autogenstudio/utils/__init__.py: -------------------------------------------------------------------------------- 1 | from .utils import * 2 | -------------------------------------------------------------------------------- /samples/apps/autogen-studio/setup.py: -------------------------------------------------------------------------------- 1 | from setuptools import setup 2 | 3 | setup() 4 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/autogenbench/__init__.py: -------------------------------------------------------------------------------- 1 | from .version import __version__ 2 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/scenarios/MATH/Templates/TwoAgents/prompt.txt: -------------------------------------------------------------------------------- 1 | __PROMPT__ 2 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/setup.py: -------------------------------------------------------------------------------- 1 | from setuptools import setup 2 | 3 | setup() 4 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/autogenbench/template/global_finalize.sh: -------------------------------------------------------------------------------- 1 | # Global finalize. 2 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/scenarios/Examples/ENV.json: -------------------------------------------------------------------------------- 1 | { 2 | "BING_API_KEY": "" 3 | } 4 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/scenarios/GAIA/Templates/BasicTwoAgents/prompt.txt: -------------------------------------------------------------------------------- 1 | __PROMPT__ 2 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/scenarios/GAIA/Templates/SocietyOfMind/prompt.txt: -------------------------------------------------------------------------------- 1 | __PROMPT__ 2 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/scenarios/HumanEval/Templates/TwoAgents/prompt.txt: -------------------------------------------------------------------------------- 1 | __PROMPT__ 2 | -------------------------------------------------------------------------------- /dotnet/website/filterConfig.yml: -------------------------------------------------------------------------------- 1 | apiRules: 2 | - exclude: 3 | uidRegex: ^AutoGen.SourceGenerator -------------------------------------------------------------------------------- /samples/apps/autogen-studio/frontend/.env.default: -------------------------------------------------------------------------------- 1 | GATSBY_API_URL=http://127.0.0.1:8081/api 2 | -------------------------------------------------------------------------------- /samples/apps/cap/py/autogencap/requirements.txt: -------------------------------------------------------------------------------- 1 | pyzmq 2 | protobuf 3 | termcolor 4 | pyautogen 5 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/scenarios/MATH/Templates/TwoAgents/expected_answer.txt: -------------------------------------------------------------------------------- 1 | __ANSWER__ 2 | -------------------------------------------------------------------------------- /.coveragerc: -------------------------------------------------------------------------------- 1 | [run] 2 | branch = True 3 | source = autogen 4 | omit = 5 | *test* 6 | *samples* 7 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/.gitignore: -------------------------------------------------------------------------------- 1 | scenarios/*/Downloads 2 | scenarios/*/Tasks 3 | */Results 4 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/scenarios/Examples/Templates/TwoAgents/scenario_init.sh: -------------------------------------------------------------------------------- 1 | #Scenario Init. 2 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/scenarios/HumanEval/Templates/GroupChatFourAgents/prompt.txt: -------------------------------------------------------------------------------- 1 | __PROMPT__ 2 | -------------------------------------------------------------------------------- /dotnet/eng/opensource.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZinkaTrostinka/autogen/HEAD/dotnet/eng/opensource.snk -------------------------------------------------------------------------------- /samples/tools/autogenbench/scenarios/AutoGPT/Templates/TwoAgents/should_contain.json.txt: -------------------------------------------------------------------------------- 1 | __CONTAIN__ 2 | -------------------------------------------------------------------------------- /website/static/img/ag.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZinkaTrostinka/autogen/HEAD/website/static/img/ag.ico -------------------------------------------------------------------------------- /dotnet/website/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | _disableTocFilter: true 3 | --- 4 | [!INCLUDE [](./articles/getting-start.md)] -------------------------------------------------------------------------------- /samples/apps/autogen-studio/autogenstudio/database/migrations/README: -------------------------------------------------------------------------------- 1 | Generic single-database configuration. 2 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/scenarios/AutoGPT/Templates/TwoAgents/should_not_contain.json.txt: -------------------------------------------------------------------------------- 1 | __NO_CONTAIN__ 2 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/scenarios/Examples/Templates/TwoAgents/scenario_finalize.sh: -------------------------------------------------------------------------------- 1 | #Scenario finalize. 2 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/scenarios/GAIA/Templates/BasicTwoAgents/expected_answer.txt: -------------------------------------------------------------------------------- 1 | __EXPECTED_ANSWER__ 2 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/scenarios/GAIA/Templates/SocietyOfMind/expected_answer.txt: -------------------------------------------------------------------------------- 1 | __EXPECTED_ANSWER__ 2 | -------------------------------------------------------------------------------- /test/test_files/example.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZinkaTrostinka/autogen/HEAD/test/test_files/example.pdf -------------------------------------------------------------------------------- /dotnet/global.json: -------------------------------------------------------------------------------- 1 | { 2 | "sdk": { 3 | "version": "8.0.104", 4 | "rollForward": "latestMinor" 5 | } 6 | } -------------------------------------------------------------------------------- /dotnet/website/images/ag.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZinkaTrostinka/autogen/HEAD/dotnet/website/images/ag.ico -------------------------------------------------------------------------------- /samples/tools/autogenbench/scenarios/HumanEval/Templates/GroupChatThreeAgents_Distractor/prompt.txt: -------------------------------------------------------------------------------- 1 | __PROMPT__ 2 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/scenarios/HumanEval/Templates/GroupChatThreeAgents_Guardrails/prompt.txt: -------------------------------------------------------------------------------- 1 | __PROMPT__ 2 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/scenarios/MATH/Templates/TwoAgents/scenario_init.sh: -------------------------------------------------------------------------------- 1 | pip install sympy matplotlib numpy 2 | -------------------------------------------------------------------------------- /test/test_files/example.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZinkaTrostinka/autogen/HEAD/test/test_files/example.docx -------------------------------------------------------------------------------- /samples/apps/cap/py/autogencap/proto/proto-instructions.txt: -------------------------------------------------------------------------------- 1 | .\protoc --pyi_out=. --python_out=. CAP.proto Autogen.proto 2 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/autogenbench/__main__.py: -------------------------------------------------------------------------------- 1 | from .cli import main 2 | 3 | if __name__ == "__main__": 4 | main() 5 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/autogenbench/template/global_init.sh: -------------------------------------------------------------------------------- 1 | echo AUTOGEN_TESTBED_SETTING: [$AUTOGEN_TESTBED_SETTING] 2 | -------------------------------------------------------------------------------- /samples/tools/finetuning/finetuning/__init__.py: -------------------------------------------------------------------------------- 1 | from .update_model import update_model 2 | 3 | __all__ = ["update_model"] 4 | -------------------------------------------------------------------------------- /website/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [require.resolve('@docusaurus/core/lib/babel/preset')], 3 | }; 4 | -------------------------------------------------------------------------------- /website/static/img/flaml_logo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZinkaTrostinka/autogen/HEAD/website/static/img/flaml_logo.ico -------------------------------------------------------------------------------- /samples/apps/cap/py/autogencap/Constants.py: -------------------------------------------------------------------------------- 1 | Termination_Topic: str = "Termination" 2 | Directory_Svc_Topic: str = "Directory_Svc" 3 | -------------------------------------------------------------------------------- /samples/apps/autogen-studio/autogenstudio/version.py: -------------------------------------------------------------------------------- 1 | VERSION = "0.0.56rc9" 2 | __version__ = VERSION 3 | APP_NAME = "autogenstudio" 4 | -------------------------------------------------------------------------------- /samples/apps/autogen-studio/frontend/postcss.config.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = () => ({ 3 | plugins: [require("tailwindcss")], 4 | }) 5 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/scenarios/AutoGPT/Templates/TwoAgents/scenario_init.sh: -------------------------------------------------------------------------------- 1 | pip install pandas beautifulsoup4 requests pytest 2 | -------------------------------------------------------------------------------- /website/docs/topics/groupchat/_category_.json: -------------------------------------------------------------------------------- 1 | { 2 | "position": 5, 3 | "label": "GroupChat", 4 | "collapsible": true 5 | } 6 | -------------------------------------------------------------------------------- /website/docs/topics/handling_long_contexts/_category_.json: -------------------------------------------------------------------------------- 1 | { 2 | "label": "Handling Long Contexts", 3 | "collapsible": true 4 | } 5 | -------------------------------------------------------------------------------- /dotnet/sample/AutoGen.BasicSamples/GlobalUsing.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // GlobalUsing.cs 3 | 4 | -------------------------------------------------------------------------------- /website/docs/topics/prompting-and-reasoning/_category_.json: -------------------------------------------------------------------------------- 1 | { 2 | "label": "Prompting and Reasoning", 3 | "collapsible": true 4 | } 5 | -------------------------------------------------------------------------------- /samples/apps/autogen-studio/autogenstudio/database/__init__.py: -------------------------------------------------------------------------------- 1 | # from .dbmanager import * 2 | from .dbmanager import * 3 | from .utils import * 4 | -------------------------------------------------------------------------------- /website/docs/topics/code-execution/_category_.json: -------------------------------------------------------------------------------- 1 | { 2 | "position": 2, 3 | "label": "Code Execution", 4 | "collapsible": true 5 | } 6 | -------------------------------------------------------------------------------- /autogen/cache/__init__.py: -------------------------------------------------------------------------------- 1 | from .abstract_cache_base import AbstractCache 2 | from .cache import Cache 3 | 4 | __all__ = ["Cache", "AbstractCache"] 5 | -------------------------------------------------------------------------------- /samples/apps/cap/py/demo/standalone/Broker.py: -------------------------------------------------------------------------------- 1 | import _paths 2 | from autogencap.Broker import main 3 | 4 | if __name__ == "__main__": 5 | main() 6 | -------------------------------------------------------------------------------- /website/docs/topics/openai-assistant/_category_.json: -------------------------------------------------------------------------------- 1 | { 2 | "position": 2, 3 | "label": "OpenAI Assistant", 4 | "collapsible": true 5 | } 6 | -------------------------------------------------------------------------------- /dotnet/src/AutoGen/GlobalUsing.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // GlobalUsing.cs 3 | 4 | global using AutoGen.Core; 5 | -------------------------------------------------------------------------------- /samples/apps/autogen-studio/frontend/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | .cache/ 3 | public/ 4 | 5 | .env.development 6 | .env.production 7 | 8 | yarn.lock 9 | -------------------------------------------------------------------------------- /samples/apps/promptflow-autogen/.gitignore: -------------------------------------------------------------------------------- 1 | .env 2 | __pycache__/ 3 | .promptflow/* 4 | !.promptflow/flow.tools.json 5 | .runs/ 6 | .cache/ 7 | .vscode/ 8 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/scenarios/AutoGPT/Challenges/2_combine_csv/artifacts_in/file1.csv: -------------------------------------------------------------------------------- 1 | ID,Name,Age 2 | 101,John,28 3 | 102,Alice,34 4 | 103,Bob,45 5 | -------------------------------------------------------------------------------- /dotnet/src/AutoGen.OpenAI/GlobalUsing.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // GlobalUsing.cs 3 | 4 | global using AutoGen.Core; 5 | -------------------------------------------------------------------------------- /dotnet/test/AutoGen.Tests/GlobalUsing.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // GlobalUsing.cs 3 | 4 | global using AutoGen.Core; 5 | -------------------------------------------------------------------------------- /notebook/viz_gc.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:ad608e649cd1624c66d26e9038cd833271a55cf342b8ffaa5fd15dcf4fffd1fb 3 | size 223332 4 | -------------------------------------------------------------------------------- /website/docs/topics/non-openai-models/_category_.json: -------------------------------------------------------------------------------- 1 | { 2 | "position": 5, 3 | "label": "Using Non-OpenAI Models", 4 | "collapsible": true 5 | } 6 | -------------------------------------------------------------------------------- /dotnet/nuget/icon.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:02dbf31fea0b92714c80fdc90888da7e96374a1f52c621a939835fd3c876ddcc 3 | size 426084 4 | -------------------------------------------------------------------------------- /dotnet/src/AutoGen.LMStudio/GlobalUsing.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // GlobalUsing.cs 3 | 4 | global using AutoGen.Core; 5 | -------------------------------------------------------------------------------- /samples/apps/cap/py/demo/standalone/directory_svc.py: -------------------------------------------------------------------------------- 1 | import _paths 2 | from autogencap.DirectorySvc import main 3 | 4 | if __name__ == "__main__": 5 | main() 6 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/MANIFEST.in: -------------------------------------------------------------------------------- 1 | recursive-exclude scenarios * 2 | recursive-exclude results * 3 | recursive-exclude tests * 4 | recursive-exclude utils * 5 | -------------------------------------------------------------------------------- /dotnet/src/AutoGen.SemanticKernel/GlobalUsing.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // GlobalUsing.cs 3 | 4 | global using AutoGen.Core; 5 | -------------------------------------------------------------------------------- /dotnet/test/AutoGen.OpenAI.Tests/GlobalUsing.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // GlobalUsing.cs 3 | 4 | global using AutoGen.Core; 5 | -------------------------------------------------------------------------------- /notebook/nested_chat_1.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:5eae7c53226fdfb1adec97b3144b0701bd90d61679242e3f0daeac16fcf1f47e 3 | size 102394 4 | -------------------------------------------------------------------------------- /notebook/nested_chat_2.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:5439695b6361ee2536e33a546b7a6bf55ba6c842e9b22e5f950b4c9cb741f824 3 | size 129880 4 | -------------------------------------------------------------------------------- /test/test_files/test_image.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:3a942e13fddf9531678d6771a2d4993f6e18f5dcbbd498586444180122838de9 3 | size 289 4 | -------------------------------------------------------------------------------- /website/blog/2023-10-18-RetrieveChat/img/autogen-rag.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZinkaTrostinka/autogen/HEAD/website/blog/2023-10-18-RetrieveChat/img/autogen-rag.gif -------------------------------------------------------------------------------- /dotnet/src/AutoGen.DotnetInteractive/GlobalUsing.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // GlobalUsing.cs 3 | 4 | global using AutoGen.Core; 5 | -------------------------------------------------------------------------------- /notebook/friendly_and_suspicous.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:edd46221675c0120d47d09e4791e677ad0b7f9f68e5d1235e91bed89ca933d49 3 | size 162342 4 | -------------------------------------------------------------------------------- /notebook/nested-chats-chess.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:49bcd0dbbc9e243d106772e10419432ed65d5f6bd9884b4abdd1287e315ddda5 3 | size 219303 4 | -------------------------------------------------------------------------------- /notebook/optiGuide_new_design.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:dfaca6105d5a6a07aff062db88efffb6678b71f5681da41b7ef0af58cc9da291 3 | size 271961 4 | -------------------------------------------------------------------------------- /website/static/img/autogen_app.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:bbdad1a6b636b00df155deb88e62aea4b4dfbb3f5732cd72ffaf0c9e44020644 3 | size 35521 4 | -------------------------------------------------------------------------------- /website/static/img/chat_example.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:18130669ccef4cd19fae7ede12f4d8ece2e93dde4cee07e9a39b4d59e1e8e1dd 3 | size 441624 4 | -------------------------------------------------------------------------------- /dotnet/test/AutoGen.AotCompatibility.Tests/Program.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Program.cs 3 | 4 | Console.WriteLine("Hello, World!"); 5 | -------------------------------------------------------------------------------- /samples/apps/auto-anny/images/icon.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:ae4551bbe74d105da083dbefe08b0a602f9b2f3c4184cb14bcf174f2b651d9d1 3 | size 30796 4 | -------------------------------------------------------------------------------- /samples/apps/promptflow-autogen/requirements.txt: -------------------------------------------------------------------------------- 1 | promptflow==1.8.0 2 | pyautogen==0.2.23 3 | pyautogen[graph] 4 | pyautogen[redis] 5 | redis 6 | semantic-kernel 7 | beautifulsoup4 8 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/scenarios/AutoGPT/Challenges/2_combine_csv/artifacts_in/file2.csv: -------------------------------------------------------------------------------- 1 | ID,Occupation,Salary 2 | 101,Engineer,80000 3 | 102,Doctor,120000 4 | 103,Lawyer,95000 5 | -------------------------------------------------------------------------------- /website/docs/Use-Cases/images/app.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:f2c810c83a013595cd7a6e8fedc581e11aff1fc143d4c1d837502b4f0b5fad0a 3 | size 1427577 4 | -------------------------------------------------------------------------------- /website/static/img/autogen_agentchat.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:2056728b68699091b74c223baecdb127ac85ff81f1f7c61e8e25543652ee0ecb 3 | size 130557 4 | -------------------------------------------------------------------------------- /website/static/img/gallery/autotx.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:0229a29843a10bc38cb867f54edd62f4dc1bc7098fe407abab6d3ebfb12e6ad7 3 | size 55650 4 | -------------------------------------------------------------------------------- /website/static/img/gallery/default.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:2056728b68699091b74c223baecdb127ac85ff81f1f7c61e8e25543652ee0ecb 3 | size 130557 4 | -------------------------------------------------------------------------------- /website/static/img/gallery/robot.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:7581ecc79cad5e294319bb1696c01bfb7aad3922a472489277d5dc755b716a75 3 | size 1990295 4 | -------------------------------------------------------------------------------- /website/static/img/gallery/webagent.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:9922bd42d16b58564ef7602d45b120310f46ebaa0290e5d23401bc061984cd4e 3 | size 18695 4 | -------------------------------------------------------------------------------- /dotnet/website/images/articles/ConnectTo3PartyOpenAI/output.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZinkaTrostinka/autogen/HEAD/dotnet/website/images/articles/ConnectTo3PartyOpenAI/output.gif -------------------------------------------------------------------------------- /samples/apps/autogen-studio/autogenstudio/__init__.py: -------------------------------------------------------------------------------- 1 | from .chatmanager import * 2 | from .datamodel import * 3 | from .version import __version__ 4 | from .workflowmanager import * 5 | -------------------------------------------------------------------------------- /website/blog/2024-05-24-Agent/img/agents.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:7b4cf0cddf0cdb7977556c4d8528605700f8aa8692152a31bfbf994868415c45 3 | size 3163177 4 | -------------------------------------------------------------------------------- /website/docs/autogen-studio/img/agent_new.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:18de683a302d4cfaf218b3d57d6f72d17925b589c15ea0604e4b3bd03f6b464c 3 | size 141037 4 | -------------------------------------------------------------------------------- /website/docs/autogen-studio/img/model_new.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:82cf098881c1b318aeec3858aedbc80dea3e80e6d34c0dbd36d721a8e14cc058 3 | size 94667 4 | -------------------------------------------------------------------------------- /website/docs/autogen-studio/img/skill.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:f675444d66c0f6dbca9756b92d2bd166cd29eb645efadc38b7331ab891bef204 3 | size 232801 4 | -------------------------------------------------------------------------------- /website/docs/tutorial/assets/group-chat.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:43763dfc90485163e3937e6261f2851da678198940d571fc5731e9e58cf3188b 3 | size 90369 4 | -------------------------------------------------------------------------------- /website/docs/tutorial/assets/nested-chats.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:37fe62859b8b25f29920a7eef69d5fc2cc583da8c91dbf3e0394d19d52f35ef3 3 | size 86429 4 | -------------------------------------------------------------------------------- /website/static/img/gallery/TensionCode.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:86cc60473970c1106e9ce66d6ce959ef1509d6ce31091e6fdf2b00d911e48318 3 | size 304260 4 | -------------------------------------------------------------------------------- /website/static/img/gallery/x-force-ide-ui.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:4023afbc9382cf96636946579266f9834f85816362210aba58a4828537b69914 3 | size 319498 4 | -------------------------------------------------------------------------------- /dotnet/test/AutoGen.Ollama.Tests/images/image.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:300b7c9d6ba0c23a3e52fbd2e268141ddcca0434a9fb9dcf7e58e7e903d36dcf 3 | size 2126185 4 | -------------------------------------------------------------------------------- /dotnet/test/AutoGen.Ollama.Tests/images/square.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:8323d0b8eceb752e14c29543b2e28bb2fc648ed9719095c31b7708867a4dc918 3 | size 491 4 | -------------------------------------------------------------------------------- /dotnet/test/AutoGen.Tests/ApprovalTests/square.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:8323d0b8eceb752e14c29543b2e28bb2fc648ed9719095c31b7708867a4dc918 3 | size 491 4 | -------------------------------------------------------------------------------- /samples/apps/cap/py/autogencap/setup.py: -------------------------------------------------------------------------------- 1 | from setuptools import find_packages, setup 2 | 3 | setup( 4 | name="autogencap", 5 | version="0.1", 6 | packages=find_packages(), 7 | ) 8 | -------------------------------------------------------------------------------- /website/blog/2023-06-28-MathChat/img/result.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:733c841fda116d3d9ba709acb4906a96c48d311d5461d972a62f852c37362c61 3 | size 96509 4 | -------------------------------------------------------------------------------- /website/blog/2023-11-06-LMM-Agent/img/teaser.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:37d97cdc7477973e7ad3ca1b6549cfe446315f94f78cc2603e8750a4cf1cfd03 3 | size 2368573 4 | -------------------------------------------------------------------------------- /website/blog/2023-11-09-EcoAssistant/img/chat.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:3cd9cc3bbe897dd70e2267a1f79d124e7d926c8530ba62787c854824fa2b85a0 3 | size 315192 4 | -------------------------------------------------------------------------------- /website/blog/2024-02-29-StateFlow/img/alfworld.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:743143d4238013dc4dc535243a25f808eea59a10bcdfcfbd4a0c1360da320ace 3 | size 65144 4 | -------------------------------------------------------------------------------- /website/blog/2024-05-24-Agent/img/leadership.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:9d8a26ee028d828ccbf9a0266ca926df6ffe34c16c312a0c9d4a417885a1cdb9 3 | size 193529 4 | -------------------------------------------------------------------------------- /website/docs/Use-Cases/images/agent_example.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:54af1e14c591055ac3e4d8232c0694022ef084e9c78dce506726e4a2b63db48b 3 | size 196435 4 | -------------------------------------------------------------------------------- /website/docs/Use-Cases/images/autogen_agents.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:7d15ec6cfed6f62c2e51bac3c21c5f337a1be30a92573b79feac704475e28398 3 | size 595895 4 | -------------------------------------------------------------------------------- /website/docs/autogen-studio/img/model_openai.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:696397efe3a289f5dd084a5a7fbfe3f151adb21a19be617d3e66255acc4a404d 3 | size 90123 4 | -------------------------------------------------------------------------------- /website/docs/autogen-studio/img/workflow_chat.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:7b14764c16149a1094ba95612e84fd28ef778485cc026a1cb4904a8c3f0b7815 3 | size 127639 4 | -------------------------------------------------------------------------------- /website/docs/autogen-studio/img/workflow_new.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:64614cd603aa384270075788253566a8035bd0d0011c28af0476f6e484111e4c 3 | size 90426 4 | -------------------------------------------------------------------------------- /website/docs/autogen-studio/img/workflow_test.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:c0567731649d732d1bacd557b94b5eec87b8d491fa4207f4a8e29170ee56419d 3 | size 258139 4 | -------------------------------------------------------------------------------- /website/docs/ecosystem/img/ecosystem-composio.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:33ea167735ede9123eb8e610ef182fdf4ca075a476177b0411e5c6c6b892644b 3 | size 15042 4 | -------------------------------------------------------------------------------- /website/docs/ecosystem/img/ecosystem-fabric.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:fae741553fa54f7fc8eaa096624fe06f46baa1fabb10e451a3ec805e034f85d1 3 | size 293783 4 | -------------------------------------------------------------------------------- /website/docs/ecosystem/img/ecosystem-llamaindex.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:08965da22eddf8c9253e96c1424d9a9b67f210018a3e39372746b93f1d787c04 3 | size 23548 4 | -------------------------------------------------------------------------------- /website/docs/ecosystem/img/ecosystem-memgpt.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:8815598cc28a66b07e1f9692121e9481b78206b9e878b9ab92fa8bc24cb1ce3f 3 | size 24576 4 | -------------------------------------------------------------------------------- /website/docs/ecosystem/img/ecosystem-ollama.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:5edad874e3b997558e2a5d06e9984e7dc48766d94acdbb365e9abdc820a324c2 3 | size 13837 4 | -------------------------------------------------------------------------------- /website/docs/tutorial/assets/conversable-agent.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:d537885ee46a37914dbeff953b6ed4ff5f8715f7f1901f27eea0c12ca553df5a 3 | size 29593 4 | -------------------------------------------------------------------------------- /website/docs/tutorial/assets/human-in-the-loop.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:abe6ced78aeaf839ef1165c35d23e8221b3febb10f9201f13d283976a3fac42a 3 | size 38796 4 | -------------------------------------------------------------------------------- /website/docs/tutorial/assets/two-agent-chat.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:2ccdc58ef6a99562603c6daddcf74b0b168710ed8322dc35be61190e16774eec 3 | size 47757 4 | -------------------------------------------------------------------------------- /website/static/img/gallery/composio-autogen.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:2fb15d49b34af3f6f2df43be10f4bbb99baea240e134cfb778acdb5039c3a9b6 3 | size 109905 4 | -------------------------------------------------------------------------------- /samples/apps/autogen-studio/docs/ara_stockprices.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:5e3340a765da6dff6585c8b2e8a4014df0c94b537d62d341d2d0d45627bbc345 3 | size 198222 4 | -------------------------------------------------------------------------------- /samples/apps/autogen-studio/frontend/src/images/icon.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:4f7307728cfd62bc0d07d8cc3ab3809e36d8859a5ad314d020b21648642cf574 3 | size 12710 4 | -------------------------------------------------------------------------------- /website/blog/2023-06-28-MathChat/img/mathchatflow.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:4153948ade0c47a3a21ef327d28e23d2ce48da00ea1d2f67c2ae1d4e08d8656e 3 | size 95406 4 | -------------------------------------------------------------------------------- /website/blog/2023-11-09-EcoAssistant/img/results.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:e316f7edbbd8aecf89d6a3863ec61a1b740198f7c6bc45f3c8255d27398c6d52 3 | size 28941 4 | -------------------------------------------------------------------------------- /website/blog/2023-11-09-EcoAssistant/img/system.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:2bb216b71208637e7f07c79927a343fece46d866a40d4df8186de248a878d81e 3 | size 286438 4 | -------------------------------------------------------------------------------- /website/blog/2023-11-09-EcoAssistant/img/template.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:2da5701547efc8956a13f18a566ab307ac20ebbbdd206249a907822e9e74982f 3 | size 335376 4 | -------------------------------------------------------------------------------- /website/blog/2023-11-13-OAI-assistants/img/teaser.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:9ab1627cab5111f1b5c2c8aaf19a0356e718d0a9866ac40453202d26f3343cdb 3 | size 232610 4 | -------------------------------------------------------------------------------- /website/blog/2023-11-20-AgentEval/img/agenteval-CQ.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:fb94c5b1f43f9112ead955d37414c8df5cb748e4aecb30ea01995f48768caf16 3 | size 175156 4 | -------------------------------------------------------------------------------- /website/blog/2024-01-25-AutoGenBench/img/teaser.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:d566d133445514ce2b93c8259194fed07d63819537aafe13910ce8b934abf47e 3 | size 240855 4 | -------------------------------------------------------------------------------- /website/blog/2024-02-02-AutoAnny/img/AutoAnnyLogo.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:3dc81d3d959885200859f7b17bdc504523a1170187c9752c1ddfaaddc3b4e803 3 | size 119359 4 | -------------------------------------------------------------------------------- /website/blog/2024-02-11-FSM-GroupChat/img/FSM_logic.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:5a22d37e2ab16809547ad2dd7d936e0650df74c8eeddfff5c73f538a8f31ec22 3 | size 28311 4 | -------------------------------------------------------------------------------- /website/blog/2024-02-11-FSM-GroupChat/img/teaser.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:5045f902ece8b19739d3fd6b48db52aad8901a8427ffe7223516adc240f7ca81 3 | size 34283 4 | -------------------------------------------------------------------------------- /website/blog/2024-02-29-StateFlow/img/bash_result.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:3864c93f89da3435269645dddebd7e20d124b92285349944b219d71a9b7ccf8a 3 | size 55631 4 | -------------------------------------------------------------------------------- /website/blog/2024-02-29-StateFlow/img/intercode.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:e4044db21b23c4dda83da2e505318736f7f48db3a24f17ed769858aade074809 3 | size 132147 4 | -------------------------------------------------------------------------------- /website/blog/2024-02-29-StateFlow/img/sf_example_1.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:eec105959fdbc6e5d6e1de4cafc1d7c4cf3778b102ae33d96da3691fdc2b6268 3 | size 59596 4 | -------------------------------------------------------------------------------- /website/blog/2024-03-03-AutoGen-Update/img/gaia.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:73416136382be5f2b4066185e7e91eae9e7bdccb5c899bdf74b0bf487d3ecb1a 3 | size 546588 4 | -------------------------------------------------------------------------------- /website/blog/2024-03-03-AutoGen-Update/img/love.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:3d3517c19fc84f61a4b81d5cb823b1d5ec3f5fe84b21703b1f0689ff5d2f646c 3 | size 150529 4 | -------------------------------------------------------------------------------- /website/blog/2024-03-03-AutoGen-Update/img/teach.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:7c2cb2b3bfd91346d8f7688504d463a1314252ca1ef26490cb5f355533494e3e 3 | size 921359 4 | -------------------------------------------------------------------------------- /website/docs/autogen-studio/img/agent_assistant.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:fd8eff59d97c9fbdf118eefe071894125d6421cad6b428c3427d61630d57a3e8 3 | size 133246 4 | -------------------------------------------------------------------------------- /website/docs/autogen-studio/img/agent_groupchat.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:060d2bfb9c38da7535015718202e17cdd6c51545a0a986dedfe6c91bd8accb52 3 | size 146086 4 | -------------------------------------------------------------------------------- /website/docs/autogen-studio/img/agent_skillsmodel.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:d85a85e931123b404ab1f3d20e2fe52a0e874479f5b36a6d56cd3ffaa0f9991b 3 | size 147060 4 | -------------------------------------------------------------------------------- /website/docs/autogen-studio/img/ara_stockprices.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:5e3340a765da6dff6585c8b2e8a4014df0c94b537d62d341d2d0d45627bbc345 3 | size 198222 4 | -------------------------------------------------------------------------------- /website/docs/autogen-studio/img/workflow_export.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:db5e6f7171a4de9ddfeb6d1e29d7dac2464f727720438ae3433cf78ffe8b75ce 3 | size 204265 4 | -------------------------------------------------------------------------------- /website/docs/autogen-studio/img/workflow_profile.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:3ad630cdf09112be8831c830f516a2ec061de1d0097e03d205eda982ab408a63 3 | size 283288 4 | -------------------------------------------------------------------------------- /website/docs/autogen-studio/img/workflow_sequential.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:670715663ec78b47d53e2689ad2853e07f99ac498ed890f9bdd36c309e52758f 3 | size 117232 4 | -------------------------------------------------------------------------------- /website/docs/ecosystem/img/ecosystem-databricks.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:19ac6d3ddc8dc8552d27dea0f055add9bc4abe5671a28c883940ec728d2aff0f 3 | size 203365 4 | -------------------------------------------------------------------------------- /website/docs/ecosystem/img/ecosystem-promptflow.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:8580309dbfe6f266d3c0370071ec489da4cf068ce7204b067716ceb4f9707940 3 | size 216099 4 | -------------------------------------------------------------------------------- /website/docs/tutorial/assets/code-executor-docker.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:41ab19925fe674924fadbcbe86fc3b4aee90273164b91ea5075b01d86793559f 3 | size 45857 4 | -------------------------------------------------------------------------------- /website/docs/tutorial/assets/code-executor-no-docker.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:2ca20b9ff0d84e3852f0ca09147c33bd83436d0aebdcb8d92a97c877e3700296 3 | size 41216 4 | -------------------------------------------------------------------------------- /dotnet/sample/AutoGen.BasicSamples/ImageResources/square.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:8323d0b8eceb752e14c29543b2e28bb2fc648ed9719095c31b7708867a4dc918 3 | size 491 4 | -------------------------------------------------------------------------------- /dotnet/sample/AutoGen.Ollama.Sample/images/background.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:300b7c9d6ba0c23a3e52fbd2e268141ddcca0434a9fb9dcf7e58e7e903d36dcf 3 | size 2126185 4 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/scenarios/GAIA/Templates/SocietyOfMind/requirements.txt: -------------------------------------------------------------------------------- 1 | git+https://github.com/microsoft/autogen.git@society_of_mind_gaia 2 | pdfminer.six 3 | markdownify 4 | pathvalidate 5 | -------------------------------------------------------------------------------- /website/blog/2023-04-21-LLM-tuning-math/img/level2algebra.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:00104deeab1ee2fdbda87221c019a17e7e8e8d00eef7e719ba26e890b8b4d979 3 | size 40332 4 | -------------------------------------------------------------------------------- /website/blog/2023-04-21-LLM-tuning-math/img/level3algebra.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:a9ae6c1c4e20494c5aa4882a621f889891b1eed1ea1149b7a5cf2bc4fd99e048 3 | size 41130 4 | -------------------------------------------------------------------------------- /website/blog/2023-04-21-LLM-tuning-math/img/level4algebra.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:6103474a16b1f715a1226771fcf510b3a7a95a6396eb51df7d91c4a3a03642f4 3 | size 36724 4 | -------------------------------------------------------------------------------- /website/blog/2023-04-21-LLM-tuning-math/img/level5algebra.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:1c9d938c95b031b9a88e559292850e810cd03475cee9a3046a631eb961740019 3 | size 35338 4 | -------------------------------------------------------------------------------- /website/blog/2023-05-18-GPT-adaptive-humaneval/img/design.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:8eb30bfdfbc07d9fd2c6945e28e3f71063636c65654e37b323771bbf3ba6d3e9 3 | size 21265 4 | -------------------------------------------------------------------------------- /website/blog/2023-11-09-EcoAssistant/img/template-demo.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:46e6a4b26aaa7d7a89f5f5920bfe76762ed2b3dcaf7a16db04cb310ca15339bd 3 | size 61483 4 | -------------------------------------------------------------------------------- /website/blog/2023-11-20-AgentEval/img/math-problems-plot.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:12e283dd7a35af47f24cee18dc6d9054eacfe95761ea1c12d3da508dc29510ff 3 | size 92959 4 | -------------------------------------------------------------------------------- /website/blog/2023-11-20-AgentEval/img/tasks-taxonomy.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:057d293bac0914acca3c991e3f4adf5737112f7b4ee751acb91376c2c65eb446 3 | size 100009 4 | -------------------------------------------------------------------------------- /website/blog/2024-03-03-AutoGen-Update/img/contributors.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:da1a0a0f4a830acb8a9a29e54ccdc8be3841154f31c64cf8f53e0b23e5aaa6cb 3 | size 493276 4 | -------------------------------------------------------------------------------- /website/blog/2024-03-03-AutoGen-Update/img/dalle_gpt4v.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:4516aaf4dd8e179fe8c9d47d782dfd4aa8ef256eafe4a857c07550d79b0b0e29 3 | size 3785874 4 | -------------------------------------------------------------------------------- /website/blog/2024-03-11-AutoDefense/imgs/architecture.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:b4cb0e5128fefce942eeb5c04605b321b98950d75864c23d2e1a4b93ce65f784 3 | size 243058 4 | -------------------------------------------------------------------------------- /website/blog/2024-03-11-AutoDefense/imgs/table-4agents.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:55492a3d4504ef448b9bcbf3d8980df461a11585d03ea7155f24dd7c2183cfda 3 | size 75521 4 | -------------------------------------------------------------------------------- /website/blog/2024-03-11-AutoDefense/imgs/table-agents.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:68ee35135459a57d21d6eb310b6d4f3d46cbee1ce5a40bc1e44d40375c6486ef 3 | size 291050 4 | -------------------------------------------------------------------------------- /website/docs/tutorial/assets/sequential-two-agent-chat.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:dcf72e7277451fe71121a05f754b7ae8fb82e6e0f124a6c03fbeea6d5e636856 3 | size 59877 4 | -------------------------------------------------------------------------------- /dotnet/src/AutoGen.Core/ILLMConfig.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // ILLMConfig.cs 3 | 4 | namespace AutoGen.Core; 5 | 6 | public interface ILLMConfig 7 | { 8 | } 9 | -------------------------------------------------------------------------------- /dotnet/website/images/articles/CreateUserProxyAgent/image-1.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:91813a034edc3918a27758296d77150d1c8d650911847bdc6a42cca79307714a 3 | size 9009 4 | -------------------------------------------------------------------------------- /dotnet/website/images/articles/DynamicGroupChat/dynamicChat.gif: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:5cba3069e9669a1b8013f0b2fa4d191c1d7b0b7919b1664f1f8ec98a90c7a2b2 3 | size 411517 4 | -------------------------------------------------------------------------------- /website/blog/2023-05-18-GPT-adaptive-humaneval/img/humaneval.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:98543c9fbf1f5d713c34b7611bbc76522610615d9f93c9e89a2a2e0876bc71fd 3 | size 47656 4 | -------------------------------------------------------------------------------- /website/blog/2023-10-18-RetrieveChat/img/retrievechat-arch.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:a66cc322b34ab0d5c90b76e7accd0b7cf632e0d03e93851d2ad1f8b00c05829b 3 | size 253150 4 | -------------------------------------------------------------------------------- /website/blog/2023-10-26-TeachableAgent/img/teachable-arch.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:3f681e83c85432aebd43d351283e4e4900f494cbfff9dced71f79d0e88fd8b19 3 | size 145406 4 | -------------------------------------------------------------------------------- /website/blog/2023-11-26-Agent-AutoBuild/img/agent_autobuild.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:a4df8562660a9aae67c6a2dfa14453ae4a68707206621cd26b5c183867d77d7f 3 | size 269313 4 | -------------------------------------------------------------------------------- /website/blog/2023-12-01-AutoGenStudio/img/autogenstudio_home.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:37e3e535e7d69d6bb1f1af7a1b7596599f122db848684172ec3b209c8d6d45c1 3 | size 821003 4 | -------------------------------------------------------------------------------- /website/blog/2023-12-23-AgentOptimizer/img/agentoptimizer.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:cc5caafeb56e62dc82d79572dc25454425be3feedd05a87768342c1fb1aa7b9d 3 | size 197252 4 | -------------------------------------------------------------------------------- /website/blog/2024-02-11-FSM-GroupChat/img/FSM_of_multi-agents.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:815b4de5822a76d6874d3e893dcd2428b08cbecff833cf1cb82938e6ec80728b 3 | size 46898 4 | -------------------------------------------------------------------------------- /website/docs/topics/non-openai-models/images/cloudlocalproxy.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:1c2e71bbd8ca4f2a83d8c1e3dbb75a4fc3586318d849699ba3d2e6beaec3d3d3 3 | size 57529 4 | -------------------------------------------------------------------------------- /website/docs/tutorial/assets/code-execution-in-conversation.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:f07f62e09015f13a254ebc1dbfe92c7209608ed4888ab28722b4f39dad575058 3 | size 27871 4 | -------------------------------------------------------------------------------- /dotnet/sample/AutoGen.Ollama.Sample/Program.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Program.cs 3 | 4 | using AutoGen.Ollama.Sample; 5 | 6 | await Chat_With_LLaVA.RunAsync(); 7 | -------------------------------------------------------------------------------- /dotnet/website/images/articles/PrintMessageMiddleware/printMessage.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:7ec3bc40d4e3c1228d5799e448a34521998e7abb700bc978afc790389805ecb4 3 | size 86924 4 | -------------------------------------------------------------------------------- /scripts/docs_build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | set -x 5 | 6 | cd website && 7 | yarn install --frozen-lockfile --ignore-engines && 8 | pydoc-markdown && 9 | yarn build 10 | -------------------------------------------------------------------------------- /scripts/docs_serve.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | set -x 5 | 6 | cd website && 7 | yarn install --frozen-lockfile --ignore-engines && 8 | pydoc-markdown && 9 | yarn start 10 | -------------------------------------------------------------------------------- /website/blog/2023-12-01-AutoGenStudio/img/autogenstudio_config.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:fdcbc2d7bcf2ba85864c14c6acebb50ad9f2c53b3696da0c81d08b73f3784e32 3 | size 173826 4 | -------------------------------------------------------------------------------- /website/blog/2023-12-01-AutoGenStudio/img/autogenstudio_skills.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:67fc01c2e73b81904395e39c846e3fb3db7b2a68b4a93181a38b6e1ceda83d4b 3 | size 153680 4 | -------------------------------------------------------------------------------- /website/blog/2024-03-11-AutoDefense/imgs/defense-agency-design.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:3ac119a748ecce74a319f5bd224e0bcb312b95a8674d834932f54279386174cc 3 | size 163963 4 | -------------------------------------------------------------------------------- /website/blog/2024-03-11-AutoDefense/imgs/table-compared-methods.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:21f5534bb42f010908cef6b9b3d264ebd5ccf1cd29ab81f87b1d7100bc76aaa6 3 | size 110141 4 | -------------------------------------------------------------------------------- /dotnet/website/images/articles/PrintMessageMiddleware/streamingoutput.gif: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:95feb667fe74177506435ca52fcf183fb187a3a407fac0b3b220bd9e8da721c7 3 | size 547023 4 | -------------------------------------------------------------------------------- /dotnet/website/images/articles/SequentialGroupChat/SearcherSummarizer.gif: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:c6d8a5a534efaf49ecc796ad3ca8e62fb7a236b55d894bda7a0c258564195b5d 3 | size 620269 4 | -------------------------------------------------------------------------------- /autogen/logger/__init__.py: -------------------------------------------------------------------------------- 1 | from .file_logger import FileLogger 2 | from .logger_factory import LoggerFactory 3 | from .sqlite_logger import SqliteLogger 4 | 5 | __all__ = ("LoggerFactory", "SqliteLogger", "FileLogger") 6 | -------------------------------------------------------------------------------- /dotnet/website/.gitignore: -------------------------------------------------------------------------------- 1 | ############### 2 | # folder # 3 | ############### 4 | /**/DROP/ 5 | /**/TEMP/ 6 | /**/packages/ 7 | /**/bin/ 8 | /**/obj/ 9 | 10 | # build artifacts for web 11 | _site/ 12 | api/ 13 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/scenarios/MANIFEST.json: -------------------------------------------------------------------------------- 1 | { 2 | "scenarios": { 3 | "HumanEval": "HumanEval/", 4 | "GAIA": "GAIA/", 5 | "AutoGPT": "AutoGPT/", 6 | "MATH": "MATH/" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /dotnet/website/template/public/main.js: -------------------------------------------------------------------------------- 1 | export default { 2 | iconLinks: [ 3 | { 4 | icon: 'github', 5 | href: 'https://github.com/microsoft/autogen', 6 | title: 'GitHub' 7 | } 8 | ] 9 | } -------------------------------------------------------------------------------- /samples/apps/autogen-studio/frontend/gatsby-browser.js: -------------------------------------------------------------------------------- 1 | import "antd/dist/reset.css"; 2 | import "./src/styles/global.css"; 3 | 4 | import AuthProvider from "./src/hooks/provider"; 5 | 6 | export const wrapRootElement = AuthProvider; 7 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/scenarios/AutoGPT/Challenges/1_sort_csv/artifacts_in/input.csv: -------------------------------------------------------------------------------- 1 | id,name,timestamp 2 | 3,Alice,2023-09-25 14:10:00 3 | 1,Bob,2023-09-24 12:05:00 4 | 2,Charlie,2023-09-24 12:10:00 5 | 4,David,2023-09-26 16:20:00 6 | -------------------------------------------------------------------------------- /dotnet/sample/AutoGen.SemanticKernel.Sample/Program.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Program.cs 3 | 4 | using AutoGen.SemanticKernel.Sample; 5 | 6 | await Use_Kernel_Functions_With_Other_Agent.RunAsync(); 7 | -------------------------------------------------------------------------------- /dotnet/sample/AutoGen.BasicSamples/Program.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Program.cs 3 | 4 | using AutoGen.BasicSample; 5 | Console.ReadLine(); 6 | await Example16_OpenAIChatAgent_ConnectToThirdPartyBackend.RunAsync(); 7 | -------------------------------------------------------------------------------- /dotnet/NuGet.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /samples/apps/autogen-studio/MANIFEST.in: -------------------------------------------------------------------------------- 1 | recursive-include autogenstudio/web/ui * 2 | recursive-include autogenstudio/web/database.sqlite 3 | recursive-exclude notebooks * 4 | 5 | recursive-exclude frontend * 6 | recursive-exclude docs * 7 | recursive-exclude tests * 8 | -------------------------------------------------------------------------------- /samples/apps/promptflow-autogen/azure_openai.yaml: -------------------------------------------------------------------------------- 1 | $schema: https://azuremlschemas.azureedge.net/promptflow/latest/AzureOpenAIConnection.schema.json 2 | name: open_ai_connection 3 | type: azure_open_ai 4 | api_key: "" 5 | api_base: "" 6 | api_type: "azure" 7 | -------------------------------------------------------------------------------- /dotnet/src/AutoGen.DotnetInteractive/dotnet-tools.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "isRoot": true, 4 | "tools": { 5 | "Microsoft.dotnet-interactive": { 6 | "version": "1.0.522904", 7 | "commands": [ 8 | "dotnet-interactive" 9 | ] 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /samples/apps/cap/py/autogencap/Config.py: -------------------------------------------------------------------------------- 1 | # Set the current log level 2 | LOG_LEVEL = 0 3 | IGNORED_LOG_CONTEXTS = [] 4 | xpub_url: str = "tcp://127.0.0.1:5555" 5 | xsub_url: str = "tcp://127.0.0.1:5556" 6 | router_url: str = "tcp://127.0.0.1:5557" 7 | dealer_url: str = "tcp://127.0.0.1:5558" 8 | -------------------------------------------------------------------------------- /dotnet/test/AutoGen.SemanticKernel.Tests/ApprovalTests/KernelFunctionExtensionTests.ItCreateFunctionContractsFromPrompt.approved.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "Name": "sayHello", 4 | "Description": "Generic function, unknown purpose", 5 | "Parameters": [], 6 | "ReturnDescription": "" 7 | } 8 | ] -------------------------------------------------------------------------------- /website/docs/ecosystem/pgvector.md: -------------------------------------------------------------------------------- 1 | # PGVector 2 | 3 | [PGVector](https://github.com/pgvector/pgvector) is an open-source vector similarity search for Postgres. 4 | 5 | - [PGVector + AutoGen Code Examples](https://github.com/microsoft/autogen/blob/main/notebook/agentchat_pgvector_RetrieveChat.ipynb) 6 | -------------------------------------------------------------------------------- /website/src/components/HomepageFeatures.module.css: -------------------------------------------------------------------------------- 1 | /* stylelint-disable docusaurus/copyright-header */ 2 | 3 | .features { 4 | display: flex; 5 | align-items: center; 6 | padding: 2rem 0; 7 | width: 100%; 8 | } 9 | 10 | .featureSvg { 11 | height: 130px; 12 | width: auto; 13 | } 14 | -------------------------------------------------------------------------------- /dotnet/src/AutoGen.DotnetInteractive/RestoreInteractive.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /dotnet/website/toc.yml: -------------------------------------------------------------------------------- 1 | - name: Docs 2 | href: articles/ 3 | 4 | - name: API Reference 5 | href: api/ 6 | 7 | - name: Update Log 8 | href: update.md 9 | 10 | - name: Other Languages 11 | dropdown: true 12 | items: 13 | - name: Python 14 | href: https://microsoft.github.io/autogen/ 15 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/scenarios/AutoGPT/Scripts/custom_tabulate.py: -------------------------------------------------------------------------------- 1 | import os 2 | import sys 3 | 4 | from autogenbench.tabulate_cmd import default_tabulate 5 | 6 | 7 | def main(args): 8 | default_tabulate(args) 9 | 10 | 11 | if __name__ == "__main__" and __package__ is None: 12 | main(sys.argv) 13 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/scenarios/HumanEval/Scripts/custom_tabulate.py: -------------------------------------------------------------------------------- 1 | import os 2 | import sys 3 | 4 | from autogenbench.tabulate_cmd import default_tabulate 5 | 6 | 7 | def main(args): 8 | default_tabulate(args) 9 | 10 | 11 | if __name__ == "__main__" and __package__ is None: 12 | main(sys.argv) 13 | -------------------------------------------------------------------------------- /autogen/__init__.py: -------------------------------------------------------------------------------- 1 | import logging 2 | 3 | from .agentchat import * 4 | from .code_utils import DEFAULT_MODEL, FAST_MODEL 5 | from .exception_utils import * 6 | from .oai import * 7 | from .version import __version__ 8 | 9 | # Set the root logger. 10 | logger = logging.getLogger(__name__) 11 | logger.setLevel(logging.INFO) 12 | -------------------------------------------------------------------------------- /samples/apps/cap/py/demo/_paths.py: -------------------------------------------------------------------------------- 1 | # Add autogencap to system path in case autogencap is not pip installed 2 | # Since this library has not been published to PyPi, it is not easy to install using pip 3 | import os 4 | import sys 5 | 6 | absparent = os.path.abspath(os.path.join(os.path.dirname(__file__), "..")) 7 | sys.path.append(absparent) 8 | -------------------------------------------------------------------------------- /dotnet/sample/AutoGen.Anthropic.Samples/Program.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // Program.cs 3 | 4 | namespace AutoGen.Anthropic.Samples; 5 | 6 | internal static class Program 7 | { 8 | public static async Task Main(string[] args) 9 | { 10 | await AnthropicSamples.RunAsync(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /samples/apps/cap/py/demo/standalone/_paths.py: -------------------------------------------------------------------------------- 1 | # Add autogencap to system path in case autogencap is not pip installed 2 | # Since this library has not been published to PyPi, it is not easy to install using pip 3 | import os 4 | import sys 5 | 6 | absparent = os.path.abspath(os.path.join(os.path.dirname(__file__), "../..")) 7 | sys.path.append(absparent) 8 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/scenarios/HumanEval/Templates/GroupChatFourAgents/coding/my_tests.py: -------------------------------------------------------------------------------- 1 | # Disable ruff linter for template files 2 | # ruff: noqa: F821 3 | 4 | __TEST__ 5 | 6 | 7 | def run_tests(candidate): 8 | check(candidate) 9 | # We can search for this string in the output 10 | print("ALL TESTS PASSED !#!#\nTERMINATE") 11 | -------------------------------------------------------------------------------- /dotnet/.config/dotnet-tools.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "isRoot": true, 4 | "tools": { 5 | "dotnet-repl": { 6 | "version": "0.1.205", 7 | "commands": [ 8 | "dotnet-repl" 9 | ] 10 | }, 11 | "docfx": { 12 | "version": "2.67.5", 13 | "commands": [ 14 | "docfx" 15 | ] 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /samples/tools/autogenbench/scenarios/HumanEval/Templates/GroupChatThreeAgents_Distractor/coding/my_tests.py: -------------------------------------------------------------------------------- 1 | # Disable ruff linter for template files 2 | # ruff: noqa: F821 3 | 4 | __TEST__ 5 | 6 | 7 | def run_tests(candidate): 8 | check(candidate) 9 | # We can search for this string in the output 10 | print("ALL TESTS PASSED !#!#\nTERMINATE") 11 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/scenarios/HumanEval/Templates/GroupChatThreeAgents_Guardrails/coding/my_tests.py: -------------------------------------------------------------------------------- 1 | # Disable ruff linter for template files 2 | # ruff: noqa: F821 3 | 4 | __TEST__ 5 | 6 | 7 | def run_tests(candidate): 8 | check(candidate) 9 | # We can search for this string in the output 10 | print("ALL TESTS PASSED !#!#\nTERMINATE") 11 | -------------------------------------------------------------------------------- /scripts/pre-commit-mypy-run.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # taken from: https://jaredkhan.com/blog/mypy-pre-commit 4 | 5 | # A script for running mypy, 6 | # with all its dependencies installed. 7 | 8 | set -o errexit 9 | 10 | # Change directory to the project root directory. 11 | cd "$(dirname "$0")"/.. 12 | 13 | pip install -q -e .[types] 14 | 15 | mypy 16 | -------------------------------------------------------------------------------- /test/test_files/example.txt: -------------------------------------------------------------------------------- 1 | AutoGen is an advanced tool designed to assist developers in harnessing the capabilities 2 | of Large Language Models (LLMs) for various applications. The primary purpose of AutoGen is to automate and 3 | simplify the process of building applications that leverage the power of LLMs, allowing for seamless 4 | integration, testing, and deployment. 5 | -------------------------------------------------------------------------------- /dotnet/src/AutoGen.Mistral/DTOs/ResponseFormat.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // ResponseFormat.cs 3 | 4 | using System.Text.Json.Serialization; 5 | 6 | namespace AutoGen.Mistral; 7 | 8 | public class ResponseFormat 9 | { 10 | [JsonPropertyName("type")] 11 | public string ResponseFormatType { get; set; } = "json_object"; 12 | } 13 | -------------------------------------------------------------------------------- /autogen/io/__init__.py: -------------------------------------------------------------------------------- 1 | from .base import InputStream, IOStream, OutputStream 2 | from .console import IOConsole 3 | from .websockets import IOWebsockets 4 | 5 | # Set the default input/output stream to the console 6 | IOStream.set_global_default(IOConsole()) 7 | IOStream.set_default(IOConsole()) 8 | 9 | __all__ = ("IOConsole", "IOStream", "InputStream", "OutputStream", "IOWebsockets") 10 | -------------------------------------------------------------------------------- /dotnet/src/AutoGen.Ollama/Embeddings/TextEmbeddingsResponse.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // TextEmbeddingsResponse.cs 3 | 4 | using System.Text.Json.Serialization; 5 | 6 | namespace AutoGen.Ollama; 7 | 8 | public class TextEmbeddingsResponse 9 | { 10 | [JsonPropertyName("embedding")] 11 | public double[]? Embedding { get; set; } 12 | } 13 | -------------------------------------------------------------------------------- /samples/apps/promptflow-autogen/custom_conn.yaml: -------------------------------------------------------------------------------- 1 | $schema: https://azuremlschemas.azureedge.net/promptflow/latest/CustomConnection.schema.json 2 | name: "redis_connection_url" 3 | type: custom 4 | configs: 5 | key1: "test1" 6 | secrets: 7 | # Use'' to keep original value or '' to update it when the application runs. 8 | key2: "test2" 9 | redis_url: "" 10 | -------------------------------------------------------------------------------- /website/docs/contributor-guide/pre-commit.md: -------------------------------------------------------------------------------- 1 | # Pre-commit 2 | 3 | Run `pre-commit install` to install pre-commit into your git hooks. Before you commit, run 4 | `pre-commit run` to check if you meet the pre-commit requirements. If you use Windows (without WSL) and can't commit after installing pre-commit, you can run `pre-commit uninstall` to uninstall the hook. In WSL or Linux this is supposed to work. 5 | -------------------------------------------------------------------------------- /website/docs/ecosystem/llamaindex.md: -------------------------------------------------------------------------------- 1 | # Llamaindex 2 | 3 | ![Llamaindex Example](img/ecosystem-llamaindex.png) 4 | 5 | [Llamaindex](https://www.llamaindex.ai/) allows the users to create Llamaindex agents and integrate them in autogen conversation patterns. 6 | 7 | - [Llamaindex + AutoGen Code Examples](https://github.com/microsoft/autogen/blob/main/notebook/agentchat_group_chat_with_llamaindex_agents.ipynb) 8 | -------------------------------------------------------------------------------- /dotnet/.gitignore: -------------------------------------------------------------------------------- 1 | # gitignore file for C#/VS 2 | 3 | # Build results 4 | [Dd]ebug/ 5 | [Dd]ebugPublic/ 6 | [Rr]elease/ 7 | [Rr]eleases/ 8 | x64/ 9 | x86/ 10 | build/ 11 | bld/ 12 | [Bb]in/ 13 | [Oo]bj/ 14 | 15 | # vs cache 16 | .vs/ 17 | 18 | # vs code cache 19 | .vscode/ 20 | 21 | # Properties 22 | Properties/ 23 | 24 | artifacts/ 25 | output/ 26 | 27 | *.binlog 28 | 29 | # JetBrains Rider 30 | .idea/ -------------------------------------------------------------------------------- /dotnet/test/AutoGen.SourceGenerator.Tests/TopLevelStatementFunctionExample.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // TopLevelStatementFunctionExample.cs 3 | 4 | using AutoGen.Core; 5 | 6 | public partial class TopLevelStatementFunctionExample 7 | { 8 | [Function] 9 | public Task Add(int a, int b) 10 | { 11 | return Task.FromResult($"{a + b}"); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/scenarios/HumanEval/Templates/TwoAgents/coding/my_tests.py: -------------------------------------------------------------------------------- 1 | # Disable ruff linter for template files 2 | # ruff: noqa: F821 E722 3 | 4 | __TEST__ 5 | 6 | 7 | def run_tests(candidate): 8 | try: 9 | check(candidate) 10 | # We can search for this string in the output 11 | print("ALL TESTS PASSED !#!#\nTERMINATE") 12 | except: 13 | print("SOME TESTS FAILED - TRY AGAIN !#!#") 14 | -------------------------------------------------------------------------------- /autogen/types.py: -------------------------------------------------------------------------------- 1 | from typing import Dict, List, Literal, TypedDict, Union 2 | 3 | MessageContentType = Union[str, List[Union[Dict, str]], None] 4 | 5 | 6 | class UserMessageTextContentPart(TypedDict): 7 | type: Literal["text"] 8 | text: str 9 | 10 | 11 | class UserMessageImageContentPart(TypedDict): 12 | type: Literal["image_url"] 13 | # Ignoring the other "detail param for now" 14 | image_url: Dict[Literal["url"], str] 15 | -------------------------------------------------------------------------------- /dotnet/src/AutoGen.Ollama/Embeddings/ITextEmbeddingService.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // ITextEmbeddingService.cs 3 | 4 | using System.Threading; 5 | using System.Threading.Tasks; 6 | 7 | namespace AutoGen.Ollama; 8 | 9 | public interface ITextEmbeddingService 10 | { 11 | public Task GenerateAsync(TextEmbeddingsRequest request, CancellationToken cancellationToken); 12 | } 13 | -------------------------------------------------------------------------------- /dotnet/website/README.md: -------------------------------------------------------------------------------- 1 | ## How to build and run the website 2 | 3 | ### Prerequisites 4 | - dotnet 7.0 or later 5 | 6 | ### Build 7 | Firstly, go to autogen/dotnet folder and run the following command to build the website: 8 | ```bash 9 | dotnet tool restore 10 | dotnet tool run docfx website/docfx.json --serve 11 | ``` 12 | 13 | After the command is executed, you can open your browser and navigate to `http://localhost:8080` to view the website. -------------------------------------------------------------------------------- /dotnet/test/AutoGen.Anthropic.Tests/AnthropicTestUtils.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // AnthropicTestUtils.cs 3 | 4 | namespace AutoGen.Anthropic; 5 | 6 | public static class AnthropicTestUtils 7 | { 8 | public static string ApiKey => Environment.GetEnvironmentVariable("ANTHROPIC_API_KEY") ?? 9 | throw new Exception("Please set ANTHROPIC_API_KEY environment variable."); 10 | } 11 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/scenarios/Examples/README.md: -------------------------------------------------------------------------------- 1 | # Example Tasks 2 | 3 | Various AutoGen example tasks. Unlike other benchmark tasks, these tasks have no automated evaluation. 4 | 5 | ## Running the tasks 6 | 7 | ``` 8 | autogenbench run Tasks/default_two_agents 9 | ``` 10 | 11 | Some tasks require a Bing API key. Edit the ENV.json file to provide a valid BING_API_KEY, or simply allow that task to fail (it is only required by one task). 12 | -------------------------------------------------------------------------------- /dotnet/src/AutoGen.Ollama/OllamaConsts.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // OllamaConsts.cs 3 | 4 | namespace AutoGen.Ollama; 5 | 6 | public class OllamaConsts 7 | { 8 | public const string JsonFormatType = "json"; 9 | public const string JsonMediaType = "application/json"; 10 | public const string ChatCompletionEndpoint = "/api/chat"; 11 | public const string EmbeddingsEndpoint = "/api/embeddings"; 12 | } 13 | -------------------------------------------------------------------------------- /dotnet/src/AutoGen.OpenAI/OpenAIConfig.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // OpenAIConfig.cs 3 | 4 | namespace AutoGen.OpenAI; 5 | 6 | public class OpenAIConfig : ILLMConfig 7 | { 8 | public OpenAIConfig(string apiKey, string modelId) 9 | { 10 | this.ApiKey = apiKey; 11 | this.ModelId = modelId; 12 | } 13 | 14 | public string ApiKey { get; } 15 | 16 | public string ModelId { get; } 17 | } 18 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/autogenbench/load_module.py: -------------------------------------------------------------------------------- 1 | import importlib.util 2 | import os 3 | import sys 4 | 5 | 6 | def load_module(module_path): 7 | module_name = os.path.basename(module_path).replace(".py", "") 8 | spec = importlib.util.spec_from_file_location(module_name, module_path) 9 | module = importlib.util.module_from_spec(spec) 10 | sys.modules[module_name] = module 11 | spec.loader.exec_module(module) 12 | return module 13 | -------------------------------------------------------------------------------- /website/docs/ecosystem/ollama.md: -------------------------------------------------------------------------------- 1 | # Ollama 2 | 3 | ![Ollama Example](img/ecosystem-ollama.png) 4 | 5 | [Ollama](https://ollama.com/) allows the users to run open-source large language models, such as Llama 2, locally. Ollama bundles model weights, configuration, and data into a single package, defined by a Modelfile. It optimizes setup and configuration details, including GPU usage. 6 | 7 | - [Ollama + AutoGen instruction](https://ollama.ai/blog/openai-compatibility) 8 | -------------------------------------------------------------------------------- /dotnet/test/AutoGen.SourceGenerator.Tests/FilescopeNamespaceFunctionExample.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // FilescopeNamespaceFunctionExample.cs 3 | 4 | using AutoGen.Core; 5 | 6 | namespace AutoGen.SourceGenerator.Tests; 7 | public partial class FilescopeNamespaceFunctionExample 8 | { 9 | [Function] 10 | public Task Add(int a, int b) 11 | { 12 | return Task.FromResult($"{a + b}"); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /samples/apps/cap/py/autogencap/utility.py: -------------------------------------------------------------------------------- 1 | from autogencap.DebugLog import Error 2 | from autogencap.proto.CAP_pb2 import Error as ErrorMsg 3 | from autogencap.proto.CAP_pb2 import ErrorCode 4 | 5 | 6 | def report_error_msg(msg: ErrorMsg, src: str): 7 | if msg is not None: 8 | err = ErrorMsg() 9 | err.ParseFromString(msg) 10 | if err.code != ErrorCode.EC_OK: 11 | Error(src, f"Error response: code[{err.code}] msg[{err.message}]") 12 | -------------------------------------------------------------------------------- /test/coding/test_factory.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | from autogen.coding.factory import CodeExecutorFactory 4 | 5 | 6 | def test_create_unknown() -> None: 7 | config = {"executor": "unknown"} 8 | with pytest.raises(ValueError, match="Unknown code executor unknown"): 9 | CodeExecutorFactory.create(config) 10 | 11 | config = {} 12 | with pytest.raises(ValueError, match="Unknown code executor None"): 13 | CodeExecutorFactory.create(config) 14 | -------------------------------------------------------------------------------- /dotnet/test/AutoGen.SourceGenerator.Tests/ApprovalTests/FunctionExample.Sum_Test.approved.txt: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Sum", 3 | "description": "Sum function", 4 | "parameters": { 5 | "type": "object", 6 | "properties": { 7 | "args": { 8 | "type": "array", 9 | "items": { 10 | "type": "number" 11 | }, 12 | "description": "an array of double values" 13 | } 14 | }, 15 | "required": [ 16 | "args" 17 | ] 18 | } 19 | } -------------------------------------------------------------------------------- /samples/tools/autogenbench/scenarios/Examples/MANIFEST.json: -------------------------------------------------------------------------------- 1 | { 2 | "files": { 3 | "Templates/TwoAgents/scenario_finalize.sh": "Templates/TwoAgents/scenario_finalize.sh", 4 | "Templates/TwoAgents/scenario.py": "Templates/TwoAgents/scenario.py", 5 | "Templates/TwoAgents/scenario_init.sh": "Templates/TwoAgents/scenario_init.sh", 6 | "Tasks/default_two_agents.jsonl": "Tasks/default_two_agents.jsonl", 7 | "README.md": "README.md" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Microsoft Open Source Code of Conduct 2 | 3 | This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). 4 | 5 | Resources: 6 | 7 | - [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/) 8 | - [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) 9 | - Contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with questions or concerns 10 | -------------------------------------------------------------------------------- /dotnet/test/AutoGen.SourceGenerator.Tests/ApprovalTests/FunctionExample.Add_Test.approved.txt: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Add", 3 | "description": "Add function", 4 | "parameters": { 5 | "type": "object", 6 | "properties": { 7 | "a": { 8 | "type": "integer", 9 | "description": "a" 10 | }, 11 | "b": { 12 | "type": "integer", 13 | "description": "b" 14 | } 15 | }, 16 | "required": [ 17 | "a", 18 | "b" 19 | ] 20 | } 21 | } -------------------------------------------------------------------------------- /samples/apps/autogen-studio/.gitignore: -------------------------------------------------------------------------------- 1 | database.sqlite 2 | .cache/* 3 | autogenstudio/web/files/user/* 4 | autogenstudio/test 5 | autogenstudio/web/files/ui/* 6 | OAI_CONFIG_LIST 7 | scratch/ 8 | autogenstudio/web/workdir/* 9 | autogenstudio/web/ui/* 10 | autogenstudio/web/skills/user/* 11 | .release.sh 12 | 13 | # Byte-compiled / optimized / DLL files 14 | __pycache__/ 15 | *.py[cod] 16 | *$py.class 17 | 18 | # Environments 19 | .env 20 | .venv 21 | env/ 22 | venv/ 23 | ENV/ 24 | env.bak/ 25 | venv.bak/ 26 | -------------------------------------------------------------------------------- /samples/apps/cap/py/autogencap/ag_adapter/AGActor.py: -------------------------------------------------------------------------------- 1 | import zmq 2 | 3 | from autogencap.Actor import Actor 4 | from autogencap.Constants import Termination_Topic 5 | from autogencap.DebugLog import Debug 6 | 7 | 8 | class AGActor(Actor): 9 | def on_start(self, context: zmq.Context): 10 | super().on_start(context) 11 | str_topic = Termination_Topic 12 | Debug(self.actor_name, f"subscribe to: {str_topic}") 13 | self._socket.setsockopt_string(zmq.SUBSCRIBE, f"{str_topic}") 14 | -------------------------------------------------------------------------------- /samples/tools/autogenbench/scenarios/HumanEval/MANIFEST.json: -------------------------------------------------------------------------------- 1 | { 2 | "files": { 3 | "Templates/TwoAgents/prompt.txt": "Templates/TwoAgents/prompt.txt", 4 | "Templates/TwoAgents/coding/my_tests.py": "Templates/TwoAgents/coding/my_tests.py", 5 | "Templates/TwoAgents/scenario.py": "Templates/TwoAgents/scenario.py", 6 | "README.md": "README.md", 7 | "Scripts/init_tasks.py": "Scripts/init_tasks.py", 8 | "Scripts/custom_tabulate.py": "Scripts/custom_tabulate.py" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /dotnet/src/AutoGen.Mistral/DTOs/ErrorResponse.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // ErrorResponse.cs 3 | 4 | using System.Text.Json.Serialization; 5 | 6 | namespace AutoGen.Mistral; 7 | 8 | public class ErrorResponse 9 | { 10 | public ErrorResponse(Error error) 11 | { 12 | Error = error; 13 | } 14 | /// 15 | /// Gets or Sets Error 16 | /// 17 | [JsonPropertyName("error")] 18 | public Error Error { get; set; } 19 | } 20 | -------------------------------------------------------------------------------- /website/docs/ecosystem/composio.md: -------------------------------------------------------------------------------- 1 | # Composio 2 | 3 | ![Composio Example](img/ecosystem-composio.png) 4 | 5 | Composio empowers AI agents to seamlessly connect with external tools, Apps, and APIs to perform actions and receive triggers. With built-in support for AutoGen, Composio enables the creation of highly capable and adaptable AI agents that can autonomously execute complex tasks and deliver personalized experiences. 6 | 7 | - [Composio + AutoGen Documentation with Code Examples](https://docs.composio.dev/framework/autogen) 8 | -------------------------------------------------------------------------------- /dotnet/src/AutoGen/ConversableAgentConfig.cs: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All rights reserved. 2 | // ConversableAgentConfig.cs 3 | 4 | using System.Collections.Generic; 5 | 6 | namespace AutoGen; 7 | 8 | public class ConversableAgentConfig 9 | { 10 | public IEnumerable? FunctionContracts { get; set; } 11 | 12 | public IEnumerable? ConfigList { get; set; } 13 | 14 | public float? Temperature { get; set; } = 0.7f; 15 | 16 | public int? Timeout { get; set; } 17 | } 18 | -------------------------------------------------------------------------------- /samples/apps/autogen-studio/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM python:3.10 2 | 3 | WORKDIR /code 4 | 5 | RUN pip install -U gunicorn autogenstudio 6 | 7 | RUN useradd -m -u 1000 user 8 | USER user 9 | ENV HOME=/home/user \ 10 | PATH=/home/user/.local/bin:$PATH \ 11 | AUTOGENSTUDIO_APPDIR=/home/user/app 12 | 13 | WORKDIR $HOME/app 14 | 15 | COPY --chown=user . $HOME/app 16 | 17 | CMD gunicorn -w $((2 * $(getconf _NPROCESSORS_ONLN) + 1)) --timeout 12600 -k uvicorn.workers.UvicornWorker autogenstudio.web.app:app --bind "0.0.0.0:8081" 18 | -------------------------------------------------------------------------------- /samples/apps/websockets/README.md: -------------------------------------------------------------------------------- 1 | # Using websockets with FastAPI and AutoGen 2 | 3 | ## Running the example 4 | 5 | 1. Navigate to the directory containing the example: 6 | ``` 7 | cd samples/apps/websockets 8 | ``` 9 | 10 | 2. Install the necessary dependencies: 11 | ``` 12 | ./setup.py 13 | ``` 14 | 15 | 3. Run the application: 16 | ``` 17 | uvicorn application:app --reload 18 | ``` 19 | 20 | You should now be able to access the application in your web browser at `http://localhost:8000`. 21 | -------------------------------------------------------------------------------- /samples/apps/autogen-studio/frontend/gatsby-ssr.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | 3 | const codeToRunOnClient = `(function() { 4 | try { 5 | var mode = localStorage.getItem('darkmode'); 6 | document.getElementsByTagName("html")[0].className === 'dark' ? 'dark' : 'light'; 7 | } catch (e) {} 8 | })();`; 9 | 10 | export const onRenderBody = ({ setHeadComponents }) => 11 | setHeadComponents([ 12 |