5dive-ai/5dive
Bash and systemd keep self-hosted agent teams working from a shared task queue
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
5dive wraps existing agent CLIs in a Bash control plane rather than serving models itself. On a native Linux installation, systemd supervises persistent agents, each running under its own Linux user. The 5dive CLI coordinates assignments through a shared SQLite task store; cron and incoming webhooks can create work, and journald holds service logs. The queue lets an agent wait for work rather than continuously invoking a model. No external orchestrator is required.
Plugins extend the core with capabilities such as Chrome sessions, encrypted backups, and agent-to-agent messaging across servers. MCP exposes team controls to an external assistant: npx -y @5dive/mcp runs a local MCP server, while cloud assistants connect to a public HTTPS endpoint using a token in the connection URL. The public endpoint and its token add a security surface that a CLI-only deployment does not need.
Key Capabilities & Differentiators
5dive runs Claude Code, Codex, OpenClaw, Hermes, Antigravity, Grok, OpenCode, and Pi as persistent agents. Account profiles let multiple agents use the same configured plan or key, subject to provider terms and limits. Claude Code can also use providers such as OpenRouter, DeepSeek, Kimi, Qwen, and GLM or connect to local inference. The supported agent list should not be read as feature parity across runtimes: the recent Codex-specific additions illustrate that integrations evolve separately.
The shared task list supports delegation and reviewer assignment before closure, with configurable human approvals for work that requires a decision. 5dive trace shows a task’s history; 5dive reflex log records routine decisions such as routing. Scheduled loops can be scored and their instruction changes reviewed before application. Search covers agent notes and the shared wiki. For moves, agents can be exported with full or distilled memory in a .tar.gz, and switching between Claude Code and Codex retains memory and tasks.
Trade-offs & Limitations
Compared with running Claude Code or Codex directly, 5dive is most useful when work needs a durable queue, scheduled handoffs, review, or a trace that survives terminal sessions. Compared with a managed assistant, it gives operators control over the Linux identities, local task state, and model connections, but leaves them responsible for updates, permissions, backups, and any public endpoints. SQLite keeps the coordinator simple to install; fleet status across servers is not evidence that the shared task store is replicated or highly available.
Separate Linux users are a useful permission boundary, not a reason to grant broad privileges. The first agent created by init defaults to admin; verify who actually needs that level, and treat reusable browser sessions and shared provider credentials as privileged access. Test approvals on the specific workflows that need them. MIT permits commercial use of 5dive subject to its notice requirements, but model subscriptions, third-party plugins, and connected services carry their own terms.
Hardware & Deployment Guide
The native setup targets Ubuntu 22.04 or later, with a signed apt repository offered for Ubuntu and Debian. Review install.sh before running it as root, or use apt and run 5dive-setup after install and upgrade. Then run sudo 5dive init. For a Docker trial or a Mac mini host, use docker/compose.yaml and initialize inside the 5dive container. No 5dive account is required; cloud inference still needs your own subscription or API key. As an alternative, 5dive config local-only on pairs with local inference through Ollama, LM Studio, or vLLM.
The 1 GB starting point is useful for evaluating the core, not for sizing local inference or browser-heavy deployments. Budget separately for agent concurrency, Chrome sessions, and the selected model. The v0.148.0 release added Codex per-task token counts and support for plugin hooks and skills; v0.149.0 added per-edit local memory history and restoration. v0.150.0 added single-file transfer of individual apps between servers and subscription-limit alerts, useful when moving deployments or operating several agents against a shared plan.
5dive trace..tar.gz with full or distilled memory.@5dive/mcp locally with npx, or connect a cloud assistant over token-authenticated HTTPS.sandboxed, standard, and admin profiles help separate duties; the first agent created by init defaults to admin.local-only with local inference through Ollama, LM Studio, or vLLM.A small team that already runs Claude Code or Codex and wants scheduled CI triage, research briefs, or content drafts to flow through a shared queue with review history, while keeping control of the host and model credentials.
You only need an interactive coding assistant, want a service with no server maintenance, or require verified high availability and replicated task state before teams can depend on it.
Quick Start & Installation
curl -fsSL https://install.5dive.ai | sudo bash sudo 5dive init
Comparison vs. Top Agents & Frameworks Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| 5dive ★ | 141 | +6 | Shell | MIT | Bash and systemd keep self-hosted agent teams working from a shared task queue |
| nanobot | 50.5k | +157 | Python | MIT | A self-hosted Python gateway for personal AI across web, terminal and chat. |
| dify | 162.4k | +370 | Python | — | Visual workflow and RAG workspace for building and serving LLM apps |
| lobehub | 86.4k | +237 | TypeScript | — | A self-hostable agent workspace for team tasks, shared context, and MCP tools |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/5dive-ai/5dive.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about 5dive
What does 5dive run itself, and how does an external assistant connect?
Is a 1 GB server enough, and when do I need a GPU?
Can a company self-host 5dive and share a model subscription across agents?
local-only with local inference rather than assuming that self-hosting alone keeps prompts local.When is 5dive a better fit than running Claude Code or Codex directly?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy