Skip to main content

Automagik Multi-Agent Framework - Extensible Agent Creation System

Project description

๐Ÿงž Automagik Hive

Automagik Logo

YAML-powered AI agent orchestrator: Build teams, not code.

The framework that turns agent coordination from nightmare to magic

GitHub stars Python 3.12+ UV Package License: MIT

โšก 5-Minute Magic โ€ข ๐ŸŽฏ Why Hive? โ€ข ๐Ÿš€ Examples โ€ข ๐Ÿ—๏ธ Architecture


โšก 5-Minute Magic

Watch your wish come true: From zero to AI project management team in 5 minutes

Step 1: Prerequisites (30 seconds)

# One command installs everything you need (UV, Python 3.12+, Docker, Make)
curl -fsSL https://raw.githubusercontent.com/namastexlabs/automagik-hive/main/scripts/install-predeps.sh | bash

Step 2: Wake Up Genie (30 seconds)

# Start Genie in your workspace folder
uvx automagik-hive ./my-workspace

# Genie is now running on http://localhost:38886 and ready for your wish!

Step 3: Magic Happens (4 minutes)

You tell Genie your wish via chat or web interface:

You: "I need a team to manage my software project - planning, coding, testing, and deployment"

Genie: "Perfect! I understand you need a project management team. 
       Let me create that for you right now...
       
       โœจ Creating ./project-management-team/ with:
       ๐ŸŽฏ Project Planner - Requirements analysis and roadmaps  
       ๐Ÿ’ป Senior Developer - Full-stack development and architecture
       ๐Ÿงช QA Specialist - Testing strategy and quality assurance
       ๐Ÿš€ DevOps Engineer - Deployment and infrastructure
       
       ๐Ÿš€ Launching your team now on port 8887...
       
       Your project management team is live! What's your first project?"

You: "Build a todo application with React frontend and Python backend"

Genie: "Excellent! I'm coordinating your new team:
       - Planner: Creating technical specification for React/Python todo app...
       - Developer: Setting up project structure with best practices...  
       - QA: Preparing comprehensive testing strategy...
       - DevOps: Configuring deployment pipeline...
       
       โœจ Your todo app project is now actively being built by your AI team!
       Monitor progress at: http://localhost:8887"

What just happened? In 5 minutes you got:

  • ๐Ÿงžโ€โ™‚๏ธ Genie Consultation - Personal AI assistant understanding your needs
  • ๐Ÿค– Custom Agent Team - Genie created and launched the perfect team for you
  • ๐Ÿ“‹ Active Project - Real todo app being built by your AI team
  • ๐Ÿ”„ Dual-Instance Architecture - Genie (port 38886) + Your Team (port 8887)
  • ๐Ÿš€ Production Pipeline - Testing, deployment, monitoring all configured

The Magic: You made a wish to Genie, Genie created your perfect team, and your project is running!

๐ŸŽฏ Why Automagik Hive?

The YAML Revolution: Stop writing orchestration code. Start writing configurations.

Feature Automagik Hive LangChain AutoGPT CrewAI
Agent Definition YAML configs Python code Prompts Python classes
Team Orchestration Built-in routing Custom chains Single agent Manual roles
External Integration Native MCP Plugin system Limited Basic
Development Speed Minutes Hours Days Hours
Genie Assistant โœ… Built-in โŒ โŒ โŒ
External Agents โœ… Dynamic loading โŒ โŒ โŒ

The Difference: While others make you a programmer, we make you a conductor. ๐ŸŽผ

๐Ÿš€ Real-World Magic

๐Ÿ’ผ Code Review Automation

# code-review-team.yaml
agents:
  - name: quality-inspector
    role: "Analyze code for bugs, security issues, and best practices"
  - name: test-generator  
    role: "Create comprehensive test suites for new code"
  - name: documentation-writer
    role: "Generate clear documentation and comments"

workflow:
  - quality-inspector โ†’ test-generator โ†’ documentation-writer

One command: uvx automagik-hive ./code-review-team.yaml Result: Automated code reviews that catch bugs, generate tests, and write docs.

๐Ÿ“ฑ Content Pipeline

# viral-content-team.yaml  
agents:
  - name: trend-researcher
    role: "Monitor Reddit, Twitter, HN for viral topics"
  - name: content-creator
    role: "Generate engaging content from trending topics"
  - name: distributor
    role: "Post content across social platforms"

triggers:
  - schedule: "0 */6 * * *"  # Every 6 hours
  - webhook: "/new-trend"

Result: Autonomous content creation pipeline that finds trends and creates viral content.

๐Ÿข Enterprise Workflow

# support-automation.yaml
agents:
  - name: ticket-classifier
    role: "Categorize and prioritize customer tickets"
  - name: solution-finder
    role: "Search knowledge base and suggest solutions"
  - name: escalation-manager
    role: "Route complex issues to human experts"

integrations:
  - slack_notifications
  - jira_updates
  - customer_database

Result: 80% of support tickets handled automatically with intelligent escalation.

๐Ÿ—๏ธ How It Works

The Magic Behind The Scenes

Your YAML โ†’ Automagik Hive โ†’ Production Magic

[Agent Configs] โ†’ [Dynamic Loading] โ†’ [Intelligent Routing] โ†’ [Task Execution]
       โ†“                  โ†“                    โ†“                   โ†“
   Simple YAML      Runtime Discovery    Smart Coordination   Real Results

Core Philosophy: Configuration over code, orchestration over implementation.

๐Ÿงžโ€โ™‚๏ธ Meet Genie - Your AI Development Partner

Genie isn't just an agent - it's your development companion that:

  • Helps you design better agent teams through conversation
  • Writes YAML configs based on your natural language requirements
  • Debugs issues when agents aren't coordinating properly
  • Suggests optimizations for better performance
  • Learns from your patterns to make future suggestions smarter

Example conversation with Genie:

You: "I need agents to monitor our app for issues and fix them automatically"
Genie: "I'll create a monitoring team with alerting, diagnosis, and auto-fix agents. 
        Let me generate the YAML config and set up the monitoring triggers..."

๐Ÿ”ง Installation & Setup

Option 1: Instant Start (Recommended)

# Wake up Genie in your workspace
uvx automagik-hive ./my-workspace

# Tell Genie what kind of team you need
# Genie will create and launch the perfect team for you
# Visit: http://localhost:38886 to chat with Genie

Option 2: Development Mode

# Clone for framework development
git clone https://github.com/namastexlabs/automagik-hive.git
cd automagik-hive

# Install with UV (recommended)
uv sync
uv run python -m automagik_hive.cli ./examples/starter-team

Option 3: MCP Integration

Connect to your existing Claude Desktop workflow:

// ~/.claude_desktop_config/config.json
{
  "mcpServers": {
    "automagik-hive": {
      "command": "uvx",
      "args": ["automagik-hive", "--mcp-server"],
      "env": {
        "HIVE_PROJECT_PATH": "/path/to/your/agents"
      }
    }
  }
}

๐Ÿ“š Agent Development

Creating Your First Agent

# agents/my-specialist.yaml
name: data-analyst
version: 1.0.0

capabilities:
  - data_analysis
  - visualization  
  - reporting

prompt: |
  You are a world-class data analyst specializing in business intelligence.
  When given data, you:
  1. Analyze patterns and trends
  2. Create clear visualizations
  3. Provide actionable insights
  4. Format results for business stakeholders

tools:
  - pandas_query
  - chart_generator
  - report_builder

memory:
  type: persistent
  scope: user_session

That's it! Your agent is automatically discovered and integrated into the team.

Team Coordination

# teams/analytics-team.yaml
name: business-intelligence
version: 1.0.0

members:
  - data-analyst
  - visualization-expert
  - report-writer

routing:
  default: data-analyst
  complex_analysis: [data-analyst, visualization-expert]
  final_reports: report-writer

workflows:
  monthly_report:
    trigger: "0 0 1 * *"  # First day of each month
    steps:
      - data-analyst: "Analyze last month's metrics"
      - visualization-expert: "Create executive dashboards"  
      - report-writer: "Generate monthly business report"

๐ŸŒŸ Advanced Features

๐Ÿ”„ Dynamic Agent Loading

  • Hot Reload: Add new agents without restarting
  • Version Management: A/B test different agent versions
  • Dependency Resolution: Agents automatically discover their tools

๐Ÿง  Intelligent Memory

  • Persistent Context: Agents remember across sessions
  • Shared Knowledge: Teams build collective intelligence
  • Learning Loops: Performance improves over time

๐Ÿ”Œ Universal Integration

  • MCP Protocol: Connect to any MCP-compatible tool
  • REST APIs: Standard HTTP interfaces for everything
  • Webhooks: Real-time event handling
  • Databases: Native PostgreSQL with vector search

๐Ÿ›ก๏ธ Production Ready

  • Authentication: Multi-layer security with API keys
  • Monitoring: Full observability with metrics and logs
  • Scaling: Horizontal scaling with Docker/Kubernetes
  • Error Handling: Graceful degradation and recovery

๐ŸŽจ Example Gallery

Starter Templates

Community Examples

๐Ÿค Community & Support

๐Ÿš€ Join the Hive

๐Ÿ“– Documentation

๐ŸŽ“ Learning Resources

๐Ÿš€ What's Next?

For New Users

  1. Try the 5-minute demo - See the magic in action
  2. Browse examples - Find templates for your use case
  3. Join Discord - Get help from the community

For Developers

  1. Read the architecture docs - Understand the magic
  2. Create your first agent - Build something custom
  3. Contribute to the project - Help make the magic better

For Enterprises

  1. Schedule a demo - See enterprise features
  2. Review security docs - Understand compliance
  3. Contact sales - Discuss your specific needs

๐Ÿค Contributing

Help make agent orchestration magical for everyone!

# Get started with development
git clone https://github.com/namastexlabs/automagik-hive.git
cd automagik-hive
uv sync
uv run python -m automagik_hive.cli --dev

# All contributions include Genie collaboration!
git commit -m "feat: new agent capability

Co-Authored-By: Automagik Genie <genie@namastex.ai>"

Ways to contribute:

  • ๐Ÿ› Bug Reports - Help us squash issues
  • ๐Ÿ’ก Feature Ideas - Share your vision for better orchestration
  • ๐Ÿค– New Agents - Build reusable agents for the community
  • ๐Ÿ“š Documentation - Make the magic more accessible
  • ๐ŸŽจ Examples - Show off creative use cases

๐Ÿ“„ License

MIT License - build incredible things and share the magic! See LICENSE for details.


๐Ÿงžโ€โ™‚๏ธ "Your wish is my command" - Genie

Ready to orchestrate some magic?

๐Ÿš€ Start Your First Agent Team

Discord GitHub stars Twitter Follow

Built with โœจ by the Automagik Team & Genie

Where YAML meets magic, and agents become teams.

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.1.0a11.tar.gz (561.7 kB 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.1.0a11-py3-none-any.whl (385.7 kB view details)

Uploaded Python 3

File details

Details for the file automagik_hive-0.1.0a11.tar.gz.

File metadata

  • Download URL: automagik_hive-0.1.0a11.tar.gz
  • Upload date:
  • Size: 561.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.0

File hashes

Hashes for automagik_hive-0.1.0a11.tar.gz
Algorithm Hash digest
SHA256 d3384e0505666c22893322c31a3caacb092ed01be3b5953d65bdeb36b6b28572
MD5 6c9c8f03c736eff99479cf5633dec9ed
BLAKE2b-256 88b059fe87e81e4576045312e59dbb7406b706e78c54b7f21d8154cab16c5109

See more details on using hashes here.

File details

Details for the file automagik_hive-0.1.0a11-py3-none-any.whl.

File metadata

File hashes

Hashes for automagik_hive-0.1.0a11-py3-none-any.whl
Algorithm Hash digest
SHA256 30a995fdce393aaaa2082e3edcb994ebb53438fb3fab5a18997cd4c796f88d90
MD5 468314b42cbb406f3ab59957e585c1c8
BLAKE2b-256 420cf7189a06423271d8fbd1933336c51e6e11df1af9ec3eea1c9eaff6daf330

See more details on using hashes here.

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