
Vibex
An open-source implementation of OpenAI Codex, rebuilt with VibeKit. Turns plain-language tasks into real GitHub pull requests — securely and automatically.
Stack

Vibex
An open-source implementation of OpenAI Codex, rebuilt with VibeKit. Turns plain-language tasks into real GitHub pull requests — securely and automatically.
Stack
Vibex is a Codex-style agent that runs inside a secure sandbox and pushes working code to GitHub. You give it a task like "add Stripe checkout" — it installs packages, updates files, runs tests, and opens a real pull request.
It's powered by VibeKit, the SDK for running coding agents in real containers with streaming, GitHub automation, and async jobs built in.
Features
- 🤖 Built for OpenAI Codex-style models (e.g. GPT-4.1)
- 🔒 Secure runtime with E2B sandboxes
- 🧵 Streams output as it runs
- 🐙 Automates GitHub clones, branches, and PRs
- ⚙️ Runs background jobs using Inngest
Use it as a starting point for your own Codex — fully open source and production-ready.
Vibex doesn't simulate a pull request. It runs in a real container, installs dependencies, executes shell commands, and commits code. Just like Codex.
Quick Start
Get started with Vibex in minutes:
git clone https://github.com/superagent-ai/vibekit
cd vibekit/templates/codex-clone
npm install
cp .env.example .env.local
# Add your API keys to .env.local
npm run dev
Required Environment Variables:
OPENAI_API_KEY
: Your OpenAI API keyE2B_API_KEY
: E2B sandboxes API keyGITHUB_TOKEN
: GitHub personal access tokenINNGEST_EVENT_KEY
: Inngest event key for background jobs
How It Works
- Task Input: User describes what they want built in plain language
- Planning: AI agent creates a structured plan for the implementation
- Execution: Code runs in secure E2B sandbox with full environment access
- Integration: Automatically clones repo, creates branch, commits changes
- Delivery: Opens real GitHub pull request with working code
Vibex handles the complete workflow from idea to deployed code, just like OpenAI Codex.
Ready to build your own Codex? Vibex shows you how to combine VibeKit's infrastructure with modern AI to create powerful coding agents.
Vibex is a Codex-style agent that runs inside a secure sandbox and pushes working code to GitHub. You give it a task like "add Stripe checkout" — it installs packages, updates files, runs tests, and opens a real pull request.
It's powered by VibeKit, the SDK for running coding agents in real containers with streaming, GitHub automation, and async jobs built in.
Features
- 🤖 Built for OpenAI Codex-style models (e.g. GPT-4.1)
- 🔒 Secure runtime with E2B sandboxes
- 🧵 Streams output as it runs
- 🐙 Automates GitHub clones, branches, and PRs
- ⚙️ Runs background jobs using Inngest
Use it as a starting point for your own Codex — fully open source and production-ready.
Vibex doesn't simulate a pull request. It runs in a real container, installs dependencies, executes shell commands, and commits code. Just like Codex.
Quick Start
Get started with Vibex in minutes:
git clone https://github.com/superagent-ai/vibekit
cd vibekit/templates/codex-clone
npm install
cp .env.example .env.local
# Add your API keys to .env.local
npm run dev
Required Environment Variables:
OPENAI_API_KEY
: Your OpenAI API keyE2B_API_KEY
: E2B sandboxes API keyGITHUB_TOKEN
: GitHub personal access tokenINNGEST_EVENT_KEY
: Inngest event key for background jobs
How It Works
- Task Input: User describes what they want built in plain language
- Planning: AI agent creates a structured plan for the implementation
- Execution: Code runs in secure E2B sandbox with full environment access
- Integration: Automatically clones repo, creates branch, commits changes
- Delivery: Opens real GitHub pull request with working code
Vibex handles the complete workflow from idea to deployed code, just like OpenAI Codex.
Ready to build your own Codex? Vibex shows you how to combine VibeKit's infrastructure with modern AI to create powerful coding agents.