rutis
A plugin runtime for software that iterates on itself — the substrate where agents write, swap and hot-reload their own plugins in Rust, TypeScript, Python and
What is rutis?
A plugin runtime for software that iterates on itself — the substrate where agents write, swap and hot-reload their own plugins in Rust, TypeScript, Python and Go, across processes and machines.
Overview of rutis
What it is
rutis is a plugin runtime for software that iterates on itself. It allows agents and long-running programs to write, swap, and hot-reload their own plugins. The core is written in Rust, and plugins can be written in TypeScript, Python, Go, and Swift, running across processes and machines. The lifecycle model is derived from Cordis and is implemented once in the Rust core, then carried to other languages, processes, and machines.
Key features
- Gated start: nothing starts before its dependencies are ready.
- LIFO cleanup that runs exactly once when a plugin stops.
- Rollback on failure: a failed load rolls back completely.
- Synchronous calls that would deadlock across runtimes are refused.
- Hot-reload:
rutis-host devreloads a plugin when its files change. - Configuration updates live without restarting the host.
rutis-host checklists every plugin's dependencies and provided services, failing on missing services.- Plugins declare the services they need and provide; replacing a provider (even in another language) restarts only the plugins that use it.
Use cases
- When software is itself an agent or is built by agents, it can write a plugin to reach a new API, model, tool, or device, try it, change it, and replace it while the program keeps running.
- From experiment to production: a capability can start as a quick experiment in Python or TypeScript with hot-reload, then be proven in a real host, and finally solidified by rewriting parts in Rust—without changing the plugins that depend on it.
Getting started
Without Rust: bash npx @arcships/rutis-host new weather --lang node cd weather && npm install npx rutis-host dev npx rutis-host check For other languages, use bunx, uvx, or rutis-host with the appropriate --lang flag. In Rust: bash cargo add rutis cargo add tokio --features full See the repository README for full examples and guides.
License and pricing
This project is licensed under the MIT License and is open source.
Based on the project's public README and repository metadata.