Open-source Apex-Engineering harness cuts agent prompt bloat 98.6% and blocks repeated broken fixes
Sudhanshu_raj_13 · reddit · 2026-11-06
Developer Sudhanshuraj13 released Apex-Engineering, a zero-dependency Python + Markdown microkernel that gives free/small models (like Qwen 3.8 27B) external memory and verification for multi-file projects, targeting two pain points: skill libraries bloating the startup prompt, and models looping on the same broken fix.
Key mechanisms:
- Zero-token cold vault + JIT injection: quarantines skill libraries out of IDE startup paths, injecting only stack-matching rules (<450 tokens) based on package.json/pyproject.toml.
- Negative memory + AST slicing: logs failed test runs into blacklistedattempts so the agent can't repeat a broken fix.
- 8-department SDLC with supervisor gate, timestamped logs in WORKFORCELEDGER.md.
- SkillSpector compiler: ingests external skills from a GitHub URL, scans for prompt injection/RCE, compresses to <250 tokens.
- Hard verification gate: agent can't claim success until apexctl.py verify checks git diff scope and the test suite exits 0.
Benchmarks: against a 4-stage hostile suite (Postgres RLS, Redis webhook idempotency, 5 OWASP CWEs, 3-hop bug trace) on stateless qwen-3.8-27b, it cut prompt payloads by 98.6% and passed 12/12 tests.
MIT-licensed; contributions wanted for stack cartridges, multi-language AST slicers, SAST signatures, and local-model adapters.
More from coding & agent
- Latent Space #12: mitsuhiko returns to discuss state of agentic coding — mitsuhiko · 2026-11-06
- Longevity Grok launches on xAI's Grok Bot as a personal longevity research agent team, pitched by Kai-Fu Lee — kaifulee · 2026-11-06
- OpenCartridge adds local-first Image-to-VRM animation pipeline and UniMate Motion model — bdsqlsz · 2026-11-06
- OpenAI employee builds an interactive home airflow simulator from a floor plan using Codex — OpenAIDevs · 2026-11-06
- 28,849 trials and $4,746 later: a leaderboard ranks coding-agent harnesses on open models — HankYeomans · 2026-11-06
- vibe42ai ships a Linux client; users ask for security scanning built in — sujingshen · 2026-11-06