Skip to content

Commit 804ab1c

Browse files
Adjust autogen to new structure
1 parent a23ade7 commit 804ab1c

33 files changed

Lines changed: 28 additions & 11 deletions

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ You can optionally add a scope (e.g. the agent or module name) in parentheses af
3434
### Examples
3535

3636
```
37-
feat: add health check endpoint to autogen_agent
37+
feat: add health check endpoint to autogen mcp_agent
3838
fix: correct env var name in deployment in langgraph_react_agent
3939
docs: update README with OpenShift deploy steps
4040
test: add tests for tool registration

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Agents are organized by framework. Pick one and follow its README:
2222
| **LlamaIndex** | [WebSearch Agent](./agents/llamaindex/websearch_agent/) | Agent built on LlamaIndex that uses a web search tool to query the internet and use the results in its answers. |
2323
| **CrewAI** | [WebSearch Agent](./agents/crewai/websearch_agent/) | CrewAI-based agent with a web search tool to query the internet and answer user questions. |
2424
| **Vanilla Python** | [OpenAI Responses Agent](./agents/vanilla_python/openai_responses_agent/) | Minimal agent with no framework: only the OpenAI Python client and an Action/Observation loop with tools. Use with OpenAI or any compatible API. |
25+
| **AutoGen** | [MCP Agent](./agents/autogen/mcp_agent/) | AutoGen AssistantAgent with MCP tools over SSE (e.g. churn prediction, math tools), FastAPI `/chat/completions`. |
2526

2627
## Deployment Options
2728

@@ -54,8 +55,10 @@ agentic-starter-kits/
5455
│ │ └── websearch_agent/ # CrewAI web search agent
5556
│ ├── llamaindex/
5657
│ │ └── websearch_agent/ # LlamaIndex web search agent
57-
│ └── vanilla_python/
58-
│ └── openai_responses_agent/ # OpenAI Responses API (no framework)
58+
│ ├── vanilla_python/
59+
│ │ └── openai_responses_agent/ # OpenAI Responses API (no framework)
60+
│ └── autogen/
61+
│ └── mcp_agent/ # AutoGen + MCP (SSE)
5962
└── README.md
6063
```
6164

agents/autogen/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# AutoGen Agents
2+
3+
Agent templates built with [AutoGen](https://microsoft.github.io/autogen/) (Microsoft).
4+
5+
## Available Agents
6+
7+
| Agent | Description |
8+
|-------|-------------|
9+
| [mcp_agent](mcp_agent/) | AssistantAgent with MCP tools over SSE (e.g. churn deployment, `add`/`sub`), FastAPI `/chat/completions` |
10+
11+
## Resources
12+
13+
- [AutoGen Documentation](https://microsoft.github.io/autogen/)
14+
- [Model Context Protocol (MCP)](https://modelcontextprotocol.io/)
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The agent uses AutoGen (AssistantAgent) and `autogen_ext.tools.mcp`: it connects
1818
Go to the agent directory:
1919

2020
```bash
21-
cd agents/base/autogen_agent
21+
cd agents/autogen/mcp_agent
2222
```
2323

2424
#### The .env file
@@ -93,15 +93,15 @@ uv pip install -e .
9393
1. **Terminal 1 — MCP server** (must be running before the agent):
9494

9595
```bash
96-
cd agents/base/autogen_agent/mcp_automl_template
96+
cd agents/autogen/mcp_agent/mcp_automl_template
9797
uv pip install -e .
9898
PORT=8000 uv run python mcp_server.py
9999
```
100100

101101
2. **Terminal 2 — Agent:**
102102

103103
```bash
104-
cd agents/base/autogen_agent
104+
cd agents/autogen/mcp_agent
105105
uv run uvicorn main:app --host 0.0.0.0 --port 8080
106106
```
107107

@@ -126,7 +126,7 @@ Optional: interactive chat with MCP tools (LangGraph) — from the `mcp_automl_t
126126

127127
```bash
128128
cd mcp_automl_template
129-
# Set MCP_SERVER_URL in .env (or in agents/base/autogen_agent/.env)
129+
# Set MCP_SERVER_URL in .env (or in agents/autogen/mcp_agent/.env)
130130
uv run python interact_with_mcp.py
131131
```
132132

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)