Komputer is a durable runtime for stateful WebAssembly programs that captures continuations and journals interactions to enable recovery after failure or movement.

Stars

5

7-day growth

No data

Forks

0

Open issues

0

License

MIT

Last updated

2026-07-30

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It handles agent-brain harnesses without requiring application-level recovery logic or persisted state machines, using operational replay instead of session schema.

Who it is for

  • WebAssembly agent developers
  • resilient AI/ML system builders
  • runtime engineers exploring durable stateful Wasm
  • platform teams needing process migration and recovery

Use cases

  • Orchestrating AI agent brains with conversation, planning, and tool state
  • Migrating live Wasm executors between hosts during inference
  • Recovering stateful Wasm programs after crash via replay
  • Running durable networked Wasm programs with journaled inputs and outputs

Strengths

  • In-flight continuation checkpointing for stateful Wasm
  • Replay recovery for runtimes that cannot expose continuations
  • Journal-before-visibility ordering for clocks, timers, network, and effects
  • Support for explicit checkpointing, relocation, handoff, and host-to-host movement

Considerations

  • Early software with unstable public API
  • Limited to WebAssembly; no native binaries or full POSIX support
  • Does not replace general containers; only works with admitted program shapes

README quick start

Komputer

Komputer is a durable runtime for stateful WebAssembly programs. It captures admitted continuations and journals their interactions so a fresh process can continue after failure or movement; broader Wasm runtimes can recover by replay instead.

The current product focus is agent brains: ordinary async harnesses with conversation, planning, tool, and stream state in memory. The harness does not need an application reducer, recovery callback, or persisted state machine for every await point.

Komputer is early software. Its durable formats and compatibility profiles are versioned, but the public API is not yet stable.

Agent brains

For this use case, the brain is the Wasm harness: its control loop, in-memory state, pending futures, model stream, and tool orchestration. Hands such as sandboxes, MCP servers, model providers, and credentialed services stay outside it and are reached through explicit network or policy gateways. Credentials are never given to the guest.

Komputer's journal is operational recovery history, not an application session schema. A product may still keep a semantic conversation log for context, audit, and brain upgrades; it does not need to encode every internal harness transition there just to survive a process failure.

Komputer is committed to Wasm and does not aim to support native binaries, full POSIX, or act as a general container replacement. See Compatibility for the admitted program shapes and capability limits.

Agent demo

The primary demo runs an ordinary Rust WASI brain with a real streaming model. It relocates the executor during inference and keeps the same WebSocket, provider response, conversation, plan, and local tool state. The guest contains no recovery path or application-level state encoding:

export OPENAI_API_KEY=...
./demos/agent/run.sh

Prerequisites are Rust with the declared Wasm targets, Binaryen's wasm-opt, the S2 CLI with local mode, curl, and Python 3. The key stays in a native policy gateway and is not supplied to the guest, executor, or computer specification. See the demo contract.

For a credential-free smoke test of relocation with a smaller TCP counter guest, run ./demos/relocation/run.sh.

What Komputer supplies

  • In-flight continuation checkpoints for admitted stateful Wasm programs.
  • Replay recovery fo

Description

A durable runtime for stateful WebAssembly programs

Related repositories

Similar projects matched by category, topics, and programming language.

mereyabdenbekuly-ctrl
Featured
mereyabdenbekuly-ctrl GitHub avatar

clodex-ide

Clodex is an open-source, local-first agentic IDE that combines persistent AI tasks, code, terminal, browser, Git, models, memory, and governed execution in one Electron workspace, currently in technical preview.

AI & Machine LearningAI Agents
859
deerwork-ai
Featured
deerwork-ai GitHub avatar

deer-workflow

An open-source Dynamic Workflow runtime that combines deterministic TypeScript orchestration with replaceable Agent runtimes.

AI & Machine LearningLarge Language Models
312
MoonshotAI
Featured
MoonshotAI GitHub avatar

Kimi-K3

Kimi K3 is an open-weight, 2.8T-parameter native multimodal agentic model with a 1M-token context window, designed for frontier coding, knowledge work, and reasoning tasks.

AI & Machine LearningAI Agents
3,348