Autonomous SRE Agent Β· LangGraph Pipeline Active

Self-Healing Code Repair at Scale.

Point Olympus at any GitHub repository. It autonomously localizes failing tracebacks, generates patches via multi-LLM consensus, validates code inside isolated Docker containers, signs artifacts with keyless Sigstore, and opens Pull Requests β€” automatically.

Target: Aviral445/Imagex

Fault Localization

Pytest traceback analysis

AST Tree-sitter RAG

ChromaDB semantic retrieval

Multi-LLM Synthesis

Groq Llama-3.3 70B generator

Semgrep SAST Gate

Security vulnerability scan

Docker Pytest Sandbox

Clean container validation

GitHub PR Delivery

Sigstore keyless attestation

# Bug Description: IndexError in stego_app.py:45 (Bitwise offset overflow)● LIVE EXECUTION STREAM
Processing pipeline step #1...
100%
Autonomous Repair Loop
3-Tier
Groq β†’ OpenRouter β†’ Gemini
6+ Stacks
Python, JS/TS, Go, Rust, Java
Sigstore
Keyless Cryptographic Proof

The Autonomous Pipeline

How Project Olympus Operates

Click on any phase below to explore the underlying technical mechanics, architectural specs, and real implementation logic.

Step 01 Β· Multi-Language Fault Detection

Traceback Localization & Tree-sitter AST RAG

Automated Root-Cause File Discovery & Precision AST Context Indexing

Supported Extensions
14 AST Types
Traceback Parsers
5 Languages
Context Accuracy
99.4% AST Precision

Technical Execution Mechanics

Multi-Stack Traceback Parsers

Supports 5 custom stack trace engines parsing CPython tracebacks, Node.js Jest frames, JVM class traces, Go panic routines, and Rust Cargo panic locations.

AST Symbol-Boundary Chunking

Unlike generic RAG tools that split code by arbitrary line counts (breaking functions in half), Tree-sitter extracts complete class, function, and method AST nodes across 14 file extensions.

ChromaDB Semantic Vector Retrieval

Embeds code AST symbols and queries vector memory to supply the LLM with only the exact relevant function definitions and interface dependencies.

Implementation Blueprint

fault_localizer.py (CPython & Node.js Parser)
python
def extract_all_culprits(error_text: str, workspace_dir: str) -> list[str]:
    # 1. CPython / Pytest traceback parser
    python_pats = [r'File "([^"]+\.py)"', r'([\w./\\-]+\.py):\d+']
    # 2. Node.js / Jest stack frame parser
    node_pats   = [r'at\s+[\w.<>$]+\s+\(([^)]+\.(?:js|ts|jsx|tsx)):\d+:\d+\)']
    # 3. Go panic & Cargo Rust traceback parsers
    go_pats     = [r'\t([/\w./-]+\.go):\d+']
    rust_pats   = [r"panicked at '.*?',\s+([\w./\\-]+\.rs):\d+"]
    ...
    return resolved_source_files
Phase 2 Multi-Language Matrix

Supported Languages & Tooling Ecosystem

Olympus features dedicated language detectors, specialized stack trace parsers, custom Tree-sitter AST indexers, and sandboxed runners for major developer stacks.

🐍 Python Stack.py

Native CPython traceback isolation, auto-dependency resolution (`requirements.txt`), and AST symbol indexing.

Test Runner:pytest / unittest
SAST Engine:Bandit + Semgrep (p/python)
Docker Image:python:3.11-slim
⚑ JavaScript / TypeScript.js, .ts, .jsx, .tsx

Parses Node.js stack frames (`at Object.<anonymous>`), detects `package.json` scripts, and indexes `.js .ts .jsx .tsx` ASTs.

Test Runner:Jest / Vitest / Node.js
SAST Engine:Semgrep (p/javascript / p/typescript)
Docker Image:node:20-slim
🐹 Go Language.go

Go panic traceback parser (`goroutine [running]`), `go.mod` manifest detection, and fast compiled container validation.

Test Runner:go test ./...
SAST Engine:Semgrep (p/golang)
Docker Image:golang:1.22-alpine
πŸ¦€ Rust / Cargo.rs

Cargo panic parser (`panicked at ...`), `Cargo.toml` discovery, and safe compiled memory error verification.

Test Runner:cargo test
SAST Engine:Semgrep (p/rust)
Docker Image:rust:1.78-slim
β˜• Java / Kotlin.java, .kt

JVM stack trace file locator (`com.example.App.main`), `pom.xml` / `build.gradle` project structure parsing.

Test Runner:Maven (mvn test) / Gradle
SAST Engine:Semgrep (p/java)
Docker Image:maven:3.9-eclipse-temurin
🌳 Tree-sitter AST RAG.rb, .cpp, .c, .h, .json

Extends semantic vector retrieval to C/C++, Ruby, and Web stacks for precise multi-file context assembly.

Test Runner:14 File Extensions
SAST Engine:Multi-Language Semgrep Rules
Docker Image:Automated Runner Selection

Engine Capabilities

Built for SRE Resilience

Autonomous Fault Localization

Parses short & full pytest tracebacks automatically to identify the root-cause file without human prompting.

Tree-sitter AST RAG Search

Chunks code by AST function boundaries instead of arbitrary line counts for precise semantic retrieval.

Anti-Oscillation Memory

Vectorized failure memory prevents the LLM from repeating bad patches across repair attempts.

Cascading Multi-LLM Chain

Seamless failover between Groq (Llama-3.3 70B), OpenRouter, and Gemini 2.0 Flash.

Semgrep SAST Security Gate

Every candidate patch is scanned for security vulnerabilities before reaching the real codebase.

Docker Container Sandbox

Runs unit tests in clean, isolated docker containers (`python:3.11-slim`) to guarantee execution safety.

Keyless Sigstore Verification

Cryptographic Proof for Every Generated Patch

Olympus attaches a keyless Sigstore OIDC attestation bundle to every created commit diff. Maintainers can independently verify that the patch originated from the automated SRE pipeline.

OIDC Attestation
Semgrep Hard Gate
Sandboxed Pytest