What to expect when moving from the OpenAI-compatible SDK to the OpenDunes Agent SDK.
Not yet available. The OpenDunes Agent SDK is on the roadmap. This page describes the intended migration path so you can build toward it now.
The OpenAI-compatible SDK is the right starting point for most projects. As your agent grows — multiple tools, multi-turn state, retry budgets, approval gates — the Agent SDK adds primitives designed for those patterns so you don't have to build them yourself.
Stay on the OpenAI-compatible SDK if:
Consider the Agent SDK when:
The Agent SDK wraps POST /v1/chat/completions — it still calls the same endpoint. The difference is in what you manage yourself vs. what the SDK handles:
| Concern | OpenAI-compatible SDK | Agent SDK |
|---|---|---|
| Message history accumulation | You | SDK |
| Tool dispatch and result injection | You | SDK |
| Streaming reassembly | You | SDK |
| Stop conditions | You | Built-in |
| Next-turn parameter updates | You | Built-in |
| Balance-aware halting | You | Built-in |
provider/model) and message shape are identical.callModel() — it handles turns, tool calls, and streaming internally.429 and 503 retries with the same backoff rules.