Skip to main content
Added

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 call responses.create.
  • Responses API at /v1/agents/{agentId}/openai/responses, streamed or not. model and every other field reach your agent. Your agent’s tool calls come back as function_call items, 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 with previous_response_not_found.
  • Pauses end as an incomplete response with input_required, and metadata.onecortex_resume answers 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.
Does it affect you? No: the invoke API and every other surface are unchanged. Your agent receives 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.
Added

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 with resume in 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.
Does it affect you? No: keys and every other surface are unchanged. A tool’s description comes from 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.
Added

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 with resume.
  • 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 in agent.yml.
  • Calls from a web page: requests that carry an API key are allowed from any origin.
Does it affect you? No: the invoke API is unchanged. An 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.
Added

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 an interrupt event: status: "interrupted" on a JSON call, event: interrupt on a stream.
  • Answer with a resume on the same sessionId. A request carrying resume needs no prompt.
  • A plain Python or TypeScript function pauses by yielding an interrupt event, 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.
Does it affect you? Only if you want it. A client that handles 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.
Added

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.
Access is by invitation. Start with the quickstart.
Breaking

One contract for agent code

Every agent is now served the same way: Onecortex imports the object named by entrypoint 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 entrypoint at your agent object or a function. See Entrypoints.
  • Remove mode, server and streaming from agent.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 502 with This version was built by an older version of Onecortex. Redeploy the agent to serve it.
Before:
agent.yml
After:
agent.yml
ChangedBreaking

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’s events.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 answers 400 with Request must include a 'prompt' field. Fields named input or message now reach your agent as params, and are not read as the prompt.
  • A run in which your agent raised now answers 502, with the full body: status is failed, error holds the code and message, and result the text sent before the failure.
  • In a stream, handle event: error. See the invoke API.
Before:
After:
Last modified on September 30, 2026