{
 "schema_version": 1,
 "generated": "2026-10-23",
 "id": "evannzhongg-nosis--build-custom-frontend-on-bridge",
 "repo": "EvannZhongg/Nosis",
 "repo_url": "https://github.com/EvannZhongg/Nosis",
 "repo_slug": "evannzhongg-nosis",
 "title": "Build a custom frontend on the Bridge protocol",
 "page_title": "How to build a custom frontend on the Bridge protocol with Nosis",
 "summary": "Drive the Nosis runtime from your own program over newline-delimited JSON on stdio.",
 "who": "A developer building a custom interface, script, or integration that needs to control a Nosis agent programmatically.",
 "problem": "Existing Nosis frontends do not fit a custom workflow, and the runtime has to be reachable from another process.",
 "outcome": "A client program that launches the Bridge, sends requests, and receives agent events through the public protocol.",
 "steps": [
  "Read `docs/bridge-protocol.md` in the Nosis repo to learn the public stdio protocol and message shapes.",
  "Read `interfaces/client/README.md` for the lightweight TypeScript client and its process lifecycle example.",
  "Launch the installed `nosis-bridge` command 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."
 ],
 "agent_prompt": "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.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "2 hours",
 "basis": "readme",
 "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.",
 "category": "Personal productivity",
 "tags": [
  "Personal productivity"
 ],
 "lang": "python",
 "requirements": [
  "Python 3.11 or newer",
  "Node.js 22 or newer",
  "uv installed",
  "An API key for the default provider, such as OPENAI_KEY"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/evannzhongg-nosis/build-custom-frontend-on-bridge/",
 "md": "https://dedupedai.com/use-cases/evannzhongg-nosis/build-custom-frontend-on-bridge/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/evannzhongg-nosis--build-custom-frontend-on-bridge.json",
 "api_version": "v1"
}
