SuperAPIAI Directory

hivekeep

github.com · AI agents

Hivekeep is a self-hosted, open-source persistent personal AI agent platform whose goal is to assemble an "AI team" on your own server. It uses a single-container, single-process architecture with a single SQLite file, requiring no Postgres, Redis, Mongo, or queue middleware; users only need to provide an LLM key to run it. The agents in the platform have persistent identities and long-term memory. An agent has only one continuous session that never resets, and it supports collaboration between agents, sub-agent delegation, and scheduled tasks. It includes the built-in Queenie configuration agent, which completes setup through conversation, and supports six native channels—Telegram, Discord, Slack, WhatsApp, Signal, and Matrix—plus a PWA interface, enabling real-time channel handoff between agents. The platform also allows agents to build their own custom tools, mini-apps, and plugins, and provides capabilities such as an AES-256-GCM encrypted vault, a context viewer, and token transparency. The project uses the MIT open-source license, and the official self-described maturity is about 80%, making it suitable for self-hosted use by individuals or small teams.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux · API

About this tool

Purpose

Hivekeep is a self-hosted platform for running "autonomous, persistent" personal AI agents. It is officially positioned as "Your AI team, right at home": it offers both the ease of use of a consumer-grade assistant and the data sovereignty of your own server. It is aimed at users who do not want every conversation to be reset, who want agents to remember them over the long term, and who want agents to be able to work together.

Main Capabilities

Persistent Memory and Identity: Each agent has a persistent identity (name, role, personality, expertise, model, avatar), shared within the same instance; each agent has only one continuous session that never resets. Underneath is dual-channel long-term memory: automatic extraction during compaction, plus explicit tools (recall, memorize, update_memory, forget). Recall uses a hybrid approach, fusing sqlite-vec KNN with FTS5 keyword search via Reciprocal Rank Fusion, then reranking by importance, time decay, and category intent. Progressive compaction summarizes old context without deleting the original content, which can be restored at any time via search_history.

Team Collaboration: Agents can collaborate via request/reply, can delegate to temporary sub-agents (await/async, maximum depth 3), and can run scheduled work. Each agent has a FIFO queue and prioritizes user messages. It features a unified contact registry and a stateful browser (18 browser_* tools, based on Playwright + stealth + accessibility snapshot references).

Self-Extension: Agents can build custom tools (supporting languages such as Python, Node, Bun, TypeScript, Bash, and Deno, with native dependency management and React renderers), and can build mini-apps (real web apps in sandboxed iframes, including a JS SDK, 29 React hooks, 50+ themed components, an optional Hono backend, KV storage and snapshot rollback, a public gallery and cloning, 14 templates, and a natural-language "improve this app" loop). Plugins are provided via npm and a typed TypeScript SDK (@hivekeep/sdk), including a built-in marketplace, Git installation, native provider interfaces, channel adapters, lifecycle hooks, fine-grained runtime permissions, and scaffolding tools (create-hivekeep-plugin). It also supports dynamic addition and management of MCP servers by agents, as well as a composable named allowlist toolbox.

Multi-channel: Six native channels are Telegram, Discord, Slack, WhatsApp, Signal, Matrix, with PWA as the seventh interface. WhatsApp can be bound to a personal number via the Meta Cloud API or by scanning a QR code (similar to WhatsApp Web, no business account required). A featured capability is real-time channel handoff: transfer_channel can reassign a channel from one agent to another mid-conversation, with the address unchanged but the agent changed, and the new agent receives the handoff context and causal chain.

Transparency and security: The context viewer displays prompts as stacked colored bars by segment; cache observability shows hit rate and TTL; each agent has EMA calibration comparing estimated and actual token counts; every call is traced. The vault uses AES-256-GCM and never appears in prompts or logs. Linked accounts (email, calendar, contacts) use OAuth or encrypted credentials, and their tokens are invisible to agents.

Conversational setup: Onboarding requires only three quick screens (identity, language, one LLM key). After that, Queenie—a resident configuration agent with 45+ tools—takes over through conversation: connecting providers, storing keys in the vault, creating the first agents. No YAML and no CLI. Secure input means keys go directly from the interface into the vault and never pass through the LLM.

Usage

Native installation (recommended): A single command is enough, with no docker-compose, YAML, or pre-provisioned database. The install script installs Bun when needed, clones the repository, builds the frontend, runs migrations, creates a system service (systemd or launchd), and starts Hivekeep on port 3000. The script pre-checks disk, memory, ports, and connectivity, and cleanly rolls back on failure. When finished, open http://localhost:3000,由 Queenie continues configuration.

Docker (alternative): Requires a published container image. If the pull fails (manifest unknown or 403), it means the image is not yet public; you can switch to the native installer (builds locally, no image registry required) or build from source. The installer also offers a hardened Docker mode, with the command bash <(curl -fsSL .../install.sh) --docker .

Network exposure: To expose on a LAN or behind a reverse proxy, add -e HOST=0.0.0.0 and -e PUBLIC_URL=https://your-domain , see the configuration reference for specific environment variables.

Key backup: On first startup, Hivekeep generates and persists an AES-256-GCM key in data/.encryption-key, used to encrypt all vault secrets. If you set ENCRYPTION_KEY yourself, the same value must be provided on every restart. Be sure to back up this key (or the data/ directory), otherwise you will be unable to access encrypted secrets.

Use cases

Official example scenarios include: DevOps copilot, family brain, personal knowledge base, multi-agent orchestration teams, business monitoring, and a shared family assistant. Except for Queenie which is built in, all other agents are created by users, and each automatically generates an avatar.

Providers and plugins

Each provider only needs one configuration, and Hivekeep automatically detects its capabilities (llm, embedding, image, search, stt, tts). Currently built in: Anthropic (API key or use Claude Max via in-app login, no CLI required), OpenAI (API key or use Codex via in-app login, no CLI required), Google Gemini, OpenRouter (LLM, embeddings, images), Kilo Gateway, Ollama Cloud (LLM and web search), xAI, DeepSeek, MiniMax, Kimi (Moonshot), and a generic OpenAI-compatible connector (custom base URL, suitable for NewAPI / LiteLLM / llama.cpp / LM Studio / vLLM / Ollama), supporting LLM, embeddings, and image generation (OpenAI Images API: /images/generations); images also support OpenAI, Gemini, OpenRouter; embeddings also support OpenRouter; speech-to-text and text-to-speech support OpenAI and ElevenLabs; web search supports Brave Search, SerpAPI, Tavily, Perplexity Sonar, and Ollama Cloud. More can be added as plugins via typed SDKs without forking. Local models on the backend that lack native tool calling (such as those on Ollama) Gemma) can still gain tool support through an automatic prompt-based fallback. Pure chat OpenAI-compatible servers (vanilla Ollama, llama.cpp) do not implement image generation, so you need a gateway that exposes the Images API or a branded OpenAI / Gemini provider.

Hardware requirements

Hivekeep itself does not run models, but instead calls user-specified providers or local OpenAI-compatible endpoints, so inference costs are on the provider side rather than within the app. The platform itself is a single Bun process based on SQLite, requiring no GPU and no additional services. Agents are activated serially per message (not all at once), and persistent memory keeps each context small rather than replaying all content, so running multiple agents does not multiply local load. When pointing to local models, the hardware question shifts to the inference server. Reference instance: runs on a small home server well under 1 GB of memory.

Interface and multi-user

Installable PWA (hand-written service worker, offline app shell), responsive and mobile-first. 18 OKLch palettes (aurora, ocean, forest, sunset, monochrome, sakura, neon, lavender, midnight, copper, jade, crimson, galaxy, amber, slate, rose, mint, citrus) with light/dark/system modes and adaptive contrast. Glass/gradient design system, WCAG AA compliant, i18n support (10 interface languages; agents can speak 40+ languages). Rich rendering of tool results inline, @mentions and autocomplete, real-time SSE streaming, automatic avatar generation per agent. Built-in workspace browser/editor to browse, edit, upload, and share any file produced by agents, with file paths in chat clickable. Supports multi-user isolation, quick private sessions, and admin and member roles based on Better Auth.

Limitations

The official statement explicitly says the project's maturity is about 80%, that it is not perfect, and the roadmap lists known rough edges. The project was largely completed by one developer with the help of AI coding assistants, and the author candidly acknowledges that some AI rough edges may exist and welcomes users to submit issues pointing them out. Docker images may not yet be public. The full URL of the native installation script appears in the material in abbreviated form. All pricing and billinginformation is not yet provided in the materials.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools