codex
ui · paidOpenAI's Codex CLI terminal UI, drawn from an agent session
npx shadcn add @ag/codexA paid item: its source installs with a licence key, kept in .env.local as AG_LICENCE_KEY and sent from components.json. The source stays in your project and out of any public repository. The licence
{
"registries": {
"@ag": {
"url": "https://ui.adriangalilea.com/r/{name}.json",
"headers": { "Authorization": "Bearer ${AG_LICENCE_KEY}" }
}
}
}Already installed? Preview an update
npx shadcn add @ag/codex --dry-runYour installed source stays unchanged until you update it. How updates work
Latest changes · 2026-09-30
- New: OpenAI Codex CLI's terminal UI drawn from an agent-session: the header box,
›prompts,•replies andRancommands with their└output, the working line, the─ Worked for 2h 14mrule a finished turn leaves, the composer. Same terminal reading as claude-code.
shelf devices & demos
uses agent-session
the demo above, verbatim
"use client"
import { Sample } from "@/app/samples"
import type { AgentEntry } from "@/registry/base-nova/lib/agent-session"
import { Codex } from "@/registry/base-nova/ui/codex"
// #region session
const ENTRIES: AgentEntry[] = [
{
kind: "prompt",
text: "Refactor the invoice pipeline to stream, then run the tests.",
},
{ kind: "say", text: "Reading the pipeline first." },
{
kind: "tool",
name: "Bash",
arg: "rg -n 'buildInvoice' src",
result: ["src/invoice/pipeline.ts:42: export function buildInvoice("],
},
]
// #endregion
export default function CodexDemo() {
return (
<Sample
name="working"
glance="large"
title="at work"
description="a transcript and the working line"
with="session"
>
<div className="h-[420px] rounded-xl bg-[#161617] p-5 font-mono text-[13px] leading-[1.45]">
<Codex
entries={ENTRIES}
work={{ seconds: 64, request: 12, tokens: 1800, ms: 0 }}
draft=""
cwd="~/invoices"
/>
</div>
</Sample>
)
}