Always awake.Never unsupervised.
Terminal coding agents vanish when you close the lid. ka agent is the living resident daemon that stays on your machine: holding git-backed memory, running schedules, and reaching you on Telegram, Matrix, Slack, or Discord while supervising unmodified Ka engines on demand.
A day with a resident daemon
Switch the clock to see what you touch and what stays underneath.
$ cargo test --workspace
Decide this card. Silence on expiry denies automatically.
Good morning. Three items ready for 07:30:
Calendar (0 tokens): 10:00 Architecture review, 15:30 Release cut.
Reminder: 14:00 Send Q4 invoice (created Tuesday from terminal).
Overnight cron: --if gate caught 1 failing test in ka-agent-store. Patch drafted, waiting for /y.
Quiet hours (22:00 to 07:00) held scheduled prompts until morning. No tokens spent overnight while nothing changed.
- uses Rust stable on Linux and macOS
+ - prefers concise release notes with breaking changes first
<!-- id: mem_1a2b; source: candidate; target: preferences -->
1. Verified per-trigger bearer secret and deduplicated X-Event-ID: evt_92a1.
2. Regex filter matched conclusion=failure. Preflight gate ran in a scratch readonly worker with zero personal memory and returned [RUN].
3. Submitted into the trigger's own pinned lineage session without touching your live chat.
Scheduled and webhook turns compile machine facts only (environment.md, conventions.md). Personal memory stays sealed.
Underneath in ka-agent daemon
Anatomy of a living agent
One mind, supervised hands.
Instead of bloating a coding tool into a background server, ka agent splits the soul cleanly. Egyptian mythology gives the boundary its names:
The resident daemon. Holds identity, git-backed memory, schedules, and six surfaces. Moves between your phone and your desk while laptops sleep.
The unmodified coding engine. Spawned per session in an isolated HOME with a security overlay, reaped when idle, and never given daemon code.
The living union: persistent memory and presence bound to supervised engines, acting in the world only under your explicit approvals.
Daemon capabilities return to the engine as kagent__* MCP tools under the same grants and audit chain.
check-ka-deps.sh enforces the seam.Read architecture contractsTrust, memory, and reach
Engineered to stay on without asking for blind trust.
Every claim below is live in the repository today: fail-closed approvals, shadow-git rewind, git-backed Markdown memory, zero-token schedules, and team isolation.
In ask mode, bash execution raises a TTL card on every surface. Silence denies. Allowing it snapshots the workspace first so /rewind can undo it.
audit: approval.decide + checkpoint.saved
Forwarded via KaPort
prompt · answer · abort · set_mode · set_model · set_name · set_effort · steer · undo_file · compact
Never reachable from channels
shell · set_feature · set_sandbox · save_api_key · save_settings · engine-side "always"
$ ka-agent memory log
a83e1f memory: accept mem_1a2b (preferences.md)
9c4d02 memory: forget mem_0e11 (facts.md)
4b12e0 memory: accept mem_0d9a (conventions.md)
Nothing enters stable memory without your act. Model proposals wait as diffs in /memory review, /memory undo reverts the last commit, and /new private wipes incognito sessions with SQLite secure_delete.
01 · Surfaces and voice
Six surfaces, one stream
Inline terminal client with Tab completion and live cards; Telegram with streaming drafts, voice transcription, and file inbox; Matrix; Slack and Discord; plus a loopback web panel at 127.0.0.1:8480.
02 · Time and autonomy
Quiet until something changes
Natural-language /remind and /cron with zero-token --if gates, 0-token ICS calendar digests, webhook ingress with preflight triage, /plan verify loops, and opt-in read-only scout.
03 · Solo to 15-person team
One binary, real hygiene
Team edition (v0.14.0) adds argon2 accounts, roles, per-group model policies, and Notion, Dropbox, or git knowledge bases. Linux plugins run ed25519-signed inside per-call bubblewrap sandboxes. service install, nightly backups, and doctor --bundle ship built in.
Wake your daemon
Up and answering in three minutes.
Prebuilt binaries for Linux, macOS, and Windows x86_64. Nothing is written until you confirm in the wizard.
- 01 · Drop the binary
Installs
ka-agentto~/.local/binwith pinned Ka engine crates. - 02 · Live key check and pairing
Verifies your model key live, detects your timezone, and pairs Telegram or Matrix via one-time code.
- 03 · Background service + first reply
Installs systemd, launchd, or Task Scheduler and verifies a real first turn.
$ curl -fsSL https://ka-agent.com/install.sh | sh
$ ka-agent # guided first-run wizard
$ ka-agent dashboard # loopback control panel (127.0.0.1:8480)
Switching from Hermes, OpenClaw, Claude, or Codex?
Imported memories arrive as reviewable candidates, never silently trusted.
ka-agent import claude --dry-runInstaller knobs: KA_AGENT_INSTALL_DIR, KA_AGENT_NO_SETUP=1, KA_AGENT_INSTALL_FROM. Full installation guide.
Release ledger
Past the MVP, before 1.0.
Currently v0.14.5 in active development. CI builds and tests Linux and macOS, and cuts signed Windows x86_64 zips (plugins stay Linux-only).
Shipped today
- Durable SQLite queue (v19), single-flight turns, backoff supervisor, idle worker reap
- Expiring approvals, deny-on-expiry, durable allow-rules, shadow-git /rewind, __guard
- Telegram, Matrix, Slack, Discord, inline terminal TUI, loopback web control panel
- Git-backed Markdown memory (6 KB budget), /memory review & undo, /history FTS5, /new private
- Natural-language /remind and /cron, zero-token --if gates, 0-token ICS digest, webhooks + preflight
- Team edition (v0.14.0): users, roles, groups, Notion/Dropbox/git KBs, Linux bubblewrap plugins
Upcoming (v3 catalog)
- Event-driven /watch checkers that only speak when state changes
- Memory retrieval beyond the 6 KB compiled budget
- Native vision inbound, voice out (TTS), and context transparency
- More first-party connectors (RSS, calendar sources, filesystem roots)