comparison

AgentKit Cloud vs rolling your own

Everything AgentKit does, you could build: auth, quotas, budgets, analytics, key management, routing, attestation. The question is whether you want to build and run it forever.

Rolling your own means operating the backend yourself, for example a serverless function that relays to a provider.

AgentKit CloudRolling your own
Model providersAnthropic, OpenAI, Gemini, and Apple on-deviceWhatever you integrate
Provider keys off the deviceEncrypted server-side; the app ships a publishable keyYou build the key handling
End-user identity verified per requestA JWT from your trusted issuer, checked every requestYou implement and test it
Hard spend cap per userA hard ceiling per user and per project. Hit it, requests stop.You build the metering
Subscription-tier model routingBind tiers to RevenueCat entitlementsYou wire RevenueCat yourself
Change models without an app updateName a tier; remap it server-sideYou design the config layer
On-device optionApple Foundation Models on-device, cloud when neededYou integrate each path
In-app agent loop with tools, guards, undoRuns in your app with guards, undo, and run limitsYou write the agent loop
Device attestationOptional App Attest binds requests to real devicesYou implement App Attest
Backend to build and maintainNone. AgentKit Cloud is the backend.All of it, on you, forever
  • The work comes after it works

    A relay is a weekend. Identity, per-user limits, spend caps, analytics, and kill switches are the part that takes months.

  • Maintenance is the real cost

    Provider changes, key rotation, and attestation never stop. AgentKit carries that so you ship the app.

  • Keep your keys and your exit

    Bring your own provider keys, and the same SDK still runs against any provider directly if you ever move off.

Skip the server. Ship the agent.