OpenAI announced the Agents API public beta on September 10, 2026, exposing the Codex harness through an OpenAI-managed API. Developers specify an agent, task, tools, and execution environment; OpenAI manages sessions and orchestration, while execution can use OpenAI-hosted sandboxes, developer-controlled infrastructure, or listed sandbox partners. OpenAI documents durable sessions, context compaction, recovery, tool search and programmatic calling, and parallel subagents. It says the beta has no additional API fee, but model, tool, and hosted-container usage can still be billed. Its documentation also says the API is currently US-only for data residency and does not support Zero Data Retention, including with self-hosted execution. Later OpenAI customer stories describe large-scale use, but are company-published accounts, not independent validation. One Reddit user reported a steep bill from idle sessions and later quoted an OpenAI email attributing it to a billing issue and saying idle containers should not be charged; the linked incident is not independently documented in the supplied evidence.
This moves agent infrastructure beyond assembling model calls: developers can adopt a managed harness for stateful, long-running, tool-using work without building every orchestration feature themselves, while retaining a choice of execution environment. That could lower the effort to put agents into products and shift leverage toward providers that operate the harness and its ecosystem. The trade-offs matter: usage and container costs remain, beta reliability and billing need scrutiny, and US-only residency plus no ZDR may rule it out for sensitive workloads.
OpenAI announced the Agents API public beta on September 10, 2026, exposing its Codex harness through an OpenAI-managed API with durable sessions, orchestration, context compaction, recovery and subagents; developers choose an execution environment, including hosted or developer-controlled options. OpenAI says there is no separate Agents API fee, but model, tools and hosted compute are billed; its documentation says data residency is currently US-only and ZDR is unsupported, including for self-hosted execution. OpenAI’s October 14 customer story reports Third Moment Research running 10,000 agents concurrently on 36–48-hour investigations, but this is a company-published account, not independent validation, and describes an outer harness supervising Codex tasks. Launch performance claims are customer testimonials rather than controlled benchmarks. A Reddit user reported a large delayed charge associated with idle containers and quoted an OpenAI email acknowledging a billing issue; this remains an unresolved operational signal. A November HN listing names OpenAgentCore as an open-source, self-hosted version of the API, but no implementation details are supplied, so its status, capabilities and portability implications are unverified. Track independent usage, billing and lifecycle controls, beta changes, and whether alternatives meaningfully reduce residency, security or lock-in constraints.
| source | object | author | score | comments |
| 🟠 reddit | OpenAI launches Agents API public beta built on Codex harness artificial | Codeblix_Ltd | 4 | 13 |
| 🟧 hn | OpenAI Agents APIRetrieved article excerptOpen article · Retrieved 2026-09-10T20:24:49.546675+00:00 The Agents API gives your application access to the Codex harness through an OpenAI-managed API. OpenAI manages sessions, orchestration, context compaction, and recovery while your application provides tools and chooses its execution environment. Agents can operate in a sandbox where they can execute code, edit files, connect to MCP servers, and produce artifacts. Pricing Model usage is billed at the selected model’s API rates . OpenAI tools use their standard rates , and OpenAI-hosted sandboxes use standard container rates . Try an example Try these complete examples: Create and run a directory-tree script in an OpenAI-hosted sandbox. Compare release notes with subagents and combine their findings into one answer. Explore complete applications: Incident response agent : investigate alerts and request approval for recovery actions. Slack bot : investigate requests using connected workplace tools. Data analyst : answer warehouse questions with read-only SQL. GitHub issue investigator : reproduce reported bugs and share findings on GitHub. Document reviewer : review documents with policy skills and specialist agents. Core concepts The Agents API is built around four main concepts: Agent: The model, instructions, tools, and MCP servers available to the agent. Environment: An optional sandbox or computer where the agent accesses files, loads skills, and runs commands. Session: A durable instance of an agent that works on tasks and responds to input. Events and items: The inputs sent to an agent and the output produced during a session. A session from start to finish Start with an OpenAI-hosted sandbox in the quickstart : Create a session. Configure the agent; OpenAI provisions its environment. Give it a task. User input starts a turn of work once the environment is ready. Follow progress. Stream output or use webhooks to learn when the agent finishes or needs input. Continue or steer. Send another task to the same session, or guide the agent during its current turn. With an OpenAI-hosted session, your application sends input and receives events, while OpenAI runs the agent and provisions and manages its sandbox. See environment options for setup and limitations. What the managed harness provides The managed Codex harness supports: Running commands and code in a sandbox. Applying relevant skills and instructions. Connecting to external data through tools or MCP. Steering the agent while it works. Summarizing previous work to manage its context window. Breaking work into subtasks and delegating to subagents. Resuming a session where it left off. Check the quickstart prerequisites for API-key permissions and SDK setup. Configure these capabilities when you create a session: Configure managed-harness capabilities Python 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 import OpenAI from "openai"; const client = new OpenAI(); const session = await client.beta.agents.sessions.create({ agent: { model: "gpt-6-astra", instructions: "Use the OpenAI documentation MCP and web search to answer technical questions accurately. Delegate independent research tasks to subagents when useful.", tools: [ { type: "programmatic_tool_calling" }, { type: "mcp", server_label: "openai_docs", transport: { type: "http", server_url: "https://developers.openai.com/mcp", }, }, { type: "web_search" }, ], multi_agent: { enabled: true, max_concurrent_subagents: 4 }, }, environment: { type: "self_hosted", workspace_directory: "/workspace", capability_directories: ["/workspace/capabilities/skills"], }, input: [ { role: "user", content: [ { type: "input_text", text: "Research how to connect an MCP server to an OpenAI agent, check for recent updates, and summarize the recommended setup.", }, ], }, ], }); console.log(session.id); 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 from openai import OpenAI client = OpenAI() session = client.beta.agents.sessions.create( agent = { "model" : "gpt-6-astra" , "instructions" : "Use the OpenAI documentation MCP and web search to answer technical questions accurately. Delegate independent research tasks to subagents when useful." , "tools" : [ { "type" : "programmatic_tool_calling" }, { "type" : "mcp" , "server_label" : "openai_docs" , "transport" : { "type" : "http" , "server_url" : "https://developers.openai.com/mcp" , }, }, { "type" : "web_search" }, ], "multi_agent" : { "enabled" : True , "max_concurrent_subagents" : 4 }, }, environment = { "type" : "self_hosted" , "workspace_directory" : "/workspace" , "capability_directories" : [ "/workspace/capabilities/skills" ], }, input = [ { "role" : "user" , "content" : [ { "type" : "input_text" , "text" : "Research how to connect an MCP server to an OpenAI agent, check for recent updates, and summarize the recommended setup." , } ], } ], ) print (session.id) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 import ( "context" "fmt" "github.com/openai/openai-go/v3" ) ctx := context.Background() client := openai.NewClient() session, err := client.Beta.Agents.Sessions.New(ctx, openai.BetaAgentSessionNewParams{Agent: openai.BetaAgentSessionNewParamsAgent{Model: openai.String("gpt-6-astra"), Instructions: openai.String("Use the OpenAI documentation MCP and web search to answer technical questions accurately. Delegate independent research tasks to subagents when useful."), Tools: []openai.AgentToolParamUnion{openai.AgentToolParamUnion{OfParamProgrammaticToolCalling: &openai.AgentToolParamProgrammaticToolCalling{}}, openai.AgentToolParamUnion{OfParamMcp: &openai.AgentToolParamMcp{ServerLabel: "openai_docs", Transport: openai.McpTransportParamUnion{OfParamHTTP: &openai.McpTransportParamHTTP{ServerURL: "https://developers.openai.com/mcp"}}}}, openai.AgentToolParamUnion{OfParamWebSearch: &openai.AgentToolParamWebSearch{}}}, MultiAgent: openai.MultiAgentConfigParam{Enabled: true, MaxConcurrentSubagents: openai.Int(4)}}, Environment: openai.EnvironmentParamUnion{OfParamSelfHosted: &openai.EnvironmentParamSelfHosted{WorkspaceDirectory: "/workspace", CapabilityDirectories: []string{"/workspace/capabilities/skills"}}}, Input: openai.BetaAgentSessionNewParamsInputUnion{OfArrayOfInputMessages: []openai.AgentSessionInputMessageParam{openai.AgentSessionInputMessageParam{Content: []openai.InputContentParamUnion{openai.InputContentParamUnion{OfParamInputText: &openai.InputContentParamInputText{Text: "Research how to connect an MCP server to an OpenAI agent, check for recent updates, and summarize the recommended setup."}}}}}}}) if err != nil { panic(err) } fmt.Println(session.ID) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 import com.openai.client.OpenAIClient; import com.openai.client.okhttp.OpenAIOkHttpClient; import com.openai.models.beta.agents.AgentToolParam; import com.openai.models.beta.agents.EnvironmentParam; import com.openai.models.beta.agents.McpTransportParam; import com.openai.models.beta.agents.MultiAgentConfigParam; import com.openai.models.beta.agents.sessions.SessionCreateParams; import java.util.List; OpenAIClient client = OpenAIOkHttpClient.fromEnv(); var session = client .beta() .agents() .sessions() .create( SessionCreateParams.builder() .agent( SessionCreateParams.Agent.builder() .model("gpt-6-astra") .instructions( "Use the OpenAI documentation MCP and web search to answer" + " technical questions accurately. Delegate independent" + " research tasks to subagents when useful.") .addTool(AgentToolParam.ProgrammaticToolCalling.builder().build()) .addTool( AgentToolParam.Mcp.builder() .serverLabel("openai_docs") .transport( McpTransportParam.Http.builder() .serverUrl("https://developers.openai.com/mcp") .build()) .build()) .addTool(AgentToolParam.WebSearch.builder().build()) .multiAgent( MultiAgentConfigParam.builder() .enabled(true) .maxConcurrentSubagents(4L) .build()) .build()) .environment( EnvironmentParam.SelfHosted.builder() .workspaceDirectory("/workspace") .capabilityDirectories(List.of("/workspace/capabilities/skills")) .build()) .input( "Research how to connect an MCP server to an OpenAI agent, check for recent" + " updates, and summarize the recommended setup.") .build()); System.out.println(session.id()); 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 require "openai" client = OpenAI::Client.new session = client.beta.agents.sessions.create(agent: {model: "gpt-6-astra", instructions: "Use the OpenAI documentation MCP and web search to answer technical questions accurately. Delegate independent research tasks to subagents when useful.", tools: [{type: "programmatic_tool_calling"}, {type: "mcp", server_label: "openai_docs", transport: {type: "http", server_url: "https://developers.openai.com/mcp"}}, {type: "web_search"}], multi_agent: {enabled: true, max_concurrent_subagents: 4}}, environment: {type: "self_hosted", workspace_directory: "/workspace", capability_directories: ["/workspace/capabilities/skills"]}, input: [{role: "user", content: [{type: "input_text", text: "Research how to connect an MCP server to an OpenAI agent, check for recent updates, and summarize the recommended setup."}]}]) puts session.id 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 curl -sS -X POST "https://api.openai.com/v1/agents/sessions" \ -H "OpenAI-Beta: agents=v1" \ -H "Authorization: Bearer $OPENAI_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "agent": { "model": "gpt-6-astra", "instructions": "Use the OpenAI documentation MCP and web search to answer technical questions accurately. Delegate independent research tasks to subagents when useful.", "tools": [ { "type": "programmatic_tool_calling" }, { "type": "mcp", "server_label": "openai_docs", "transport": { "type": "http", "server_url": "https://developers.openai.com/mcp" } }, { "type": "web_search" } ], "multi_agent": { "enabled": true, "max_concurrent_subagents": 4 } }, "environment": { "type": "self_hosted", "workspace_directory": "/workspace", "capability_directories": ["/workspace/capabilities/skills"] }, "input": [ { "role": "user", "content": [ { "type": "input_text", "text": "Research how to connect an MCP server to an OpenAI agent, check for recent updates, and summarize the recommended setup." } ] } ] }' For a runtime comparison, see the Agents overview . The Agents API retains session state so you can continue work across turns without
rebuilding the conversation context. You can delete sessions and published
artifacts when you no longer need them.
The Agents API currently supports data residency only in the United States and
does not support Zero Data Retention (ZDR). Choosing a self-hosted sandbox does
not make the Agents API ZDR-eligible. See Data controls
in the OpenAI platform for details on data residency and retention. | aquir | 350 | 185 |
| 🟧 hn | OpenAI Agents API | ushakov | 13 | 0 |
| 🟧 echo.blog ⭐ | OpenAI introduces the Agents API; the accompanying documentation and Reddit account describe managed Codex orchestration with durable sessio | OpenAI | — | — |
| 🟧 hn | OpenAI Agents API, here we go, the assistant API again? | ltononro | 2 | 0 |
| 🟧 openai | Introducing the Agents APIRetrieved article excerptOpen article · Retrieved 2026-09-12T00:21:26.268642+00:00 September 10, 2026
[Product](https://openai.com/news/product-releases/)[API](https://openai.com/stories/api/)
# Introducing the Agents API
Build and run cloud agents with the Codex harness, fully managed by OpenAI.
Loading…
Share
As we’ve scaled Codex and ChatGPT for Work to millions of people around the world, we’ve learned what it takes to make long-running agents work well in practice. Useful agents need a powerful harness that manages context, uses tools efficiently, and coordinates subagents. They also need infrastructure that keeps them running reliably for days, with environments where they can work with files, run code, and save intermediate results.
Today, we’re introducing the [Agents API(opens in a new window)](https://developers.openai.com/api/docs/guides/agents-api/overview) in public beta, bringing that same harness and infrastructure that powers Codex to developers through a simple, flexible API.
## What our customers are saying about Agents API
1 of 8
> “With the Agents API, our evaluation score went from 0.71 to 0.85. The subagent support in the API is great and drastically sped up our workflow. Previously it was pretty cumbersome to observe and orchestrate subagents in our old setup but the new APIs gave us a 4x latency reduction. We spent a long time trying to optimize for this and the subagent flows were a huge out-of-the-box lift.”
Jack Weissenberger, CTO, Ciridae
> “Transforming real-world businesses means deploying AI into workflows of every shape. Agents API supplies the harness; the environment, context, and UX stay ours. With our AI platform Nexus we now stand up agents in hours across industries, from residential services to architecture.”
Rasmus Wissmann, CTO, Long Lake
> “The Agents API has enabled us to think differently about how we can architect complex, multi-step workflows. We used to write prompt chains and manage our own set of tool calls, but now we can use agents directly in our code much like how Codex works on your laptop. It’s already helped us solve several problems that would’ve otherwise required us to build custom agent infrastructure.”
Cole Striler, Director of Engineering, WithCoverage
> “After migrating our case review workflow to the Agents API, we saw a 60% reduction in cost per case, lower latency, and significantly improved token efficiency while maintaining existing performance.”
Bhavyansh Sabharwal, Member of Technical Staff, SafetyKit
> “What stood out in our testing was how naturally the Agents API handled bursty workloads. We could fan out work across hundreds of agents, run them asynchronously, and collect the results later, without keeping infrastructure idle between peaks.”
Dmitry Khanukov, Co-founder & CTO, Dwelly
> “Earning customers’ trust is critical in financial services. OpenAI’s Agents API enables us to build more reliable agents, giving customers the confidence to use them in production. By separating the agent harness from the sandbox, we reduced failed agent responses by 86%.”
Serhii Shchoholiev, Lead Engineer, Hypha
> “The Agents API handled the implementation, independent review, remediation, and real-browser validation in a real, active repository. Overall, the agent’s engineering quality was very strong.”
Maks Operlejn, Senior ML Engineer, deepsense.ai
> “At Nash, we deploy thousands of long-running AI agents that manage hundreds of millions of deliveries across global logistics networks. OpenAI’s Agents API gives us the durable session and orchestration layer we need for agents operating continuously in production managing context, recovery, and multi-step execution, while Nash provides the tools and execution environment that connect them to the physical world. This lets our agents reason, act, recover, and collaborate across complex workflows that can span hours or days. These agents are production infrastructure running mission-critical logistics operations for our partners.”
Aziz Alghunaim, Co-founder & CTO, Nash.ai
- Ciridae
- Long Lake
- WithCoverage
- SafetyKit
- Dwelly
- Hypha
- deepsense.ai
- Nash.ai
## Build cloud agents with a single API call
With the Agents API, you can create a production-ready agent in a single API call by specifying the task, model, tools, and environment:
#### JavaScript
```` ```
1
import OpenAI from "openai";
2
3
const client = new OpenAI();
4
5
const session = await client.beta.agents.sessions.create({
6
agent: {
7
model: "gpt-6-astra",
8
tools: [
9
{
10
type: "mcp",
11
server_label: "observability",
12
transport: {
13
type: "http",
14
server_url: "https://observability.example.com/mcp",
15
},
16
},
17
],
18
multi_agent: { enabled: true, max_concurrent_subagents: 3 },
19
},
20
vault_ids: ["vault_YOUR_VAULT_ID"],
21
environment: {
22
type: "openai_hosted",
23
capability_directories: ["/workspace/capabilities/skills"],
24
},
25
input:
26
"Investigate service-api’s elevated 5xx rate over the last 30 minutes. " +
27
"Delegate deployment, error, and dependency analysis to subagents. " +
28
"Save findings, evidence, and recommended mitigation in /workspace/outputs.",
29
});
``` ````
OpenAI hosts and maintains the harness. You choose the agent’s compute environment: in an OpenAI-managed sandbox, on your own infrastructure, or with one of our sandbox partners. The Agents API gives you a strong foundation for building agents on top of our optimized agent harness and infrastructure, so you can focus on the tools, knowledge, and workflows that make your agent unique.
An application sends tasks to the Agents API and receives events and output. The Agents API runs the managed Codex harness, sending tool calls to a sandbox and receiving tool results. The application controls self-hosted compute.
Agents API powers your agents with the same harness and infrastructure behind Codex.
## Choose your agent environment
Different workloads need different compute, storage, and deployment options. The Agents API lets you choose a sandbox that fits your application.
We’re [partnering with ecosystem providers(opens in a new window)](https://developers.openai.com/api/docs/guides/agents-api/environments/self-hosted#sandbox-providers), including Blaxel, Cloudflare, Daytona, DigitalOcean, E2B, Modal, Oracle, Runloop, and Vercel, to provide first-class integrations for a range of needs:
- Fully managed environments or deployments within your VPC
- Specific file and secret storage mechanisms
- Different CPU, GPU, and memory configurations, with performance, cold-start, and cost profiles to match your company’s workflow.
Sandbox partners: Modal, Cloudflare, Daytona, Blaxel, Runloop, Vercel, Oracle, E2B, and DigitalOcean.
The Agents API offers first-class integrations with popular ecosystem providers.
## OpenAI hosted sandboxes
For developers who want to get started quickly and scale efficiently, we’re also introducing the [OpenAI hosted sandbox(opens in a new window)](https://developers.openai.com/api/docs/guides/agents-api/environments/openai-hosted). This leverages the same sandboxing infrastructure that powers Codex and ChatGPT.
OpenAI provisions and manages the sandbox, giving your agent a secure and performant environment to run code, work with files, and produce artifacts. These sandboxes can be flexibly configured with your files, packages, skills and plugins to give the agent what it needs to complete the task.
## Build with an evolving Codex harness
Taking advantage of new model capabilities often means reworking your harness, taking valuable time away from improving your application. The Agents API provides versioned access to these capabilities with each model launch. We maintain and continuously improve the harness alongside our models, helping your agents get better performance from every upgrade. For example, recent improvements to the harness include:
### Keep agents working across long sessions
To support models working for hours, we’ve built context management that helps agents carry relevant information across longer sessions. The Agents API [automatically compacts(opens in a new window)](https://developers.openai.com/api/docs/guides/compaction) earlier context as a session approaches its context limit, preserving information the agent needs to continue. Developers can build workflows that span multiple context windows without implementing their own compaction logic.
### Help agents efficiently use more tools
The Agents API helps agents find the right tools and use them efficiently. [Tool search(opens in a new window)](https://developers.openai.com/api/docs/guides/tools-tool-search) loads relevant tool definitions as needed, helping reduce token usage and cost while preserving the model’s cache. Once tools are available, [programmatic tool calling(opens in a new window)](https://developers.openai.com/api/docs/guides/tools-programmatic-tool-calling) lets agents run calls in parallel, chain related operations, and filter or combine results in code so they can work through large volumes of data while bringing only the relevant results back into context. The Agents API supports MCP, custom functions, and built-in tools like web search.
#### JSON
```` ```
1
"agent": {
2
"tools": [
3
{
4
"type": "mcp",
5
"server_label": "openai_docs",
6
"transport": {
7
"type": "http",
8
"server_url": "https://developers.openai.com/mcp"
9
}
10
},
11
]
12
}
``` ````
### Let agents parallelize work with subagents
With [multi-agent support(opens in a new window)](https://developers.openai.com/api/docs/guides/agents-api/multi-agent), the Agents API can break complex tasks into independent pieces and delegate them to subagents that work in parallel. Each subagent maintains its own context, helping it stay focused on its assignment, while the main agent coordinates their work and brings the results together. This can speed up research, analysis, and coding tasks that benefit from parallel work, without requiring you to build your own orchestration.
#### JSON
```` ```
1
"agent": {
2
"model": "gpt-6-astra",
3
"multi_agent": {
4
"enabled": true,
5
"max_concurrent_subagents": 3,
6
}
7
}
``` ````
## An open-source foundation
The Agents API is powered by the open-source Codex harness, giving developers visibility into the core logic that coordinates model calls, tools, and context. With the Agents API, OpenAI operates and maintains that harness while developers can inspect and learn from its [public codebase(opens in a new window)](https://github.com/openai/codex).
## Start building
Agents API is available in public beta today to all developers. There are no additional fees for using the Agents API – you simply pay for the tokens and tools your agents use, as outlined on our [pricing page(opens in a new window)](https://developers.openai.com/api/docs/pricing).
Explore the [Agents API overview(opens in a new window)](https://developers.openai.com/api/docs/guides/agents-api/overview) to learn more, or follow the [quickstart(opens in a new window)](https://developers.openai.com/api/docs/guides/agents-api/quickstart) to get started and bring the harness behind Codex into your own agents.
During the public beta, we’ll iterate quickly based on your feedback as we work toward general availability. Let us know what’s working, where you’re running into friction, and what you need to build and run your agents in production.
- [API](https://openai.com/news/?tags=api)
- [Codex](https://openai.com/news/?tags=codex)
- [2026](https://openai.com/news/?tags=2026)
## Author
OpenAI
## Keep reading
[View all](https://openai.com/news/)
Now everyone can put data to work — card image
[Now everyone can put data to work
ProductSep 10, 2026](https://openai.com/index/put-data-to-work/)
FinServ Blog - Art Card Texture Square
[Introducing ChatGPT for Financial Services
ProductSep 10 | OpenAI | — | — |
| 🟠 reddit | Week in review: OpenAI ships managed Agents API, Apple's new Siri reportedly runs on Gemini, and three vendors add agent spend controls artificial | ksraj1001 | 1 | 0 |
| 🟠 reddit | Be careful with the new Agents API, I just paid $1600 for idle containers OpenAI | Wide-Arugula3042 | 147 | 43 |
| 🟠 reddit | OpenAI is preparing a new Codex Cloud with Tailscale and Azure workload identity OpenAI | ryanmerket | 69 | 10 |
| 🟧 hn | Computer Use in the Agents API | acossta | 1 | 0 |
| 🟧 hn | OpenAI – Codex gets reusable cloud envs that work across devices | srnvs | 2 | 0 |
| 🟧 openai | How Third Moment Research runs 10,000 agents for 36+ hoursRetrieved article excerptOpen article · Retrieved 2026-10-14T18:23:13.219549+00:00 October 14, 2026
Startup
# How Third Moment Research runs 10,000 agents for 36+ hours
With GPT‑6 Astra and GPT‑6.1 Sol, Codex, and Daybreak for cybersecurity, this AI lab builds agents that focus for days and improve with use.
[Start building with OpenAI](https://openai.com/startups/)
White Third Moment wordmark over smoky plum glass illuminated by warm amber light.
Company size: Startup
Region: North America
Industry: Technology
Products: API, Codex
10,000
Agents running concurrently
36–48
Hours per autonomous research session
97%
Reduction in backtest time with Codex
1
Trillion OpenAI tokens in a single day
Loading…
Share
Every company has its own workflows, tools, edge cases, and definitions of success. [(opens in a new window)](https://thirdmomentresearch.com/)[Third Moment Research(opens in a new window)](https://thirdmomentresearch.com/) believes the best agents should be really good at that specific work and should improve their capabilities the more they’re used.
The company is building a self-improving AI system around that idea, using OpenAI’s latest models to understand agent behavior, identify recurring weaknesses, and automatically create thousands of synthetic scenarios around those problems. The team uses those scenarios to improve agents, repeating the process as new issues emerge.
Codex, GPT‑6 Astra, GPT‑6 Sol, and GPT‑6.1 Sol support the system’s research and computational work, enabling Third Moment to run 10,000 agents at once on investigations lasting 36-48 hours. The company also uses Daybreak to test the security of the environments where agents work.
> “In a single session, GPT-6.1 Sol is able to maintain a coherent thread of computational research across days of compute without losing the plot.”
—Adam Khakhar, Co-founder, Third Moment Research
## Reducing runtime and token waste with Codex
One of Third Moment’s early applications is in the field of quantitative finance given the clear measure of success. This domain provides a concrete setting to study how agents work and where they struggle. The team uses Codex to find and address problems in the research environment.
In one instance, it used Codex with GPT‑5.6, the latest GPT model at the time, to analyze thousands of recorded simulation trajectories (the agents’ actions and the environment’s responses) alongside timestamps and the codebase.
Codex uncovered a bottleneck: backtesting a trading strategy across a year of order-level US equity data took several hours. While waiting, agents repeatedly polled for completion, wasting tokens and filling their context with status checks.
After profiling the backtest and analyzing its inputs and usage, Codex identified a caching optimization and a memory-packing technique. It experimented with solutions and deployed the fix to production, reducing the backtest from approximately 3 hours to approximately 3 to 5 minutes. This reduced token use and context pollution, freeing more of the agents’ token budget for further experiments.
## Keeping agents on task with Codex and GPT‑6
Third Moment gives each agent the tools, information, and environment it needs for a specific job. For quantitative research, the team runs the default Codex harness inside a Dockerized environment. Agents receive a terabyte of data, documentation, and a research repository with modules for feature engineering, GPU-supported model training, trading strategies, and simulation.
GPT‑6 Astra, GPT‑6 Sol, and GPT‑6.1 Sol provide the reasoning, while the Codex harness gives agents tools to act, create plans, set objectives, spawn subagents, and compact context as work continues.
To address agents that stop before completing a task, Third Moment treats Codex as a subagent within an outer harness powered by GPT‑6 Sol or GPT‑6.1 Sol. The outer harness examines the trajectory when a task is left unfinished and determines whether to retry, terminate the job, or escalate to human review.
> “The Codex harness is extremely versatile, and it enables use across many different domains.”
—Adam Khakhar, Co-founder, Third Moment Research
In that research environment, agents work to improve a baseline trading system built by Third Moment’s engineers. They test trading strategies on historical data, assess whether an improvement is meaningful or noise, and use each result to choose the next experiment. According to Adam, their work has improved the baseline trading system.
Third Moment Research’s continual improvement loop: agents run experiments, identify recurring issues, generate simulations, and improve the agent, using Codex and OpenAI models.
## Sustaining longer research with greater token efficiency
Before GPT‑5.5, Adam says models could only execute experiments prescribed by a user. With GPT‑5.5 and GPT‑5.6, models working with the Codex harness could use results to design follow-up experiments. Now with GPT‑6 Astra, GPT‑6 Sol, and GPT‑6.1 Sol, agents can investigate root causes through hundreds of experiments running in parallel with subagents.
That progression has helped agents explore research directions the team hadn’t anticipated. In one session, GPT‑6.1 Sol identified the impact of non-displayed trades on an exchange where those trades accounted for an unexpectedly large share of volume. “This was an unobvious result that our research team did not initially consider,” says Adam.
Third Moment evaluates models across optimization, machine learning systems, and quantitative research. It tests frontier releases at their highest reasoning settings, assessing their ability to navigate repositories, write efficient code, and sustain an investigation. Current testing also includes GPT‑6 Luna.
> “GPT-6.1 Sol is currently our most-used model given its token efficiency. It completes tasks with the fewest tokens while delivering performance similar to GPT-6 Astra.”
—Jeffrey Yan, Co-founder, Third Moment Research
One benchmark asks agents to reduce a live scoreboard service’s update latency while preserving its outputs. The team measures speedup by dividing the average runtime of an expert-crafted solution by that of the model’s solution on the same hardware, subject to correctness. GPT‑6 Astra delivered the biggest speedup, according to Adam.
For targeted work, including checks for specific security weaknesses in the simulation system, the team uses more efficient models like GPT‑5.6 Terra. For deep research, Adam believes stronger reasoning can justify higher cost: “In the space of quantitative finance, the value of finding some interesting signal is extremely high.”
## Automating security testing with Daybreak
With 10,000 agents running autonomously, Third Moment needs a way to test the security of its research environments at scale. The team uses the Daybreak cybersecurity platform to automate that testing before simulations launch.
The tests check whether an agent could break out of its research environment and access the wider network. “By using Daybreak, we’re able to have agents themselves do penetration testing on the simulation and test the infrastructure and security of it,” says Adam.
> “Without Daybreak, we would not be able to autonomously test this at scale.”
—Adam Khakhar, Co-founder, Third Moment Research
## Moving toward hundreds of thousands of collaborating agents
Third Moment’s ambition extends to the specialized work companies do every day. For a retailer, that could mean making better supply chain decisions when inventory is short or a supplier is delayed. For an engineering team, it could mean finding performance bottlenecks in a large codebase. For a document-heavy business, it could mean identifying where commitments in one document don’t match outcomes recorded in another.
Building on the reasoning capabilities of GPT‑6 Astra, GPT‑6 Sol, and GPT‑6.1 Sol, Third Moment plans to expand from individual investigations to hundreds of thousands of collaborating subagents. Its roadmap calls for trillions of tokens supporting chains of dozens of dependent experiments, with the goal of using that research to autonomously improve agents as new challenges arise.
For Adam, this would give people more capacity to shape how agents learn and work: “Humans can be in a much more leveraged position, where they can think about how to do research and optimize the research itself instead of actually doing the research.”
## OpenAI <3 startups
[Join the community](https://openai.com/leads/startup/)[Start building(opens in a new window)](https://openai.com/startups)
## Keep reading
[View all](https://openai.com/news/)
Pollo AI — Cover and hero
[Pollo AI turns creative ideas into campaigns with OpenAI
StartupOct 8, 2026](https://openai.com/index/pollo-ai/)
LegalOn customer story draft card image
[LegalOn halves Codex costs while maintaining development speed
Oct 8, 2026](https://openai.com/index/legalon-halves-codex-costs/)
Basis customer story art card - slate blue texture
[Basis completes a tax workbook 2x faster with GPT-6 Astra
Sep 28, 2026](https://openai.com/index/basis-tax-workbook-with-astra/) | OpenAI | — | — |
| 🟧 openai | Amp puts AI agents to work beyond code with OpenAI modelsRetrieved article excerptOpen article · Retrieved 2026-10-14T18:23:19.905172+00:00 October 14, 2026
Startup
# Amp puts AI agents to work beyond code with OpenAI models
See how Amp pushes the frontier of what agents can do with GPT‑6 Astra, Ultrafast, GPT‑Live‑1, and Sign in with ChatGPT.
[Start building with OpenAI](https://openai.com/startups/)
Company size: Startup
Region: North America
Industry: Technology
Products: API
Loading…
Share
[Amp(opens in a new window)](https://ampcode.com/) is building a frontier AI agent that helps developers turn ambitious ideas into working software. For Quinn Slack, Amp’s CEO, each improvement in the models is an opportunity to expand what the agent can do, from helping developers decide what to build to writing code and designing pages.
Amp chooses and recommends models based on what works best for its users, and OpenAI models account for the majority of tokens used in Amp. Quinn shares, “OpenAI is very transparent, and when there are safeguards applied, users know and they understand. That makes it really easy to use OpenAI models. You can do all of your work in Amp with OpenAI models and be really happy.”
> “Our users really appreciate the consistency with which OpenAI models have been getting better and better.”
—Quinn Slack, CEO and member of technical staff, Amp
## Lowering the cost of building with Sign in with ChatGPT
As builders give agents more work, token costs can become a constraint. Quinn describes some Amp users consuming 10 billion tokens a week. He believes that if people watch every increment of usage, it might hold them back from finding out what an agent is capable of.
To help alleviate that, Amp launched its Sign in with ChatGPT integration. Quinn says it gives Amp users access to more tokens and OpenAI models, including GPT‑6 Astra, which changes how willing they are to let an agent take on a larger task.
“Sign in with ChatGPT means that people can have that feeling where they’re not counting every single token,” he says. “And once you actually let the agent go and have a longer leash, then you realize just how much it can do.” Quinn says he sees people using the agent to plan, decide what to build, and continue working after they ship.
## Writing, designing, and creating with GPT‑6 Astra
Amp wants agents to help with all the work that goes into building and growing a product. Its own 20-person team uses them that way, including in marketing. “We don’t have someone devoted to it, but we have an agent devoted to it,” Quinn says. The team relies on the agent to improve the experience for new users and help more people discover Amp through search and other channels.
For that work, having high-quality writing and design is critical. GPT‑6 Astra helps the team produce documentation and design pages that meet Amp’s exacting standards.
> “We have a very unique design style and writing style. We’re very picky about this, but we’ve been really happy with how GPT-6 Astra does.”
—Quinn Slack, CEO and member of technical staff, Amp
Quinn’s experiments with GPT‑6 Astra continue at home. He gave it the plans for his house and used it to create a 3D model in Blender. He and his children then turn that model into games: adding a lazy river through the house or chasing garlic around it, inspired by their grandmother’s dislike of garlic. “And that was not possible just a couple months ago,” he says.
## Talking to your agent through GPT‑Live‑1
Amp recently announced Puck, a conversational AI assistant built into Amp that helps users launch and manage other agents. Users can ask Puck to start an agent to investigate a bug, coordinate several agents, or find a previous conversation about a technical problem.
With Calling Puck, powered by GPT‑Live‑1, users can talk to Puck in real time, including from a watch. Quinn imagines people using it to keep their agents working while they’re away from their computers, even while out for a run.
## Accelerating agent workflows with Ultrafast
Amp has been testing Ultrafast mode with GPT‑6 Astra, and Quinn says the greater speed changes how people use agents. Today, people often switch between several agent tasks while waiting for each to finish. Faster responses could let people juggle fewer agents, or give agents more time to check their own work before returning a result.
> “People have not seen a model that’s this good, that’s this fast.”
—Quinn Slack, CEO and member of technical staff, Amp
For Amp, the next step is to bring more of the work before and after coding into the agent, so builders can carry an idea further without handling every step themselves. “There’s this unknown of what humans will create, and that’s what we all get to see. It’s cool to be playing a part in that,” Quinn says.
## OpenAI <3 startups
[Join the community](https://openai.com/leads/startup/)[Start building(opens in a new window)](https://openai.com/startups)
## Keep reading
[View all](https://openai.com/news/)
Third Moment Research — First light cover
[How Third Moment Research runs 10,000 agents for 36+ hours
StartupOct 14, 2026](https://openai.com/index/third-moment-research/)
Higgsfield longer videos and voice — cover and hero
[Higgsfield takes AI video from 1 minute to over 10
StartupOct 13, 2026](https://openai.com/index/higgsfield-longer-videos-voice/)
Pollo AI — Cover and hero
[Pollo AI turns creative ideas into campaigns with OpenAI
StartupOct 8, 2026](https://openai.com/index/pollo-ai/) | OpenAI | — | — |
| 🟠 reddit | Is anyone building on the Agents API yet? OpenAI | apricot_dragon | 5 | 13 |
| 🟧 hn | AI agent can move money in Stripe | ltononro | 3 | 3 |
| 🟧 hn | OpenAgentCore: The OpenAI Agents API, open source and self-hosted | gfortaine | 1 | 0 |