Repository avatar
AI Tools
v0.6.0
active

kernl

io.github.fastslack/kernl

Self-hosted agent teams and one MCP endpoint for your tasks, mail, calendar, contacts and finance.

Documentation

Kernl

Kernl

Agent teams that do your work — on your own machine.

Kernl is a self-hosted server that hands any LLM your real data — tasks, mail, calendar, finance, contacts — and runs teams of agents that act on it. No account. With a local model, nothing leaves the box.

GitHub stars Latest release License MCP native Self-hosted kernl MCP server – quality and maintenance score on Glama

kernl MCP server – quality and maintenance score on Glama

Install · Watch them work · Why Kernl · MCP integration · Website · Discussions

🎬 Watch them work

Kernl's 3D agent building: an isometric floor plan of fourteen offices with agent avatars at their desks, meeting rooms, a reception, free lots and a warehouse with loading docks

A real instance. 84 agents across fourteen offices, plus a warehouse. Not a mockup and not a render — that is the /agents-flow view of a running Kernl, and the one-liner below gets you to it.


⚡ Install in one line

curl -fsSL https://raw.githubusercontent.com/fastslack/kernl/stable/install.sh | sh

Debian/Ubuntu, Fedora/RHEL and macOS. The same command installs and updates — it reads the newest release and picks the build for your machine. On Windows, take the .msi from the latest release. Coming from 0.5.2 on Windows, install 0.6.0 that way this once — the update button in 0.5.2 can't do it. Your data stays where it is.

→ Dashboard at http://localhost:3086 · MCP endpoint at http://localhost:3086/mcp

Nothing to sign up for and no host paths to set. First run walks you through four steps, and one of them is connecting an AI — NVIDIA is free by default, or pick from eleven others, including local models through Ollama or LM Studio if you'd rather nothing left the machine at all. Chat and agents stay off until you connect one; the rest of the dashboard works either way.

Prefer Docker? (the full stack in containers)
git clone https://github.com/fastslack/kernl.git
cd kernl
docker compose up -d --build

# Kernl generates an API token on first boot. Grab it:
docker compose exec kernel cat /app/data/.kernel-auth-token

Paste that token once into the dashboard's login screen and you're in — it's kept in your browser and reused for every request. To pin your own instead, set KERNEL_AUTH_TOKEN (openssl rand -hex 32) in .env before the first up. Key-free web search comes bundled in this path; the graph brain is built into the kernel on every path.

To let the Filesystem Commander browse a folder of your machine, and to run claude_code agents on your Claude Code login, set KERNL_FS_ROOT in .env and add the host overlay — then name the same files on every later compose command:

docker compose -f docker-compose.yml -f docker-compose.host.yml up -d

Already running Kernl in Docker? Update with scripts/kernl.sh update (it pulls, builds while the old kernel keeps serving, and recreates with the offices drained). 0.6.0 updates its database on first start; back up first, as always. Coming from 0.4.x, that start also moves your graph from Neo4j to the built-in one, live — leave Neo4j running until the log says Graph upgrade: caught up with what reached Neo4j during the copy, or set KERNL_KEEP_NEO4J=1 first to stay on Neo4j (for Graph Data Science). Details in the changelog.

🆕 New in 0.6.0

  • Users, roles and reach. Give someone their own token and a role, module by module, deny by default — and hold them to some projects or offices. Kernl goes from yours to your team's. Your token stays the super admin.
  • A time machine for your AI's memory. Scroll through thousands of moments, jump between the important ones, and see every fact that was true at that point and what changed since.
  • Personal-data markers. Turn on PII_MARKERS and emails, phones, cards, IBANs and IPs reach the model as [EMAIL_1], then come back filled in.
  • Agents that finish properly. A done check they can't argue with, long runs that compact into a handoff instead of resending a growing history, and one screen for everything they learned.
  • A lighter 3D office — a fifth of the draw calls, so it runs smoothly on a laptop.

Full list in the changelog.

Your AI is brilliant — and amnesiac.

Every conversation starts from zero. Your LLM can't see your tasks, read your inbox, check your budget, or remember what you told it yesterday. And the cloud "AI assistants" that promise to fix that? They want your entire life uploaded to their servers.

Kernl fixes both.

What is Kernl?

Kernl is a self-hosted server that plugs your real life into any LLM through the Model Context Protocol (MCP) — tasks, contacts, email, finance, calendar, notes, health and more, behind one endpoint that Claude, Cursor or any MCP client can reach.

Then it goes past a data bridge: Kernl runs agents — autonomous teams (it calls them offices) that work in loops, call your tools, and finish jobs while you're away.

Kernl and your data live on your machine. The only thing that goes out is what the agents send to the LLM you pick, and with a local model (Ollama, LM Studio) nothing does.

For the depth, once you want a number: 103 tools live on a fresh install, rising past 290 as you enable more of the 71 bundled modules.

WORKS WITH
Claude · Cursor · OpenAI · NVIDIA · Gemini · Ollama · any MCP client

💬 Talk to your life

Point your AI at Kernl and ask it things it could never do before:

💸 "Did rent clear, and how much did I spend on food this month?" — reads your finance module.

📥 "Triage my inbox and draft replies to anything urgent." — reads your email, writes the drafts.

✅ "What's overdue, and what's due this week?" — straight from your real tasks + calendar.

🤖 "Spin up the dev office and clear the next three backlog items." — launches an agent team that works on its own.

Real data. Real actions. On your machine — not in someone else's cloud.

🔥 Why Kernl

🔒 Private by defaultSelf-hosted. Your tasks, email and finances never touch someone else's cloud.
🧠 Real memoryA built-in graph brain (Relate, embedded — no server to run) links every module and shares what your agents learn, so your AI finally remembers.
🤖 Agents that actNot a chatbot — autonomous offices that work in loops and use your tools.
🔌 Any LLM, any clientNVIDIA (free), Gemini, Groq, OpenRouter, Anthropic, OpenAI, DeepSeek, Grok, MiniMax, Claude Code, or a local model via Ollama or LM Studio. Any MCP client connects.
🧩 Endlessly extensibleEverything is a module. Ship your own as a portable .kernl package.
📊 103 tools installed, 71 modules bundledOne surface for your whole life — not fifteen disconnected apps. Enable everything and you pass 290 tools.

⚔️ Kernl vs. the usual options

Cloud AI assistantsA single MCP server"Second brain" appsKernl
Your data stays on your machine❌✅⚠️✅
Your real life — email, finance, tasks…partialone thing❌71 modules
Agents that act, not just chatlimited❌❌✅
Works with any LLM & MCP client❌✅❌✅
Yours to extend & fork❌⚠️❌✅

🧩 What's inside

Your life, addressable by your AI — tasks & projects, contacts/CRM, reminders, email (IMAP/SMTP), finance & budgets, calendar, notes, goals, health & training, shopping, travel, documents… 71 modules, every one exposed as MCP tools.

A fleet of agents — cooperating agents with chains, schedules and their own workspaces. Package a whole team as an installable .kernl office, and watch them work in a live 3D office view.

Pluggable everything

  • LLM providers — 12 built in, connected from Settings → AI; keys stored encrypted.
  • Sandbox drivers — run agent code in Docker, CubeSandbox, or your own driver.
  • Channels — WhatsApp, Telegram, Slack, email, Mattermost and webchat on one notification bus.

Graph intelligence — a built-in graph (Relate, in-process Cypher) for memory and shared agent learning; optional Neo4j + GDS for heavy graph analytics.

🔌 MCP integration

Kernl speaks MCP over stdio and Streamable HTTP at the same time, so every client reaches the same tools.

Claude Desktop / Cursor (stdio)
{
  "mcpServers": {
    "kernl": {
      "command": "bun",
      "args": ["run", "bin/mcp-server.ts"],
      "cwd": "/absolute/path/to/kernl/services/kernel"
    }
  }
}
Any HTTP client

The MCP HTTP transport is at http://localhost:3086/mcp by default (the official Streamable HTTP spec).

Compact tool list (small context windows)

By default a client sees every tool, well over a hundred. Set KERNL_MCP_TOOLS=compact in the kernel's environment and it sees three instead: kernel_tool_search finds a tool by what it does, kernel_tool_describe returns its arguments, and kernel_tool_call runs it. Every tool stays reachable and goes through the same permissions, budget and audit as a direct call; only the list the client loads up front gets shorter.

🛠️ Build your own

An extension is a folder (or a packaged .kernl) with a manifest.json plus any of: a backend module (new MCP tools + HTTP routes), agents & offices, agent-scoped skills, a theme, a channel, or a sandbox driver.

Keep operator-specific material — named agents, your WhatsApp, regional scrapers — private under services/kernel/assets/personal-agents/ (gitignored, ideal for a private submodule).

Full guide → docs/architecture/extension-points.md

📦 More install options

Full stack — host-coupled mounts

WhatsApp no longer needs this: it is part of the standard docker compose up -d, which already runs the mtwRequest Rust server and the WhatsApp bridge, and the Linux, macOS and Windows packages bundle the same pair and run them as supervised children — no compose file needed there either. Either way, you link your phone from Settings → Channels → WhatsApp (QR or phone code) with nothing to configure. docker-compose.full.yml is only for building those two services from local source and for host-coupled mounts (so on-host claude_code agents can edit your sibling repos). Needs a few host paths in .env:

git clone https://github.com/fastslack/kernl.git
cd kernl
cp .env.example .env
$EDITOR .env   # set HOST_HOME, HOST_KERNEL_ROOT, HOST_PROJECTS_ROOT,
               # KERNEL_REQUEST_SRC, KERNEL_WHATSAPP_BRIDGE_SRC
docker compose -f docker-compose.full.yml up -d --build
Local dev — no Docker
git clone https://github.com/fastslack/kernl.git
cd kernl
bun install --cwd services/kernel   # requires bun >= 1.3
cp .env.example .env
bun run dev                # stdio MCP + HTTP router (delega a services/kernel)

Requirements

For the one-line install: none. The package ships its own runtime — no Bun, no Node, no Docker. A 64-bit Debian/Ubuntu, Fedora/RHEL or macOS machine is the whole list.

Only if you build from source or run the container stack instead:

  • Bun ≥ 1.3 (primary runtime) or Node ≥ 20 — source installs.
  • Docker + Compose — the container paths, and the only route to the full stack.
  • Neo4j 5.x + GDS (optional — the graph is built in. Add it with docker-compose.neo4j.yml for Graph Data Science analytics; budget 1–2 GB of RAM).

Configuration

Everything is environment-driven, and the install above needs none of it — Kernl boots with working defaults either way. Copy .env.example to .env only when you want to override something.

Two secrets are generated and persisted on first boot if you don't set them:

VariableIf unset
KERNEL_AUTH_TOKENA random token is generated and stored as data/.kernel-auth-token (mode 600). The API requires it; the desktop launchers hand it to the browser they open, so you only type it when signing in from a second browser or another device. Print it with kernl token (Linux), /Applications/Kernl.app/Contents/MacOS/kernl token (macOS), or type %LOCALAPPDATA%\Kernl\data\.kernel-auth-token (Windows). KERNEL_ALLOW_UNAUTH=1 runs open, but only ever on 127.0.0.1 — see API_DOCS for why that is still a worse trade than it looks.
KERNEL_ENCRYPTION_KEYA random 32-byte key is generated and stored as data/.kernel-encryption-key. Back this file up — without it, encrypted secrets in the database are unrecoverable.

The host-path variables (HOST_HOME, HOST_KERNEL_ROOT, HOST_PROJECTS_ROOT) belong to the full stack in docker-compose.full.yml, not the default one. Everything else — LLM keys, Neo4j creds, feature toggles — is documented inline in .env.example.

Scripts

CommandWhat it does
bun run devStart the MCP server + HTTP router
bun run wizardInteractive setup wizard
bun run doctorSelf-diagnostics (DB, providers, channels)
bun testRun the test suite
bun run buildBundle to services/kernel/dist/
bun run reloadRebuild + restart the kernel container

Known limitations

Worth knowing before you commit your life to it. None of these are secret — we'd rather you read them here than discover them at an awkward moment.

  • Single user. One kernel, one person. There is user and password infrastructure inside, but no per-user data isolation: everyone who has the API token sees everything. Give each person their own instance; don't share one across a team. (docs/MULTI_USER.md)
  • Updates are checked, never automatic. Settings → About asks GitHub for the newest release (cached six hours) and can install it for you. Nothing happens unattended, and what "install" means depends on how you installed: an MSI install is upgraded by Windows' own installer (one UAC prompt, the progress bar you expect, Add/Remove Programs kept in step); a portable Windows or Linux copy is swapped in place, keeping the old one until the new one is running; and the rest update through their own channel — dnf/apt for the rpm and deb, docker compose pull for the stack, git pull from source. On macOS the button refuses while the build is unsigned, because Gatekeeper would not open the result: until the certificate is bought, that download is a manual one.
  • Installers are unsigned. macOS needs right-click → Open the first time, Windows needs "More info → Run anyway". The signing pipeline is wired but the certificates aren't bought yet. Docker and source installs are unaffected.
  • Back it up yourself, and check the exit code. backup.sh is solid and verifies its own output, but nothing runs it for you. See docs/DEPLOYMENT.md.
  • Neo4j is hungry, and optional. The built-in graph needs no server; the optional Neo4j (docker-compose.neo4j.yml) wants ~1–2 GB of RAM on its own.
  • No telemetry, which cuts both ways. Nothing phones home, so nothing tells us when your install breaks. Bug reports are the only signal we get.

Documentation

⭐ Contributing & community

Kernl is Apache-2.0 and built in the open. Star the repo if it's useful, open an issue for bugs and ideas, and say hi in Discussions. Contributions welcome — see docs/CONTRIBUTING.md.

License & credits

Created and maintained by Matias Aguirre — a Matware project. See AUTHORS and NOTICE.

Released under the Apache License 2.0 — fork it, build commercial plugins on top, redistribute, modify. © 2026 Matware.

OCI
ghcr.io/fastslack/kernl:0.6.0
Install Command
docker pull ghcr.io/fastslack/kernl:0.6.0:undefined