Skip to content
/ hive Public
forked from adenhq/hive

Outcome driven agent development framework that evolves

License

Notifications You must be signed in to change notification settings

nolanan3/hive

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

42 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Hive Banner

Apache 2.0 License Y Combinator Docker Pulls Discord Twitter Follow LinkedIn

AI Agents Multi-Agent Goal-Driven HITL Production

OpenAI Anthropic Gemini MCP

Overview

Build reliable, self-improving AI agents without hardcoding workflows. Define your goal through conversation with a coding agent, and the framework generates a node graph with dynamically created connection code. When things break, the framework captures failure data, evolves the agent through the coding agent, and redeploys. Built-in human-in-the-loop nodes, credential management, and real-time monitoring give you control without sacrificing adaptability.

Visit adenhq.com for complete documentation, examples, and guides.

Quick Links

Quick Start

Prerequisites

Installation

# Clone the repository
git clone https://github.com/adenhq/hive.git
cd hive

# Copy and configure
cp config.yaml.example config.yaml

# Run setup and start services
npm run setup
docker compose up

Access the application:

Features

  • Goal-Driven Development - Define objectives in natural language; the coding agent generates the agent graph and connection code to achieve them
  • Self-Adapting Agents - Framework captures failures, updates objectives and updates the agent graph
  • Dynamic Node Connections - No predefined edges; connection code is generated by any capable LLM based on your goals
  • SDK-Wrapped Nodes - Every node gets shared memory, local RLM memory, monitoring, tools, and LLM access out of the box
  • Human-in-the-Loop - Intervention nodes that pause execution for human input with configurable timeouts and escalation
  • Real-time Observability - WebSocket streaming for live monitoring of agent execution, decisions, and node-to-node communication
  • Cost & Budget Control - Set spending limits, throttles, and automatic model degradation policies
  • Production-Ready - Self-hostable, built for scale and reliability

Why Aden

Traditional agent frameworks require you to manually design workflows, define agent interactions, and handle failures reactively. Aden flips this paradigmβ€”you describe outcomes, and the system builds itself.

flowchart TB
    subgraph USER["πŸ‘€ User"]
        GOAL[("🎯 Define Goal<br/>(Natural Language)")]
    end

    subgraph CODING["πŸ€– Coding Agent"]
        direction TB
        GENERATE["Generate Agent Graph"]
        CONNECTION["Create Connection Code"]
        TESTGEN["Generate Test Cases"]
        EVOLVE["Evolve on Failure"]
    end

    subgraph WORKERS["βš™οΈ Worker Agents"]
        direction TB
        subgraph NODE1["SDK-Wrapped Node"]
            N1_MEM["Memory (STM/LTM)"]
            N1_TOOLS["Tools Access"]
            N1_LLM["LLM Integration"]
            N1_MON["Monitoring"]
        end
        subgraph NODE2["SDK-Wrapped Node"]
            N2_MEM["Memory (STM/LTM)"]
            N2_TOOLS["Tools Access"]
            N2_LLM["LLM Integration"]
            N2_MON["Monitoring"]
        end
        HITL["πŸ™‹ Human-in-the-Loop<br/>Intervention Points"]
    end

    subgraph CONTROL["πŸŽ›οΈ Hive Control Plane"]
        direction TB
        BUDGET["Budget & Cost Control"]
        POLICY["Policy Management"]
        METRICS["Real-time Metrics"]
        MCP["19 MCP Tools"]
    end

    subgraph STORAGE["πŸ’Ύ Storage Layer"]
        TSDB[("TimescaleDB<br/>Metrics & Events")]
        MONGO[("MongoDB<br/>Policies")]
        POSTGRES[("PostgreSQL<br/>Users & Config")]
    end

    subgraph DASHBOARD["πŸ“Š Dashboard (Honeycomb)"]
        ANALYTICS["Analytics & KPIs"]
        AGENTS["Agent Monitoring"]
        COSTS["Cost Tracking"]
    end

    GOAL --> GENERATE
    GENERATE --> CONNECTION
    CONNECTION --> TESTGEN
    TESTGEN --> NODE1
    TESTGEN --> NODE2

    NODE1 <--> NODE2
    NODE1 & NODE2 --> HITL

    NODE1 & NODE2 -->|Events| CONTROL
    CONTROL -->|Policies| NODE1 & NODE2
    CONTROL <-->|WebSocket| DASHBOARD

    CONTROL --> STORAGE

    NODE1 & NODE2 -->|Failure Data| EVOLVE
    EVOLVE -->|Updated Graph| GENERATE

    style USER fill:#e8f5e9,stroke:#2e7d32
    style CODING fill:#e3f2fd,stroke:#1565c0
    style WORKERS fill:#fff3e0,stroke:#ef6c00
    style CONTROL fill:#fce4ec,stroke:#c2185b
    style STORAGE fill:#f3e5f5,stroke:#7b1fa2
    style DASHBOARD fill:#e0f7fa,stroke:#00838f
Loading

The Aden Advantage

Traditional Frameworks Aden
Hardcode agent workflows Describe goals in natural language
Manual graph definition Auto-generated agent graphs
Reactive error handling Proactive self-evolution
Static tool configurations Dynamic SDK-wrapped nodes
Separate monitoring setup Built-in real-time observability
DIY budget management Integrated cost controls & degradation

How It Works

  1. Define Your Goal β†’ Describe what you want to achieve in plain English
  2. Coding Agent Generates β†’ Creates the agent graph, connection code, and test cases
  3. Workers Execute β†’ SDK-wrapped nodes run with full observability and tool access
  4. Control Plane Monitors β†’ Real-time metrics, budget enforcement, policy management
  5. Self-Improve β†’ On failure, the system evolves the graph and redeploys automatically

How Aden Compares

Aden takes a fundamentally different approach to agent development. While most frameworks require you to hardcode workflows or manually define agent graphs, Aden uses a coding agent to generate your entire agent system from natural language goals. When agents fail, the framework doesn't just log errorsβ€”it automatically evolves the agent graph and redeploys.

Comparison Table

Framework Category Approach Aden Difference
LangChain, LlamaIndex, Haystack Component Libraries Predefined components for RAG/LLM apps; manual connection logic Generates entire graph and connection code upfront
CrewAI, AutoGen, Swarm Multi-Agent Orchestration Role-based agents with predefined collaboration patterns Dynamically creates agents/connections; adapts on failure
PydanticAI, Mastra, Agno Type-Safe Frameworks Structured outputs and validation for known workflows Evolving workflows; structure emerges through iteration
Agent Zero, Letta Personal AI Assistants Memory and learning; OS-as-tool or stateful memory focus Production multi-agent systems with self-healing
CAMEL Research Framework Emergent behavior in large-scale simulations (up to 1M agents) Production-oriented with reliable execution and recovery
TEN Framework, Genkit Infrastructure Frameworks Real-time multimodal (TEN) or full-stack AI (Genkit) Higher abstractionβ€”generates and evolves agent logic
GPT Engineer, Motia Code Generation Code from specs (GPT Engineer) or "Step" primitive (Motia) Self-adapting graphs with automatic failure recovery
Trading Agents Domain-Specific Hardcoded trading firm roles on LangGraph Domain-agnostic; generates structures for any use case

When to Choose Aden

Choose Aden when you need:

  • Agents that self-improve from failures without manual intervention
  • Goal-driven development where you describe outcomes, not workflows
  • Production reliability with automatic recovery and redeployment
  • Rapid iteration on agent architectures without rewriting code
  • Full observability with real-time monitoring and human oversight

Choose other frameworks when you need:

  • Type-safe, predictable workflows (PydanticAI, Mastra)
  • RAG and document processing (LlamaIndex, Haystack)
  • Research on agent emergence (CAMEL)
  • Real-time voice/multimodal (TEN Framework)
  • Simple component chaining (LangChain, Swarm)

Project Structure

hive/
β”œβ”€β”€ honeycomb/          # Frontend (React + TypeScript + Vite)
β”œβ”€β”€ hive/               # Backend (Node.js + TypeScript + Express)
β”œβ”€β”€ docs/               # Documentation
β”œβ”€β”€ scripts/            # Build and utility scripts
β”œβ”€β”€ config.yaml.example # Configuration template
└── docker-compose.yml  # Container orchestration

Development

Local Development with Hot Reload

# Copy development overrides
cp docker-compose.override.yml.example docker-compose.override.yml

# Start with hot reload enabled
docker compose up

Running Without Docker

# Install dependencies
npm install

# Generate environment files
npm run generate:env

# Start frontend (in honeycomb/)
cd honeycomb && npm run dev

# Start backend (in hive/)
cd hive && npm run dev

Documentation

Roadmap

Aden Agent Framework aims to help developers build outcome oriented, self-adaptive agents. Please find our roadmap here

ROADMAP.md

timeline
    title Aden Agent Framework Roadmap
    section Foundation
        Architecture : Node-Based Architecture : Python SDK : LLM Integration (OpenAI, Anthropic, Google) : Communication Protocol
        Coding Agent : Goal Creation Session : Worker Agent Creation : MCP Tools Integration
        Worker Agent : Human-in-the-Loop : Callback Handlers : Intervention Points : Streaming Interface
        Tools : File Use : Memory (STM/LTM) : Web Search : Web Scraper : Audit Trail
        Core : Eval System : Pydantic Validation : Docker Deployment : Documentation : Sample Agents
    section Expansion
        Intelligence : Guardrails : Streaming Mode : Semantic Search
        Platform : JavaScript SDK : Custom Tool Integrator : Credential Store
        Deployment : Self-Hosted : Cloud Services : CI/CD Pipeline
        Templates : Sales Agent : Marketing Agent : Analytics Agent : Training Agent : Smart Form Agent
Loading

Community & Support

We use Discord for support, feature requests, and community discussions.

Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Join Our Team

We're hiring! Join us in engineering, research, and go-to-market roles.

View Open Positions

Security

For security concerns, please see SECURITY.md.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Frequently Asked Questions (FAQ)

Q: Does Aden depend on LangChain or other agent frameworks?

No. Aden is built from the ground up with no dependencies on LangChain, CrewAI, or other agent frameworks. The framework is designed to be lean and flexible, generating agent graphs dynamically rather than relying on predefined components.

Q: What LLM providers does Aden support?

Aden supports OpenAI (GPT-4, GPT-4o), Anthropic (Claude models), and Google Gemini out of the box. The architecture is provider-agnostic through SDK abstraction, with LiteLLM integration on the roadmap for expanded model support.

Q: Can I use Aden with local AI models like Ollama?

Local model support through LiteLLM integration is on our roadmap. The SDK's provider-agnostic design means adding local model support will be straightforward once implemented.

Q: What makes Aden different from other agent frameworks?

Aden generates your entire agent system from natural language goals using a coding agentβ€”you don't hardcode workflows or manually define graphs. When agents fail, the framework automatically captures failure data, evolves the agent graph, and redeploys. This self-improving loop is unique to Aden.

Q: Is Aden open-source?

Yes, Aden is fully open-source under the Apache License 2.0. We actively encourage community contributions and collaboration.

Q: Does Aden collect data from users?

Aden collects telemetry data for monitoring and observability purposes, including token usage, latency metrics, and cost tracking. Content capture (prompts and responses) is configurable and stored with team-scoped data isolation. All data stays within your infrastructure when self-hosted.

Q: What deployment options does Aden support?

Aden supports Docker Compose deployment out of the box, with both production and development configurations. Self-hosted deployments work on any infrastructure supporting Docker. Cloud deployment options and Kubernetes-ready configurations are on the roadmap.

Q: Can Aden handle complex, production-scale use cases?

Yes. Aden is explicitly designed for production environments with features like automatic failure recovery, real-time observability, cost controls, and horizontal scaling support. The framework handles both simple automations and complex multi-agent workflows.

Q: Does Aden support human-in-the-loop workflows?

Yes, Aden fully supports human-in-the-loop workflows through intervention nodes that pause execution for human input. These include configurable timeouts and escalation policies, allowing seamless collaboration between human experts and AI agents.

Q: What monitoring and debugging tools does Aden provide?

Aden includes comprehensive observability features: real-time WebSocket streaming for live agent execution monitoring, TimescaleDB-powered analytics for cost and performance metrics, health check endpoints for Kubernetes integration, and 19 MCP tools for budget management, agent status, and policy control.

Q: What programming languages does Aden support?

Aden provides SDKs for both Python and JavaScript/TypeScript. The Python SDK includes integration templates for LangGraph, LangFlow, and LiveKit. The backend is Node.js/TypeScript, and the frontend is React/TypeScript.

Q: Can Aden agents interact with external tools and APIs?

Yes. Aden's SDK-wrapped nodes provide built-in tool access, and the framework supports flexible tool ecosystems. Agents can integrate with external APIs, databases, and services through the node architecture.

Q: How does cost control work in Aden?

Aden provides granular budget controls including spending limits, throttles, and automatic model degradation policies. You can set budgets at the team, agent, or workflow level, with real-time cost tracking and alerts.

Q: Where can I find examples and documentation?

Visit docs.adenhq.com for complete guides, API reference, and getting started tutorials. The repository also includes documentation in the docs/ folder and a comprehensive DEVELOPER.md guide.

Q: How can I contribute to Aden?

Contributions are welcome! Fork the repository, create your feature branch, implement your changes, and submit a pull request. See CONTRIBUTING.md for detailed guidelines.

Q: Does Aden offer enterprise support?

For enterprise inquiries, contact the Aden team through adenhq.com or join our Discord community for support and discussions.


Made with πŸ”₯ Passion in San Francisco

About

Outcome driven agent development framework that evolves

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 60.5%
  • Python 37.7%
  • CSS 0.6%
  • Shell 0.5%
  • JavaScript 0.3%
  • Dockerfile 0.3%
  • HTML 0.1%