Programmatic usage
Coming soon. Programmatic usage docs are not yet available.
Today Magic Coder is primarily a TUI. The CLI is well-behaved enough to wrap in shell scripts and CI jobs (see Automagic for the non-interactive pattern), and that covers a lot of programmatic use cases.
A more ergonomic surface — official SDKs, structured event streams, a stable JSON output mode for CI — is on the way. This page will document those interfaces once they’re public.
In the meantime, the patterns that work today:
coder --automagic --trust --query "..."for one-shot non-interactive runs.coder --continue <uuid> --automagic --trust --query "..."to push a follow-up to a known thread.- Wrap either in a shell script and invoke from your build system or scheduler.
If you need something more structured, ask in your BridgeApp workspace — we’d like to know which SDK shape would help most.