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

Uploaded Python 3

File details

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

File metadata

  • Download URL: littlehive-0.5.3.tar.gz
  • Upload date:
  • Size: 54.4 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.3.tar.gz
Algorithm Hash digest
SHA256 d3219313f02d535a9aa31eb50df60cf1be66cd632559e5b94e472f2a9ee5c8da
MD5 b9efd6e3a53c155715c012af0ab64106
BLAKE2b-256 37bdedb0da8b01ab0128e70bfba2fab74de6d8c8e9a3621650d90e5cc0ba0030

See more details on using hashes here.

Provenance

The following attestation bundles were made for littlehive-0.5.3.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.3-py3-none-any.whl.

File metadata

  • Download URL: littlehive-0.5.3-py3-none-any.whl
  • Upload date:
  • Size: 82.6 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 08b73ba3aa3bae2cfde4c2dc29848de5063f0505207a11d1348d40b2826242ee
MD5 cc00caff9adf0c80ef992cdbc2da8b0a
BLAKE2b-256 875360d0d7d55d7dc4fedc0afcdc189bf816aaf8036bd687499854c4162a0079

See more details on using hashes here.

Provenance

The following attestation bundles were made for littlehive-0.5.3-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