freshcrate
Skin:/
Home > Security > carapace

carapace

A secure, stable Rust alternative to openclaw/moltbot/clawdbot

Why this rank:Strong adoptionRelease freshnessHealthy release cadence

Description

A secure, stable Rust alternative to openclaw/moltbot/clawdbot

README

carapace

Stable release available. Carapace is ready for real use on its verified stable paths; partial and in-progress areas are called out explicitly in the docs.

A security-focused, open-source personal AI assistant. Runs on your machine. Works through Signal, Telegram, Discord, Slack, webhooks, and console. Supports Anthropic, OpenAI, Codex, Ollama, Gemini, Vertex AI, Bedrock, and Venice AI. Extensible via WASM plugins and guarded filesystem tools. Written in Rust.

A hardened alternative to openclaw / clawdbot — for when your assistant needs a hard shell.

Features

  • Multi-provider LLM engine — Anthropic, OpenAI API key, Codex subscription login, Ollama, Google Gemini, Vertex AI, AWS Bedrock, and Venice AI with streaming, tool dispatch, and cancellation
  • Multi-channel messaging — Signal, Telegram, Discord, Slack, console, and webhooks
  • Channel activity framework — per-channel typing indicators and append-time read receipts, with Signal as the first activity-enabled built-in channel
  • Tooling and local workspace access — built-in agent tools, guarded filesystem tools for explicit roots, and channel-specific tool schemas
  • Signed plugin runtime — plugins are signature-verified and run with strict permissions and resource limits
  • Secure defaults — local-first binding, locked-down auth behavior, encrypted secret storage, guarded tool execution, root-scoped filesystem access, and OS-level subprocess sandboxing for protected paths
  • Infrastructure — TLS, mTLS, mDNS discovery, config hot-reload, Tailscale integration, Prometheus metrics, audit logging. Multi-node clustering is partially implemented

Expectations vs OpenClaw

Carapace focuses on a hardened core first. If you're coming from openclaw, the following are planned but not yet on par:

  • Broader channel coverage (e.g., WhatsApp/iMessage/Teams/Matrix/WebChat)
  • Companion apps / nodes (macOS + iOS/Android clients)
  • Browser control and live canvas/A2UI experiences
  • Skills/onboarding UX and multi-agent routing
  • Automatic model/provider failover

Security

Carapace is designed to address the major vulnerability classes reported in the January 2026 openclaw security disclosures:

Threat Carapace defense
Unauthenticated access Denied by default when credentials configured; CSRF-protected control endpoints
Exposed network ports Localhost-only binding (127.0.0.1)
Plaintext secret storage OS credential store (Keychain / Keyutils / Credential Manager) with AES-256-GCM fallback
Skills supply chain Ed25519 signatures + WASM capability sandbox + resource limits
Prompt injection Prompt guard + inbound classifier + exec approval flow + tool policies
No process sandboxing OS-level subprocess sandboxing on macOS/Linux/Windows for sandbox-required paths; unsupported paths fail closed
SSRF / DNS rebinding Private IP blocking + post-resolution validation

See docs/security.md for the full security model. See docs/security-comparison.md for a threat-by-threat comparison with OpenClaw. See docs/feature-status.yaml and docs/feature-evidence.yaml for verified-vs-partial implementation status.

Quick Start

  1. Install cara from the latest release (Linux/macOS/Windows):
  2. Run guided setup:
    cara setup
  3. Start the assistant:
    cara
  4. Verify first-run outcome:
    cara verify --outcome auto --port 18789
  5. Start local interactive chat:
    cara chat

Use /help in chat for REPL commands (/new, /exit, /quit).

If you use cloud models, finish one provider onboarding path before launching: set one provider key (for example ANTHROPIC_API_KEY, OPENAI_API_KEY, GOOGLE_API_KEY, or VENICE_API_KEY), use Codex sign-in through cara setup --provider codex or the Control UI, or use Gemini Google sign-in through cara setup --provider gemini --auth-mode oauth or the Control UI. Codex and Gemini Google sign-in both require CARAPACE_CONFIG_PASSWORD so the stored auth profile stays encrypted at rest. If you are not sure where to start, choose local-chat as your first outcome, start with one provider, and add channels only after cara verify --outcome auto passes. If you want Cara to inspect one local project directory, enable the filesystem block for a single workspace root and start with the guarded local project assistant recipe.

Roadmap

Active and planned work is tracked on GitHub Issues. The feature inventory is the source of truth for what currently ships.

Recently shipped: long-running assistant MVP (durable queue + autonomy verify), cross-platform subprocess sandboxing, guided setup (cara setup), first-run verifier (cara verify), Gemini onboarding (Google sign-in or API key via CLI and Control UI), Codex onboarding (OpenAI subscription login via CLI and Control UI), Vertex AI provider support, per-channel activity features with Signal typing indicators and append-time read receipts, guarded filesystem tools for explicit workspace roots, named execution routes, session encryption at rest, and configuration migration from OpenClaw/OpenCode/Aider/NemoClaw.

Docs

Contributing

If you want to build from source or contribute, start here:

License

Apache-2.0 — see LICENSE.

Release History

VersionChangesUrgencyDate
v0.8.0## Summary - Provider setup and runtime routing now require explicit `provider:model` IDs across config, request bodies, and WebSocket surfaces; bare and slash-form model strings are rejected. - Provider coverage extends to Codex subscription-login, Vertex AI, Bedrock, Venice AI, and the local Claude CLI alongside Anthropic, OpenAI, Gemini, and Ollama. - WebSocket and HTTP configuration/model errors expose public-safe messages and typed error codes while logging operator hints server-High5/1/2026
v0.7.0## Summary - Added encrypted session artifacts at rest, including `.crypto-manifest` recovery metadata, stricter integrity handling, and fail-closed recovery behavior for encrypted session state. - Added named execution routes plus session-level route precedence so requests, sessions, agents, and defaults can target reusable backend definitions instead of repeating raw `provider:model` strings everywhere. - Unified shared OAuth onboarding and auth-profile persistence for Codex and Gemini flows, High4/13/2026
v0.6.0## Summary - Added guided onboarding and Control UI onboarding/status support for more provider paths, including Anthropic setup-token auth profiles, Bedrock validation, and Vertex setup guidance. - Standardized model routing on explicit `provider:model` syntax and expanded Vertex AI support to Anthropic, Meta, Mistral, and Nvidia third-party publishers via `streamRawPredict`. - Added migration/import flows for OpenClaw, OpenCode, Aider, and NemoClaw so existing provider configuration can be broHigh4/6/2026
v0.5.0## Summary - Added a per-channel activity framework for typing indicators and explicit after-response read receipts. - Enabled Signal typing indicators and explicit after-response read receipts behind `channels.*.features.*` policy controls, with bounded ownership, retry, and shutdown semantics. - Refreshed release-facing docs, capability/status inventories, and the Signal smoke playbook to match the shipped channel-activity surface. ## Breaking Changes - None. ## Migration Steps - No manual mMedium3/30/2026
v0.4.1## Summary - Hardened `cara plugins install|update --file` so local managed plugin staging rolls back cleanly on failure and surfaces clearer recovery guidance. - Improved `plugins.status` reporting when plugin loader initialization fails early so managed plugins still appear with per-plugin failure rows. - Tightened release and CI ergonomics with a fixed guarded `nextest` watchdog parser and explicit fast/golden/integration/full test lanes. ## Breaking Changes - None. ## Migration Steps - No Medium3/24/2026
v0.4.0## Summary - Strengthened `cara setup` with structured verification, clearer remediation, and concrete next-step guidance. - Shipped the first stable WASM plugin runtime, including managed plugin activation, runtime reporting, and public plugin development docs. - Standardized the extension surface on `plugins.*` and added `cara plugins` commands for status, install, update, and managed binary inspection. - Refreshed plugin/runtime test coverage and dependency baselines, including current `wasmtMedium3/23/2026
v0.3.0## Summary - Added Codex subscription-login onboarding as a first-class provider path. - Hardened the OpenAI-compatible runtime path and improved compatibility handling. - Fixed two user-facing protocol bugs: Gemini thought-signature replay on newer thinking models and Signal duplicate-field payload parsing. - Refreshed docs and release surfaces to match the current stable line. ## Breaking Changes - None. ## Migration Steps - No manual migration is required for the stable path from `v0.2.x` tLow3/19/2026
v0.2.0## What's Changed * build(deps): bump aws-lc-fips-sys from 0.13.11 to 0.13.12 by @dependabot[bot] in https://github.com/puremachinery/carapace/pull/124 * ci(claude): fix missing review publish by allowing Write by @puremachinery in https://github.com/puremachinery/carapace/pull/126 * test(cli): add scripted interactive setup harness coverage by @puremachinery in https://github.com/puremachinery/carapace/pull/125 * ci(test): root-cause diagnostics for nextest discovery stalls by @puremachinery inLow3/13/2026
v0.1.0## What's Changed * ci: align claude review trigger coverage with taisr by @puremachinery in https://github.com/puremachinery/carapace/pull/108 * chore: make pre-commit rust checks conditional and progress-visible by @puremachinery in https://github.com/puremachinery/carapace/pull/109 * build(deps): bump the github-actions-minor-patch group with 2 updates by @dependabot[bot] in https://github.com/puremachinery/carapace/pull/113 * build(deps): bump the cargo-minor-patch group with 3 updates by @dLow3/3/2026
v0.1.0-preview12## Highlights This release includes everything that landed after `v0.1.0-preview10`. ### Long-running assistant execution - Added a durable objective task queue with crash-safe persistence and startup recovery. - Added operator controls for tasks: cancel, retry, resume, patch, and policy-aware transitions. - Added continuation budgets (attempts, total runtime, per-run timeout, max turns) with enforcement. - Wired `/hooks/wake` and hook-mapping agent actions to real dispatch paths. - Added deteLow2/26/2026
v0.1.0-preview10## What's Changed * Fix setup runtime bridge panic in Telegram credential checks by @puremachinery in https://github.com/puremachinery/carapace/pull/69 * refactor: centralize runtime bridge + call-site regression tests by @puremachinery in https://github.com/puremachinery/carapace/pull/70 * Refactor send-safe runtime boundaries across setup/tools/plugins by @puremachinery in https://github.com/puremachinery/carapace/pull/71 * Improve setup sensitive-input UX across channels by @puremachinery in Low2/23/2026
v0.1.0-preview9## What's Changed * docs: improve user-facing docs clarity and fix command drift by @puremachinery in https://github.com/puremachinery/carapace/pull/60 * docs: polish site/docs cookbook sweep by @puremachinery in https://github.com/puremachinery/carapace/pull/61 * ci: enforce single-review Claude output on PRs by @puremachinery in https://github.com/puremachinery/carapace/pull/62 * fix(security): remediate consolidated review findings (phase 1) by @puremachinery in https://github.com/puremachineLow2/22/2026
v0.1.0-preview8## What's Changed * docs: improve user-facing docs clarity and fix command drift by @puremachinery in https://github.com/puremachinery/carapace/pull/60 * docs: polish site/docs cookbook sweep by @puremachinery in https://github.com/puremachinery/carapace/pull/61 * ci: enforce single-review Claude output on PRs by @puremachinery in https://github.com/puremachinery/carapace/pull/62 * fix(security): remediate consolidated review findings (phase 1) by @puremachinery in https://github.com/puremachineLow2/22/2026
v0.1.0-preview7## What's Changed * docs: clarify latest vs pinned release install links by @puremachinery in https://github.com/puremachinery/carapace/pull/43 * docs: add Windows checksum trust-chain parity by @puremachinery in https://github.com/puremachinery/carapace/pull/44 * docs: add Security and Ops pages to website funnel by @puremachinery in https://github.com/puremachinery/carapace/pull/45 * site: tighten above-the-fold proof claims and breadcrumb flow by @puremachinery in https://github.com/puremachiLow2/19/2026
v0.1.0-preview6## What's Changed * Add Telegram long-polling inbound fallback by @puremachinery in https://github.com/puremachinery/carapace/pull/42 **Full Changelog**: https://github.com/puremachinery/carapace/compare/v0.1.0-preview5...v0.1.0-preview6Low2/17/2026
v0.1.0-preview5## What's Changed * Add outcome verifier command and setup integration by @puremachinery in https://github.com/puremachinery/carapace/pull/41 **Full Changelog**: https://github.com/puremachinery/carapace/compare/v0.1.0-preview4...v0.1.0-preview5Low2/17/2026
v0.1.0-preview4## Highlights - Outcome-driven first-run setup flow: - `cara setup` now guides users to a concrete first outcome (`local-chat`, `discord`, `telegram`, `hooks`). - Improved auth/network prompts, stronger default secret handling, and setup-time credential validation. - Better post-setup guidance and first-run docs alignment. - Website/docs onboarding improvements: - Expanded cookbook walkthroughs and website-first getting-started flow on https://getcara.io. - Clearer docs for setup, chLow2/17/2026
v0.1.0-preview3## v0.1.0-preview3 This preview focuses on subprocess hardening for runtime probes. ### Highlights - Runtime probe subprocesses now execute through sandbox wrappers (hostname, route/ifconfig/ip detection paths). - Tailscale probe and whois subprocess paths are now wrapped with a dedicated Tailscale CLI sandbox profile. - Shared sandbox command builders are now reused in both sync and async subprocess call sites. - Added targeted coverage for bind/discovery/auth/tailscale subprocess wiring pathLow2/16/2026
v0.1.0-preview2## What's Changed * feat: add cara chat REPL with robust run handling by @puremachinery in https://github.com/puremachinery/carapace/pull/5 * refactor: split cron/http/ws orchestration flows by @puremachinery in https://github.com/puremachinery/carapace/pull/6 * ci: run jobs only when relevant categories change by @puremachinery in https://github.com/puremachinery/carapace/pull/9 * site: add v0 landing page and GitHub Pages deploy by @puremachinery in https://github.com/puremachinery/carapace/puLow2/16/2026
v0.1.0-preview1**Full Changelog**: https://github.com/puremachinery/carapace/commits/v0.1.0-preview1 Status (Preview) This project is in preview. Core paths are tested and verified. Expect gaps and sharp edges. Known working: - Setup wizard from clean state - Anthropic LLM provider (via OpenAI-compatible API) - Token auth enforcement - Discord channel (end-to-end: inbound message, agent run, outbound reply) - Health endpoint (/health) - Restart persistence (sessions, cron, config) - WebSocket proLow2/12/2026

Dependencies & License Audit

Loading dependencies...

Similar Packages

orbitOne API for 20+ LLM providers, your databases, and your files — self-hosted, open-source AI gateway with RAG, voice, and guardrails.v2.7.1
ai-notes-apiNo descriptionmaster@2026-06-06
gloamyFrontier self improving AI intern / coworkerv0.1.9
smgEngine-agnostic LLM gateway in Rust. Full OpenAI & Anthropic API compatibility across SGLang, vLLM, TRT-LLM, OpenAI, Gemini & more. Industry-first gRPC pipeline, KV cache-aware routing, chat history, v1.4.1
node9-proxyThe Execution Security Layer for the Agentic Era. Providing deterministic "Sudo" governance and audit logs for autonomous AI agents.v1.29.0

More in Security

clineAutonomous coding agent right in your IDE, capable of creating/editing files, executing commands, using the browser, and more with your permission every step of the way.
E2BOpen-source, secure environment with real-world tools for enterprise-grade agents.
vm0the easiest way to run natural language-described workflows automatically
AgenvoyAgentic framework | Self-improving memory | Pluggable tool extensions | Sandbox execution