Skip to content

Source-derived protocol · AI Engineer

Set Up a Codex Cloud Environment

Create a Codex Cloud environment by picking the GitHub repositories it should clone, then edit the environment to control settings like web access and to store secrets. If the environment needs resources not on the public internet, set up Tailscale to expose HTTP services to it without making them publicly accessible.

3 actions

What you will do

3 total

Create a Codex Cloud environment with the GitHub repositories, settings, and private-service access it needs.

From this source

  1. Start creating an environment by picking the GitHub repositories you want to have access to; you can select multiple repositories at the same time.

    Setup · onceDone when: The GitHub repositories the environment should have access to are selected, and multiple repositories can be selected at the same time.

  2. Edit the environment to control settings like whether to have web access, and to store secrets that can be shared with your team or kept personal.

    Setup · onceDone when: The environment's settings (such as web access) are configured and any secrets are stored, either shared with your team or kept personal.

  3. If you have resources not accessible to the public internet that the environment needs, set up Tailscale (get an API key, configure it) to expose HTTP services to the Codex Cloud environment without making them publicly accessible.

    Setup · onceDone when: Tailscale is set up with an API key and configured, and the HTTP services the environment needs are accessible through the Tailscale connection without being publicly accessible.

Why it works

What AI Engineer says this builds. Their framing, not ours — every line links to where they said it.

  • Work with your coding agent like a colleague with full context, not by dictating every step

    Dominik describes a shift toward what he calls 'vague prompting': conversing with your coding agent the same way you would with a colleague or friend who already has all the context, because nobody wants to work with a colleague you have to explicitly dictate every little thing to the point you could just do it yourself.

    View in the full analysis →
  • Getting value from a coding agent requires giving it the right context, including the goal

    Dominik says the biggest thing to get anything out of a coding agent is to have it have the right context, so it understands not just what it is trying to do but the goal being fulfilled.

    View in the full analysis →
  • Give a coding agent the right context, including the goal you're trying to fulfill

    Dominik Kundel says the biggest thing to get anything out of a coding agent is having it have the right context to understand not just what it's trying to do but the goal you're trying to fulfill. He frames it with the analogy that nobody wants to work with a colleague you have to explicitly dictate every little thing to, and that a skilled engineer dropped into a codebase should be able to contribute without making a mistake — the same goes for agents.

    View in the full analysis →
Source and verification

Source-derived protocol

Based on “New Ways of Working with Codex — Dominik Kundel & Charlie Guo, OpenAI” by AI Engineer.

  • Source fidelity verifiedPassed · Dec 5, 2026
  • Checked that it can be followedPassed
  • Editorially reviewedNot yet
  • Supported by independent sourcesNot evaluated

Source fidelity means each creator-worded element was checked against the exact statements it cites. It says nothing about whether the approach works.

mind