joshriang
← Back to portfolio

Coursework & finals·Python·Shipped

Agent Orchestrator

A working scaffold for compound AI task routing, built to do exactly what it claims and nothing more: classify a task as simple or complex, generate three to five candidate execution paths, score them, and pick one. Every task, decision, and tool call is written to a SQLite ledger so a run can be audited or resumed, and a hybrid vector memory combines hash embeddings with BM25 keyword scoring to retrieve past decisions and project knowledge. A governor module reads /proc/loadavg and memory pressure to throttle background work when the host is busy, and a cron job at 23:30 synthesises the day's decisions back into memory. The README states plainly that this is not AGI, that classification is keyword-based and reflection is heuristic, and that the value comes from structure plus logging. That honesty is deliberate: a system that overstates its own capability is worse than a small one that does not.

Date
2026
Role
Sole developer
Main stack
Python
Code
github ↗
01
02
  • A ledger that records every decision turns a flaky agent into a debuggable one.
  • Hybrid retrieval combining BM25 with embeddings degrades more gracefully than either alone on a small corpus.
  • Checking host load before spawning background work stops the orchestrator from becoming its own bottleneck.
03

Scale 0–100: how much this project relied on each skill.