Skip to main content

LittleHive local-first multi-agent assistant foundation

Project description

LittleHive

LittleHive is a local-first, multi-model, multi-agent assistant platform optimized for small local models, strict context budgets, and low operating cost.

Core Concepts

  • ITR (Instruction-Tool Retrieval): only inject compact tool docs until invocation time.
  • Memory Cards: typed compact reusable memory units, not full transcript replay.
  • Transfer Primitive: clean-state handoffs between agents.
  • Context Compiler: central token-budget preflight + deterministic trimming.

Install

pip install littlehive
pip install "littlehive[telegram]"
pip install "littlehive[ui]"
pip install "littlehive[full]"

For development:

pip install -e ".[dev,telegram,ui]"

Quickstart

  1. Start LittleHive:
lhive run
# or: lh-run

This will:

  • run quick onboarding on first launch (if config is missing),
  • load .env,
  • start API, dashboard, and Telegram worker (when enabled and token is present),
  • keep supervisor off by default to reduce console noise,
  • print the local dashboard URL.

For full power-user onboarding prompts:

lhive run --advanced
# or: littlehive-run --advanced

To reset local setup and start fresh:

lhive reset
# or: lh-reset
  1. Optional diagnostics:
littlehive-diag --validate-config --hardware --check-providers

Advanced/manual control CLIs are still available (see below).

Dashboard

littlehive-dashboard is Python-only (NiceGUI), no Node/React install required.

Main views:

  • Overview
  • Providers (health + breaker + routing score)
  • Tasks/Traces
  • Memory search
  • Permissions and power controls
  • Usage/Budgets
  • Diagnostics/Failures
  • Pending confirmations

Safety and Permission Profiles

Supported permission profiles:

  • read_only
  • assist_only
  • execute_safe
  • execute_with_confirmation
  • full_trusted

Risk levels (low|medium|high|critical) are enforced in tool execution. Medium/high actions can require confirmations depending on profile and safe mode.

Diagnostics

littlehive-diag --provider-health
littlehive-diag --failures
littlehive-diag --runtime-stats
littlehive-diag --budget-stats

CLI Entrypoints

  • lhive (short command: lhive run, lhive reset, lhive diag)
  • lh-run (short alias)
  • lh-reset (short alias)
  • littlehive-run (recommended for end users)
  • littlehive-onboard
  • littlehive-api
  • littlehive-telegram
  • littlehive-diag
  • littlehive-dashboard
  • littlehive-supervisor
  • littlehive-reset

Development

pytest -q
python -m build
twine check dist/*

Limitations

  • Dashboard auth is currently basic token gating; default host binding is localhost.
  • Provider/tool telemetry is compact summaries by design (no full raw payload dump).

Roadmap

Phase 6+: richer admin auth, stronger benchmarking, and broader channel/runtime controls.

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

littlehive-0.5.4.tar.gz (59.6 kB view details)

Uploaded Source

Built Distribution

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

littlehive-0.5.4-py3-none-any.whl (89.3 kB view details)

Uploaded Python 3

File details

Details for the file littlehive-0.5.4.tar.gz.

File metadata

  • Download URL: littlehive-0.5.4.tar.gz
  • Upload date:
  • Size: 59.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for littlehive-0.5.4.tar.gz
Algorithm Hash digest
SHA256 1b310474645b328e8dbdb2fd7fb7ce3ec403853a70fc1a81158839de9608d301
MD5 c1ab65f4a3894234912a48ec4c260894
BLAKE2b-256 d2ff5a06d065cca3adbab85fb9bddb44785adda218d166a134f6048fc1a7f336

See more details on using hashes here.

Provenance

The following attestation bundles were made for littlehive-0.5.4.tar.gz:

Publisher: publish.yml on stackcv/littlehive

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file littlehive-0.5.4-py3-none-any.whl.

File metadata

  • Download URL: littlehive-0.5.4-py3-none-any.whl
  • Upload date:
  • Size: 89.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for littlehive-0.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0a83c2341ae92f41b51f15e5cf9b76b31d52da63869db9c55ec6aa1c533439ca
MD5 1680d20c3ed9926eed14b94a977239e7
BLAKE2b-256 fb84373f98aa7b79c05e09a3b3bc6ed8f8884a1fb0617c4dd11566d82bd6741f

See more details on using hashes here.

Provenance

The following attestation bundles were made for littlehive-0.5.4-py3-none-any.whl:

Publisher: publish.yml on stackcv/littlehive

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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