OctoGemma is an autonomous, privacy-first software engineering agent designed to run entirely locally using Google Gemma 4 (specifically optimized for gemma4:e4b and gemma4:12b via Ollama).
OctoGemma features an automated ReAct + Self-Healing Execution Loop:
- Explore: Scans workspace directory trees and searches codebases with pattern/regex grep.
- Reason: Conducts chain-of-thought analysis to diagnose bugs or plan feature additions.
- Act: Applies non-destructive file edits using exact string matching and diff generation.
- Verify: Runs test suites, linters, or build scripts in a sandboxed subshell.
- Self-Heal: If assertions fail or errors arise, the agent reads stderr and stack traces, diagnoses the root cause, and autonomously iterates until verification succeeds.

Top comments (0)