mcpField
๐Ÿง 
๐Ÿง  AutoGen-Compatible Multi-Agent Research POC with Ollama + BraveSearch

๐Ÿง  AutoGen-Compatible Multi-Agent Research POC with Ollama + BraveSearch

Local
github.com/chin3AI & Agents1Updated 80w ago

About ๐Ÿง  AutoGen-Compatible Multi-Agent Research POC with Ollama + BraveSearch

A local-first research proof of concept that coordinates an Ollama-powered Searcher and Synthesizer to find and summarize web information. It is for developers exploring multi-agent research with Brave Search and optional MCP-based tool calls.

Key features

  1. 01Local LLMs through Ollama
  2. 02Searcher and Synthesizer agents
  3. 03Brave Search API integration
  4. 04Optional Brave MCP plugin server
  5. 05Tool-call parsing and dispatch

Use cases

  1. 01Run web research and produce a summary
  2. 02Experiment with a two-agent research workflow

MCP support

MCP is an optional way to invoke Brave Search: the tool registry can be switched from the Brave Search API to the Brave MCP plugin server.

Configuration

Local server config is the same for every client. Copy it into your clientโ€™s MCP config file.

No install method listed yet

We havenโ€™t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

๐Ÿง  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
  1. Update tools/tool_registry.py:
# "BraveSearch": call_brave_api,
"BraveSearch": call_brave_mcp_server

๐Ÿ”ฎ Next Steps & Improvements

FeatureDescription
๐Ÿง  Add Planner AgentDynamically decide which agent/tool to call
๐Ÿงฉ Add More ToolsCrunchbaseSearch, TwitterTrends, YouTubeSearch, etc.
๐Ÿ“„ Markdown OutputSave session logs for review or integration with Obsidian
๐Ÿ–ผ๏ธ Add UIUse Chainlit, FastAPI, or Discord bot for interaction
๐ŸŒ Wrap as APIConvert to a local API for web or CLI usage

๐Ÿ“œ Sample Output

๐Ÿค– Searcher Response:
<tool_call>BraveSearch({"query": "African AI startups 2024 promising not mainstream"})</tool_call>

๐ŸŒ Tool Output:
โ€ข AI 100: ...
โ€ข Five African AI startups to watch in 2023 ...

๐Ÿง  Final Summary:
- CB Insights lists top private AI companies...
- 5 African startups solving problems in healthcare, marketing...

๐Ÿ™Œ Credits


For questions or ideas, open an issue or start a discussion!

๐Ÿ—๏ธ Built for the Microsoft AI Agents Hackathon This project was created as part of the Microsoft AI Agents Hackathon โ€” a challenge focused on building intelligent, tool-using, autonomous agents powered by open-source and Microsoft technologies.

The goal of this project is to showcase a local-first, multi-agent system that can:

Generate dynamic tool calls

Perform live web research using Brave Search

Collaborate between agents to synthesize useful insights

๐Ÿ”— Submission: [TBD]

local multi-agent AI research bot | Ollama + Brave + AutoGen | Built for Microsoft AI Agents Hackathon
Disclaimer

This project is a personal proof-of-concept developed entirely outside of my employment, using personal time and tools. It is unrelated to any current or anticipated business activities of my employer and contains no proprietary or confidential information.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.