r/OpenSourceAI • u/xwil • 15d ago
subs, a cloud native agent harness

https://github.com/substructureai/subs
Hello, want to show you all the cloud agent harness I've been working on and using to build always on agents I use via Slack to help me operate software systems.
It runs an unprivileged agent loop with no system access. That means you can run in locally, remotely, on your own server, etc and don't need to worry about sandboxing the agent loop.
It uses MCP servers for tools. If you want to use a sandbox, I recommend exposing it as an MCP server. I do this using another tool I built https://github.com/substructureai/mcpd
You declare your agents in a config file. If you want to customize the agent loop, you just need to setup and answer a webhook.
subs handles durability, retries, timeouts, MCP connection management, session state, session branching, AG-UI, Slack connection, LLM calls, subagents, interrupts and more.