Otter
Experimental JS runtime with ability to run 1k+ threads - gi-dellav/otter
About Otter
worker threads — one system thread can manage thousands of engines. Each
Process = one Runtime + Context + mailbox. Never shares JS state.
Scheduler = M worker threads pulling processes off a shared run queue.
Every file on the command line starts as its own process (pids 0..n ); the
runtime exits when all processes (including spawned ones) have finished.
otter can expose a JSON-RPC 2.0 control socket over TCP, letting an external
kill , send , rename , count , and shutdown . Enable it with
Serialize value to JSON and deliver it to pid 's mailbox. Messages to dead pids are dropped silently.
Suspend until a message arrives; resolves with the parsed value. With a timeoutMs it rejects with a TimeoutError if no message arrives in time (a message that races the deadline stays in the mailbox).
Suspend the process for at least ms milliseconds; does not touch the mailbox.
Voluntarily give up the current slice and rejoin the back of the run queue. (Not named yield because that word is reserved inside async-function bodies, which is how top-level-await scripts are parsed.)
Request termination of a live process; returns true if pid is live. Best-effort: the process is reaped at its next scheduling boundary (parked/sleeping processes immediately). Killing an unknown pid returns false .
Rename the current process; visible in listProcesses() / processInfo() .
Discussion
Sign in to join the discussion.
Loading comments…
Tagged
Alternatives to Otter
Tools in the same space, ranked by how they are performing in the directory.
Claude
Claude is a next generation AI assistant built by Anthropic and trained to be safe, accurate, and secure to help you do your best work.
Freemium/Developer ToolsYour Mail Mcp
Self-hosted, read-only MCP server that serves IMAP mail from a local notmuch index over authenticated HTTP - wildsurfer/your-mail-mcp
/Developer Tools- Open source/Developer Tools
Saccade
Closed-loop browser control runtime for AI agents.
/Developer Tools- Open source/Developer Tools
Proqi
A terminal-native prompt composer for power users running multiple coding agents.
/Developer Tools