The Autonomous, Self-Regulating Engineering Console for Principal Engineers.
codebase--os
This framework maps your entire codebase, tracks how every file change affects everything else, and fixes bugs automatically. Feels like having a senior engineer watching every line you touch.
Description
This framework maps your entire codebase, tracks how every file change affects everything else, and fixes bugs automatically. Feels like having a senior engineer watching every line you touch.
README
Codebase OS is not a chatbot. It is a principal-grade autonomous system that treats your entire repository as a living relationship graph. It doesn't just "suggest" codeβit plans, executes, validates, and self-heals complex engineering tasks with surgical precision.
Codebase OS operates on a hardened 5-Layer "Spaceship" Infrastructure:
- Visual Foundation: A high-fidelity Dashboard with glassmorphism, GSAP-powered reasoning feeds, and real-time diff visualizations.
- Standardized Orchestration: A config-first routing layer that synchronizes OpenAI, Anthropic, Gemini, and Local (Ollama) providers with fail-safe reliability.
- Intelligence Logic: Mathematical "Leaky Bucket" rate limiting and autonomous planning engines that decompose high-level intents into executable atoms.
- Graph Persistence: A persistent, incrementally maintained dependency graph that understands how a change in your database schema impacts your frontend components.
- Parallel Execution Core: Parallelized Vector RAG and sandboxed shell operations that reduce repository scan times from minutes to milliseconds.
Important
Autonomy Over Automation: Codebase OS is designed for developers who demand principal-grade results.
- β‘ Parallel Vector RAG: Leveraging batch embedding and concurrent processing to map 100+ file repositories in under 2 seconds.
- π‘οΈ Config-First Routing: Universal model identifiers and provider-aware failover logic ensure 100% request success.
- π Root Cause Diagnostics: Deep temporal investigation that maps failures back to specific commits and structural regressions.
- πΊ Sovereign Dashboard: A premium, state-of-the-art visual interface for monitoring active reasoning and architectural integrity.
# 1. Clone the Sovereign Core
git clone https://github.com/dharan1007/codebase--os.git
cd codebase-os
# 2. Build and Global Link
npm install
npm run build
npm link
# 3. Initialize your Workspace
cos init # Interactive project preset selection
cos scan # Map the relationship graph
cos config # Live model discovery (OpenRouter/Anthropic/Gemini)| Command | Action |
|---|---|
cos agent |
Launch the autonomous agent for high-impact feature builds. |
cos fix |
Self-healing diagnostics for structural or logic regressions. |
cos scan |
Incrementally refresh the codebase relationship graph. |
cos serve |
Boot the Sovereign Dashboard for real-time visual monitoring. |
cos config |
Interactively manage providers, budgets, and model tiers. |
Codebase OS is built with Sovereign Engineering principles:
- Zero-Dependency Design: Logic is separated from utility bloat.
- Deterministic State: Every agent action is logged and reversible.
- Premium Aesthetics: Curated color palettes and accessible typography for long-session comfort.
This is the Sovereign Editionβa gift to the engineering community for personal and research productivity.
Dharantej Reddy Poduvu
dharan.poduvu@gmail.com | GitHub
Release History
| Version | Changes | Urgency | Date |
|---|---|---|---|
| ai-agents | Codebase OS (COS) is far more than a simple LLM wrapper; it is a High-Fidelity Engineering Platform designed to handle complex, real-world software tasks with industrial-grade safety and autonomy. Here is a deep dive into its most advanced features and "hidden" capabilities: 1. The "Unstoppable" Autonomous Agent (cos agent) Unlike standard agents that might get confused or loop indefinitely, COS uses a Three-Expert Workflow: Phase 1: The Architect: Before writing a single line of code, | High | 4/16/2026 |
| agent | Codebase OS (COS) is a proprietary, foundational layer for intelligent software development. It essentially acts as an "operating system" for your codebase, providing a semantic memory and reasoning layer that standard tools lack. ### ποΈ Project Architecture The project is built using a modular **Node.js + TypeScript** architecture, designed for high performance and strict type safety. #### 1. Core Intelligence Layer (`src/core`) This is the "brain" of the project. Unlike standard A | High | 4/16/2026 |
