# Waku Agent

> A local-first personal AI assistant whose loop, memory and evals are small enough to read

- Category: Agents & Automation / Assistants & Chatbots
- Language: Python
- Licence: MIT
- Repository: https://github.com/ShenSeanChen/waku-agent
- Website: https://www.waku.one
- Canonical page: https://ai-tldr.dev/tools/waku-agent/
- Updated: 2026-09-13

## In short

Waku Agent (the repository is waku-agent, the assistant is called Waku) is a local-first personal AI assistant written in Python by Sean Chen. It sits in the Assistants & Chatbots category of the Agents & Automation tools and is open-source, written in Python and licensed MIT. To get started: install the package.

## Overview

Waku Agent (the repository is waku-agent, the assistant is called Waku) is a local-first personal AI assistant written in Python by Sean Chen. Its stated goal is to show the four pillars behind a serious agent — harness, loop, memory and eval/LLM-ops — in code small enough to read in an afternoon, with no framework hiding the moving parts. The agent loop itself is about 95 lines of plain Python, and the README positions the project as a codebase you own rather than a product you use.

Memory is the centrepiece. Waku keeps semantic facts, episodic history and procedural memory (skills) in one SQLite file, `.waku/state.db`, which you can open and inspect. A retrieval gate decides whether a turn needs memory at all, and a consolidation pass decides what to keep. Around the loop, the harness exposes several gateways — terminal, a local browser dashboard, voice with a "waku waku" wake word, Telegram, Discord and WhatsApp — all talking to the same assistant, plus tools such as calendar, web search and MCP connectors.

Evaluation is built in: deterministic tests and LLM-as-judge evals run side by side, and a release gate requires the deterministic tier to pass and the judge score to clear a threshold. The model layer is one dialect behind a roughly 60-line adapter, with Anthropic as the default and OpenAI, Gemini, DeepSeek, MiniMax, Kimi, GLM, OpenRouter, OpenCode Zen and OpenCode Go selectable via `WAKU_PROVIDER`. The `waku/` package that PyPI ships is MIT-licensed; the repository's `hosted/` directory is under the Elastic License 2.0, and the Waku name and brand assets are not MIT. The same author runs Waku Memory at waku.one, a hosted memory that can be shared with Claude Code, Codex and other agents.

## What it does

- A ~95-line agent loop in plain Python (reason, act, repeat, with two ways to stop), plus optional graph workflows built on a small readable engine
- Three memory types — semantic facts, episodic history and procedural skills — stored in a single local SQLite file, with a retrieval gate and a consolidation pass
- A local dashboard at localhost:7777 with tabs for Overview, Gateway, Loop, Graph, Memory, Tools, Data (a read-only SQL console over state.db) and Ops, where each message can be watched flowing through the harness
- Gateways for the terminal, dashboard, voice (wake word or push-to-talk), Telegram, Discord and WhatsApp, all sharing one assistant and one memory
- Deterministic and LLM-as-judge evals with a release gate (`make eval`, `make eval-judge`, `make gate`) and per-turn traces viewable in Phoenix
- Provider choice across Anthropic, OpenAI, Gemini, DeepSeek, MiniMax, Kimi, GLM, OpenRouter, OpenCode Zen and OpenCode Go, plus skill install/export to Claude Code and Codex

## Getting started

The project's getting-started guide takes you from install to an assistant that remembers you, with a check at the end of each step. Everything runs on your own machine; you need one model provider key.

1. Install the package

   Install from PyPI to just run it. To read or change the code, clone the repository and install it in editable mode with uv instead; `uv run waku …` then works without activating the venv.

```bash
pip install waku-agent

# or, from a checkout
git clone https://github.com/ShenSeanChen/waku-agent && cd waku-agent
uv venv && uv pip install -e .
```

2. Add one provider key

   Copy the example environment file, set `WAKU_PROVIDER` and paste that provider's key (Anthropic is the default). The key stays in your local .env. Running `waku connections` lists every integration and its health.

```bash
cp .env.example .env
waku connections
```

3. Talk to it in the terminal or the dashboard

   `waku` chats in the terminal; `waku dashboard` starts a small local web server at http://localhost:7777 that runs the same assistant. Send a message from the chat dock and the Overview diagram shows it flowing through the gate, loop, tools and memory.

```bash
waku
waku dashboard
```

4. Watch it remember

   Say "Remember that Alex prefers morning meetings.", quit and restart, then say "Book a catch-up with Alex on Friday." It books 9am, and Memory ▸ Semantic in the dashboard lists the fact, stored in `.waku/state.db`.

5. Optionally share memory with other agents

   Install the MCP extra and connect Waku Memory, the author's hosted memory, so facts saved in Claude Code or Codex can be recalled here and the other way round. Your browser opens once to sign in.

```bash
pip install 'waku-agent[mcp]'
waku connect waku-memory
waku skill export --to claude,codex
```

## When to use it

- Run a personal assistant on your own laptop that remembers preferences, manages a calendar and answers from Telegram, Discord, WhatsApp or voice
- Learn how an agent harness works end to end — loop, retrieval gate, memory consolidation, evals — by reading and stepping through a small codebase
- Use it as a starting point for your own agent, swapping model providers, memory backends, gateways or skills without fighting a framework
- Practise LLM-ops on a real agent: deterministic and judge evals, a release gate, traces and model shoot-outs

## Version history

- 2026-09-13 v0.1.8: Clarifies that the Waku brand assets are not MIT-licensed, rebuilds dashboard cards, buttons and menus on a shared UI module, and makes `waku connect google` and `/connect google` available.
