Your project's memory.
A terminal-native coding assistant that remembers what you decided.
Per-project SQLite memory. Skills you define. Zero context resets.
$ kx init
Detecting project stack...
OK frontend-developer installed.
OK backend-architect installed.
OK rust-expert installed.
$ kx
[claude/claude-sonnet-4-6] 3 skills loaded
> what authentication pattern did we decide on last week?
Based on our session on March 12, you chose JWT with 15-minute
access tokens and refresh via httpOnly cookie. You noted the
tradeoff was cookie-based CSRF risk, which you mitigated
with SameSite=Strict. # kx remembers across sessions
/fact "We use JWT for auth, not sessions"
/fact "Database: PostgreSQL 16 via sqlx, no ORM"
/fact "Deployment target: single binary on Fly.io"
# Rewarding good responses trains future context
/reward last # marks the last response as high-quality
# At next session startup, relevant facts load automatically What makes kx different.
Memory that persists
Facts, decisions, and lessons stored in a local SQLite database. Each project has its own context. Start a session next month and your agent knows what you decided in January. Search past conversations with /search.
Skills you define
SKILL.md files load project-specific context at startup. Commit them to your repo. Every developer on the team gets the same baseline. Compatible with the Agent Skills standard (agentskills.io). Community skills install with one command.
Reward-based learning
Mark responses you found useful with /reward. The agent learns which context and reasoning patterns work for your project and surfaces them first in future sessions.
You own the reasoning
kx does not apply patches automatically. It is a thinking tool. You review, you decide, you apply. The agent advises, you execute. No surprise commits.
11 providers, offline-capable
Claude Code CLI, Anthropic, OpenAI, Gemini, Ollama, OpenRouter, Groq, Mistral, DeepSeek, Fireworks, xAI. Switch with one line in .kx.toml. Run entirely offline with a local Ollama model.
OS-sandboxed by default
Built on Kernex. kx runs inside a Seatbelt (macOS) or Landlock (Linux) profile. The filesystem paths it can touch are OS-enforced, not just configured. Windows is supported experimentally (no sandbox; WSL2 recommended).
Get started in two commands.
cargo install kernex-agent cd your-project && kx init && kx Requires Rust 1.74+. Full documentation on docs.rs. Kernex runtime docs
Also requires Claude Code CLI 2.0+ with a Claude Max subscription. claude.ai/download →