← Back to projects

Software project

vtfs

A persistent terminal for agents, exposed as 9P files

CActive

https://github.com/kiljoy001/vtfs

vtfs is a user-level 9P file server for Plan 9 and 9front. It runs a long-lived rc shell and publishes the terminal as files: write to input, read the rendered screen, interrupt through ctl, and poll status.

There is no pty and no per-command exec; the session is the object and survives between requests. p9client.py and an MCP server implement the quiescence loop.

Highlights

  • Idempotent screen snapshots without terminal escape sequences.
  • Token-gated 9P listener for remote sessions.

Current limits

  • The VT parser covers a common subset, not a complete xterm.