Skip to main content

LittleHive local-first multi-agent assistant foundation

Project description

LittleHive 🐝

A private, local-first AI executive assistant built exclusively for Apple Silicon.

LittleHive runs entirely on your Mac — powered by Mistral's Ministral 8B or 14B model via Apple's MLX framework. Your emails, calendar, and personal data never leave your machine.

No cloud AI. No subscription. Just a fast, intelligent assistant on your hardware.


✨ Features

  • 100% Local AI — Runs Ministral 8B/14B natively on Apple Silicon via MLX with KV prompt caching for sub-second responses.
  • Google Workspace — Connects to Gmail, Google Calendar, and Google Tasks. Read, draft, send emails; create events; manage tasks.
  • Web Search — Search the web via DuckDuckGo for current events, prices, or facts the model isn't confident about.
  • Proactive Scheduling — Background threads poll for new emails, fire reminders on time, and sync your calendar automatically.
  • Long-Term Memory — Remembers important facts across conversations. Nightly extraction saves key details from your chats.
  • Contacts Directory — Manage stakeholders with optional auto-reply drafting for trusted contacts.
  • Finance Tracking — Track bills, due dates, and mark payments as they come in.
  • Telegram Bot — Chat with your assistant from Telegram with typing indicators and chat ID authorization.
  • Web Dashboard — A local web interface with real-time chat, context usage monitoring, dark mode, and full configuration.
  • Self-Updating — Check for and install updates directly from PyPI with a single command.

💻 Requirements

  • Hardware: Apple Silicon Mac (M1, M2, M3, or M4). Intel Macs are not supported.
  • Software: macOS with Python 3.11+.

🚀 Installation

1. Create a virtual environment:

python3 -m venv littlehive-env
source littlehive-env/bin/activate

2. Install LittleHive:

pip install littlehive

3. Run the setup wizard:

lhive setup

The wizard walks you through identity, Google OAuth, Telegram, model selection, and preferences. Takes about 2 minutes.


🕹️ CLI Commands

lhive setup          Interactive setup wizard (run this first)
lhive start          Start the agent in the background
lhive stop           Stop the agent
lhive restart        Restart the agent
lhive status         Show agent status and configuration
lhive update         Check for and install updates from PyPI
lhive version        Show current version
lhive auth google    Re-run Google OAuth flow

The first lhive start downloads the AI model (~4–8 GB). Subsequent starts are instant.


🖥️ Dashboard

Once the agent is running, open your browser:

👉 http://localhost:8080

The dashboard includes:

  • Chat — Talk to your assistant with real-time tool indicators
  • Contacts — Manage your contacts directory and auto-reply settings
  • Memories — View, edit, or delete facts the agent has memorized
  • Settings — Configure identity, model, Telegram, and Do Not Disturb hours
  • Scheduler — Control background jobs (reminders, API sync, nightly cleanup)
  • Top Bar — Live clock, context usage %, model name, connection status

💬 What Can You Ask?

  • Email: "Do I have unread emails?" · "Send a PDF summary to Sarah." · "Archive all newsletters."
  • Calendar: "What's on my schedule tomorrow?" · "Block 2 hours for deep work."
  • Reminders: "Remind me about the dentist at 3 PM." · "What reminders do I have?"
  • Web Search: "What's the latest news on AI?" · "Current weather in London."
  • Finance: "Add a bill for electricity — ₹2,400 due March 20." · "Mark the internet bill as paid."
  • Memory: "Remember that my son's name is Vivaan." · "Who is in my family?"
  • Contacts: "Look up Sarah's email." · "Add John as a contact."

Chat Commands

Type these directly in the chat window or Telegram:

/reset    Wipe context and start a fresh conversation
/context  Show current token usage and context health
/clear    Clear the chat window (UI only, keeps memory)
/help     Show available commands

📂 Data Storage

Everything stays local:

Path Contents
~/.littlehive/config/ Configuration and Google OAuth tokens
~/.littlehive/db/littlehive.db Chat history, memories, reminders, cached emails
~/.littlehive/logs/agent.log Runtime logs for troubleshooting

📄 License

MIT

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.7.2.tar.gz (70.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.7.2-py3-none-any.whl (81.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: littlehive-0.7.2.tar.gz
  • Upload date:
  • Size: 70.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.7.2.tar.gz
Algorithm Hash digest
SHA256 a22fe72c95c74a0754fd0918d12b0367449f8019dbb7961f283b00fe643c2bfc
MD5 8eaaeb5cd4e451c8b557402a1403d294
BLAKE2b-256 067d87ca0170f9fd36618806b2183b592e7f34614108e280391fc9729b9f0362

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: littlehive-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 81.1 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.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a836f08232ca0a630e6a7fb0654e05ad219a834c82ba8d1fba5a9ea998bd1450
MD5 0a2edc4a763409e6db08cb4586941d5f
BLAKE2b-256 40e9712a8275bc9dcda7356fb4d5b717e0d1e3baeb5e51cfcc23f7f51168ea26

See more details on using hashes here.

Provenance

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