Who it is forA developer building a custom interface, script, or integration that needs to control a Nosis agent programmatically.
The problemExisting Nosis frontends do not fit a custom workflow, and the runtime has to be reachable from another process.
The outcomeA client program that launches the Bridge, sends requests, and receives agent events through the public protocol.
What you need first
- Python 3.11 or newer
- Node.js 22 or newer
- uv installed
- An API key for the default provider, such as OPENAI_KEY
Steps
- Read
docs/bridge-protocol.mdin the Nosis repo to learn the public stdio protocol and message shapes. - Read
interfaces/client/README.mdfor the lightweight TypeScript client and its process lifecycle example. - Launch the installed
nosis-bridgecommand as a child process from your program. - Send newline-delimited JSON requests on the Bridge stdin and read its events from stdout.
- Handle frontend interaction requests, such as approvals, so the agent can continue.
Prompt for your agent
Using the Nosis repo at https://github.com/EvannZhongg/Nosis, read docs/bridge-protocol.md and interfaces/client/README.md, then write a minimal script that launches `nosis-bridge` for <target workspace>. Output the first event the Bridge returns and the list of message types you used. Verify that the script shuts down the Bridge process cleanly.
Caveat. The README says the public protocol and internal Bridge messages are separate, so build only on the documented public protocol and not on internal message types.
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer