Spacebot
A multi-threaded agent harness built to run teams, communities, and companies.
- Source repo
- spacedriveapp/spacebot
- Stars
- ★ 2.4k
- Last updated
- 2mo ago
- FARS reviewed
- Nov 26, 2026
- License
- NOASSERTION
- Primary language
- Rust
- FA score
- 53/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformOpenAI API · Claude APIClaude Code (Partial support)
- Cost
- Free tier plus a paid hosted plan
- Setup effort
- High · needs real infrastructure
- You'll need
- Typical use
- Running a Discord community of hundreds where the agent holds concurrent conversations in channels and threads and remembers each member.
- Not a fit if
- Users wanting a one-command pip install running in minutes
- Orgs needing config and interfaces stable across minor versions
- Teams unwilling to let autonomous processes run shell commands
- Website
- spacebot.sh ↗ set on GitHub
- Maintenance
- Commits in the last 6 monthslast commit 2026-09-25
- Source review
- 53/100 · Major gaps
What does this agent do, and when should you use it?
Spacebot is a self-hosted agent harness written in Rust, organized around four process types: channels hold the user-facing conversation and never block, branches fork the channel context to think, workers execute real work, and a programmatic compactor summarizes context before the channel fills. Delegation is the only path for work to happen — channels have no shell, filesystem, or memory search, so they always stay available. State lives in embedded databases: a typed, graph-connected memory store in SQLite and LanceDB, append-only Chronicle checkpoints for history, and a task state machine with goals for autonomous runs. Native adapters cover Discord, Slack, Telegram, Twitch, Signal, Mattermost, Email, and Webchat, with per-channel permissions and support for any OpenAI- or Anthropic-compatible endpoint, including local Ollama models.
A user message reaches a channel process, which branches to recall memories and decide what to do; the branch may spawn a worker, returns a conclusion, and the channel replies. Workers start as full forks of the delegating channel's context and can use shell, file tools, a headless browser via Chromiumoxide/CDP, an OpenCode coding session, Brave web search, and external MCP servers over stdio or streamable HTTP. When a channel's context approaches its threshold, the Compactor spins off a compaction worker that produces a rolling summary or append-only chronicle checkpoints, so the channel is never interrupted. Tasks carry execution plans, dependencies, and markdown specs; the autonomy channel is woken by typed events (schedules, webhooks, approvals, idle) and its proposed tasks land in pending_approval. Four-level model routing picks models per call, and security layers include an encrypted secret store, output scrubbing, bubblewrap or macOS sandbox-exec containment, and SSRF protection.
- Running a Discord community of hundreds where the agent holds concurrent conversations in channels and threads and remembers each member.
- A Slack workspace with parallel workstreams, where one engineer needs a deep coding session while another wants a quick answer.
- Self-hosting an agent on your own infrastructure with your own API keys or a local Ollama model instead of a SaaS harness.
- Turning recurring chores into cron jobs — for example, checking an inbox every 30 minutes with one buffered delivery per run.
- Letting the agent work through approved tasks unattended while only surfacing decisions in its home channel.
- Hosting several agents on one instance — a community bot, a dev assistant, a research agent — each with its own identity and permissions.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
cargo install cross --locked
- Environment variables
ANTHROPIC_API_KEY- Runtime
- Rust 1.85+ · Node.js 22+
- Install notes cover
- Docker
How do you install or deploy this agent?
Requires Rust 1.85+ via rustup and an LLM API key from any supported provider, or Anthropic OAuth.
git clone https://github.com/spacedriveapp/spacebot
cd spacebot
cargo build --releaseOptionally build the embedded OpenCode UI (needs Node 22+ and bun); without it, OpenCode workers still run and the Workers tab shows a transcript view:
./scripts/build-opencode-embed.shCross-compile for aarch64 from an x86_64 host:
cargo install cross --locked
just build-aarch64How do you use this agent?
The binary creates all databases and directories on first run.
spacebot # start as background daemon
spacebot start --foreground # run in the foreground
spacebot status # show pid and uptime
spacebot stop # graceful shutdownAuthenticate (Anthropic OAuth takes priority over a static ANTHROPIC_API_KEY):
spacebot auth login # OAuth via Claude Pro/Max
spacebot auth login --console # OAuth via API Console
spacebot auth statusInstall skills from the registry:
spacebot skill add vercel-labs/agent-skills
spacebot skill listThen connect Discord, Slack, Telegram, or another platform in the web UI and configure the agent. A hosted one-click deploy on spacebot.sh and a Docker image are also documented.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
What are this agent's strengths and limitations?
- Channels are deliberately stripped of shell and filesystem tools, so they can accept the next message while a worker is still running instead of queuing or steering.
- Chronicle mode replaces lossy rolling summaries with append-only checkpoints that can be listed, opened, and expanded back to raw transcript — practical for sessions running weeks.
- Genuine multi-tenancy: known humans map to identity anchor memories, permissions are per-guild, per-channel, and per-DM, and several agents can share one instance.
- Provider-agnostic: any OpenAI- or Anthropic-compatible endpoint works, including Ollama; one binary with embedded databases and no external services.
- Autonomy has an approval gate: tasks the autonomy channel creates wait in pending_approval, and there is no idle loop spending tokens.
- The project is in beta and config plus interfaces still move between minor versions; upgrades need CHANGELOG review.
- Building from source needs a Rust toolchain, and a working deployment involves model keys, platform credentials, and an encryption master key — setup is not short.
- Autonomous processes can run arbitrary shell commands, so safety depends on kernel-level containment via bubblewrap or sandbox-exec and needs operational attention.
- OpenCode as the coding-worker backend and gateways such as Kilo Gateway or the hosted spacebot.sh add external service dependencies.
- The FSL-1.1-ALv2 license converts to Apache 2.0 only after two years, which some organizations must review before adoption.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Spacebot This agent | 53 · Major gaps | CLIFreemium | ★ 2.4k | 2mo ago | Rust | OpenAI API · Claude API |
| GoClaw Multi-Tenant Agent Gateway | 67 · Some gaps | Self-hosted serviceFree + model costs | ★ 3.7k | 6d ago | Go | Codex · OpenAI API · Claude API |
| Moltis Personal Agent Server | 58 · Major gaps | Self-hosted serviceFree + model costs | ★ 3k | 1mo ago | Rust | Codex · Claude Code |
| n8n-claw | 51 · Major gaps | Self-hosted serviceFree + model costs | ★ 565 | 3mo ago | Shell | ChatGPT · Claude Code · OpenAI API · Claude API |
How does FollowAgents rate this agent?
Why each dimension lost points
least_privilege: README and AGENTS.md assign tools per process type (channel has no shell/filesystem, branch has memory tools, worker has shell/file), and sandbox.md describes OS-level bwrap/sandbox-exec containment — real evidence of privilege layering, but whether the sandbox is on by default and the passthrough exposure are not fully closed in the sample, so 2. user_confirmation: goals-as-authority.md and README stress pending_approval defaults and mandatory human confirmation for terminal and blast-radius actions; however the same doc admits goal_create is not yet wired to the channel, so parts of the confirmation path are design rather than shipped, deduct 1. data_flow_transparency: README claims local-first, no phone-home, state in an owned directory, and the secret-store design separates system vs tool credentials; but there is no complete inventory of outbound data flows (LLM providers, MCP, webhooks), deduct 1. sensitive_data_handling: sandbox-hardening.md details env_clear, --clearenv, output scrubbing, AES-256-GCM with Argon2id, OS keychain — strong evidence; but the same doc admits the current implementation leaks API keys via printenv and that send_file can read any absolute path, deduct 1. dependency_security: AGENTS.md lists Rig 0.30.0, sqlx, LanceDB, redb, but the sample has no lockfile and no audit/vulnerability-scanning statement, so known-vulnerability status is unverifiable, 1. external_effects: workers can run arbitrary shell, browser, OpenCode, MCP — a large external-effect surface; sandbox and approvals exist, but default config and passthrough fallback boundaries are incomplete in the sample, 1. rollback: immutable-migration rule, task state machine, chronicle checkpoints exist, but there is no described rollback for already-executed external actions (messages sent, pushes, deploys), 1. source_attribution: README cites skills.sh, OpenCode, Brave, but the repo's own attribution of upstream code/skills and license provenance is thin, and license metadata is NOASSERTION, 1.
self_consistency: README, AGENTS.md and lib.rs broadly agree on process types (Channel/Branch/Worker/Compactor/Cortex), but README says 'four process types' while AGENTS.md and lib.rs list five (including Cortex) — a cross-document inconsistency, deduct 1. dependency_availability: dependencies are public crates and external services (OpenAI/Anthropic-compatible endpoints, Ollama, bubblewrap, sandbox-exec), but the sample provides no lockfile, version-pinning policy or offline-availability notes, 1. failure_messages: main.rs has extensive tracing::warn/error with context, route_outbound has a 30s timeout returning explicit error strings, cron has a circuit breaker — good evidence; but no user-facing error presentation layer is shown, 2.
audience_and_scenarios: README explicitly targets teams, communities, multi-user and solo users with concrete Discord/Slack/Telegram scenarios — strong, 3. capability_boundaries: AGENTS.md enumerates tools and non-goals per process, boundaries are clear; but goals-as-authority.md admits goal_create is unwired and skill-writing is still design, so some boundaries are goals not current state, deduct 1. trigger_precision: skill description fields, cron expressions, typed wakes and message coalescing have explicit trigger semantics; but reflection thresholds remain design docs, 2. environment_fit: supports Linux/macOS sandboxing, Nix flake, Docker, Tauri desktop — broad fit; but Windows sandboxing and some platform support are unstated, 2.
information_architecture: README is well-structured (problem, architecture, features, security, deployment), AGENTS.md has a module map, docs/design-docs are categorized — 2. install_notes: README has a Quick Start anchor but that section is truncated in the sample; only spacebot.sh one-click deploy and skill add commands are visible, self-hosted install steps are incomplete, 1. naming_stability: types and modules are consistently named (ProcessType, ChannelId, WorkerId), but README and AGENTS.md disagree on process count, 2. examples_and_faq: a few command examples and flow diagrams, but no FAQ and no complete config example, 1. known_limitations: design-docs honestly admit string filtering is ineffective, sandbox hot-reload is broken, goal_create is unwired — honest at the design-doc level; but the user-facing README does not consolidate known limitations, 1. license: README badge says FSL-1.1-ALv2 but metadata is NOASSERTION and no LICENSE text is in the sample, 1. versioning_changelog: no CHANGELOG and no versioning policy in the sample, 0. maintenance_responsibility: Discord, docs site and DeepWiki exist, but publisher identity is unverified and no maintainer/security-disclosure channel is stated, 1.
output_usability: README describes capabilities concretely (memory types, task execution plans, messaging adapters, model routing) and is usable for selection; but it lacks directly reusable config samples and API examples, 2. marginal_value: multi-threaded agent harness, chronicle checkpoints and per-process tool isolation are genuinely differentiated; but some core capabilities (goal authority, skill self-authoring) are still design-stage, 2. cost_benefit: README stresses no idle token burn, four-level model routing for cost, and token-usage tracking design; but token-usage-tracking.md states the dashboard currently shows dummy data, so cost-benefit evidence is thin, 1.
claim_traceability: most README claims map to AGENTS.md, lib.rs or design-docs, but strong claims like 'fifty people simultaneously' and 'kernel-enforced' lack verifiable benchmarks or test evidence, 1. cross_source_corroboration: the process model is corroborated across README/AGENTS.md/lib.rs and sandboxing across README/sandbox.md/sandbox-hardening.md; but security claims are in tension with design docs admitting current leaks, 1. fact_inference_separation: design-docs separate 'current state' from 'design' (goals-as-authority.md labels current state), but README states some design-stage capabilities in the present tense, mixing fact and plan, 1.
- Publisher identity is unverified, license metadata is NOASSERTION and no LICENSE text is in the sample; confirm FSL-1.1-ALv2 terms and commercial restrictions before adoption.
- Design docs admit the current implementation leaks env vars (printenv can read API keys) and that send_file can read any absolute path; verify whether the target revision has fixed these.
- Workers can run arbitrary shell, browser and MCP tools by default, a large external-effect surface; confirm the sandbox is on by default and the passthrough fallback performs env sanitization.
- README states some design-stage capabilities (goal authority, skill self-authoring, token-usage dashboard) in the present tense; do not treat them as shipped features when selecting.
- The sample has no lockfile or dependency-audit statement, so known-vulnerability status cannot be assessed; run your own dependency scan before self-hosting.
FAQ
Do I need network access and a paid model account?
How are multiple users and multiple agents kept apart?
Can the agent act without my approval?
Which chat platforms and model providers are supported?
What infrastructure does it need?
Is Spacebot open source?
Is Spacebot safe to use?
Is Spacebot still maintained?
Who makes Spacebot?
What is Spacebot's official website?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.