Skip to main content

AI Workstation — Build Software, Edit Video, Process Data, and More

Project description

Hauba

Your AI Engineering Team — In One Command

CI PyPI Python License

InstallQuickstartFeaturesArchitectureContributing


Hauba is an open-source AI agent framework that orchestrates a full engineering team — architect, backend, frontend, DevOps — controlled by a Director agent that thinks before it acts.

One command. Zero external dependencies. Works offline with Ollama.

pip install hauba
hauba init
hauba run "build me a landing page with modern design"

Why Hauba?

Feature Hauba Others
Multi-agent collaboration Director → SubAgent → Worker hierarchy Single agent or basic chains
Zero-hallucination tracking TaskLedger with SHA-256 hash verification Trust-based, no verification
Works offline First-class Ollama support Requires cloud API
Declarative teams hauba.yaml (like docker-compose for AI) Code-only configuration
Browser automation Persistent sessions, stealth mode, crash recovery Basic or none
Voice mode Talk to your AI team Text-only
Replay mode Watch & share agent sessions No replay
Single install pip install hauba — no Docker, Redis, or Postgres Complex setup

Install

# From PyPI (recommended)
pip install hauba

# From source
git clone https://github.com/NikeGunn/haubaa.git
cd haubaa
pip install -e ".[dev]"

# Optional extras
pip install hauba[computer-use]   # Browser + screen control
pip install hauba[voice]          # Voice mode (Whisper + TTS)
pip install hauba[web]            # Web dashboard
pip install hauba[all]            # Everything

Requirements: Python 3.11+ — nothing else.

Quickstart

1. Initialize

hauba init

Pick your LLM provider (Anthropic, OpenAI, Ollama, DeepSeek) and enter your API key.

2. Run a task

hauba run "create a REST API with user authentication"

The Director agent will:

  1. Deliberate — understand your request and assess complexity
  2. Plan — decompose into steps with a dependency DAG
  3. Execute — use tools (bash, files, git, browser) to build it
  4. Verify — TaskLedger ensures every step completed with hash verification
  5. Deliver — only after all 5 verification gates pass

3. Check system health

hauba doctor

Hauba Compose

Define your AI team declaratively:

# hauba.yaml
team: "my-saas"
model: "claude-sonnet-4-5-20250929"

agents:
  architect:
    role: "Senior Software Architect"
    skills: [system-design, database-design, api-design]

  backend:
    role: "Backend Engineer"
    skills: [fastapi, postgresql, auth]
    depends_on: [architect]

  frontend:
    role: "Frontend Engineer"
    skills: [nextjs, tailwind, react]
    depends_on: [architect]

  devops:
    role: "DevOps Engineer"
    skills: [docker, ci-cd, monitoring]
    depends_on: [backend, frontend]
hauba compose up "build a SaaS dashboard with auth and billing"

Features

Multi-Agent Hierarchy

  • Director — receives your task, deliberates, creates a project plan
  • SubAgent — manages a milestone, coordinates workers
  • Worker — executes specific tasks with retry logic
  • CoWorker — ephemeral helpers for sub-tasks

TaskLedger (Zero-Hallucination System)

Every task is tracked with a bit-vector and SHA-256 hash chain. Five verification gates ensure nothing is skipped or faked:

  1. Pre-execution — Ledger must exist before work begins
  2. Dependency — All dependencies verified before task starts
  3. Completion — Output hashed and verified on disk
  4. Delivery — Full ledger gate check at each level
  5. Reconciliation — Plan count matches ledger count

Browser Automation (Persistent Sessions)

hauba run "scrape product data from the competitor website"
  • Persistent browser context — sessions survive crashes
  • Stealth mode — anti-bot detection evasion
  • Auto-retry with crash recovery

Voice Mode

hauba voice

Talk to your AI team. Uses Whisper (local) for speech-to-text and edge-tts for responses. Works fully offline with Ollama.

Replay Mode

hauba replay <task_id>
hauba replay <task_id> --speed 5

Every agent action is recorded and replayable with speed control.

Skills & Strategies

10 built-in skills and 6 strategies ship with Hauba:

hauba skill list                    # See all available skills
hauba skill show code-generation    # View a skill's details
hauba skill install ./my-skill.md   # Install a custom skill

Web Dashboard

hauba serve

Real-time web dashboard with WebSocket event streaming at http://localhost:8420.

Channels

hauba voice      # Voice conversation
hauba serve      # Web dashboard

Plus Telegram and Discord bot integrations.

CLI Reference

hauba init                          # Interactive setup wizard
hauba run "task description"        # Execute a task
hauba status                        # Show config and status
hauba doctor                        # Diagnose setup issues
hauba logs                          # View recent logs
hauba config <key> [value]          # Get/set configuration

hauba compose up "task" [-f file]   # Run with agent team
hauba compose validate              # Check hauba.yaml syntax

hauba skill list                    # List all skills
hauba skill show <name>             # View skill details
hauba skill install <path>          # Install a skill
hauba skill create <name>           # Scaffold new skill

hauba voice                         # Voice conversation mode
hauba serve [--port 8420]           # Start web dashboard
hauba replay <task_id> [--speed 2]  # Replay a session

Configuration

# Anthropic (default)
hauba config llm.provider anthropic
hauba config llm.api_key sk-ant-...

# OpenAI
hauba config llm.provider openai
hauba config llm.api_key sk-...

# Ollama (offline, free)
hauba config llm.provider ollama
hauba config llm.model llama3.2

Architecture

Director (1 per task)
├── SubAgent (per milestone)
│   ├── Worker (per task)
│   │   └── CoWorker (ephemeral)
│   └── Worker
└── SubAgent
    └── Worker

Stack: Python 3.11+ | asyncio | SQLite | litellm | Typer | Rich | Pydantic v2

Contributing

We welcome contributions! See CONTRIBUTING.md for details.

git clone https://github.com/NikeGunn/haubaa.git
cd haubaa
pip install -e ".[dev]"
pytest tests/ -v

License

MIT License — see LICENSE for details.


Hauba doesn't guess. Hauba verifies.

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

hauba-0.3.0.tar.gz (111.0 kB view details)

Uploaded Source

Built Distribution

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

hauba-0.3.0-py3-none-any.whl (118.2 kB view details)

Uploaded Python 3

File details

Details for the file hauba-0.3.0.tar.gz.

File metadata

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

File hashes

Hashes for hauba-0.3.0.tar.gz
Algorithm Hash digest
SHA256 647fb92f699d003c903b16cccda3baddb4716b320f75105d11b83da524db1462
MD5 892b3560586ac59f1bd227cc93b1a6e6
BLAKE2b-256 9aa827f215c0ca9f651e8833baef073f12f31535f9e61e6682307c606a0559e7

See more details on using hashes here.

File details

Details for the file hauba-0.3.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for hauba-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f25ad4c99d314bf5252994fc267960159cb544ba6b9184239dd1b8270c6d354b
MD5 6c358b4e4ce5c4cf80f8dfd59651d88a
BLAKE2b-256 4bb9e68d700b960940cb732caac7e4c84510fac7b1eead79490af1bb7f697d5f

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