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 source

Your chats and what your agents remember are saved to your account, on any device. Your API key stays in your browser.

Use it for

Research and compare

Helper agents look at each side, then one writes the verdict.

“Compare Supabase and Firebase for a small app, with a table.”

Write documents

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.”

Break down a project

A planner splits the work, helpers take the parts, and you see every step.

“Plan my portfolio site as tasks with time estimates.”

Keep your context

Each chat remembers what you told it, on any device you sign in from.

“Remember I'm applying for backend roles.”

How to start

  1. 1
    Create an account

    Email and password, right at the top of this page.

  2. 2
    Add your API key

    From Anthropic or OpenAI. It stays in your browser.

  3. 3
    Describe a task

    Watch the agents work, then open what they made.

The KernelAgent console mid-run: a process table with a planner, two researchers, and a reviewer, next to the live event stream.
A research job mid-run. The planner and both researchers are done. The reviewer is still working.
01 / the job

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"] }
  ]
}
02 / syscalls

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.

callneedsdoes
FS_READFS_READRead a file in the sandbox
FS_WRITEFS_WRITEWrite a file in the sandbox
EXECEXECRun a shell command in the sandbox
SPAWNSPAWNStart a child, never with more rights than the parent
SENDSENDPut a message in another process's mailbox
RECEIVERECEIVETake a message, or block until one arrives
REMEMBERMEMORYSave a note to the chat's shared memory
RECALLMEMORYSearch that memory
SLEEPnoneYield for a while
CHECKPOINTnoneSnapshot the process so a retry can resume
EXITnoneFinish with a result
03 / the log

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=98
7 pid 101 SYSCALL FS_WRITE /primes.py ok
9 pid 101 SYSCALL EXEC python3 primes.py > output/ ok
11 pid 101 CHECKPOINT note="primes.py written and executed"
14 pid 101 SYSCALL FS_READ /output/primes.txt ok
17 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.

The Traces view: a job's event log on the left, the rebuilt kernel state at a chosen sequence number on the right.
Traces. Drag the slider back and the process table on the right is rebuilt from the log up to that event.
04 / your key

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.

05 / limits

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 →