Let Claude Code, Cursor, and local agents use credentials and carry context without ever seeing plaintext secrets.
Client-side encrypted vault (Argon2id + AES-256-GCM), sovereign SQLite memory, and native MCP bridge.
Open source Β· Self-hostable Β· Local-first Β· Zero plaintext exposure
AGPL-3.0-or-later Β· Architecture Β· kylrix.space Β· API Docs
Kylrix establishes true zero-knowledge secret access and persistent memory for AI agents (Claude Code, Cursor, AutoGPT, CLI, VS Code, REST API, WebMCP, Discord/Telegram).
An agent key looks like kyl_aet_<8 hex>_<32 b64url>.etk_<64 hex>. Only the part left of the dot ever reaches the server (it is hashed and used as the bearer credential); etk_β¦ is a 32-byte unlock key that stays on your machine.
- Client-Side DEK Wrapping: In Settings β Developers β Create Token, enable "Agent key with access to private items". The browser asks you to unlock your vault (MEK/Passkey PRF), generates the
etkSecret, and re-wraps the DEKs of your chosen vault items and 2FA codes under an HKDF-SHA256 wrapping key (AES-256-GCM, per-entry AAD bound to the row id). - Envelope Storage: The server stores only the wrapped-DEK envelope in
apikey.metadata.aetβ it never possesses the MEK or theetkSecret, and the envelope is hidden from all public token listings. - Two Unlock Modes:
- Client-side (default, zero-knowledge): the CLI/VS Code fetch the envelope via
GET /api/v1/token/enclaveplus sealed ciphertext via?sealed=1reads, and unlock locally. - Server-assisted (opt-in): send the full key in the
X-Kylrix-Agent-Tokenheader over https and the server decrypts granted rows in-memory for one request. Convenient, but no longer zero-knowledge β use only if you trust the server.
- Client-side (default, zero-knowledge): the CLI/VS Code fetch the envelope via
- RAM Hygiene: Unlock keys live as zeroable
Uint8Arraybuffers that are cleared after use. Decrypted field values are JS strings and cannot be wiped β references are dropped, which is an honest platform limitation.
export KYLRIX_AGENT_KEY="kyl_aet_a1b2c3d4_XXXX.etk_7f8a9b..."
kylrix agents connect --claude-code # or --cursor, or --check to verify onlyInject granted secrets transiently into a child process without leaving traces on disk:
kylrix exec --token kyl_aet_... -- "npm start" # a specific item: kylrix exec <id> -- npm startcurl -X GET "https://www.kylrix.space/api/v1/vault/secret-id" \
-H "X-Kylrix-Agent-Token: kyl_aet_..."| Surface | Action / Command |
|---|---|
| π Web App | Launch kylrix.space |
| π» CLI Tool | npm i -g @kylrix/cli |
| π MCP Server | npx -y @smithery/cli install kylrix/kylrix |
| β‘ Local MCP | kylrix mcp |
| π‘ REST API | API Reference (docs/api.md) |
| π§© VS Code Extension | Install VS Code Extension |
| πΎ Discord Bot | Connect Discord |
| Connect Telegram | |
| π¬ Slack Bot | Coming Soon |
| π WebMCP | WebMCP Documentation |
| π³ Docker | docker run -d -p 5003:3000 --name kylrix ghcr.io/kylrix/kylrix:latest |
Kylrix Pro is free forever for anyone with a merged pull request in the past 30 days.
- Automatic Activation: Sign in with GitHub. Merged PRs unlock Pro automatically.
- Perks: Free Pro tier, high-priority triage on
TODO.md/ROADMAP.md, and Contributor badge (/u/username). - Start Here: Read
CONTRIBUTING.mdand pick an issue or open a PR.
Install once for sovereign offline local-first execution (embedded SQLite):
npm install -g @kylrix/cliStart local stdio MCP server for Cursor / Claude Code / Windsurf:
kylrix mcpUnlock zero-knowledge vault & inject secrets safely:
kylrix vault unlockkylrix vault get <secret-id> --pure > .envAuto-connect IDE agents:
kylrix connectkylrix connect --client claude --directory ./my-projectCreate sovereign local memory (embedded SQLite):
kylrix ideas create "Auth refactor design" --content "Zero-cloud agent memory"kylrix goals create "Ship agent v1" --target 100 --unit %Local agent execution session:
kylrix agents start "Audit auth flow" --prompt "Inspect login handlers"Sync local offline SQLite silo to cloud or self-hosted server:
kylrix synckylrix login --url http://localhost:5003π See
docs/cli.mdfor full CLI docs.
Connect IDE agents (Cursor, Claude Code, Windsurf) in 1 click:
npx -y @smithery/cli install kylrix/kylrixOr install skills directly:
npx skills add kylrix/kylrix --skill mcp --skill api --skill agentsExpose workspace memory directly to browser-driven AI agents (ChatGPT, Chrome AI) via navigator.modelContext:
await navigator.modelContext.executeTool('kylrix_create_idea', { title: 'Agent Idea', content: 'In-browser modelContext', tags: ['webmcp'] });Wiring reference: docs/webmcp.md
Run a sovereign Kylrix instance on port :5003:
docker run -d -p 5003:3000 --name kylrix ghcr.io/kylrix/kylrix:latestOr via Docker Compose:
git clone https://github.com/Kylrix/kylrix.git && cd kylrixdocker compose up -dπ See
SELFHOST.mdfor multi-container compose & backups.
Clone & setup:
git clone https://github.com/Kylrix/kylrix.gitcd kylrixcp env.sample .envInstall Ota execution contract:
curl -fsSL https://dist.ota.run/install.sh | shRun development server:
ota doctorota up --workflow devRun lint, tests & verification:
ota up --workflow verify| Integration | Link |
|---|---|
| VS Code Extension | packages/vscode Β· Visual Studio Marketplace |
| Telegram Bot | Connect Telegram |
| Discord Bot | Connect Discord |
| Slack Bot | Coming Soon |
| WebMCP | docs/webmcp.md |
| REST API | docs/api.md |
| Module | Purpose |
|---|---|
| Ideas | Persistent memory, tags, linked objects |
| Goals | Milestones, target metrics & focus tracking |
| Forms | Structured data schemas & inputs |
| Vault | Client-encrypted zero-knowledge credentials (Argon2id + AES-256-GCM) |
| Workspaces | Multi-agent coordination, permissions & collaborator sharing |
| Agent Inbox | Agent logs, messaging & collaborative sessions |
| Tier | Price | Highlights |
|---|---|---|
| Community | Free | 100% offline local SQLite, zero-knowledge vault, local MCP server, unlimited ideas & goals |
| Contributor | Free Pro | Automatically unlocked with any merged PR in the last 30 days |
| Pro | $10/mo | Encrypted cloud sync, cloud vault backup, AI sidekick & agent execution |
| Teams | $50/mo | Multi-agent shared team workspaces, higher rate limits, group channels |
Bug Reports Β· Architecture Β· Trademark