Skip to content

Installation

Building from source requires:

  • Rust stable (latest recommended)
  • cmake
  • libssl-dev
  • pkg-config

On Debian/Ubuntu:

Terminal window
sudo apt install cmake libssl-dev pkg-config

The fastest way to get started. Downloads the latest release for your platform:

Terminal window
curl -fsSL https://raw.githubusercontent.com/heartbit-ai/heartbit/main/install.sh | bash

Install the CLI directly from the repository:

Terminal window
cargo install --git https://github.com/heartbit-ai/heartbit heartbit-cli
Terminal window
cargo install heartbit-cli

Pull the official image and optionally start the full stack (Restate + Kafka):

Terminal window
docker pull ghcr.io/heartbit-ai/heartbit:latest
# Full stack with docker compose
docker compose up -d

Add Heartbit to an existing Rust project:

Terminal window
cargo add heartbit

This gives you the core feature set by default: agent runner, orchestrator, LLM providers, tools, memory, and config.

Enable additional capabilities by selecting feature flags:

FeatureWhat it enables
core (default)Agent runner, orchestrator, LLM providers, tools, memory, config
kafkaKafka consumer/producer
daemonDaemon with HTTP API, cron, metrics
sensor7 sensor sources, triage, stories
restateDurable workflow execution (Restate SDK 0.8)
postgresPostgreSQL memory + task store
a2aAgent-to-Agent protocol
telegramTelegram bot integration
local-embeddingLocal ONNX embeddings (no API keys)
fullEverything except local-embedding

Example with specific features:

Terminal window
cargo add heartbit --features postgres,daemon