Automagik Hive
Project description
Production-Ready Multi-Agent AI in Minutes, Not Months
๐ฏ The Only Framework Where YAML Creates Production-Ready AI Teams
One-click install with database, memory, RAG, and orchestration included.
From zero to intelligent AI systems in 5 minutes.
Features โข Quick Start โข Roadmap โข Development โข Contributing
๐ What is Automagik Hive?
Automagik Hive is a production-ready multi-agent orchestration platform that transforms weeks of infrastructure setup into a single command. Built on Agno's blazing-fast core (3ฮผs agent instantiation), Hive is the difference between building a house from scratch and moving into one that's already furnished.
๐ญ The Problem We Solve
The Reality of AI Development:
Week 1: Setup PostgreSQL + pgvector
Week 2: Configure authentication
Week 3: Build RAG system
Week 4: Implement agent coordination
Week 5: Add hot reload
Week 6: Write deployment scripts
Result: Still not production-ready ๐ฐ
With Automagik Hive:
curl -sSL https://raw.githubusercontent.com/namastexlabs/automagik-hive/main/install.sh | bash
automagik-hive dev
# 5 minutes later: Production-ready AI agents running โจ
โจ What Makes Hive Different
Other Frameworks Make You Choose:
- โ Simple YAML configs OR production-ready systems
- โ Fast prototyping OR enterprise features
- โ Easy setup OR powerful capabilities
Hive Gives You Everything:
- โ YAML-First Configuration - No complex code needed
- โ Production-Ready Out of the Box - Database, auth, monitoring included
- โ True Multi-Agent Coordination - Not just chained tool calls
- โ One-Click Install - Complete environment in minutes
- โ Hot Reload - Changes apply without restarting
- โ Built on Agno - 3ฮผs agent instantiation, 6.5KB memory per agent
๐ Key Features
๐ One-Click Production Environment
Complete stack ready in minutes: PostgreSQL + pgvector, authentication, logging, metrics, and deployment scripts. No weeks of DevOps work.
๐ YAML-First Agent Design
agent:
name: "Customer Support"
model: "gpt-4"
instructions: |
You help customers with billing and account issues.
knowledge_filter:
business_unit_filter: "customer_support"
Create sophisticated agents without touching Python. Extend with code only when needed.
๐ Hot Reload Everything
Change configurations, update knowledge bases, modify agents - all without restarting. Deploy updates with zero downtime.
๐ง Built-in RAG System
CSV-based knowledge with pgvector, automatic vectorization, business unit filtering, and Portuguese optimization. Drop a CSV file, get intelligent retrieval.
โก Powered by Agno's Speed
- 3 microseconds agent instantiation (spawn 1000s instantly)
- 6.5KB memory per agent (entire teams on minimal infrastructure)
- True coordination - Shared context and memory, not tool calling
๐ค Three-Layer Intelligence
๐ง GENIE TEAM โ Strategic coordination
โ
๐ฏ DOMAIN ORCHESTRATORS โ genie-dev, genie-testing, genie-quality
โ
๐ค EXECUTION AGENTS โ Specialized workers with 30-run memory
๐ Model Context Protocol (MCP)
Native integration with external services: WhatsApp, databases, APIs, and tools. Extend agents beyond their boundaries.
๐ Enterprise Features Included
- PostgreSQL with auto-schema migration
- API key authentication
- Structured logging with emoji enrichment
- Metrics and monitoring
- Docker deployment ready
- Multi-tenancy support
๐ญ How It Works
From YAML to Running Agent in 30 Seconds
# ai/agents/support-agent/config.yaml
agent:
name: "Customer Support"
agent_id: "support-agent"
version: "1.0.0"
model:
provider: "anthropic"
id: "claude-sonnet-4"
instructions: |
You are a friendly customer support agent.
Help users with billing questions using the knowledge base.
knowledge_filter:
business_unit_filter: "customer_support"
storage:
table_name: "support_sessions"
# Start the system
automagik-hive dev
# Your agent is live at:
# http://localhost:8886/agents/support-agent/run
Extend with Python When Needed
# ai/agents/support-agent/agent.py
from agno.agent import Agent
def get_support_agent(**kwargs) -> Agent:
config = yaml.safe_load(open("config.yaml"))
agent = Agent.from_yaml("config.yaml")
# Add custom tools when needed
agent.add_tool(check_billing_system)
agent.add_tool(create_support_ticket)
return agent
The Power: Start with YAML, extend with Python. No rewrites, no migrations, no platform lock-in.
๐ Built by Practitioners
We created Automagik Hive at Namastex Labs after building multi-agent systems for clients from startups to Fortune 500. We were tired of:
- ๐ Rewriting boilerplate for every project
- ๐ซ "Multi-agent" tools that were just chained agents with flaky tool calling
- โ ๏ธ Prototypes requiring complete rewrites for production
In Production: Powering hundreds of agents for real businesses Battle-Tested: From startup MVPs to enterprise-scale deployments Continuously Improved: We use this daily, so we keep it working
๐ฏ Who Uses Hive?
๐จโ๐ป Individual Developers
Tired of: Writing 1000 lines of boilerplate for simple agents With Hive: YAML config โ Working agent in 5 minutes Result: Ship AI features 10x faster
๐ข Product Teams
Tired of: Waiting weeks for dev resources to prototype With Hive: Configure โ Test โ Iterate immediately Result: Validate ideas before writing code
๐ Enterprises
Tired of: Prototypes that can't scale to production With Hive: Same YAML from prototype to millions of requests Result: Innovation at startup speed, enterprise reliability
๐ ๏ธ CTOs & Tech Leads
Tired of: Months of infrastructure work before value delivery With Hive: Complete stack included, focus on business logic Result: 95% faster time-to-production
๐ฆ Quick Start
Prerequisites
- Python 3.12+
- PostgreSQL 16+ (optional - SQLite works for development)
- One AI provider key (Anthropic, OpenAI, Google, etc.)
One-Line Installation
# Install and setup
curl -sSL https://raw.githubusercontent.com/namastexlabs/automagik-hive/main/install.sh | bash
# Start development server
automagik-hive dev
# Open http://localhost:8886 ๐
Manual Installation
# Clone repository
git clone https://github.com/namastexlabs/automagik-hive.git
cd automagik-hive
# Install with UV (project standard)
uv sync
# Set up environment
cp .env.example .env
# Edit .env with your settings
# Start development server
uv run automagik-hive dev
Create Your First Agent
# Copy template
cp -r ai/agents/template-agent ai/agents/my-agent
# Edit config
nano ai/agents/my-agent/config.yaml
# Restart server (or wait for hot reload)
# Your agent is now live!
๐ง Architecture That Scales
Project Structure
your-project/
โโโ ai/
โ โโโ agents/ # Your AI agents
โ โ โโโ my-agent/
โ โ โโโ config.yaml # Agent configuration
โ โ โโโ agent.py # Optional Python extensions
โ โโโ teams/ # Multi-agent teams
โ โ โโโ support-team/
โ โ โโโ config.yaml # Routing logic
โ โโโ workflows/ # Business workflows
โ โโโ order-process/
โ โโโ config.yaml # Step definitions
โโโ knowledge/ # RAG knowledge base
โ โโโ knowledge_rag.csv # Your knowledge data
โโโ .env # Configuration
API Endpoints (Auto-Generated)
Every agent, team, and workflow automatically gets REST endpoints following Agno v2 semantics:
# Health and system
GET /api/v1/health
GET /api/v1/mcp/status
GET /api/v1/mcp/servers
# Versioning (components and versions)
GET /api/v1/version/components
POST /api/v1/version/execute
# Workflow execution
POST /v1/workflows/{workflow_id}/run
# Knowledge management
POST /v1/knowledge/upsert
GET /v1/knowledge/search
Agent/team/workflow execution endpoints are auto-generated by Agno's Playground integration and may differ by configuration. See api/CLAUDE.md for details on the unified router and Playground mounting strategy.
๐จ Real-World Examples
Example 1: Customer Support Router
# ai/teams/support-router/config.yaml
team:
name: "Customer Support Router"
team_id: "support-router"
mode: "route" # Automatic intelligent routing
members:
- "billing-specialist"
- "technical-support"
- "sales-specialist"
instructions:
- "Route billing questions to billing-specialist"
- "Route technical issues to technical-support"
- "Route sales inquiries to sales-specialist"
Result: 24/7 support, 70% query resolution without human intervention
Example 2: Order Processing Workflow
# ai/workflows/order-fulfillment/config.yaml
workflow:
name: "Order Fulfillment"
steps:
- name: "Validate Order"
agent: "validator"
- name: "Process Payment"
parallel:
- agent: "payment-processor"
- agent: "fraud-checker"
- agent: "inventory-checker"
- name: "Ship Order"
agent: "shipping-coordinator"
- name: "Send Confirmation"
agent: "notifier"
Result: 3x faster processing, automatic fraud detection
Example 3: Knowledge-Powered Agent
# ai/agents/analyst/agent.py
from lib.knowledge import get_knowledge_base
def get_analyst_agent(**kwargs):
# Shared thread-safe knowledge base
knowledge = get_knowledge_base(
num_documents=5,
csv_path="knowledge/company_data.csv"
)
return Agent(
name="Data Analyst",
knowledge=knowledge, # Automatic RAG
instructions="Analyze data and provide insights",
**kwargs
)
Result: Instant access to company knowledge, always up-to-date
๐ก๏ธ Enterprise-Grade Features
Security & Authentication
- API key authentication with cryptographic validation
- User context management and session security
- Message validation and size limits
- Production-hardened defaults
Database & Storage
- PostgreSQL + pgvector for production
- SQLite fallback for development
- Auto-schema migration
- Connection pooling and optimization
Monitoring & Observability
- Structured logging with emoji enrichment
- Metrics collection and export
- Health check endpoints
- Performance tracking
Deployment Options
- Docker-ready with compose files
- Kubernetes examples provided
- Environment-based scaling
- Zero-downtime updates with hot reload
๐ ๏ธ Development
Interested in contributing? Check our comprehensive documentation:
- Setup Guide: See CLAUDE.md for development workflow
- Agent Development: ai/agents/CLAUDE.md
- Testing Guide: tests/CLAUDE.md
- API Documentation: api/CLAUDE.md
Development Workflow
# Install dev dependencies
uv sync
# Run tests
uv run pytest
# Run linting
uv run ruff check --fix
# Run type checking
uv run mypy .
# Start dev server
make dev
# View logs
make logs
๐บ๏ธ Roadmap
Completed โ
- YAML-first agent configuration
- Python extensibility
- Auto-generated REST APIs
- PostgreSQL + pgvector RAG
- Docker deployment
- Hot reload system
- Three-layer orchestration (Genie โ Orchestrators โ Execution)
Next Up ๐
- Visual Workflow Builder - Drag-and-drop interface for workflows
- Agent Marketplace - Community templates and certified agents
- Enhanced GENIE - Natural language agent creation
- Multi-Tenancy - Enterprise isolation and governance
- Cloud Deployment - One-click cloud hosting
Future Vision ๐
- Hive Cloud - Fully managed SaaS offering
- Mobile SDKs - Native iOS and Android support
- AI Marketplace - Buy and sell agents
- Industry Verticals - Pre-built solutions for legal, medical, finance
- Advanced Analytics - Usage patterns and optimization insights
๐ค Contributing
We love contributions! Whether it's bug fixes, new features, or documentation improvements:
- Discuss First: Open an issue before starting work
- Align with Roadmap: Ensure changes fit our vision
- Follow Standards: Match existing code patterns
- Test Thoroughly: Include tests for new features
- Document Well: Update docs with your changes
See CONTRIBUTING.md for detailed guidelines.
๐ Acknowledgments
Built with โค๏ธ by Namastex Labs using:
- Agno - The blazing-fast multi-agent framework
- PostgreSQL + pgvector - Vector database
- FastAPI - Modern Python web framework
- Loguru - Beautiful logging
Special thanks to our early adopters and contributors who helped shape Hive into the production-ready platform it is today.
๐ License
MIT License - see LICENSE file for details.
๐ Links
- GitHub: github.com/namastexlabs/automagik-hive
- Discord: discord.gg/xcW8c7fF3R
- Twitter: @namastexlabs
- DeepWiki Docs: deepwiki.com/namastexlabs/automagik-hive
๐ Stop spending weeks on infrastructure. Start building AI that matters.
From Zero to Production-Ready AI in 5 Minutes
Star us on GitHub โข
Join our Discord
Made with โค๏ธ by Namastex Labs
AI that elevates human potential, not replaces it
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file automagik_hive-0.2.0rc15.tar.gz.
File metadata
- Download URL: automagik_hive-0.2.0rc15.tar.gz
- Upload date:
- Size: 1.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3ccf5cf65b0d2eff6433433ff4116fbd43cbd2bdf5ce7a650cd067e89e689c9
|
|
| MD5 |
8906505d204f4eca80d14be0bcfe6c4c
|
|
| BLAKE2b-256 |
0530d3cad4f0c04fd776cc6808fbef349669111cd327dfddcf431ec32ff92ef1
|
Provenance
The following attestation bundles were made for automagik_hive-0.2.0rc15.tar.gz:
Publisher:
publish-pypi.yml on namastexlabs/automagik-hive
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
automagik_hive-0.2.0rc15.tar.gz -
Subject digest:
e3ccf5cf65b0d2eff6433433ff4116fbd43cbd2bdf5ce7a650cd067e89e689c9 - Sigstore transparency entry: 623352895
- Sigstore integration time:
-
Permalink:
namastexlabs/automagik-hive@da9f44e84f98cf6bcbc10ebb9b47e0d53c8bf109 -
Branch / Tag:
refs/tags/v0.2.0rc15 - Owner: https://github.com/namastexlabs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@da9f44e84f98cf6bcbc10ebb9b47e0d53c8bf109 -
Trigger Event:
push
-
Statement type:
File details
Details for the file automagik_hive-0.2.0rc15-py3-none-any.whl.
File metadata
- Download URL: automagik_hive-0.2.0rc15-py3-none-any.whl
- Upload date:
- Size: 393.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63f474acd285d300e0b645983356e183c99edd372ed41e1d4dcc1e4075e40fe8
|
|
| MD5 |
03065a58f6b7820fe5fcad1bce888e6a
|
|
| BLAKE2b-256 |
333f38a2d1f4100d09968fa1599a280ebc0baa55a2a62c6d91ce6faaacd959dc
|
Provenance
The following attestation bundles were made for automagik_hive-0.2.0rc15-py3-none-any.whl:
Publisher:
publish-pypi.yml on namastexlabs/automagik-hive
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
automagik_hive-0.2.0rc15-py3-none-any.whl -
Subject digest:
63f474acd285d300e0b645983356e183c99edd372ed41e1d4dcc1e4075e40fe8 - Sigstore transparency entry: 623352901
- Sigstore integration time:
-
Permalink:
namastexlabs/automagik-hive@da9f44e84f98cf6bcbc10ebb9b47e0d53c8bf109 -
Branch / Tag:
refs/tags/v0.2.0rc15 - Owner: https://github.com/namastexlabs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@da9f44e84f98cf6bcbc10ebb9b47e0d53c8bf109 -
Trigger Event:
push
-
Statement type: