
العودة إلى دراسات الحالة
قيد التنفيذتجربة ميدانيةAI developer tools2024 – 2026
From Baalbek.AI to Pharos: making AI coding assistance measurable
An internal R&D copilot that cut code look-up time by 80% — and the lessons that became Pharos.
العميل: Baalbek.dev (internal R&D)
التحدي
Engineers spent hours searching internal codebases, documentation and Git history. A first internal copilot (Baalbek.AI, 2024) answered contextual questions over embedded repositories, but it re-read the same files on every request, forgot decisions between sessions and offered no way to measure whether a prompt change helped.
الحل
Baalbek.AI proved local-first retrieval works; Pharos generalises it into a context-engineering engine for AI coding assistants, with a symbol graph, token-budget planning, persistent memory and an evaluation harness.
- 2024: local-first assistant with LangChain + vector embeddings over internal repositories, integrated into VS Code.
- Pull-request summarisation and documentation generation reduced review effort.
- 2026: rebuilt as Pharos — Rust tree-sitter indexer, budget-aware context compaction, ADR memory with commit citations.
- Eval harness replays real tasks so every skill or prompt change is scored on quality, cost and latency.
النتائج
- 80% reduction in code look-up time (Baalbek.AI, 2024)
- 60% faster pull-request reviews
- No source code leaves the machine — only compacted context reaches the model
- Pharos target: 40–60% fewer input tokens per task at equal or better success
جاهز لبناء نظامك التالي؟
لنصمّمه ونبنيه معاً.
