their own agent.
The simplest way to let your users bring their own AI subscription to power the agents in your app.
Do you sell the electricity, an AI plan? Reach out to us.
More sandbox providers are coming soon.
Any Node or Bun framework. Any database, through a store adapter.
Your app brings the product. #
Each user brings the agent.
You 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.
DEVELOPER Β· YOU END USER
ββββββββββββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββββββββ
β builds the app β β uses the app β
β picks the sandbox provider β β pays for the AI with a plan: β
β owns the database β β Claude ChatGPT Grok β
β pays only for the sandbox β β has MCP tools and skills β
ββββββββββββββββββββ¬ββββββββββββββββββ ββββββββββββββββββββ¬ββββββββββββββββββ
β imports byoa signs in on the lab's own page β
β connects each MCP tool once β
βΌ βΌ
ββ YOUR APP'S BACKEND Β· you run it βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β your app code your database β
β β agents.run(userId, task) β² AI logins, MCP grants β
β βΌ β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ»βββββββββββββββββββββββββββ β
β β byoa Β· open source, Apache 2.0 β β
β β AI login Β· harness skills Β· AGENTS.md MCP OAuth Β· proxy β β
β β β β β β
βββββββββββββββββββββββββββββ β² your backend Β· outside it βΌ ββββββββββββββββββββββββββββββββββββ
β β create Β· run Β· destroy real token β β
β βΌ βΌ β
β ββ SANDBOX βββββββββββββββββ ββ AI LABS βββββββββββββββββ ββ MCP SERVERS βββββββββββββ β
β β E2B, Daytona or β β Anthropic Β· OpenAI Β· xAI β β Notion Β· Gmail Β· β¦ β β
β β Instabox, β β β β β β
β β on your account βββΆβ model calls, paid by β β the user's own accounts β β
β β runs the user's own β β the user's own plan β β β β
β β Claude Code, Codex or β β β β β β
β β Grok Build β β β β β β
β ββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββ β
β β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
DEVELOPER Β· YOU
ββββββββββββββββββββββββββββββββββββββ
β builds the app β
β picks the sandbox provider β
β owns the database β
β pays only for the sandbox β
βββ¬βββββββββββββββββββββββββββββββββββ
β imports byoa
β END USER
β ββββββββββββββββββββββββββββββββββ
β β uses the app β
β β pays for the AI with a plan: β
β β Claude ChatGPT Grok β
β β has MCP tools and skills β
β ββββββββββββββββββ¬ββββββββββββββββ
β β signs in once
β β
βΌ βΌ
ββ YOUR APP'S BACKEND ββββββββββββββββ
β your app code your database β
β β agents.run() β² logins, β
β βΌ β grants β
β βββββββββββββββββββββββ»βββββββββββ β
β β byoa Β· open source β β
β β AI login Β· MCP proxy β β
β β harness Β· skills Β· config β β
β β β β β β
βββββββββ β² backend Β· outside βΌ ββββββ
β β real token β β
β βΌ runs each job β β
β ββ SANDBOX βββββββββββββ β β
β β E2B, Daytona β β β
β β or Instabox, β β β
β β on your account β β β
β β runs the user's own β β β
β β Claude Code, Codex β β β
β β or Grok Build β β β
β βββββ¬βββββββββββββββββββ β β
β β model calls β β
β βΌ β β
β ββ AI LABS βββββββββββββ β β
β β Anthropic Β· OpenAI Β· β β β
β β xAI, paid by the β β β
β β user's own plan β β β
β ββββββββββββββββββββββββ β β
β β β
β βΌ β
β ββ MCP SERVERS βββββββββββββββ β
β β Notion Β· Gmail Β· β¦ β β
β β the user's own accounts β β
β ββββββββββββββββββββββββββββββ β
ββββββββββββββββββββββββββββββββββ
AI is electricity. #
An AI subscription is a battery pack.
AI-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.
Battery 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.
What each user pays a month for 100 small agent tasks
Your app passes its AI costs on to its users, in its price. Drag the number to change it.
- 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.
- Open-weight models, such as Kimi, on the user's OpenCode Go plan, are planned.
- The user's own plan pays for the AI, within its limits. How we count
Start in three steps. #
Install byoa from npm, with npm or Bun. Then follow Getting started in the docs.
- 1Install from npm Needs Node 22.18 or later, or Bun, and asandbox API key from E2B, Daytona or Instabox.
- 2Write your first agent run Follow the getting started guide in the docs.
- 3Try the live demo Sign in with your own Claude, ChatGPT or Grok plan, and your own agent triages a sample inbox. Or runthe to-do example .
npm install @madeyexz/byoa
bun add @madeyexz/byoa
What byoa works with today. #
Everything 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.
Bring your own agent. #
byoa, 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.