# Amba — backend by platform

> Amba is the agent-native backend for mobile apps: identity, engagement, gamification, economy, social, analytics, and infrastructure as one backend, provisioned by an AI coding agent over MCP (https://mcp.amba.dev/mcp). Every SDK below shares a common core, so the surface is the same shape on every platform.

Canonical: https://amba.dev/backend-for

## SDK matrix

| Platform | Package | Registry | Install | What ships |
|---|---|---|---|---|
| Expo | @layers/amba-expo | npm | `npx expo install @layers/amba-expo @react-native-async-storage/async-storage` | Everything in the React Native SDK + SecureStore token persistence, Apple/Google sign-in wrappers, push-token capture, prebuild config plugin |
| React Native | @layers/amba-react-native | npm | `npm install @layers/amba-react-native @react-native-async-storage/async-storage` | Full 32-module surface as a pure-JS HTTP client — auth, collections, push registration, streaks, XP, social, flags, events |
| Flutter | amba | pub.dev | `flutter pub add amba` | Full SDK surface as Dart namespaces — auth, users, sessions, sync, collections, push, gamification, economy, social, flags |
| iOS / macOS / tvOS / watchOS | Amba (Swift) | Swift Package Manager | `Xcode → Add Package → github.com/layers/amba-sdk-ios` | Native Swift SDK with async/await and Codable collections; iOS 14+, macOS 12+ |
| Android | com.layers.amba:amba-sdk-android | Maven Central | `implementation("com.layers.amba:amba-sdk-android:<latest>")` | Native Kotlin SDK with coroutines — same configure / auth / events shape |
| Unity | com.layers.amba | UPM (git URL) | `Package Manager → Add from git URL → github.com/layers/amba-sdk-unity.git` | Full 25-namespace surface for games — economy, leaderboards, challenges, inventory |
| Web | @layers/amba-web | npm | `npm install @layers/amba-web` | Full 34-module browser surface — auth + magic link, collections + vector search, storage, push, flags. React hooks via @layers/amba-react |
| Node.js | @layers/amba-node | npm | `npm install @layers/amba-node` | Full 34-module server surface — server-key auth for backend jobs and integrations |

Install commands are unversioned on purpose — registries carry the current release.

## Platform guides

- https://amba.dev/backend-for/expo — A backend for Expo apps in one package: auth, push campaigns, streaks, and data via npx expo install @layers/amba-expo — provisioned by an AI agent over MCP.
- https://amba.dev/backend-for/react-native — A React Native backend with no server code: a pure-JS SDK for auth, push, data, and analytics — plus honest notes on where Firebase and Supabase stay better.
- https://amba.dev/backend-for/flutter — A Flutter backend in one Dart package (pub.dev "amba"): auth, push campaigns, streaks, and collections — plus an honest read on when FlutterFire fits better.
- https://amba.dev/backend-for/claude-code — Amba gives Claude Code a full mobile backend over MCP: amba_developer_signup returns keys with no browser, the project goes active in ~10s — 475 tools total.

## The agent path

Any MCP-aware coding agent connects to https://mcp.amba.dev/mcp (Streamable HTTP), calls amba_developer_signup with { email, password (min 8 chars) } — no auth, no browser — and receives a PAT plus a provisioned project with client_key and server_key. The project goes active in ~10 seconds (poll amba_projects_get_provisioning_status). Claude Code one-liner:

```
claude mcp add --transport http amba https://mcp.amba.dev/mcp
```

Updated 2026-06-12 · Full agent index: https://amba.dev/llms.txt
