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,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.dev0.tar.gz (205.1 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.dev0-py3-none-any.whl (257.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agent_heaven-0.9.1.dev0.tar.gz
  • Upload date:
  • Size: 205.1 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.dev0.tar.gz
Algorithm Hash digest
SHA256 255debfadf7373ab3a4486fa628d11af993dccfa1170c2481e31e43f313c9424
MD5 6a1b1e0cd01ba8601b632137417863b8
BLAKE2b-256 af119a57f165c6c881c9b779c074ef7c5f08a1f0b11d82c196cc7db0e3b9092d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_heaven-0.9.1.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 e3b9dfebfdb92e318f6a6ffac71f7a0deab378f1d9e3178c0702f30c7e112c02
MD5 2881f1bdb79ab55abd76f24238a6c1b8
BLAKE2b-256 3c53760d1f96487ab678cd42e37ee982d17683470360109e589b9ab8d849df01

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