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

- **GitHub URL**: https://github.com/seira-bot/seira
- **Official Docs / Website**: https://seira.bot
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: TypeScript
- **License**: Apache-2.0
- **Engineering Health**: A+ (90/100 · Maintenance 35/35 · Adoption 15/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v0.1.200 (2026-12-03) — https://github.com/seira-bot/seira/releases
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: Docker, Self-Hosted, Local AI
- **Momentum**: 94 ★ total (+4 24h / +54 7d) · 16 forks
- **Topics**: `agent-client-protocol`, `agentic-ai`, `ai-agents`, `ai-assistant`, `android`, `automation`, `claude-code`, `codex`, `computer-use`, `desktop-app`, `electron`, `gemini-cli`
- **When to Use**: Best for: Individuals or small teams that already use multiple agent engines and want persistent roles, shared approvals, and handoffs on a workstation or self-hosted server. Skip if: One native CLI already fits the job, you only need a model-serving endpoint, or you require audited isolation and guaranteed offline operation without validating each engine and integration.

## Overview
```text
### Architecture & Core Mechanics
Seira separates the React and Tailwind client from a TypeScript/Node.js harness that owns the agent processes and binds to 127.0.0.1 in the desktop setup. The client sends typed HTTP commands, receives updates over one Server-Sent Events (SSE) stream, and leaves thread persistence to the harness, which writes NDJSON logs. `server/index.ts` is the API entry point; `server/harness/` holds the bot registry and event bus.

Adapters under `server/drivers/` normalize events from native CLI programs, Agent Client Protocol (ACP) programs, and OpenAI-compatible API engines. `server/drivers/acp/` contains the ACP adapters, and the package manifest includes `@fishaudio/agent-client`. CLI and ACP permission requests go through the permission broker for presentation in the client. This provides a common interface without assuming feature parity across engines; an unknown driver is shown as unavailable without stopping other bots.

### Key Capabilities & Differentiators
Each bot can have its own engine, model, instructions, and working folder. Group chats, handoffs, and parallel work let teams mix Claude Code, Codex, Gemini, or other engines, while the Board and Inbox surface progress and requests for input. Bots can work through the built-in browser, a private desktop, a remote desktop on a user-owned server, or an explicitly authorized host desktop. Schedules, app events, and webhooks can start routines; MCP extends the available tools separately from engine selection.

The v0.1.194 benchmark on a 2-vCPU VPS measured 2.9 seconds to readiness, under 400 MB at idle, and about 0.4 seconds of Seira overhead per chat turn. A separate Docker test measured a 3.6 GB peak with 12 active Claude bots, with the 2-vCPU host saturated from four active bots. Those figures describe the tested setups, not a general concurrency limit or a measure of model inference speed.

### Trade-offs & Limitations
Compared with running Claude Code or Codex directly, Seira earns its place when operators need persistent roles, cross-engine handoffs, and a shared approval queue. A single-engine workflow avoids the extra driver, working-folder, permissions, and update management by staying in the native CLI. Compared with using Ollama directly, Seira adds agent coordination rather than replacing the inference server or reducing the memory a local model needs.

Local-first describes where Seira keeps chats and keys, not where every computation or action happens: hosted models receive prompts, and connected apps and remote desktops extend the trust boundary. Treat approvals as an operator control, not proof of isolation. Start with narrowly scoped workspaces and integrations before granting host desktop access. Packaging also affects capability: Flatpak uses host-installed engines and disables bot control of the host desktop.

### Hardware & Deployment Guide
Use the desktop packages for local operation on Windows, Linux, or macOS. For macOS, the DMG runs bots locally; the Mac App Store companion only connects to a separate Seira host. The headless npm package requires Node.js 24 or later: run `npx @seira-bot/seira setup`, then use `npx @seira-bot/seira serve --tailscale` for a paired server deployment, or choose `--lan`, `--domain`, or `--public-url` to suit the access model.

For containers, `compose.yaml` builds from `./deploy/local` atop `ghcr.io/seira-bot/seira:latest` by default, with Claude Code and Codex as the default engine packages. It persists `/data`, enables an init process, and allocates 512 MB of shared memory for the browser workload. Pick the engine separately from the installation method: an endpoint such as Ollama or llama.cpp can keep inference local, whereas hosted providers need network access. The early v0.1 series is changing quickly: v0.1.199 added a model setting for all bots and fixed hidden-engine behavior in the AI pool; v0.1.200 pinned the Docker CLI source image by digest.
```

## Key Capabilities
```text
- Process boundary: The harness owns agent processes; clients send typed HTTP commands and receive events over one SSE stream.
- Engine adapters: CLI, ACP, and OpenAI-compatible backends share a model picker; an unknown driver is marked unavailable without stopping other bots.
- Team coordination: Per-bot instructions, models, and working folders combine with group chats, handoffs, and a shared task board.
- Execution controls: Approval cards surface shell commands and file edits; computer targets include a built-in browser, a private desktop, and the host desktop.
- Automation: Schedules, app events, or webhooks launch routines; MCP adds tools through a separate integration path.
- Self-hosting: The npm server requires Node.js 24 or later; the Docker Compose build persists /data and defaults to Claude Code and Codex.
```

## Quick Start / Clone
```bash
npx @seira-bot/seira setup              # once: AI access and a default model
npx @seira-bot/seira serve --tailscale  # or --lan, --domain, --public-url
```
