# Repository Briefing: 5dive-ai/5dive
> Source: https://repoforai.com/repo/5dive-ai/5dive (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/5dive-ai/5dive
- **Official Docs / Website**: https://5dive.ai
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: Shell
- **License**: MIT
- **Engineering Health**: A (87/100 · Maintenance 35/35 · Adoption 12/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v0.151.0 (2026-12-03) — https://github.com/5dive-ai/5dive/releases
- **Review Snapshot**: 2026-12-03 (Note: v0.151.0 on 2026-12-03 shipped after this review; verify latest release notes)
- **Deployment / Stack Signals**: Docker, Self-Hosted, CLI, MCP
- **Momentum**: 141 ★ total (+0 24h / +6 7d) · 15 forks
- **Topics**: `claude-code`, `self-hosted`, `ai-agents`, `agent-runtime`, `multi-agent`, `autonomous-agents`, `agent-loops`, `agent-orchestration`, `agent-to-agent`, `ai-company`, `ai-team`, `human-in-the-loop`
- **When to Use**: Best for: 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. Skip if: 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.

## Overview
```text
### Architecture & 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.
```

## Key Capabilities
```text
- Process supervision: systemd manages persistent agents under separate Linux users, and journald collects service logs.
- Work coordination: a shared SQLite-backed queue accepts scheduled and event-driven tasks, supports reviewer assignment, and exposes task history through `5dive trace`.
- Runtime portability: switch an agent between Claude Code and Codex while retaining memory and tasks, or package an agent as a `.tar.gz` with full or distilled memory.
- Assistant integration: run `@5dive/mcp` locally with `npx`, or connect a cloud assistant over token-authenticated HTTPS.
- Access controls: `sandboxed`, `standard`, and `admin` profiles help separate duties; the first agent created by `init` defaults to `admin`.
- Inference choices: bring provider credentials or pair `local-only` with local inference through Ollama, LM Studio, or vLLM.
```

## Quick Start / Clone
```bash
curl -fsSL https://install.5dive.ai | sudo bash
sudo 5dive init
```
