Skip to main content

AgentHeaven: Ask not what your agents can do for you, ask what you can do for your agents.

Project description

AgentHeaven

English 简体中文

PyPI License Python Version

Ask not what your agents can do for you, ask what you can do for your agents.

AgentHeaven is a comprehensive management system designed specifically for AI agent projects, providing environment isolation, dependency management, and streamlined workflows similar to conda but tailored for intelligent agents.

📖 English Documentation 📖 中文文档 💻 Documentation GitHub

🚧 AgentHeaven is in active experimental development. Features may change. NOT ready for stable deployment.


Installation

AgentHeaven supports multiple package managers for flexible installation. Choose the one that best fits your workflow:

Optional Dependencies:

  • exp: experimental features and integrations, including database integration, vector engines, etc. Recommended.
  • gui: GUI tools for agent management and monitoring.
  • dev: development tools including docs generation, code formatting, testing, etc.

Quick Install

Note: Currently AgentHeaven is not released, please install from source.

Minimal installation (core only, no optional dependencies):

# pip
pip install agent-heaven

# uv
uv pip install agent-heaven

# poetry
poetry add agent-heaven

# conda
conda install -c conda-forge agent-heaven

Full installation (with all optional dependencies):

# pip
pip install "agent-heaven[exp,gui,dev]"

# uv
uv pip install "agent-heaven[exp,gui,dev]"

# poetry
poetry add agent-heaven --extras "exp gui dev"

# conda
conda install -c conda-forge agent-heaven[exp,gui,dev]

Install From Source

Minimal installation (core only, no optional dependencies):

git clone https://github.com/RubikSQL/AgentHeaven.git
cd AgentHeaven

# pip
pip install -e "."

# uv
uv pip install -e "."

# poetry
poetry install

# conda
conda env create -f environment.yml
conda activate ahvn

Full installation (with all optional dependencies):

git clone https://github.com/RubikSQL/AgentHeaven.git
cd AgentHeaven

# pip
pip install -e ".[dev,exp,gui]"

# uv
uv pip install -e ".[dev,exp,gui]"

# poetry
poetry install --extras "dev exp gui"

# conda
conda env create -f environment-full.yml -n ahvn
conda activate ahvn

Quick Start

Prerequisites

Apart from Python requirements, we recommend installing Git to support version control features.


Initial Setup

Initialize the AgentHeaven environment globally. Use -r to force reinitialization:

ahvn setup --reset

Configuration

Set up your LLM providers:

OpenAI (Optional):

ahvn config set --global llm.providers.openai.api_key <YOUR_OPENAI_API_KEY>

Ollama Models (Optional):

# Requires Ollama to be installed
ollama pull gpt-oss:20b       # General local model (relatively large)
ollama pull qwen3:8b          # General local model (relatively small)
ollama pull embeddinggemma    # For text embedding
ollama pull qwen3-coder:30b   # For code generation

Documentation

📖 Complete Documentation

Quick Links

Building Documentation Locally

You can directly access the compiled docs at docs/en/build/html/index.html.

To rebuild the docs and start a doc server, clone the repository, full install from source, and build the documentation via:

bash scripts/docs.bash en zh -s

To start a doc server without rebuilding, run:

bash scripts/docs.bash en zh -s --no-build
  • English documentation: http://localhost:8000/
  • Chinese documentation: http://localhost:8001/

Contributing

We welcome contributions! Please see our Contributing Guide for details on how to get started.


Citation

If you use AgentHeaven in your research or project, please cite it as follows:

@software{agent-heaven,
  author = {RubikSQL},
  title = {AgentHeaven},
  year = {2025},
  url = {https://github.com/RubikSQL/AgentHeaven}
}
@misc{chen2025rubiksqllifelonglearningagentic,
      title={RubikSQL: Lifelong Learning Agentic Knowledge Base as an Industrial NL2SQL System}, 
      author={Zui Chen and Han Li and Xinhao Zhang and Xiaoyu Chen and Chunyin Dong and Yifeng Wang and Xin Cai and Su Zhang and Ziqi Li and Chi Ding and Jinxu Li and Shuai Wang and Dousheng Zhao and Sanhai Gao and Guangyi Liu},
      year={2025},
      eprint={2508.17590},
      archivePrefix={arXiv},
      primaryClass={cs.DB},
      url={https://arxiv.org/abs/2508.17590}, 
}

License

This project is licensed under the Sustainable Use License. See the LICENSE file for details.


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agent_heaven-0.9.1.tar.gz (205.0 kB view details)

Uploaded Source

Built Distribution

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

agent_heaven-0.9.1-py3-none-any.whl (257.3 kB view details)

Uploaded Python 3

File details

Details for the file agent_heaven-0.9.1.tar.gz.

File metadata

  • Download URL: agent_heaven-0.9.1.tar.gz
  • Upload date:
  • Size: 205.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for agent_heaven-0.9.1.tar.gz
Algorithm Hash digest
SHA256 7d139aac1053fdcf597eaa8cdca52844ad396b4381d592624f799f0780900a3a
MD5 fcc880c50d5e057845c79e18ab859128
BLAKE2b-256 7038d31908ccdb3eaeefeed014b8c9f28b5c6c86db79c81811a77b4a34f2d58c

See more details on using hashes here.

File details

Details for the file agent_heaven-0.9.1-py3-none-any.whl.

File metadata

  • Download URL: agent_heaven-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 257.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for agent_heaven-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6a8d37ed6c88b9c7b1bf566b2d607aac6d10e81ba754ea99c97eee5ed0013230
MD5 ed193dde927d577324bef52e671e59de
BLAKE2b-256 668f1403c712f17d1b794d54bc202962273cf963f93eec52ddbef189753bda14

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