The OpenAI SDK, and WebSocket mode
Every agent now answers the OpenAI Responses API, with nothing to change in its code. Point the official OpenAI SDK at your agent and callresponses.create.- Responses API at
/v1/agents/{agentId}/openai/responses, streamed or not.modeland every other field reach your agent. Your agent’s tool calls come back asfunction_callitems, each followed by the output that answers it. - Conversations by
previous_response_id: send the last response’s id and your agent continues the same session. An id that is not this agent’s is refused withprevious_response_not_found. - Pauses end as an incomplete response with
input_required, andmetadata.onecortex_resumeanswers them. - WebSocket mode on the same URL: one socket, many turns, concurrent lanes with
stream_id, up to 60 minutes. - Calls from a web page now allow the headers the OpenAI SDKs send.
openai as its surface on these calls.What to do: nothing to start. Chat Completions, retrieving past responses and /responses/compact are not available. See OpenAI SDK compatible.MCP, and signing in from AI clients
Every agent is now a tool in Claude, Claude Code, Cursor and any other MCP client, with nothing to change in its code.- MCP at
/v1/agents/{agentId}/mcp, on MCP 2026-07-28 and the 2025-11-25 handshake: one tool,ask_and your agent’s slug, which runs your agent and returns its reply. Tool calls and steps arrive as progress. A paused run becomes a form in a client that can ask the person, and a question answered withresumein any other. - Sign in instead of a key. A person adds your agent to Claude by pasting its MCP URL, signing in, and allowing the app to use that one agent. A2A clients can sign in the same way.
- Connected apps, on the API keys page: every app someone connected, and Disconnect.
card.description in agent.yml, or your agent’s description.What to do: nothing to start. Give your agent a description that says what it is for, since the calling model reads it. See MCP.AG-UI and A2A
Every agent now speaks two more protocols, with nothing to change in its code.- AG-UI at
/v1/agents/{agentId}/agui: an AG-UI front end, such as CopilotKit, streams your agent’s text, tool calls and steps, and resumes a paused run withresume. - A2A at
/v1/agents/{agentId}/a2a, versions 1.0 and 0.3: another agent sends messages, streams, reads and cancels tasks. A paused run is a task that needs input, continued by replying on the task. - A public Agent Card for every agent, which other agents read without a key. Describe your agent on it with the new
card:block inagent.yml. - Calls from a web page: requests that carry an API key are allowed from any origin.
agent.yml with a card: block no longer warns that the key is unknown.What to do: nothing to start. Add card: to agent.yml to describe your agent to other agents. See AG-UI and A2A.Human in the loop
An agent can now pause a run to ask a person for approval or input, and continue from where it stopped when the answer arrives.- A LangGraph graph calls
interrupt(), and the run ends with aninterruptevent:status: "interrupted"on a JSON call,event: interrupton a stream. - Answer with a
resumeon the samesessionId. A request carryingresumeneeds noprompt. - A plain Python or TypeScript function pauses by yielding an
interruptevent, and reads the answer from its request. - The dashboard chat shows the question as a form under the reply, built from the interrupt’s schema.
done and error should also handle interrupt as the third way a run ends, if its agent can pause. The message for a request with no prompt now reads Request must include a 'prompt' field, or a 'resume' to answer a paused run.What to do: redeploy an agent to use it. See Human in the loop.The private beta opens
Onecortex deploys an AI agent from your GitHub repository to an authenticated HTTPS endpoint. Today:- Python and TypeScript agents on LangGraph, the OpenAI Agents SDK, Strands Agents, CrewAI, LangChain, LlamaIndex, Mastra, the Vercel AI SDK, LangChain.js, or a plain function.
- Builds that are smoke tested before they serve, and never take down the live version when they fail.
- Rollback to any of the last ten versions, automatic deploys on push, secrets, logs, alerts and a chat console.
- One endpoint that streams text, tool calls, tool results and steps.
One contract for agent code
Every agent is now served the same way: Onecortex imports the object named byentrypoint and calls it. Agents that ran their own server are no longer supported.Does it affect you? Only if your agent.yml has a mode, server or streaming key, or your agent was built before this change.What to do:- Point
entrypointat your agent object or a function. See Entrypoints. - Remove
mode,serverandstreamingfromagent.yml. Until you do, each is ignored with a warning:Unknown key `mode` will be ignored. - Redeploy agents built before this change. Until you do, calls answer
502withThis version was built by an older version of Onecortex. Redeploy the agent to serve it.
agent.yml
agent.yml
The invoke API carries every event
Calls now report what the agent did, not only what it said: tool calls, tool results and steps, as events, in the stream and in the JSON body’sevents.Does it affect you? Yes, if you call agents with input or message instead of prompt, or if you treat any non 200 as a failure without reading the body.What to do:- Send
prompt. A request without it answers400withRequest must include a 'prompt' field.Fields namedinputormessagenow reach your agent asparams, and are not read as the prompt. - A run in which your agent raised now answers
502, with the full body:statusisfailed,errorholds the code and message, andresultthe text sent before the failure. - In a stream, handle
event: error. See the invoke API.