v0.2
June 8, 2026The SDK release
Noukai now drops into your codebase with first-class Python and Node SDKs — sync and async execution, SSE streaming, tool-call resume, session grouping, and a replay mode for deterministic tests. Plus an MCP server for Claude Code, Bring Your Own Key, image inputs, and per-block trace logs.
- AddedNoukai SDK v1 introduced — published as noukai-sdk on PyPI and @noukai/sdk on npm, with matching public surfaces across Python and Node.
- AddedSDK: sync and async flow execution — Flow.execute() for one-shot calls, submit() + poll() for long-running jobs.
- AddedSDK: SSE step streaming via Flow.steps() and Flow.events() — watch each block run live from your own code.
- AddedSDK: tool-call resume with manual and auto-loop modes — let the SDK handle multi-turn tool-use roundtrips for you.
- AddedSDK: typed errors, automatic retries, and a Run proxy that surfaces trace endpoints for any past execution.
- AddedSDK: traceScope (Node) and @trace (Python) primitives group every call inside a scope under a single session ID — find every related run in one query.
- AddedSDK: replay mode (gated on NOUKAI_REPLAY_ENABLED + X-Noukai-Replay header) serves recorded sessions from cassette instead of hitting live LLM providers — deterministic test runs with zero spend.
- AddedSDK: framework adapters for Express, Next.js (Node) and FastAPI, Flask (Python) — opens and closes session scopes per request automatically.
- AddedUnified SDK docs at noukai-docs with dual-language (Python | Node) tabs on every reference page.
- AddedBring Your Own Key — route LLM calls through your own OpenAI, Anthropic, or OpenRouter credentials at the org level.
- AddedMCP server with OAuth 2.1 + PKCE — drive Noukai from Claude Code with run_flow, update_block, test execution, and pipeline authoring guides.
- AddedImage attachments — pass images as block inputs end-to-end.
- AddedPer-block trace logs, captured and streamed live during runs.
- AddedCost view in the run trace, with a Latency ↔ Cost toggle.
- AddedStripe-backed billing: subscription plan picker, payment-method capture, and webhook-confirmed plan changes.
- AddedGitHub OAuth sign-in alongside Google and email, with a connected-accounts settings page to manage identities.
- AddedAccount settings for display name and email notification preferences.
- AddedEditable flow slugs with uniqueness enforcement across the project.
- AddedWelcome quickstart modal for first-run onboarding.
- AddedOpenRouter tool-call support on slug /execute and /step.
- AddedPublic step-through endpoint for sequential flows over SSE.
- AddedPipeline patterns and recipes added to the documentation site.
- ChangedPipeline editor right panels now resize with flex weights and are fully keyboard-navigable.
- ChangedRun trace capture is driven by a per-request flag — traces only collect when you ask for them.
- ChangedSynchronous /execute responses now include the executionId for follow-up queries.
- FixedSDK async-job submission no longer races with the first poll() call.
- FixedMCP refresh-token rotation handles concurrent calls without thundering.
- FixedMCP update_block returns a strict 409 on stale base_version instead of silently overwriting.
- FixedMCP transport signals invalid_token on 401 so clients refresh automatically.
- FixedBYOK vending returns a structured 422 when stored envelopes can't be decrypted.
- FixedLoop iterations persist as distinct trace rows instead of collapsing into one.
- FixedSoft-deleted and orphaned flow blocks no longer inflate the project block count.
- FixedAPI-key revoke dropdown in the portal is no longer clipped by its container.