ShenSeanChen/waku-agent
Local-first Python assistant with persistent memory and event-driven automation.
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & 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.
~/.waku/state.db.waku/alwayson/ separates durable intake, recurring timers, approval pauses, and outbound delivery from a single run.make eval; LLM-as-judge evaluation, per-turn traces, and a release gate complement them.waku/loop/models.py adapts providers to a common loop; configuration uses WAKU_PROVIDER.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.
You need a turnkey managed rollout, team-wide memory without a hosted dependency, or verified delivery guarantees for business-critical actions.
Quick Start & Installation
pip install waku-agent
waku # talk to your Waku in the terminal
waku dashboard # …or the browser cockpit → localhost:7777Comparison vs. Top Agents & Frameworks Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| waku-agent ★ | 2.4k | +86 | Python | MIT | Local-first Python assistant with persistent memory and event-driven automation. |
| hermes-agent | 268.1k | +1.5k | Python | MIT | Self-hosted Python agent with persistent memory and automation across chat and C |
| lobehub | 86.4k | +237 | TypeScript | — | A self-hostable agent workspace for team tasks, shared context, and MCP tools |
| rocketride-server | 19.9k | +22 | Python | MIT | C++ workflow engine for building and running extensible AI pipelines |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/ShenSeanChen/waku-agent.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about waku-agent
How do I connect Waku to an event source or a shared memory service?
waku serve for Telegram, Slack, GitHub events, or timers. The always-on layer records incoming events before a run, can pause actions for approval, and hands outbound delivery to an outbox. MCP is a separate integration path: the optional hosted Waku Memory integration uses a plugin and a browser sign-in.Does Waku need a GPU, and what determines runtime overhead?
Can I embed Waku in a commercial product or run it for customers?
hosted/ code is under Elastic License 2.0: internal commercial self-hosting is allowed, but offering it to others as a hosted service is restricted. The package also contains OFL-1.1 fonts and separately licensed Waku brand assets, so do not treat the entire distribution as MIT.When should I choose Waku over a managed assistant, OpenClaw, or Hermes?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy