Skip to main content

Automagik Hive

Project description

Automagik Hive Logo

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.

PyPI version Python 3.12+ Downloads CI/CD Pipeline Docker Image License Discord Roadmap

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:

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:

  1. Discuss First: Open an issue before starting work
  2. Align with Roadmap: Ensure changes fit our vision
  3. Follow Standards: Match existing code patterns
  4. Test Thoroughly: Include tests for new features
  5. Document Well: Update docs with your changes

See CONTRIBUTING.md for detailed guidelines.


๐Ÿ™ Acknowledgments

Built with โค๏ธ by Namastex Labs using:

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


๐Ÿš€ 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

Ask DeepWiki

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

automagik_hive-0.2.0rc15.tar.gz (1.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

automagik_hive-0.2.0rc15-py3-none-any.whl (393.8 kB view details)

Uploaded Python 3

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

Hashes for automagik_hive-0.2.0rc15.tar.gz
Algorithm Hash digest
SHA256 e3ccf5cf65b0d2eff6433433ff4116fbd43cbd2bdf5ce7a650cd067e89e689c9
MD5 8906505d204f4eca80d14be0bcfe6c4c
BLAKE2b-256 0530d3cad4f0c04fd776cc6808fbef349669111cd327dfddcf431ec32ff92ef1

See more details on using hashes here.

Provenance

The following attestation bundles were made for automagik_hive-0.2.0rc15.tar.gz:

Publisher: publish-pypi.yml on namastexlabs/automagik-hive

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file automagik_hive-0.2.0rc15-py3-none-any.whl.

File metadata

File hashes

Hashes for automagik_hive-0.2.0rc15-py3-none-any.whl
Algorithm Hash digest
SHA256 63f474acd285d300e0b645983356e183c99edd372ed41e1d4dcc1e4075e40fe8
MD5 03065a58f6b7820fe5fcad1bce888e6a
BLAKE2b-256 333f38a2d1f4100d09968fa1599a280ebc0baa55a2a62c6d91ce6faaacd959dc

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page