{"slug": "the-simplest-way-to-let-your-users-bring-their-own-ai-sub-to-power-your-ai-app", "title": "The simplest way to let your users bring their own AI sub to power your AI app", "summary": "An open-source project called byoa, released under the Apache 2.0 license, lets developers build AI apps in which each end user signs in with their own Claude, ChatGPT or Grok subscription and connects their own MCP tools, so the user's plan pays for model calls while the developer pays only for the sandbox. byoa runs inside a Node or Bun backend and executes each job in a new sandbox from E2B, Daytona or Instabox on the developer's account, running the user's own Claude Code, Codex or Grok Build, with AI logins and MCP grants stored in the developer's database. The project's author is soliciting interest from companies that sell AI plans, and says more sandbox providers are coming soon.", "body_md": "# Let your users bring\n\ntheir own agent.\n\nThe simplest way to let your users bring their own **AI subscription** to power the agents in your app.\n\nDo you sell the electricity, an AI plan? [Reach out to us](https://github.com/madeyexz/byoa/issues).\n\nMore sandbox providers are coming soon.\n\nAny Node or Bun framework. Any database, through a store adapter.\n\n## Your app brings the product.\n\nEach user brings the agent.\n\nYou build the app and pick the sandbox. Each user brings their plan and their tools. byoa runs inside your backend and runs each job in a new sandbox.\n\n```\nDEVELOPER · YOU                                           END USER\n┌────────────────────────────────────┐                    ┌────────────────────────────────────┐\n│ builds the app                     │                    │ uses the app                       │\n│ picks the sandbox provider         │                    │ pays for the AI with a plan:       │\n│ owns the database                  │                    │    Claude     ChatGPT     Grok     │\n│ pays only for the sandbox          │                    │ has MCP tools and skills           │\n└──────────────────┬─────────────────┘                    └──────────────────┬─────────────────┘\n                   │ imports byoa             signs in on the lab's own page │\n                   │                             connects each MCP tool once │\n                   ▼                                                         ▼\n┌─ YOUR APP'S BACKEND · you run it ────────────────────────────────────────────────────────────┐\n│  your app code                                            your database                      │\n│        │ agents.run(userId, task)                               ▲ AI logins, MCP grants      │\n│        ▼                                                        │                            │\n│ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━━━━━━━━━━━━┓ │\n│ ┃ byoa · open source, Apache 2.0                                                           ┃ │\n│ ┃   AI login · harness            skills · AGENTS.md            MCP OAuth · proxy          ┃ │\n│ ┃              │                                                           │               ┃ │\n└─╂┄┄┄┄┄┄┄┄┄┄┄┄┄┄│┄┄┄┄┄┄┄┄┄┄┄ ▲ your backend · outside it ▼ ┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄│┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄╂─┘\n  ┃              │ create · run · destroy                         real token │               ┃\n  ┃              ▼                                                           ▼               ┃\n  ┃ ┌─ SANDBOX ────────────────┐  ┌─ AI LABS ────────────────┐  ┌─ MCP SERVERS ────────────┐ ┃\n  ┃ │    E2B,    Daytona or    │  │ Anthropic · OpenAI · xAI │  │ Notion · Gmail · …       │ ┃\n  ┃ │    Instabox,             │  │                          │  │                          │ ┃\n  ┃ │ on your account          ├─▶│ model calls, paid by     │  │ the user's own accounts  │ ┃\n  ┃ │ runs the user's own      │  │ the user's own plan      │  │                          │ ┃\n  ┃ │ Claude Code, Codex or    │  │                          │  │                          │ ┃\n  ┃ │ Grok Build               │  │                          │  │                          │ ┃\n  ┃ └──────────────────────────┘  └──────────────────────────┘  └──────────────────────────┘ ┃\n  ┃                                                                                          ┃\n  ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛\nDEVELOPER · YOU\n┌────────────────────────────────────┐\n│ builds the app                     │\n│ picks the sandbox provider         │\n│ owns the database                  │\n│ pays only for the sandbox          │\n└─┬──────────────────────────────────┘\n  │ imports byoa\n  │ END USER\n  │ ┌────────────────────────────────┐\n  │ │ uses the app                   │\n  │ │ pays for the AI with a plan:   │\n  │ │    Claude    ChatGPT    Grok   │\n  │ │ has MCP tools and skills       │\n  │ └────────────────┬───────────────┘\n  │                  │ signs in once\n  │                  │\n  ▼                  ▼\n┌─ YOUR APP'S BACKEND ───────────────┐\n│ your app code     your database    │\n│    │ agents.run()     ▲ logins,    │\n│    ▼                  │ grants     │\n│ ┏━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━┓ │\n│ ┃ byoa · open source             ┃ │\n│ ┃ AI login · MCP proxy           ┃ │\n│ ┃ harness · skills · config      ┃ │\n│ ┃   │                         │  ┃ │\n└─╂┄┄┄│┄┄ ▲ backend · outside ▼ │┄┄╂─┘\n  ┃   │              real token │  ┃\n  ┃   ▼ runs each job           │  ┃\n  ┃ ┌─ SANDBOX ────────────┐    │  ┃\n  ┃ │    E2B,    Daytona   │    │  ┃\n  ┃ │ or    Instabox,      │    │  ┃\n  ┃ │ on your account      │    │  ┃\n  ┃ │ runs the user's own  │    │  ┃\n  ┃ │ Claude Code, Codex   │    │  ┃\n  ┃ │ or Grok Build        │    │  ┃\n  ┃ └───┬──────────────────┘    │  ┃\n  ┃     │ model calls           │  ┃\n  ┃     ▼                       │  ┃\n  ┃ ┌─ AI LABS ────────────┐    │  ┃\n  ┃ │ Anthropic · OpenAI · │    │  ┃\n  ┃ │ xAI, paid by the     │    │  ┃\n  ┃ │ user's own plan      │    │  ┃\n  ┃ └──────────────────────┘    │  ┃\n  ┃                             │  ┃\n  ┃                             ▼  ┃\n  ┃ ┌─ MCP SERVERS ──────────────┐ ┃\n  ┃ │ Notion · Gmail · …         │ ┃\n  ┃ │ the user's own accounts    │ ┃\n  ┃ └────────────────────────────┘ ┃\n  ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛\n```\n\n## AI is electricity.\n\nAn AI subscription is a battery pack.\n\nAI-native apps are the future. But an app that buys its AI at API prices must pass that cost on to its users. So it must choose: a frontier model, and a high price for each user, or a cheap model, and a worse agent. **AI subscriptions solve this.** We bet on a future where everyone has a $20 AI plan, or the same in another form, and that plan powers every app they use. In that future, every app is AI-native, so nobody says \"AI-native app\" anymore.\n\nBattery packs come in different sizes, and one pack powers all the appliances in your home. This is the economy we bet on. We build byoa to make it come sooner, so that every developer can build on it.\n\n### What each user pays a month for 100 small agent tasks\n\nYour app passes its AI costs on to its users, in its price. Drag the number to change it.\n\n- With your API key, every token is a cost that grows with each user's use. Even with a smaller model, a heavy user takes from your margin. With byoa, the user's tokens never reach your bill.\n- Open-weight models, such as Kimi, on the user's OpenCode Go plan, are planned.\n- The user's own plan pays for the AI, within its limits. [How we count](https://byoa.rippling.computer/docs#what-your-users-pay)\n\n## Start in three steps.\n\nInstall byoa from npm, with npm or Bun. Then follow [Getting started](https://byoa.rippling.computer/docs/getting-started) in the docs.\n\n- *1*[**Install from npm**](https://byoa.rippling.computer/docs/getting-started#install) Needs Node 22.18 or later, or Bun, and a[sandbox API key](https://byoa.rippling.computer/docs/getting-started#get-a-sandbox-api-key) from E2B, Daytona or Instabox.\n- *2*[**Write your first agent run**](https://byoa.rippling.computer/docs/getting-started) Follow the getting started guide in the docs.\n- *3*[**Try the live demo**](https://byoa.rippling.computer/demo) Sign in with your own Claude, ChatGPT or Grok plan, and your own agent triages a sample inbox. Or run[the to-do example](https://github.com/madeyexz/byoa/tree/main/examples/todo) .\n\n```\nnpm install @madeyexz/byoa\nbun add @madeyexz/byoa\n```\n\n## What byoa works with today.\n\nEverything without a tag works today. Each row links to its page in the docs. To see which plans work and what they cost, read [Supported AI subscriptions](https://byoa.rippling.computer/docs/subscriptions).\n\n[Agents](https://byoa.rippling.computer/docs/subscriptions)\n\n[User plans](https://byoa.rippling.computer/docs/subscriptions)\n\n[Sandboxes](https://byoa.rippling.computer/docs/providers)\n\n[Backends](https://byoa.rippling.computer/docs/getting-started)\n\n[Token stores](https://byoa.rippling.computer/docs/stores)\n\n## Bring your own agent.\n\nbyoa, short for \"bring your own agent\", is the simplest way to let your users bring their own AI subscription to power the agents in your app.", "url": "https://wpnews.pro/news/the-simplest-way-to-let-your-users-bring-their-own-ai-sub-to-power-your-ai-app", "canonical_source": "https://byoa.rippling.computer/", "published_at": "2026-11-27 05:14:46+00:00", "updated_at": "2026-11-27 05:46:17.103676+00:00", "lang": "en", "topics": ["ai-agents", "agent-protocols", "ai-tools", "developer-tools", "ai-products"], "entities": ["byoa", "Anthropic", "OpenAI", "xAI", "E2B", "Daytona", "Instabox", "Claude Code"], "also_reported_by": [], "takeaway": "byoa lets a Node or Bun backend run each user's own Claude Code, Codex or Grok Build inside a per-job E2B, Daytona or Instabox sandbox, with the user's AI subscription paying for model calls and their MCP OAuth grants stored in the developer's database.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/the-simplest-way-to-let-your-users-bring-their-own-ai-sub-to-power-your-ai-app", "markdown": "https://wpnews.pro/news/the-simplest-way-to-let-your-users-bring-their-own-ai-sub-to-power-your-ai-app.md", "text": "https://wpnews.pro/news/the-simplest-way-to-let-your-users-bring-their-own-ai-sub-to-power-your-ai-app.txt", "jsonld": "https://wpnews.pro/news/the-simplest-way-to-let-your-users-bring-their-own-ai-sub-to-power-your-ai-app.jsonld"}}