AI Agent Roadmap
A tour of building an ai agent with its own tool set, mcp client, and simple mcp server. Includes a single agent and multi agent example.
Installation
npx ai-agent-roadmapAsk AI about AI Agent Roadmap
Powered by Claude Β· Grounded in docs
I know everything about AI Agent Roadmap. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
Agentic System POC
A Proof of Concept agentic system built in Go demonstrating core agentic patterns: single-agent tool use and multi-agent orchestration.
Features
- Single Agent Mode: Interactive agent with calculator and file reader tools
- Multi-Agent Mode: Architect/Coder workflow for goal-driven task execution
- Provider Abstraction: Pluggable LLM provider interface (Claude implemented)
- Tool System: Extensible tool interface with built-in tools
Requirements
- Go 1.21 or later
- Anthropic API key (for Claude provider)
Installation
git clone <repository-url>
cd agentic-poc
go mod download
Environment Variables
| Variable | Required | Description |
|---|---|---|
ANTHROPIC_API_KEY | Yes | Your Anthropic API key for Claude |
Usage
Build
go build -o agent ./cmd/agent
Single Agent Mode (Default)
Interactive mode with access to calculator and file reader tools:
./agent
# or explicitly:
./agent -mode single
Example interaction:
=== Single Agent Mode ===
Available tools: calculator, read_file
Type 'exit' or 'quit' to exit.
You: What is 15 + 27?
--- Intermediate Steps ---
[Tool Call] calculator
operation: add
a: 15
b: 27
Iterations: 2
---------------------------
Assistant: The sum of 15 and 27 is 42.
Multi-Agent Mode
Architect creates a plan, Coder executes it:
./agent -mode multi
# With custom base path for file operations:
./agent -mode multi -path /tmp/workspace
Example interaction:
=== Multi-Agent Mode (Architect/Coder) ===
Enter a goal for the system to accomplish.
Type 'exit' or 'quit' to exit.
Goal: Create a hello world file
>>> Agent Transition: user -> architect
--- Plan ---
Goal: Create a hello world file
Steps:
1. Create hello.txt with greeting (action: write_file)
------------
>>> Agent Transition: architect -> coder
--- Actions Taken ---
β’ write_file: map[content:Hello, World! path:hello.txt]
---------------------
Summary: Successfully created hello.txt
Success: true
Command Line Flags
| Flag | Default | Description |
|---|---|---|
-mode | single | Mode: single or multi |
-path | . | Base path for file operations |
-help | - | Show help message |
Project Structure
agentic-poc/
βββ cmd/agent/ # CLI entry point
βββ internal/
β βββ provider/ # LLM provider abstraction
β βββ tool/ # Tool interface and implementations
β βββ memory/ # Conversation history
β βββ agent/ # Agent loop and specialized agents
β βββ orchestrator/ # Multi-agent coordination
β βββ cli/ # Command-line interface
βββ test/integration/ # End-to-end tests
βββ docs/wiki/ # Development learnings
Architecture
For detailed C4 diagrams covering all operational modes, see docs/wiki/ARCHITECTURE.md.
Single Agent Flow
User Input β Agent β LLM β Tool Call? β Execute Tool β LLM β Response
Multi-Agent Flow
User Goal β Orchestrator β Architect Agent β Plan
β Coder Agent β Execute Plan β Result
Running Tests
# All tests
go test ./...
# With verbose output
go test -v ./...
# Integration tests only
go test -v ./test/integration/
Development
See docs/wiki/LEARNINGS.md for design decisions and challenges encountered during development.
See docs/wiki/OBSERVATIONS.md for high-level insights on building agentic systems - differentiation points, testing strategies, memory management, and observability.
License
MIT
