// Your product → OrchestraCode → user's repo
//
// 1. User describes a change in your UI.
// 2. You forward to our API with the user's own GitHub token.
// 3. We run the agent. We never see your platform key.
// 4. PR opens on their repo. You get a webhook.
await fetch('https://api.orchestracode.dev/v1/tasks', {
method: 'POST',
headers: {
'authorization': `Bearer ${process.env.ORCH_KEY}`,
'x-github-token': req.user.githubToken, // ← per-request, never stored
'x-model-key': req.user.anthropicKey, // ← BYOK per end-user
},
body: JSON.stringify({
repo: req.body.repo,
branch: req.body.branch,
task: req.body.description,
webhook: 'https://your-app.com/webhooks/orchestra',
}),
});Every plan is BYOK. Your Anthropic, OpenAI, or open-weights key. We charge for the agent loop, the sandbox, and the git push. Model tokens are billed by your provider, never marked up.
For trying it out on a side project.
For one developer shipping serious work.
For small teams building with the API in production.
For high-volume API embeds and enterprise contracts.
Tell us what product you'd embed this in. We'll set up a sandbox account with white-label-ready keys and walk you through the integration.