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. Initialize config/env:
littlehive-onboard
  1. Validate config/hardware/providers:
littlehive-diag --validate-config --hardware --check-providers
  1. Start Telegram worker:
littlehive-telegram --config config/instance.yaml
  1. Start admin API:
littlehive-api --config config/instance.yaml --host 127.0.0.1 --port 8080
  1. Start Python dashboard (NiceGUI):
littlehive-dashboard --config config/instance.yaml --host 127.0.0.1 --port 8666

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

  • littlehive-onboard
  • littlehive-api
  • littlehive-telegram
  • littlehive-diag
  • littlehive-dashboard
  • littlehive-supervisor

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.0.tar.gz (55.1 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.0-py3-none-any.whl (82.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: littlehive-0.5.0.tar.gz
  • Upload date:
  • Size: 55.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for littlehive-0.5.0.tar.gz
Algorithm Hash digest
SHA256 ddf467bcd7a30715ed48896cf063e1d72a7630e5b0f46ff88a405a4dd047515e
MD5 082511e63a0a367b9233b9c729603b25
BLAKE2b-256 96e135cc5bcfa79fe65c01c49a4c3943cd757b0b090131d540dc87d7a127722c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: littlehive-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 82.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for littlehive-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7394f9010bbc29894e1785fe0573bda8876669c2ee7a13266d18a1dbc293a29b
MD5 e7b3843a895e93afd289b1e233f5a583
BLAKE2b-256 9f4be56b2d7767a84a16480bfa9d571377da0aa3097419c16cc62cb4c9131b56

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