AI & agent engineering

AI systems that can be inspected, tested, and improved.

I build the connections between agents, tools, knowledge, and human decisions. The engineering work includes orchestration, provider adapters, structured outputs, retrieval, context management, and release evidence.

Forge: daily internal use · SavitchOS: implemented knowledge and provider systems

Forge: orchestration with a release boundary

The problem: Multiple development agents can produce work quickly, but delivery still needs clear ownership, test evidence, review, and a decision about release.

My engineering contribution: An internal engineering control plane that connects work intake, agent task decomposition and delegation, development, QA, UAT, operational memory, and human approval. MCP tools expose bounded control-plane operations to assistants.

Forge · simplified engineering workflow
  1. Work intake · owner / orchestratorDefine the task, repository scope, and acceptance conditions.
  2. Execution · development agentsUse tools and context to implement bounded changes; retain outputs and evidence.
  3. Verification · QA / UATCheck behavior, capture failures, and return corrections to the development loop.
  4. Release decision · human ownerReview the candidate and supporting evidence before authorizing deployment.
  5. Operational memory · ForgeRetain outcomes and context for the next task.
Public simplification of the internal operating model; individual projects retain their own release gates.

Tools with defined boundaries

Development tools, coding agents, and MCP operations have different scopes. A work packet, a completed implementation, and an approved release remain distinct artifacts.

Evidence that survives a handoff

Task context, test results, failures, and review outcomes reduce reliance on a single conversation's memory. Retries and recovery need an inspectable state.

Read the existing Forge architecture case study ↗

SavitchOS: knowledge ingestion and model integration

The problem: Project knowledge lives across documents and repositories. Agents need relevant context with source identity and a way to distinguish active material from superseded work.

Implemented approach: A Django corpus pipeline discovers documents, extracts headings and links, classifies and summarizes content, and embeds heading-aware chunks into PostgreSQL with pgvector. Pipeline runs and audit events make failures and progress visible. Knowledge and operational data use separate database routing.

Knowledge architecture · ownership and data movement
  1. Source documents · originating projectsRetain document identity, status, and links.
  2. Ingestion · SavitchOS / PythonDiscover, extract, classify, summarize, and split documents into bounded chunks.
  3. Knowledge store · PostgreSQL / pgvectorStore document metadata and embeddings; preserve relationships back to sources.
  4. Retrieval and agent context · SavitchOSFind relevant material and carry source references into assisted workflows.
Implemented corpus components support retrieval-augmented workflows. This diagram does not claim every generated answer has passed grounding or citation evaluation.

Commercial and local model adapters

The reviewed provider router includes OpenAI, Anthropic Claude, and Google Gemini adapters, plus an isolated mock mode for tests. Gemini integration requests JSON output and records token usage and estimated cost. Local Ollama supports document classification, summarization, and embedding workflows, including deterministic fallback behavior for classification.

An Azure-hosted OpenAI development adapter accepts front/back image pairs, validates completed responses and approved models, and remains disabled by default. Its tests refuse production-mode execution and prevent the development response from directly applying identity changes.

Separate document-classification experiments compare Qwen and Gemma on structured JSON output, classification accuracy, and missing predictions. Small-corpus results inform model selection; they do not establish general production accuracy.

HaloVault / HaloVision: recognition with review

Image observations, catalog retrieval, and candidate matching must lead to an explicit review decision. A plausible catalog match does not establish the physical card's exact printing, condition, ownership, or sellability.

The development lakehouse work adds source-linked catalog and printing evidence. Candidate results carry provenance, contradictions, and missing-field recommendations. Benchmark coverage and calibrated confidence remain separate evaluation tasks.

See the lakehouse and reconciliation work ↗

Engineering decisions I make explicit

Reviewed implementation includes corpus ingestion, embeddings, provider routing, and internal orchestration. No production accuracy, cost reduction, universal fallback, or commercial-customer claim is inferred from the presence of those components.

Discuss AI Engineering