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

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,dev]"

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

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

# conda
conda install -c conda-forge agent-heaven[exp,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.2.dev0.tar.gz (217.8 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.2.dev0-py3-none-any.whl (270.8 kB view details)

Uploaded Python 3

File details

Details for the file agent_heaven-0.9.2.dev0.tar.gz.

File metadata

  • Download URL: agent_heaven-0.9.2.dev0.tar.gz
  • Upload date:
  • Size: 217.8 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.2.dev0.tar.gz
Algorithm Hash digest
SHA256 466c59681213b2560861cc8c2f17ca952a149dfc776ed60166cd93c98fe4c3f2
MD5 506866e1ac09c0376fef574af1e9351c
BLAKE2b-256 02d0d215c0c963ca8dc56538854fb7b4d9cc18761b28cca4dfea7ee347ee9d44

See more details on using hashes here.

File details

Details for the file agent_heaven-0.9.2.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for agent_heaven-0.9.2.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 622ba4b8eb1404fce7454a937cb0fc7da76efd18d9b1fbcc17ad284f51be029b
MD5 564cd54849fa9745599c86d9c6e296ca
BLAKE2b-256 ee0483c69cb79e9bf25884c98f3d752a7c2f03e7d8b4dbd63da727d67984e3dc

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