Skip to content

Rnix Reference Manual

This manual is the authoritative technical reference for Rnix, intended for developers who write Agents/Skills using Rnix or debug issues. All signatures, parameters, return values, paths, and protocols in this document precisely match the current code implementation.

For an introduction to Rnix's design philosophy and core concepts, see the Core Concepts documentation. For quick installation and first-run guidance, see the Quick Start Guide.


Sections

#SectionDescription
1Syscall ReferenceAll 45 kernel syscalls — ProcessManager, ContextManager, FileSystem, Debugger, IPC, Signal, Supervisor
2VFS Path SpecificationDevice paths, VFSFile interface, FD allocation, /dev/llm, /dev/fs, /dev/shell, /proc
3Agent & Skill Manifestsagent.yaml, SKILL.md format, progressive loading, field definitions
4CLI Command ReferenceAll CLI commands — spawn, ps, kill, strace, gdb, dashboard, compose, intent, skill, serve
5IPC ArchitectureDaemon lifecycle, NDJSON protocol, method enum, streaming, connection reuse
6Error HandlingErrCode enum, SyscallError, VFSError, DriverError, ContextError, basic types
7Process ModelState machine, transitions, ExitStatus, resource release, signal definitions

Quick Reference

Process Lifecycle

Created ──Start()──→ Running ──Terminate()──→ Zombie ──Reap()──→ Dead

VFS Device Paths

PathPurpose
/dev/llm/claudeClaude Code CLI
/dev/llm/cursorCursor CLI
/dev/llm/<provider>OpenAI-compatible API
/dev/fsHost filesystem
/dev/shellShell execution
/proc/{pid}/Process runtime info

Common CLI Commands

bash
rnix -i "intent"                  # Run an agent
rnix -i "intent" --agent=name     # Run with named agent
rnix ps                           # List processes
rnix strace <pid>                 # Trace syscalls
rnix gdb <pid>                    # Interactive debugger
rnix top                          # Real-time monitor

Released under the MIT License.