← Back to Registry

Codex

Run OpenAI's Codex coding agent inside agentOS with programmatic API access.

Category
Agent
Status
Beta
Docs
Guide

Add to agentOS

Register the Codex adapter as your VM's software: [], then open a session with the codex agent id.

import { agentOS, setup } from "@rivet-dev/agentos";
import codex from "@agentos-software/codex";

// Register the Codex adapter as VM software
const vm = agentOS({ software: [codex] });

export const registry = setup({ use: { vm } });

// Then start a session from your client with the "codex" agent id:
// const session = await agent.createSession("codex", { env: { /* API keys */ } });