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

- **GitHub URL**: https://github.com/ShenSeanChen/waku-agent
- **Official Docs / Website**: https://waku.one
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: Python
- **License**: MIT
- **Engineering Health**: A+ (96/100 · Maintenance 35/35 · Adoption 21/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v0.1.19 (2026-11-30) — https://github.com/ShenSeanChen/waku-agent/releases
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: Self-Hosted, CLI, API
- **Momentum**: 2,378 ★ total (+7 24h / +86 7d) · 473 forks
- **Topics**: `agent-framework`, `agent-harness`, `ai-agent`, `ai-assistant`, `always-on-agent`, `claude`, `evals`, `llm`, `llmops`, `local-first`, `openai`, `personal-assistant`
- **When to Use**: Best for: Individuals and small engineering teams that want to inspect and modify a self-hosted assistant, retain memory across sessions, and use approvals for scheduled or message-triggered work. Skip if: You need a turnkey managed rollout, team-wide memory without a hosted dependency, or verified delivery guarantees for business-critical actions.

## Overview
```text
### Architecture & Core Mechanics
Waku is a Python 3.11+ end-user assistant built around a roughly 95-line reason–act loop. Terminal, browser dashboard, voice, and messaging gateways reuse that loop rather than implementing separate agents. `waku/loop/models.py` adapts provider interfaces to a common interface for the loop. Local memory lives in `~/.waku/state.db`, a SQLite file shared across launches from different working directories. Retrieval gating controls when to bring memory into a run; consolidation decides what to retain.

The always-on subsystem in `waku/alwayson/` sits outside a single run. An inbox puts events on disk before processing, recurring timers supply scheduled work, approvals can pause a run, and an outbox handles delivery. This separation keeps event intake and delivery separate from model execution and gives operators durable state to inspect. Skills serve as procedural memory and can be exported to Claude Code and Codex. A plugin and MCP sign-in connect to the optional hosted Waku Memory service, which is separate from the local SQLite store.

### Key Capabilities & Differentiators
The assistant uses semantic, episodic, and procedural memory to carry facts, past interactions, and skills across sessions. The dashboard follows a message through the harness, and per-turn traces help diagnose why a run retrieved memory or used a tool. Evaluation combines deterministic checks with LLM-as-judge evaluation and a release gate. That gives maintainers a way to test behavior through both explicit assertions and model judgments rather than relying on a successful demo run.

Anthropic is the default provider; options include OpenAI, Gemini, DeepSeek, MiniMax, Kimi, GLM, OpenRouter, OpenCode Zen, and OpenCode Go. The harness exposes terminal, dashboard, voice, Telegram, Discord, and WhatsApp entry points. The documented `waku serve` path covers Telegram, Slack, GitHub events, and timers; the broader gateway list should not be read as a list of identical always-on integrations. The invite-only hosted Slack preview can respond in threads and read connected Notion, Linear, GitHub, and Gmail data; external changes require approval in that preview.

### Trade-offs & Limitations
Compared with ChatGPT or Claude Desktop, Waku trades a managed experience for control over the loop, memory schema, retrieval, and evaluation. Against OpenClaw or Hermes, its clearest differentiator is a small core loop that is easy to inspect and modify, not demonstrated feature parity. A local SQLite file is straightforward to inspect and back up, but it is not the same as a shared team memory service. Nor does local-first storage imply offline inference: external providers still introduce network dependence and provider-specific cost or rate limits, including on OpenRouter's free models.

Persisted events and approval pauses make the always-on workflow easier to audit, but they do not establish end-to-end exactly-once effects across external APIs. Before enabling actions that modify outside systems, test restart behavior, retries, and approval coverage for the connectors you actually use. The harness code is MIT; `hosted/` is Elastic License 2.0 and restricts offering it as a hosted service to others. Brand assets are separately licensed, and bundled fonts are OFL-1.1.

### Hardware & Deployment Guide
Use Python 3.11+ and `pip install waku-agent`, then run `waku` for the CLI or `waku dashboard` for the browser interface at `localhost:7777`. For source work, clone the repository, create a `uv` environment, install with `uv pip install -e .`, and copy `.env.example` to `.env`. Configure a provider and its credentials for hosted inference. `waku serve` is the long-running entry point for event and timer workloads. To run the offline checks without an API key, install the `.[dev,eval,hosted]` extras and run `make eval`.

External-provider operation requires no local GPU for inference. Size the host for its Python process, SQLite data, enabled connectors, and workload; if using local inference, model choice and concurrency determine the larger memory and compute requirements. Release v0.1.19 adds an Ollama button on the LLM page and refreshes connector sign-ins at the published token endpoint. v0.1.17 fixes GPT-5.6 tool calls on Chat Completions and stops sending Anthropic auth headers to OpenAI-wire endpoints.
```

## Key Capabilities
```text
- Execution: Terminal, dashboard, and messaging gateways share a roughly 95-line Python reason–act loop.
- Memory: A retrieval gate and a consolidation pass govern semantic, episodic, and procedural memory; local state lives at `~/.waku/state.db`.
- Event handling: `waku/alwayson/` separates durable intake, recurring timers, approval pauses, and outbound delivery from a single run.
- Evaluation: Deterministic checks run offline via `make eval`; LLM-as-judge evaluation, per-turn traces, and a release gate complement them.
- Model portability: `waku/loop/models.py` adapts providers to a common loop; configuration uses `WAKU_PROVIDER`.
- Shared memory: The optional Waku Memory plugin uses MCP sign-in to connect to hosted memory shared with other agents.
```

## Quick Start / Clone
```bash
pip install waku-agent
waku                                    # talk to your Waku in the terminal
waku dashboard                          # …or the browser cockpit → localhost:7777
```
