How OpenAI Codex let me down — and why I built Codey, an open-source coding assistant

How OpenAI Codex let me down — and why I built Codey, an open-source coding assistant

4
calendar_today agoschedule1 min read
— Originally published at dev.to

When OpenAI announced Codex and CLI tools, I got excited — finally, an easy way to automate coding workflows using LLMs!
I bought credits, installed the CLI, and even set it up on my Mac.

But... it didn't go smoothly.

First, I realized Codex CLI only supports Mac and Linux. Okay, not ideal but manageable.
Then, I found out that cheaper models like gpt-4o-mini don't even support shell commands.
(If you try, you get ENOENT errors because tool calls are missing.)

I thought: maybe switching to o4-mini would fix it.
Nope — new accounts don't have access immediately. I was stuck.

Instead of waiting endlessly, I decided to build my own CLI assistant from scratch — and that's how Codey was born!

What is Codey?
Codey is a Python-based, open-source coding assistant that uses OpenAI's API — but defines all tools explicitly for safety and control.

It supports:

File Management: Create, edit, and read files with tools like create_file, edit_file, read_codebase

Git Operations: Add, commit, check status, view diffs, and more

Utilities: Search files (grep) and calculate expressions safely

Shell Commands: Run shell commands inside your environment securely

Why build it myself?
I wanted predictability — knowing exactly what a tool can and cannot do.

I wanted local safety — no random shell execution unless I allow it.

I wanted modularity — easily extend or customize based on project needs.

And honestly... I just wanted something that works reliably without mysterious permission errors.

Codey is Open Source
You can check it out here:
https://github.com/Varad-13/codey

If you want to try it out, suggest features, or even contribute (we need to add a million more tools) — you're welcome!

🔥 Join developers growing publicly
Share your knowledge, build in public, and grow your developer presence with a global community.

More Posts

I Wrote a Script to Fix Audible's Unreadable PDF Filenames

snapsynapseverified - Apr 20

How I Built a React Portfolio in 7 Days That Landed ₹1.2L in Freelance Work

Dharanidharan - Feb 9

The Sovereign Vault — A Comprehensive Guide to Protocol-Driven AI

Ken W. Algerverified - Jun 4

I spent years trying to get AI agents to collaborate. Then Opus 4.6 and Codex 5.3 wrote the rules

snapsynapseverified - Apr 20

Dashboard Operasional Armada Rental Mobil dengan Python + FastAPI

Masbadar - Mar 12
chevron_left
141 Points4 Badges
2Posts
0Comments

Related Jobs

View all jobs →

Commenters (This Week)

1 comment
1 comment

Contribute meaningful comments to climb the leaderboard and earn badges!