open source · TypeScript · runs on Claude or GPT
Agents, run like processes.
KernelAgent is a small operating system for AI agents. You give it a task. It splits the work into processes, schedules them, lets them act only through checked system calls, runs their code in a sandbox, and writes every step to a log you can replay.
Read the sourceYour chats and what your agents remember are saved to your account, on any device. Your API key stays in your browser.
Use it for
Helper agents look at each side, then one writes the verdict.
“Compare Supabase and Firebase for a small app, with a table.”
Plans, reports, and tables come back as files you open right next to the chat.
“Write a 2-week SQL study plan to plan.md.”
A planner splits the work, helpers take the parts, and you see every step.
“Plan my portfolio site as tasks with time estimates.”
Each chat remembers what you told it, on any device you sign in from.
“Remember I'm applying for backend roles.”
How to start
- 1Create an account
Email and password, right at the top of this page.
- 2Add your API key
From Anthropic or OpenAI. It stays in your browser.
- 3Describe a task
Watch the agents work, then open what they made.

A job is a small file.
Each entry is a process with a role, a goal, and what it waits on. The planner runs first. Both researchers start the moment it exits, side by side. The reviewer waits for both. When you type into the chat, the same thing happens with one process.
{
"name": "hello-dag",
"processes": [
{ "id": "plan", "role": "planner",
"goal": "Break the task into two parts", "priority": 10 },
{ "id": "left", "role": "researcher",
"goal": "Research part one", "dependsOn": ["plan"] },
{ "id": "right", "role": "researcher",
"goal": "Research part two", "dependsOn": ["plan"] },
{ "id": "review", "role": "reviewer",
"goal": "Combine and review", "dependsOn": ["left", "right"] }
]
}Nothing happens without a syscall.
The model never touches a file or a shell directly. It asks the kernel, and the kernel checks the request against the permissions that process was given. In the run above, the reviewer tried to start a helper with more rights than it had. The call came back DENIED, and the log says so.
| call | needs | does |
|---|---|---|
| FS_READ | FS_READ | Read a file in the sandbox |
| FS_WRITE | FS_WRITE | Write a file in the sandbox |
| EXEC | EXEC | Run a shell command in the sandbox |
| SPAWN | SPAWN | Start a child, never with more rights than the parent |
| SEND | SEND | Put a message in another process's mailbox |
| RECEIVE | RECEIVE | Take a message, or block until one arrives |
| REMEMBER | MEMORY | Save a note to the chat's shared memory |
| RECALL | MEMORY | Search that memory |
| SLEEP | none | Yield for a while |
| CHECKPOINT | none | Snapshot the process so a retry can resume |
| EXIT | none | Finish with a result |
Every step is written down.
State changes, model calls, and syscalls go into an append-only table. The database refuses edits and deletes. This is the actual log of an agent asked to write a program that prints the first fifteen primes:
3 pid 101 STATE_CHANGE NEW -> READY (SUBMITTED)5 pid 101 STATE_CHANGE READY -> RUNNING (DISPATCH)6 pid 101 LLM_CALL mock-llm in=819 out=987 pid 101 SYSCALL FS_WRITE /primes.py ok9 pid 101 SYSCALL EXEC python3 primes.py > output/ ok11 pid 101 CHECKPOINT note="primes.py written and executed"14 pid 101 SYSCALL FS_READ /output/primes.txt ok17 pid 101 PROCESS_EXIT result="2 3 5 7 11 13 17 19 23 29 31 37 41 43 47"18 pid 101 STATE_CHANGE RUNNING -> TERMINATED (EXIT)19 pid 101 ARTIFACT primes.py (223 B)
Because the log is complete, the console can rewind any job to any point and show exactly what the model saw and said at that moment.

Bring your own key.
Agents run on an API key from Anthropic or OpenAI. Add one or both, then give the same task to Claude and GPT and compare the steps, the tokens, and the bill.
The key stays in your browser. The server holds it in memory while your job runs and never writes it down. A Claude.ai or ChatGPT subscription will not work here, because neither lets other apps run models on it.
Your account keeps the rest: every chat, what your agents saved to memory along the way, and your job history. Sign in on another device and it is all there.
What it does not do yet.
- Agents on this site cannot run shell commands. The built-in sandbox is a temp folder, not a security boundary, so commands stay off unless the server uses the E2B sandbox.
- If the server restarts, running agents fail instead of resuming from their last checkpoint.
- There is a NET permission but no syscall that uses it yet, so agents cannot fetch web pages.
- Connecting tools like GitHub or Google Drive through MCP is planned, not built.
Give it a task and watch it work. create an account →