Updated · Markdown
Does Tex run real Claude Code, or a wrapper?
Updated 2026-11-29. Written by the team that builds Tex.
Short answer: real Claude Code. Each session's sandbox image has the Claude Code CLI and OpenAI's Codex CLI installed. An agent on a Claude model runs in Claude Code; one on an OpenAI model runs in Codex. Tex doesn't reimplement the agent loop. It adds what goes around it: triggers, a microVM per session, credentials kept outside the sandbox, budgets, approvals, a journal and a knowledge base the agent reads first.
What that means in practice
- The agent has Claude Code's own tools: files, shell, search and so on, plus the MCP tools and CLIs you give it, such as
ghandgit. - Model calls go to
/v1/messages(Claude Code) or/v1/responses(Codex) on Tex's model proxy, which enforces the agent's token budget and adds the key. - Instructions live in the agent's definition, one markdown document in the same shape as a Claude Code subagent.
- The knowledge base is mounted as files at
/knowledge_base, so the agent reads it with its normal file tools.
Questions people ask
Can I use my Claude subscription instead of an API key? On the hosted service, use an Anthropic API key or Tex's key.
Can I bring my own harness? No. Agents run Claude Code or Codex.