# The simplest way to let your users bring their own AI sub to power your AI app

> Source: <https://byoa.rippling.computer/>
> Published: 2026-11-27 05:14:46+00:00

**Key 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.

# Let your users bring

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](https://github.com/madeyexz/byoa/issues).

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](https://byoa.rippling.computer/docs#what-your-users-pay)

## Start in three steps.

Install byoa from npm, with npm or Bun. Then follow [Getting started](https://byoa.rippling.computer/docs/getting-started) in the docs.

- *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.
- *2*[**Write your first agent run**](https://byoa.rippling.computer/docs/getting-started) Follow the getting started guide in the docs.
- *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) .

```
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](https://byoa.rippling.computer/docs/subscriptions).

[Agents](https://byoa.rippling.computer/docs/subscriptions)

[User plans](https://byoa.rippling.computer/docs/subscriptions)

[Sandboxes](https://byoa.rippling.computer/docs/providers)

[Backends](https://byoa.rippling.computer/docs/getting-started)

[Token stores](https://byoa.rippling.computer/docs/stores)

## 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.
