π§ AutoGen-Compatible Multi-Agent Research POC with Ollama + BraveSearch
About
This project is a proof of concept for running a local-first multi-agent system using: π€ Local LLMs via Ollama π§© Simple function/tool-call detection using <tool_call>... π Brave Search API or optional Brave MCP plugin server π§ Two collaborating agents: Searcher and Synthesize
Details
- Author
- chin3
- Downloads
- 344
- Categories
- AI
Jump to
- Local-first multi-agent system with Searcher and Synthesizer agents
- Web search via Brave Search API or Brave MCP plugin server
- Tool-call detection using <tool_call> syntax
- Supports switching between API and MCP backends
- Designed for the Microsoft AI Agents Hackathon
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
π§ AutoGen-Compatible Multi-Agent Research POC with Ollama + BraveSearchCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Clone the repo, install Python dependencies (pip install -r requirements.txt), set a BRAVE_API_KEY in .env, run Ollama locally (ollama run llama3:8b), then execute python main.py. To switch from the default Brave Search API to the Brave MCP plugin, start the plugin server (npx @modelcontextprotocol/server-brave-search) and update tools/tool_registry.py.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"\ud83e\udde0 autogen-compatible multi-agent research poc with ollama + bravesearch": {
"Multi-Agent-Research-POC": {
"command": "python",
"args": [
"main.py"
]
}
}
}
}
McpServers
{
"Multi-Agent-Research-POC": {
"command": "python",
"args": [
"main.py"
]
}
}
π§ AutoGen-Compatible Multi-Agent Research POC with Ollama + BraveSearch
This project is a proof of concept for a local-first multi-agent system using:
- π€ Local LLMs via Ollama
- π§© Tool-call detection using <tool_call>... syntax
- π Web search via Brave Search API or Brave MCP plugin server
- π§ Two collaborating agents: Searcher and Synthesizer
---
π Folder Structure
MultiResearchPOC/
βββ main.py # Entry point
βββ agents/
β βββ searcher.py # Ollama-powered research agent
β βββ synthesizer.py # Summarizer agent
βββ tools/
β βββ tool_parser.py # Tool call detection logic
β βββ tool_registry.py # Tool dispatcher (API or MCP)
βββ .env # Contains BRAVE_API_KEY
βββ requirements.txt # Python dependencies
---
π Getting Started
1. Clone the project
git clone <your-repo-url>
cd MultiResearchPOC
2. Install dependencies
pip install -r requirements.txt
3. Set up your .env
echo "BRAVE_API_KEY=your_brave_api_key_here" > .env
Get your Brave API key at: https://developer.brave.com/api-search/
4. Run Ollama locally
ollama run llama3:8b
> If using Docker: make sure to reference the host as http://host.docker.internal:11434
5. Run the program
python main.py
You should see:
- A response from the Searcher agent
- A tool call triggered
- Search results pulled from Brave
- A final summary from the Synthesizer agent
---
π Switching Between API and MCP Plugin
Option 1: Brave Search API (default)
Used by default via:
"BraveSearch": call_brave_api
Option 2: Brave MCP Plugin Server
1. Start the plugin server:
npx @modelcontextprotocol/server-brave-search
2. Update tools/tool_registry.py:
```python
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.
