AI Code With Blog

Architecture Practice Articles

Model usage, API engineering and product practice around Architecture Practice.

Featured
How to Manage Multiple Projects in Codex? Tested Configs for Profiles to Switch Models and Keys, Git worktree, and GitHub Actions
Architecture Practice

How to Manage Multiple Projects in Codex? Tested Configs for Profiles to Switch Models and Keys, Git worktree, and GitHub Actions

When you use Codex across multiple projects, use ~/.codex/project-name.config.toml as a Profile to switch models, give each Key its own provider section selected by the Profile, isolate parallel tasks with Git worktree, and generate config.toml from a Secret in CI. Includes the original error output from testing.

AI Code With•10 min•

Latest 5

Jev Model Routing: How to Set Task Boundaries for Claude Code, Codex, and Gemini
Architecture Practice

Jev Model Routing: How to Set Task Boundaries for Claude Code, Codex, and Gemini

Jev doesn't write code. Use complexity, operational risk, and confidence to set clear boundaries for the models your coding agent runs.

AI Code With · 09/30/20264 min
How Do You Use Different Models Together? Don't Unify the Base URL. Unify the Key, Account, and Usage Records
Architecture Practice

How Do You Use Different Models Together? Don't Unify the Base URL. Unify the Key, Account, and Usage Records

Explains where third-party model configuration actually lives in the Codex App, and how to verify that requests take effect using the Provider, Endpoint, and usage records.

AI Code With · 09/02/202610 min
How to Choose Between Codex Plugins, Skills, MCP, and Internet Access: Define the Boundaries Before You Extend Capabilities
Architecture Practice

How to Choose Between Codex Plugins, Skills, MCP, and Internet Access: Define the Boundaries Before You Extend Capabilities

Securing Codex Internet Access means distinguishing between execution environments. In Cloud, set network access separately for the Agent phase and the Setup script. Give a task only the network egress it needs, and restrict access to specific domains and methods. Avoid broad permissions such as "allow all domains" to guard against prompt injection, secret leakage, and malware, and to uphold the principle of least privilege.

AI Code With · 08/25/202612 min
How to Split Tasks with Codex Subagents: Parallel Prompts, File Boundaries, and Acceptance Checks
Architecture Practice

How to Split Tasks with Codex Subagents: Parallel Prompts, File Boundaries, and Acceptance Checks

A concrete project-review example covering how Codex subagents are triggered, which tasks suit parallel work, file write boundaries, main-agent merging, and cost verification.

AI Code With · 08/25/20266 min