ShenSeanChen/waku-agent
Waku Waku! Waku Agent is a local-first AI agent harness you actually own, including loop, memory, eval, all in code built to stay legible as it grows.
What it solves
Waku is a local-first personal AI assistant designed to be transparent and owner-controlled. Unlike commercial AI products, it provides a codebase that users can fully read, modify, and own, avoiding the complexity of heavy frameworks while implementing the core pillars of a professional agent: harness, loop, memory, and evaluation.
How it works
The project is built around four main components:
- Harness: Manages gateways for interaction (terminal, dashboard, voice, Telegram, Discord, WhatsApp) and the tools surrounding the loop.
- Loop: A concise Python implementation (approximately 95 lines) that handles the reason-act-repeat cycle.
- Memory: A local SQLite-based system supporting semantic, episodic, and procedural (skills) memory. It uses a "gate" to decide if information should be remembered and a consolidation process to determine what to keep.
- Eval/LLM-Ops: Includes deterministic tests and LLM-as-judge evaluations, a release gate, and tracing for every turn.
It supports multiple LLM providers (Anthropic, OpenAI, Gemini, DeepSeek, etc.) via a simple adapter and can optionally connect to a hosted shared memory service (Waku Memory) to sync data across different agents.
Who it’s for
Developers and AI enthusiasts who want a lightweight, readable codebase to build or study how AI agents work without being buried in framework abstraction.
Highlights
- Local-first: Memory is stored in a single, accessible SQLite file.
- Local Dashboard: A browser-based cockpit to visualize message flow and agent thinking.
- Transparent Loop: The core agent logic is written in plain Python for easy stepping-through.
- Multi-provider support: Works with various hosted models via a single key.
- Built-in Evals: Combines deterministic and LLM-based testing to ensure reliability.
Related
- Project
- Project
- Dispatch
- Project
- Project