Review before publication
Prepare changes in a draft. Let the user approve the exact work your application is about to publish.
Inside AGKit
Connect the tools and context your app already has. AGKit coordinates the AI conversation and tool calls; Cloud supplies the models and operating controls. Your app decides how changes reach its users.
Built for teams whose applications have real state to work with: documents, timelines, recordings, tasks, and more.
“Shorten the opening and lower the music.”
Stream the response, validate tool calls, and coordinate the next step.
Use your profile, model route, provider credentials, and usage limits.
Run your edit functions, request approval, and publish an accepted change.
Start with one useful action. Add more tools as you decide what AI should be able to do in your product.
Swift · application tool example
“Lower the volume to 50%.”
editor.set_volume{ "volume_percent": 50 }case "editor.set_volume":
guard let percent = call.arguments[
"volume_percent"
]?.doubleValue else {
throw EditorError.invalidEdit
}
try attempt.setVolume(percent / 100)The tool calls the app’s existing volume function on an isolated draft. The host checks the current revision before applying it.
EditorTools.swift · describe the operation
ToolDefinition(
id: "editor.set_volume",
description: "Prepare volume attenuation, 0 through 100 percent; never boost.",
parameters: .object(
properties: ["volume_percent": .init(schema: .number)],
required: ["volume_percent"]
)
)EditorRunner.swift · send, check, apply
try await session.send(
attempt.context + "\nRequest: " + String(prompt.prefix(4000))
)
try Task.checkCancellation()
try store.publish(attempt)Excerpts from the private Swift reference app, which also registers the tools and configures guards, limits, and confirmation handling.
The app names a profile and the balanced tier. Cloud resolves the configured model. The example’s setup supplies the endpoint and authenticated signer.
LiveConnection.swift · Cloud provider configuration
let provider = BackendRouterProvider(
endpoint: endpoint,
mode: .cloudProfile(BackendRouterCloudProfile(
agentId: profile,
tier: "balanced",
maxOutputTokens: 1024,
signer: signer
))
)The runtime coordinates streaming, tool validation, execution, and follow-up responses. Connect guards and confirmation handling to your application’s permission rules, and give users a way to cancel work in progress.
Your app owns the actual operations, approval interface, and undo implementation. For shared or irreversible actions, decide what requires confirmation and what can be recovered.
Choose your integration path →Prepare changes in a draft. Let the user approve the exact work your application is about to publish.
Check the current document revision before committing an AI edit. Reject a stale proposal instead of overwriting newer work.
Connect your application’s undo behavior to the transaction lifecycle. A local undo cannot recall a copy somebody has already shared.
AGKit Cloud is the shared backbone for your integrations. Adjust the configuration behind an existing app’s requests from one place.
narrator to a compatible voice.These configuration changes do not require an app release. Adding a new application tool or changing how it edits your data still belongs in your application code.
See plans and provider costs →Use your existing authentication to identify the person making a Cloud request. Configure trusted token issuers in AGKit; Cloud verifies the token before accepting the user’s identity.
Cloud usage records associate a hashed user identifier with the request, model, token counts, estimated cost, duration, and outcome. Follow usage per user without putting a raw user ID in the usage ledger.
Set daily turn limits, monthly token limits, request rates, and monthly spending caps for your project’s users. Cloud checks usage and budgets before admitting further requests.
Connect RevenueCat and choose a required entitlement. Cloud checks that the user has active access before running a request. Per-user quotas apply across the project; separate quota amounts for individual subscription plans require your own plan logic.
Connect the providers your app needs. Manage language models and media routes through the same AGKit Cloud project.
| Provider | Language | Images | Voice & audio | Video |
|---|---|---|---|---|
| OpenAI | Models + tools | Generate + edit | Speech + transcription | — |
| Anthropic | Models + tools | — | — | — |
| Google Gemini | Models + tools | Generate + edit | Speech | Veo |
| xAI | Models + tools | Generate + edit | Speech + transcription | Grok |
| ElevenLabs | — | — | Speech, transcription, music + sound effects | — |
Availability depends on your model and route. Image and video entries describe media creation; a dash means AGKit has no integration for that capability.
Combine application tools with media capabilities. Cloud routes each request to a configured provider that supports it.
Add a prompt-to-image action to a document or creative workspace. Your app requests image generation; Cloud supplies the configured route, and your app decides where to place the result.
Read a lesson or narrate a scene with a named voice identity. Rebind narrator in Cloud while your app keeps using the same name.
Send supported audio to an audio-capable route for transcription or summarization. Combine the result with your app’s tools to prepare notes and tasks for review.
Create projects, configure agents and tools, manage model and media routes, and set usage limits from your terminal or AI assistant.
Sign in, verify your account, then use the guided project setup. Inspect the proposed changes before applying configuration to live traffic.
agkit login
agkit whoami
agkit initConnect the local MCP server to read configuration and usage, create and update resources, and apply changes. Writes use reviewable plans, permissions are checked when they are applied, and applied changes appear in the audit log.
agkit mcp print-configAfter CLI sign-in, use the generated configuration in your MCP client. Grant the read and write scopes your workflow needs.
Local MCP can apply supported configuration changes without a dashboard visit. Sign-in, billing, account security, key issuance, and some credential operations use dedicated CLI or browser steps. Remote MCP writes require approval in the dashboard.
Build for Swift, Android, React Native, and Web, with a shared Cloud backbone for models, configuration, and spending.
Apple apps
Give AI access to your app’s tools and state, with an integration that fits your Swift code.
Native Android
Connect AI to native app capabilities while keeping the experience in your app’s hands.
Cross-platform mobile
Add AI-powered actions to your iOS and Android apps with React Native.
Web apps
Connect AI to your web app’s tools and state, with models and configuration managed in AGKit Cloud.
Choose your platform, connect your project, and build from there.