OpenCode
Add writer-0.1 as a provider inopencode.json, set NOTRA_LABS_API_KEY in your environment, then pick notra-labs/writer-0.1 in /models:
opencode.json
"compaction": { "auto": false } in that project’s configuration.
Reply after a tool call
After reading a tool result, writer-0.1 may call another tool even when it has enough information to answer. In OpenCode, end the prompt with an explicit instruction such as “After you read the file, reply in chat with the changelog.” If your own client knows the tool work is done, send the full conversation and tool results withtool_choice: "none" on the final request. This works with Chat Completions and Responses. Leave tools available on turns that may need another call.
Add writer-0.1 to your app with an agent
In the console, click Connect agent and copy the prompt. Paste it into Claude Code, Cursor, OpenCode or another coding agent. It tells the agent to read the API reference for agents, use the OpenAI SDK with the base URL, the model and theNOTRA_LABS_API_KEY environment variable, retry model_starting, and add one example call you can run.
Docs for agents
- has the whole Platform API in one Markdown file: quickstart, models, parameters, errors, cold starts and rate limits. Point agents here first.
- is the OpenAPI 3.1 document, for SDK generators and API clients.
- Every page of these docs is also available as Markdown: add
.mdto its URL, or use the menu at the top of the page to copy it or open it in ChatGPT, Claude or Cursor.
AI SDK and models.json
usenotra.com/models.json lists writer-0.1 with its limits and prices in the models.dev provider format, for tools that read model metadata from there. For the AI SDK, use@ai-sdk/openai-compatible as in the quickstart.