zeroclaw README

README проекта с github.com/zeroclaw-labs/zeroclaw. Одним файлом markdown: README.md.

ZeroClaw

🦀 ZeroClaw — Personal AI Assistant

You own the agent. You own the data. You own the machine it runs on.

Build Status Latest release License Rust Edition 2024 Contributors Discord

Website · Docs · Philosophy · Quick start · Architecture · Discord


ZeroClaw is an agent runtime — a single Rust binary you configure and run. It talks to LLM providers (Anthropic, OpenAI, Ollama, and ~20 others), reaches the world through 30+ channels (Discord, Telegram, Matrix, email, voice, webhooks, your own CLI), and acts through tools (shell, browser, HTTP, hardware, custom MCP servers). Everything runs on your machine, with your keys, in your workspace.

Read the Philosophy for the four opinions that shape it.

Install

curl -fsSL https://raw.githubusercontent.com/zeroclaw-labs/zeroclaw/master/install.sh | sh
"${CARGO_HOME:-$HOME/.cargo}/bin/zeroclaw" quickstart

Use the Rust-free prebuilt PowerShell path in the Windows setup guide. It installs the current release, updates PATH, and runs Quickstart.

For the guided Unix installer, source builds, app and feature selection, and PATH behavior, compare the installation paths.

Run ./install.sh --help for the complete Unix installer flag reference.

Working on the docs? The translated documentation catalogues live in a git submodule (docs/book/po). The Rust build does not need it, but building or syncing the docs does. Clone with it, or add it to an existing clone:

git clone --recurse-submodules https://github.com/zeroclaw-labs/zeroclaw.git
git submodule update --init docs/book/po   # existing clone

Platform-specific notes: Linux · macOS · Windows · FreeBSD · NixOS · Docker

Quick start

zeroclaw quickstart               # one-shot setup: pick a provider, write a working config
zeroclaw agent -a <alias>         # interactive chat using the [agents.<alias>] entry
zeroclaw service install          # register as systemd/launchctl/Windows Service
zeroclaw service start            # run it always-on in the background

Full walkthrough: Quick start — or skip the safety gates with YOLO mode for dev boxes.

What ZeroClaw does

Configuration

One TOML file at ~/.zeroclaw/config.toml. Pointers:

A V3 config has at minimum four section headers (<type>.<alias> shaped) — a provider entry, an agent that references it, and a risk profile the agent gates against. A hand-written file should also start with schema_version = 4, the current schema version. See Provider Configuration → Minimal working example for the canonical four-section form with inline type/alias commentary.

For standard OpenAI Codex subscription auth, Quickstart can write the provider entry for you:

zeroclaw auth login --model-provider openai-codex --import ~/.codex/auth.json  # if already signed in with Codex CLI
zeroclaw quickstart --model-provider openai-codex --model gpt-5.4

The provider entry uses the canonical OpenAI shape; the alias below is an example:

[providers.models.openai.coding]   # type = openai; alias = coding (you choose)
model = "gpt-5.4"
wire_api = "responses"
requires_openai_auth = true

…and point your agent at it with model_provider = "openai.<alias>".

Notes:

Architecture

┌──────────────────────────────────────────────────────────────┐
│            channels       gateway        ACP                 │
│          (30+ adapters)   (REST/WS)    (JSON-RPC)            │
│                        ↓                                     │
│                   ZeroClaw runtime                           │
│         ┌──────────┬──────────┬──────────┐                   │
│         │  agent   │ security │   SOP    │                   │
│         │   loop   │  policy  │  engine  │                   │
│         └──────────┴──────────┴──────────┘                   │
│              ↓          ↓           ↓                        │
│          providers    tools      memory                      │
│         (Anthropic,  (shell,    (SQLite,                     │
│          OpenAI,     browser,    embeddings)                 │
│          Ollama,     HTTP,                                   │
│          ~20 more)   hardware)                               │
└──────────────────────────────────────────────────────────────┘

Full detail with Mermaid diagrams: Architecture overview · Request lifecycle · Crates.

Contributing

Start with how to contribute. Larger changes go through the RFC process. Real-time chat lives on Discord (the best way to reach the team); durable work tracking is on GitHub issues.

Good places to start:

AI-assisted PRs are welcome; see Contribution culture (RFC #5615) for the co-authorship norms.

Security

Do not file public issues for security vulnerabilities. Email [email protected]. See SECURITY.md for the full policy.

Official repository & impersonation notice

This is the only official ZeroClaw repository:

https://github.com/zeroclaw-labs/zeroclaw

Any other repository, organization, domain, or package claiming to be "ZeroClaw" or implying affiliation with ZeroClaw Labs is unauthorized and not affiliated with this project.

License

Dual-licensed: MIT OR Apache 2.0. You may choose either. Contributors automatically grant rights under both — see CLA. The ZeroClaw name and logo are trademarks of ZeroClaw Labs.

Sponsors

Thanks to Blacksmith for sponsoring the CI infrastructure that builds and tests ZeroClaw.

CI powered by Blacksmith

Credits

Built and maintained by the community — original creator @theonlyhennygod; project lead @JordanTheJet. Full maintainer list in Communication.

Thanks to the communities that incubated early work: Harvard University, MIT, Sundai Club, and every contributor pushing it forward.

Star History Chart

ZeroClaw contributors

zeroclaw (zeroclaw-labs/zeroclaw)

Ищем в базе…

Что это такое?ZeroClaw — это среда выполнения персонального ИИ-ассистента: один исполняемый файл на Rust, который вы настраиваете и запускаете сами. Он работает с провайдерами LLM, слушает десятки каналов и действует через инструменты: shell, браузер и HTTP.
Это приложение или среда выполнения, которую я настраиваю сам?Это не облачное приложение, а исполняемый файл среды агента, который вы развёртываете и настраиваете через TOML-файл, самостоятельно подключая провайдеров, каналы и инструменты.
Как это запустить?В Unix запустите скрипт install.sh (install.sh --help покажет все флаги); в Windows используйте готовый путь через PowerShell из руководства по установке для Windows, который устанавливает релиз, обновляет PATH и запускает Quickstart.
Для каких провайдеров LLM нужна учётная запись?Он работает с Anthropic, OpenAI, локальным Ollama или примерно с 20 другими провайдерами (включая любой эндпоинт, совместимый с OpenAI), которые настраиваются в блоке [providers.models.*] в config.toml.
В чём подвох с конфигурационным файлом?Рабочая конфигурация требует как минимум четырёх заголовков секций TOML (запись провайдера, агент, который на неё ссылается, и профиль рисков, с которым он сверяется); если потоковый режим у провайдера не работает, ZeroClaw молча повторяет запрос без потоковой передачи.
Какие операционные системы поддерживаются?Для Linux, macOS, Windows, FreeBSD, NixOS и Docker есть отдельные заметки по установке.
Где на самом деле хранятся мои данные и ключи?Всё работает на вашей машине с вашими API-ключами и рабочим пространством; ничего не проходит через сервис вендора.
Что не даёт ему выполнять опасные команды на моей машине?По умолчанию автономность работает в контролируемом режиме: операции среднего риска требуют подтверждения, а операции высокого риска блокируются. Это обеспечивают границы рабочего пространства, политика команд и песочницы на уровне ОС (Landlock, Bubblewrap, Seatbelt, Docker). Существует режим YOLO, который отключает эти проверки на доверенных машинах для разработки.
Может ли оно управлять физическим оборудованием, а не только общаться в чате?Да — через трейт Peripheral оно может управлять GPIO, I2C, SPI и USB на таких устройствах, как Raspberry Pi, STM32, Arduino и ESP32.
Можно ли подключить его к моей IDE?Да, через ACP (Agent Client Protocol) — интеграцию по JSON-RPC 2.0 поверх stdio для редакторов и IDE.
Для чего нужен движок SOP?Он запускает стандартные операционные процедуры (SOP), которые срабатывают по событиям — от MQTT, вебхука, cron или событий аппаратных периферийных устройств — с точками подтверждения и запусками с возможностью возобновления, позволяя агенту выполнять многошаговые автоматизированные сценарии.
Какие есть похожие проекты?brigade, picoclaw, opensquilla, LangBot, openfang, Raven, qwen-code, gitagent
В каких он темах?os, ml, assistant, freebsd, agentic, discord, email, raspberry-pi, telegram, openclaw, hardware, bsd
Автор
zeroclaw-labs
Размер
331.6 MB
Звёзды
33.7K
Возраст
9 мес
Коммиты · 90 дней