Skip to content

EVEDensity/AgentHub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AgentHub

AgentHub

Build AI agent teams, not chatbots.
Self-hosted. Multi-agent. Observable.

Stars License Release Issues

English · 中文


What is this?

AgentHub lets you spin up a team of AI agents that actually work together — Router figures out what needs doing, Executor does it, Critic checks the work, Summarizer ties it all up. Not a single-agent-with-tools trick. A real team.

Each agent runs through an 11-state ReAct loop that you can watch in real time. Everything streams. Everything logs. Everything's on your hardware.

Why?

Most AI platforms wrap an LLM in a chat box and call it an agent. Then you spend weeks wiring together "multi-agent" flows that break the moment something unexpected happens.

AgentHub gives you the full loop out of the box — orchestration, IAM, sandbox execution, search, observability. You bring a model key. It brings the rest.

Quick start

git clone https://github.com/EVEDensity/AgentHub.git
cd AgentHub
start.bat

That's it. PostgreSQL spins up via Docker, the backend starts, the frontend opens. No API key needed — the built-in mock provider lets you kick the tires offline.

Want your own model?

export OPENAI_API_KEY=sk-...
# or
export ANTHROPIC_API_KEY=sk-ant-...
# or any OpenAI-compatible endpoint
export OPENAI_COMPATIBLE_BASE_URL=http://localhost:11434/v1

Then:

docker compose -f deploy/docker-compose.platform.yml up --build
Service URL
Web UI http://localhost:3000
API Gateway http://localhost:8081
Grafana http://localhost:3001

What's inside

Agent orchestration — 6 roles (Router, Planner, Executor, Critic, Summarizer, Search) running a budget-aware ReAct loop with Redis-backed state that survives restarts. Streaming by default via WebSocket + SSE.

Security — JWT auth, RBAC + ABAC, sensitive-tool gating, per-tenant data isolation. Built for production, not just demos.

Search — BM25 + dense vectors + reranking in one pipeline. Graceful fallback when vector stores are down. Pluggable embeddings.

Sandbox — Code execution in isolated containers. Configurable CPU/memory limits, network policies, output sanitization.

Observability — Prometheus + Grafana + OTLP tracing. See what every agent is doing in real time.

Stack

Go services over NATS JetStream. Rust for performance-critical paths (stream processing, retrieval, fanout). Python for offline/async tasks (model adaptation, document pipelines, evaluation). Next.js frontend. PostgreSQL, Redis, Qdrant, MinIO underneath.

Contributing

PRs welcome. Check good first issues for a place to start.

# Dev setup — infra only
cd deploy
docker compose -f docker-compose.platform.yml up -d nats postgres redis

# Go services
cd services/go && go work sync

# Frontend
cd frontend && npm install && npm run dev

Bug reports, docs, new model providers — all count. CONTRIBUTING.md has the details.

⭐ Star History

Star History Chart

Contributors

Thanks to everyone who's contributed to AgentHub — code, docs, bug reports, ideas. It all matters.

License

Apache 2.0.


Built by Density and contributors.

About

Production-ready multi-agent platform delivering orchestration, session governance and audit capabilities. Stack: Go/Python/Rust microservices, multi-type data storage, Next.js admin UI, automated CI/CD pipelines, AI code review triggered via PR comment mentions.

Resources

License

Contributing

Security policy

Stars

12 stars

Watchers

2 watching

Forks

Releases

No releases published

Sponsor this project

Packages

 
 
 

Contributors