SONUB
EN English 한국어 日本語 中文 हिन्दी বাংলা اردو Español Português Français Deutsch Русский العربية Bahasa Indonesia Tiếng Việt ไทย Türkçe

How to enable notifications

Notifications are unavailable in this browser or on this address. Try a supported browser on the secure SONUB site.

If notifications are blocked, allow them in your browser settings.

  1. Open the site controls beside the address bar, or your browser’s site settings. Set Notifications for this site to Allow.
  2. In your device settings, allow notifications for your browser and check Do Not Disturb or Focus.
  3. Return to SONUB and reload the page. Once notifications are on, the bell disappears.

On iPhone or iPad, add SONUB to your Home Screen, open it there, then allow notifications.

Admin Log in Display theme Default theme Dark theme Pink theme Chat 1:1 Chat Group Chat Forum Notices News Suggestions Introductions Main menu Log out

Codex — OpenAI’s coding agent

Hand work to and the , get reviews from @codex on , review each other's work with other AIs such as , and have the team work from the same setup.

Subagents — hand off parts of the work

)

Ask to start and it splits research, building and review to run at the same time. Each has its own conversation, so the main conversation stays clean.

  • Built-in default, worker and explorer are there from the start, and /subagents moves between subagents.
  • Make your own subagents as files in .codex/agents/ (project) or ~/.codex/agents/ (you) — name, description, developer_instructions.
  • Subagents inherit the parent's sandbox and approval settings. "Never edit files" in an file is only an instruction, so for a real limit start the parent with --sandbox read-only.
  • Split the roles in your request, like "Review the current with reviewer, and meanwhile have worker write tests".
.codex/agents/reviewer.toml
name = "reviewer"
description = "Reviews diffs for bugs and missing tests."
developer_instructions = """
Run git diff. List bugs with file and line, then missing tests.
Never edit files.
"""
model_reasoning_effort = "high"

Codex cloud — hand work to the cloud

)

runs work in 's environment. It does not use your computer, so you can hand over several jobs at once and apply only the finished results you choose to your files.

  • First create an environment: in on the web or in the desktop app, choose Work in > Cloud > Select environment > Create environment. Pick your , let Codex prepare and test the setup, then review and publish it.
  • codex cloud shows the task list and starts new tasks. You can also hand one over directly with codex cloud exec --env <environment > "…".
  • codex apply <task ID> applies the change made in the cloud to your repository ().
  • Have it try the same job several times (--attempts) and pick the best result.
codex cloud                                   # see and start cloud tasks
codex cloud exec --env <ENV_ID> "Add input checks to the signup form"
codex cloud list
codex apply <TASK_ID>                         # apply the result to your files

GitHub — @codex review in PRs

)

Connect a GitHub repository to Codex and just writing @codex review in a comment gets you a review. With the (openai/codex-action) it can also run automatically on every PR.

  • @codex review — reviews that PR and reports only serious problems (, P1). You can turn on automatic review of every PR in the Codex settings.
  • Any other @codex … comment starts a cloud task with that content.
  • openai/codex-action@v1 takes and sandbox, runs Codex and gives the final answer as final-message — post it as a comment in a next step.
  • Pass the key as a (OPENAI_API_KEY), and keep sandbox at for a review that only reads.
.github/workflows/codex-review.yml
name: Codex review
on:
  pull_request:
jobs:
  review:
    runs-on: ubuntu-latest
    permissions:
      contents: read
    steps:
      - uses: actions/checkout@v4
      - uses: openai/codex-action@v1
        id: codex
        with:
          openai-api-key: ${{ secrets.OPENAI_API_KEY }}
          prompt: "Review this pull request. List bugs and missing tests."
          sandbox: read-only
      # the answer is in steps.codex.outputs.final-message

Put a ## Rules section in and Codex's PR reviews follow those rules.

Using several AIs together — review each other

)

When another reviews one AI wrote, problems that one would miss alone show up. If you share the same instructions through AGENTS.md, it is easy to switch between Codex and in one project.

Splitting the roles is another way. One AI plans and builds, another reviews and tests, and a person reads the final diff and decides whether to merge.

  • codex review --uncommitted — Codex reviews the uncommitted changes. --base <> reviews a whole branch.
  • diff | claude -p "…" — Claude Code reviews the changes Codex made.
  • From inside another AI's session, can hand one job to Codex (for example writing tests or making a picture).
  • When the two AIs disagree, have both give evidence (file, line, test result) and let a person check and choose.
Terminal
# Claude Code wrote the change — Codex reviews it
codex review --uncommitted

# Codex wrote the change — Claude Code reviews it
git diff | claude -p "Review this diff. List bugs and missing tests."

# From inside another AI's session, hand one job to Codex
codex exec --sandbox workspace-write "Write unit tests for src/price.ts"

Codex SDK and App Server — build on Codex

)

When a terminal is not enough, call Codex from your own . The runs Codex from code, and App is for building a deep Codex integration into your own product.

  • : install @openai/codex-sdk ( 18 or later, on the server side). : install openai-codex (Python 3.10 or later).
  • A thread is one conversation. Call thread.run() again on the same thread to continue the work.
  • App Server is the interface Codex uses to power rich such as the . Use it when your product needs sign-in, conversation history, approvals and streamed agent events.
  • For and , codex exec or the SDK is usually enough. The app-server command is experimental and not supported for production workloads, so check the documentation before you depend on it.
app.ts
import { Codex } from "@openai/codex-sdk";

const codex = new Codex();
const thread = codex.startThread();
const result = await thread.run("Find the failing test and explain why it fails");

console.log(result.finalResponse);

Running a team setup — together on the same settings

)
  • Shared (): AGENTS.md, .codex/config.toml, .codex/hooks.json, .codex/agents/, .agents/skills/
  • Personal (do not commit): ~/.codex/config.toml, files, ~/.codex/AGENTS.md
  • Keep AGENTS.md short. Add a rule only when the same mistake repeats, and delete wrong rules.
  • Enforce what must be followed with the sandbox and approvals, not with instructions. add a useful guardrail, but they are not a complete enforcement boundary.
  • Pass CI keys only to the step that runs Codex, and run reviews read-only.

Master practice — automation and working with other AIs

)
  1. Run Codex once without a conversation: codex exec "Find the test command of this project" > report.md, then read report.md.
  2. Save your usual settings (, sandbox) in ~/.codex/config.toml, open codex again and check with /status that they apply.
  3. Make a second folder with add ../my-project-b -b try-b and give Codex and Claude Code different jobs. When both finish, have each review the other's diff.
  4. Leave @codex review on a GitHub pull request and see the review arrive (connect Codex to the repository first).
  5. Add one team rule to AGENTS.md, give the same job to Codex and Claude Code, and compare whether both follow the rule.

If you get stuck: codex exec is read-only by default, so add --sandbox workspace-write when it must edit files. If a setting does not apply, check the current values with /status and codex --help. Done all five? Check yourself with the checklist below.

Master checklist

)
  • Shared rules in AGENTS.md — other AIs such as Claude Code work from the same instructions
  • You choose the sandbox and approvals to fit the job, with defaults written in and profiles
  • Repeated jobs go to skills and outside tools through . Must-follow rules go to the sandbox and approvals, with hooks as a guardrail
  • Repeated work is with codex exec and the GitHub Action
  • Big jobs are split across subagents and codex cloud, and only chosen results are applied
  • AIs review each other's work, and a person checks the final diff and tests

The tools change often. If a command does not work, check codex --help and the official docs first. Options in older articles (--full-auto, [profiles.x]) may already have changed.

Official documentation

Checked against the official documentation on 2026-11-02. These tools change often — if a command fails, see the official docs.

Glossary

Pick a word you don't know. You'll see a simple explanation and related terms.

No matching term yet.

Pick a term to see its explanation.

Reading window