CodexR
Agentic AI Coding Assistant
A web-based alternative to Cursor IDE with a full AI-assisted development workflow. Developers can understand their codebase through semantic search, have the AI edit files with an accept/reject workflow, and create pull requests directly from chat — all with streaming responses, reasoning display, and automatic RAG context retrieval.
Full workflow: analyze → edit files → create PRs
Streaming with reasoning + tool-call UI
Auto-RAG context injection per message
Key Features
AI-driven file editing (writeFile + editFile tools) with diff view, accept/reject workflow, and change tracking
PR creation from chat — AI creates branches, commits accepted file changes, and opens pull requests automatically
Streaming UI with real-time reasoning sections, tool-call status cards, and structured ContentPart message model
Automatic RAG retrieval — relevant code chunks fetched and injected into system prompt on every message
File attachment system with @filename syntax for injecting specific file context
Semantic code search using vector embeddings with PostgreSQL pgvector
Per-user OAuth tokens — user’s own GitHub and Notion credentials for private repo access
Multi-model LLM support via OpenRouter with AI SDK v5 streaming
Auth middleware with IP-based rate limiting, security headers, and per-route access control
Slug-based routing (/repo/owner/name) with Drizzle ORM and type-safe database layer