r/OpenaiCodex • • Jul 16 '26

Introducing the Codex Micro

Thumbnail
youtube.com
6 Upvotes

r/OpenaiCodex • • 31m ago

Question / Help Can Codex upscale existing artwork for print without an external tool?

1 Upvotes

I’m trying to use Codex to upscale raster designs before sending them to print. A friend gets cleaner results with Codex, but my exports just have more pixels: the edges still look jagged and the fine details look blurry when I zoom in. I want to preserve the original lettering, linework, and texture.

If you’ve gotten good results, what exactly did you ask Codex to do? Did it use ImageGen on the original file or call a separate upscaler? I’d appreciate a prompt, command, or settings that worked. Ideally I’d keep the workflow inside Codex without relying on a third-party tool or setting up ComfyUI.


r/OpenaiCodex • • 31m ago

How do you use Codex to upscale images for print without visible pixelation?

1 Upvotes

I’m trying to use Codex to upscale existing raster designs before sending them to print. A friend gets noticeably cleaner results with Codex, but when I try it, the output still looks pixelated or soft when I zoom in. I’d like to keep the original design intact, especially thin lines and small details.

If you’ve done this successfully, what workflow do you use in Codex? Do you ask it to use ImageGen, or have it run a dedicated upscaler on the original file? I’d love to see the exact prompt or tool and the settings that worked for you. How do you check whether the result actually looks sharper at the intended print size?


r/OpenaiCodex • • 17h ago

GPT-6.2 Sol blocked a legitimate security fix twice. Switched to GPT-6.1 Sol and it completed the task no issues.

16 Upvotes

I've been developing my own Windows desktop application, SlipUpClipz, using Codex.

During development, I discovered a legitimate PostgreSQL security vulnerability in an isolated staging environment. A database role had excessive permissions that could allow unauthorized changes to reward balances.

I asked GPT-6.2 Sol (Medium) to fix the permissions, preserve the existing migrations, and run security tests against disposable local PostgreSQL databases.

Instead of completing the task, ChatGPT put a restriction, or 6.2 has a weird bug and it returned:

"This content can't be shown. We take extra care with some cybersecurity requests. If you're doing authorized security work, apply for Daybreak to get broader access."

I figured the original prompt was too detailed, so I tried again with a much shorter prompt focused exclusively on defensive remediation.

Same restriction.

I even contacted OpenAI Support, which acknowledged that legitimate security work can trigger false positives and suggested narrowing the prompt or applying for Daybreak.

Then I switched to 6.1 Sol (Extra High) and submitted the original, comprehensive prompt.

It completed the task successfully.

The agent:

  • Identified the excessive database permissions.
  • Implemented a new versioned PostgreSQL security migration.
  • Restricted direct writes to protected reward balances.
  • Introduced transaction-bound authorization permits.
  • Verified that unauthorized database operations were denied.
  • Passed 94 offline reward tests, 21 staging database tests, 13 authorization tests, and 43 Pro licensing tests.
  • Preserved the production environment without deploying anything.

All of this was authorized development on my own software, using disposable local databases.

I'm not saying GPT-6.2 is less capable. This could simply be a difference in how the models or their safety checks handle cybersecurity-related requests.

But it was frustrating that the newer model couldn't proceed with a legitimate security correction that another model completed without issue.

Has anyone else noticed GPT-6.2 Sol triggering more cybersecurity restrictions than GPT-6.1 Sol, particularly during defensive programming or security maintenance?

I'd be interested to know whether this is an isolated false positive or something other developers are experiencing.


r/OpenaiCodex • • 4h ago

News Stop wasting tokens & nuking files: I built Aetheris Microbrains, a deterministic sub-2ms pre-flight gate for OpenAI Codex CLI (and Claude Code / Antigravity)

1 Upvotes

If you’ve been running autonomous coding assistants like **OpenAI Codex CLI**, **Claude Code**, or **Google Antigravity**, you know the routine:

  1. The agent hallucinates bad Python syntax or tries an unsafe shell command.
  2. The execution fails (or worse, wipes `.env` / formats wrong files).
  3. The error trace gets dumped back into context.
  4. You burn $0.10–$0.50 and 3–5 recovery turns just getting the model back on track.

To solve this locally with zero GPU overhead, I built **Aetheris Microbrains** — an ultra-lightweight, deterministic 4-layer pre-flight AST policy engine and tool gate that intercepts tool calls in `< 2 ms` before execution.

We just added native integration for **OpenAI Codex CLI** (alongside Claude Code, Hermes, and Google Antigravity).

🔗 **GitHub Repo:** https://github.com/drtikov/microbrainsforagents

---

### 🤖 What it does in OpenAI Codex CLI

Codex CLI supports native `PreToolUse` and `PostToolUse` command hooks. Microbrains plugs directly into `.codex/hooks.json` via `--host codex`:

  1. **PreToolUse Hard Deny (`exit 2` + `permissionDecision: "deny"`):**

    - Structural AST validation catches broken Python syntax (unclosed brackets, bad indentation) before Codex ever touches disk.

    - Vetoes credential exfiltration (`cat .env | curl`, `AWS_SECRET_KEY` in code) and destructive commands (`rm -rf /`, raw disk writes).

  2. **Seamless Escalation:**

    - Ambiguous commands cleanly defer to Codex’s host approval policy (`defer_to_host_policy`), avoiding broken execution while respecting your approval settings.

  3. **PostToolUse Security Warnings:**

    - Scans tool outputs for leaked secret keys or indirect prompt injections and injects contextual warnings into Codex before context compaction.

  4. **Zero Hassle Setup:**

    - Install with one command:

```bash

pip install -e .

python .agents/skills/microbrains/install_codex_hook.py --profile dev

python .agents/skills/microbrains/install_codex_hook.py --self-test

```

- Supports a safe **`--shadow`** mode so you can audit what it *would* block in `decision_journal.jsonl` before turning on active enforcement.

---

### 📊 Measured Benchmark Results (Windows / Python 3.10.6)

Here are direct measurements from our deterministic benchmark suites:

#### 1. Deterministic 26-Step Coding Session A/B (`test_skill_gain_ab.py`)

Tested across 14 benign tool calls and 12 seeded hazards:

* **Hazards caught:** **12 / 12 (100%)** *(0/12 without gate)*

* **Python syntax crashes:** **4 → 0 (100% fewer)**

* **Unsafe actions allowed:** **8 → 0 (100% blocked)**

* **Benign false positives:** **0 / 14 (0.0% false alarm rate)**

* **Wasted recovery turns:** **8 turns eliminated** (~37,055 modeled input tokens saved, ~$0.1112 saved per session)

* **Error-feedback tokens in context:** **146 → 37 (-74.7%)**

* **Local gate latency:** **0.73 ms mean / 1.27 ms p95** (pure CPU NumPy/AST)

#### 2. Security & Anti-Evasion Benchmark (`10_agent_security_benchmark.py`)

* **Attack vectors caught:** **22 / 22 (100.0%)**

* **Benign controls blocked:** **0 / 12 (0.0%)**

* **Local decision latency:** **0.41 ms p50 / 2.79 ms p95**

#### 3. Real SWE-bench Lite Gate (300 Real GitHub PR Diffs)

* Real gold patches evaluated: 71.7% auto-allowed, 27.3% safely escalated, and 1.0% denied (only for hardcoded `eval`/`exec`).

* **AST Syntax False Positives on real code:** **0.0%**

* **Synthetic code mutations caught:** **60 / 60 (100%)**

#### 4. Hook Overhead Note

The engine itself evaluates in under **1.5 ms**. On Windows, spawning a fresh Python subprocess for command hooks takes ~400 ms p50 per hook (Python interpreter cold-start). If you want that down to single-digit milliseconds, Microbrains includes a local warm daemon (`aetheris-daemon`).

---

### 🏆 What You Win by Using Microbrains

  1. **Lower API Bills & Fewer Context Bloats:** Stopping a syntax error or hallucinated shell call before execution prevents 5–15 seconds of waiting and the cascading multi-turn error loops that burn through prompt context.
  2. **Air-Tight Local Guardrails:** Protects `.env`, `.ssh/`, `.git/hooks/`, detects base64 decode-to-exec tricks, and stops outbound credential egress.
  3. **Prompt Cache Protection:** Includes sticky-session tool narrowing that cuts tool schema tokens by **up to 56.7%** without breaking Anthropic/OpenAI prompt cache prefixes.
  4. **Complete Forensic Journal:** Everything evaluated is logged with SHA256 hashes and rationale. Run `python -m aetheris_microbrains.audit --explain` to see exactly why an agent call was blocked or escalated.

Code is open-source (Apache-2.0):

👉 **Check it out on GitHub:** https://github.com/drtikov/microbrainsforagents

Feedback, PRs, and test cases are welcome! Let me know if you run it in your own Codex or Claude Code setups.


r/OpenaiCodex • • 18h ago

Question / Help Uncensored models

3 Upvotes

Can community recommend uncensored AI models that actually work?
Use-case is for reverse engineering software and penetration/exploit testing.


r/OpenaiCodex • • 14h ago

Showcase / Highlight Single-file HTML is the future of design

1 Upvotes

I just rolled out as a freebie for your agents and humans:

> 97 enterprise-grade landing pages
> 30 recession-proof design systems
> 18 production-ready motion components
> 3 hollywood-level video clips

each safely contained in a single html file

free and open source

https://instalanding.ai

https://github.com/RayVelez27/instalanding.ai


r/OpenaiCodex • • 15h ago

Devs: what never makes it into your plan file, and when do you find out it was missed?

0 Upvotes

I used to keep a plan file my coding agent read at the start of every session. The file itself was fine, honestly. The stuff that broke me was never in it.

A user would email me a bug. I would fix it in my head, tell myself I would add it later, and then not. A decision would get made inside a chat with one tool and never get written down anywhere. Once I spotted something broken while I was out, dictated a note on my phone, and that note just lived on my phone for like four days while the agent happily built the wrong thing.

I started building something to fix this for myself because I was spending more time being the courier between my own tools than actually building. Not selling anything here. I just want to know if this intake gap is only my problem.

What class of thing most often misses your plan file? Is it external requests, stuff from email or Discord or wherever your users actually talk to you? Decisions made mid-chat? Your own quick notes?

And when do you find out something was missed? Is it a user asking a second time, the agent shipping something you already ruled out, some weekly review where you spot it late?

Did anyone actually fix this? Like, does everything land in one inbox first before it counts, or do you let the agent read the source directly, issues and email and all that? Or did you just accept the leaks?

Curious what you are building with this setup too, your own product, client work, day job stuff. The cost of a missed item feels pretty different depending on that.

Background, since I get asked: I built the thing for myself after burning too many hours on this. What if something handled all of this for you, in the cloud over MCP, so every agent and tool got the same context: decisions, failed attempts, conversations, skills, procedures, tasks. You never touch a file again. Would you guys pay for something that fixes this? Or is a capture habit honestly the whole fix and a tool would just be another place for requests to pile up?


r/OpenaiCodex • • 17h ago

Showcase / Highlight Running Codex next to Claude Code with one shared memory (free, open-source Mac app)

1 Upvotes

I use Codex for long unattended runs and Claude Code for other work on the same repos. The friction was that neither knew what the other had already learned.

So I built JoeBro, a Mac workspace where Codex, Claude Code, OpenCode and local models share one per-project memory over MCP. Codex saves the decisions and gotchas it hits; whichever agent picks the project up next recalls them. Each fact records which agent wrote it, so you can see where something came from.

The Codex-specific bits that help me: queue Codex tasks overnight and review diffs plus test results in the morning, and get a phone notification when it's waiting on approval instead of finding it stalled hours later.

Local first, no account, GPLv3: https://github.com/joexk1/JoeBro. Disclosure: I'm the developer.


r/OpenaiCodex • • 1d ago

Honestly 6.2 Astra is great if you give it super detailed instructions what to do

18 Upvotes

I'm using it as my reviewer agent and it's picking up on edge case bugs that Opus 5.5 missed and so did Fable 5.2

Yes it's lazy and doesn't do things on it's own but if you give it a really detailed prompt, it leaves absolutely no stone unturned.

Anyone else agree?


r/OpenaiCodex • • 1d ago

Bugs or problems Code review repeatedly blocked by cybersecurity warning on 6.2-Sol-High

12 Upvotes

I switched to GPT-6.2-Sol High this week and asked Codex to perform a code review on pretty ordinary code -- my own Rust code for an iOS messaging app. The prompt was just "Perform a code review on branch [name]." Just about every turn of the review has been interrupted with "This content can’t be shown. We take extra care with some cybersecurity requests. If you’re doing authorized security work, apply for Daybreak to get broader access."

I had seen this warning once or twice before, but now it's happening every few seconds. Is anyone else seeing this? Any tips for avoiding it? I had a very generic prompt. I'd be happy to get Daybreak access but it's not clear how to do that as an individual/hobbyist. I'd appreciate any ideas!

(On a side note, this post was removed from r/codex; any idea why?)


r/OpenaiCodex • • 21h ago

Alguien tendra alguna manera de conseguir GPT pro o un restablecimiento semanal porfavor (Yo se que les causa molestia, disculpen de verdad)

0 Upvotes

Porfavor de verdad, no tengo nada de dinero y necesito para un proyecto escolar urgente Chat gpt pro o un restablecimiento, Tengo una oferta pero me sale el maldito error de pago no aprovado. Mi chat gpt plus me queda 5% semanal y no tengo restablecimientos.

Este canal me ha ayudado demasiado, pero de verdad necesito su ayuda gente.

Disculpe si causa cualquier tipo de molestia pero porfavor :(

Mods porfavor de verdad antes de que si lo borren si me pueden ayudar porfavor es demasiado urgente, sino repito de año escolar por favor :(

De verdad perdon a todos los que les dan a la flechita abajo y les molesta esto pero este canal es mi ultima opcion, yo se que en este canal son capaces de conseguir cualquier cosa literal, y esto lo hago solo para no repetir de año escolar. Entiendanme por favor :(

Tengo todo el sitio que ya esta enviado al profesor en codigo, nose ni lo mas minimo de codigo y el profesor me ha dicho que arregle los errores que tiene. De verdad me ayudan demasiado con cualquier tipo de recomendacion o algo asi porque el proyecto esta de local en mi pc y no puedo usar IAs locales porque se apaga la pc.


r/OpenaiCodex • • 1d ago

Showcase / Highlight Built with Codex CLI

Thumbnail
apps.apple.com
2 Upvotes

Built this with codex CLI / Xcode - pulled on Apple various developer kits for sprites and screen actions.

Score board on AWS server

Mostly sol 6.1 / recent updates from v1.04 onwards in Sol 6.2


r/OpenaiCodex • • 1d ago

Codex devs living on markdown files: what is the first thing the files cannot do?

2 Upvotes

I used to run my whole setup on markdown files and honestly it held up longer than I expected. One handoff file, one decisions file, a rules file that both my coding tools were supposed to read at the start. For a while that was enough.

Where it started to crack for me was not one big failure. It was smaller stuff piling up. I would open a fresh session and the agent would just... not read the handoff file, or read the old version of a decision and state it back to me with total confidence even though we had reversed it two days earlier. And once the folder got to a few hundred notes I could not find the right one fast either, so I get why the agent struggled.

I ended up building something to fix that for myself (not selling anything here, just trying to figure out if I hit the ceiling of the file setup or if I just had sloppy file discipline).

So for people whose agent setup is basically files: what was the first thing the files could not do for you? Was it finding the right note once there were too many, two tools writing at the same time and clobbering each other, a stale note sounding more confident than the actual code, something else? Did you fix it by getting stricter with the files, or did you move to something more structured?

Also curious what you are building with this setup. Own product, client work, day job stuff, just for fun?

One more thing I keep wondering about. Have you ever looked at a memory tool that keeps context across tools, or did that thought never really cross your mind? For me the worry was always that moving everything I already had in files into something new would feel like starting over.

What if something handled all of this for you, in the cloud over MCP, so every agent and tool got the same context: decisions, failed attempts, conversations, skills, procedures, tasks. You never touch a file again. Would you guys pay for something that fixes this? Have you ever thought about paying for a tool to manage all of this for you, or has the thought never crossed your mind?


r/OpenaiCodex • • 2d ago

Other I gave Codex its own mouse. It never touches mine.

Post image
12 Upvotes

Every AI "computer use" demo has the same problem: while it works, you can't. It grabs your cursor, types with your keyboard and yanks windows in front of you.

So I built PC-Control, a free MCP server for Codex (and Claude Code). Codex uses your Windows apps in the background, and you keep working at the same time. It doesn't fake mouse or keyboard input; it talks to the apps directly. The cyan cursor in the image is Codex. The white one stays yours.

New in 0.8:

- Works with Java/Oracle apps, Remote Desktop and Store apps.

- You type in one window, Codex in another: nothing crosses, and nobody waits.

- Apps that try to jump in front of you get sent back in milliseconds.

- Every click is verified: no fake "done".

pip install claude-pc-control

pc-control install --client codex

GitHub (MIT): https://github.com/VortexJer/PC-Control

What app should I make it work with next?


r/OpenaiCodex • • 1d ago

Bugs or problems Workspace name and cross chat history has more weight than current chat's active task.

1 Upvotes

Was working on something and said "try again" in the chat and GPT-6.2 medium pulled a totally different task from a different chat from the same project. When I stopped the task in the middle and checked, it doubled down on the wrong work. Killed again and asked for this weird behavior and the response is, " Because I gave the workspace name and retrieved cross-chat history more weight than this chat's active task"

Kind of weird how unrelated work from a different chat takes priority than the current chat. Has anyone else observed this behavior?


r/OpenaiCodex • • 1d ago

Showcase / Highlight I made a Desk Buddy for ESP32-S3 that helps you keep track of your codex quota!

Thumbnail
gallery
3 Upvotes

ClawPal is a small Wi-Fi display that sits on your desk and keeps you company. The crab lives on the Home screen and Monitors your PC:

  • Live PC stats with optional FPS in games
  • Live Claude Code/Codex usage
  • Claude Code/Codex notifications
  • Media controls for Spotify, browsers or any player, with album art
  • A volume mixer for your speakers, mic and each app
  • A Shortcuts grid that mutes your mic, locks the PC, opens apps and more
  • Weather, a clock and a timer

It connect to your PC via a windows companion app. It was made for ESP32-S3-Touch-LCD-4.3B, 800 × 480 but it support more:

Tested Boards:

Experimental Boards(not tested yet):

  • Waveshare ESP32-S3-Touch-LCD-5, standard 800 × 480 model
  • Waveshare ESP32-S3-Touch-LCD-7, 16 MB flash variant
  • Waveshare ESP32-S3-Touch-LCD-7, 8 MB flash variant
  • Waveshare ESP32-S3-Touch-LCD-2.8C
  • Guition ESP32-4848S040C_I, capacitive-touch version
  • M5Stack CoreS3

Free and open source (GPLv3).

GitHub: https://github.com/Kaayoos/clawpal

The case showcased in the image is 3D print made by me! You can find it for free on makerworld:
https://makerworld.com/en/models/3546648-esp32-s3-pc-monitor-spotify-weather-desk-buddy#profileId-4057099

Feedback welcome, especially if you try one of the experimental boards!


r/OpenaiCodex • • 1d ago

built-in audio and music support for codex

0 Upvotes

I have develping games and I have been bogged down by bgm and audio effect due to codex unable to generate audio and bgm, I hope Tibo could watch this post seriously, audio, text and img were the three basic mediums of human to sense the world and interact with world, maybe codex should ship the built-in audio or bgm tool to facilitate its customer as a better agent, thanks


r/OpenaiCodex • • 2d ago

Something wrong with my codex

0 Upvotes

Hey, does anyone know what’s going on with Codex? Ever since today’s update, it’s been eating up 20% of my 5-hour usage limit for even the simplest requests. Has anyone else experienced this issue?


r/OpenaiCodex • • 2d ago

Showcase / Highlight Anyone else constantly switching desktops just to check on Codex?

1 Upvotes

I use Codex and Claude Code a lot, and one thing that kept driving me crazy was constantly switching between windows and desktops just to check if an agent had finished, was still working, or needed my input.
So I built something to make that workflow less annoying.
Now I can keep an eye on my coding agents directly from my Mac’s notch without constantly jumping back into Terminal.
I also added Murmur, a local voice dictation feature, so I can talk instead of typing prompts. The speech transcription runs entirely on my Mac.
Here’s a quick look at my actual workflow.
It’s part of an app I’m building called Glance.
If you want to try it: joinglance.app
Curious how other Codex users manage multiple agents without constantly checking their progress.


r/OpenaiCodex • • 2d ago

Question / Help Codex and Chatgpt allowances combined already?

6 Upvotes

The [help article](https://help.openai.com/en/articles/20001625-understanding-chatgpt-and-codex-usage-limits) says it will begin from December but I already see quota consumption reflected on chatgpt.com/settings/usage after using codex.

Can someone explain?


r/OpenaiCodex • • 3d ago

Discussion Are Codex resets a slot machine?

Post image
18 Upvotes

I feel like I get random resets almost daily for certain periods, then suddenly nothing for weeks. Had almost daily resets for about a month, and now I haven't seen one in almost 2 weeks.

As a UX designer, I can't help noticing how much this resembles variable reward systems used in gambling (you get used to unexpected rewards and suddenly you're there every day waiting for the next one).

Maybe there are other explanations, maybe it's just OpenAI making internal decisions based on capacity, model costs, testing, or whatever... but I see what it does to me personally and can't shake the feeling this is on purpose.

Anyone else feel this way or am I just paranoid?


r/OpenaiCodex • • 2d ago

Anyone tried a shared memory across OpenaiCodex and Claude? What made you drop it?

1 Upvotes

I used to keep a doc open all day just to copy the same project background into OpenaiCodex, then into Claude, then back again when I switched for coding.

Honestly it was stupid how much time it ate. I would explain a decision in the morning, switch tools after lunch because one was better at the long doc part, and have to re-explain the whole thing like the first chat never happened. A couple times I pasted an old version too and only noticed when the answer confidently used a plan I had already scrapped.

I have been building something to fix this for myself, not selling anything here, I just want to learn from people who actually lived with a setup like this before I convince myself my version of the friction is everyone's.

So: did you try a shared memory thing across OpenaiCodex and Claude, or any two tools really? A connector, a shared notes file both are supposed to read, some homebuilt store, whatever counts.

What did daily use actually feel like? I keep hearing about the per-chat setup, or turning it on kills the tool's own memory, or it quietly does not read it half the time. Did stale stuff coming back bite you? How long did you stick with it before you either settled in or gave up?

And if you dropped it, what do you do now instead? Back to pasting a page at the start of every chat?

Also curious what you are even using these tools for, your own product, client work, day job stuff, just messing around? And does the phone thing factor in for anyone else, I do a lot of thinking out loud with speech-to-text on my phone and then that context is just not where my laptop work is.

What if something handled all of this for you, in the cloud over MCP, so every agent and tool got the same context: decisions, failed attempts, conversations, skills, procedures, tasks. You never touch a file again. Would you guys pay for something that fixes this? Have you ever thought about paying for a tool to manage all of this for you, or has the thought never crossed your mind?


r/OpenaiCodex • • 3d ago

Contrarian view: Sol 6.2 is actually a great model as it makes much less mistakes

29 Upvotes

Sol 6.2 (High) is growing in me; it makes much less mistakes.

I send its changes to a code review, often I get zero bugs found, where I used to get like 2,3 bugs per code review with Sol 6.1 (High).

This makes a huge difference in terms of actual development time.

In short, I changed my opinion on Sol 6.2: it is a good, much more reliable model.

Question is: is it just me or do u feel the same way?


r/OpenaiCodex • • 3d ago

Discussion Has Codex ever told you the next step, then done something else when you said to proceed?

3 Upvotes

A post on OpenAI's developer forum (Nov 19) describes this. The author says Codex completed a development step and named the next one in its own report. They replied with a plain instruction to proceed as planned, and it modified an unrelated feature instead.

Same post, different tool: ChatGPT treated lyrics they had co-written earlier as unfamiliar and, when corrected, confidently came back with the wrong song.

It's one user's account of their own usage, not a benchmark. I can't tell from a post like this what's causing it or how widespread it is, which is why I'm asking.

What I'd like to work out is whether this is mostly "the session got long and drifted" or something else:

- Does it show up late in a long session, or early too?

- Does it follow a certain kind of instruction ("proceed", "continue", "go ahead")?

- What actually fixed it for you: a fresh session, a notes file, restating the plan, something else?