AI workflow

AI-assisted engineering with production controls.

AgentHub and CodeIndex turn AI assistance into an accountable engineering workflow: agents receive focused context, own explicit scopes, coordinate shared Unreal resources, and leave testable evidence behind.

Operating model

Fast context. Explicit ownership. Verifiable output.

The workflow is designed around the failure modes of large, long-running codebases: excessive context, concurrent edits, expensive Unreal builds, and knowledge lost between sessions.

  1. 01Retrieve

    CodeIndex supplies targeted symbols, references, context, and logs.

  2. 02Scope

    AgentHub assigns stable identity, explicit ownership, and queued shared resources.

  3. 03Execute

    Agents work against bounded briefs, durable decisions, and project-specific rules.

  4. 04Verify

    Compile checks, tests, builds, and evidence are recorded before ownership is released.

Coordination plane

AgentHub

A standard-library Python service and SQLite knowledge layer for multi-agent engineering. It coordinates people, tools, files, decisions, shared resources, and Unreal verification without making chat history the source of truth.

Identity and native hooks

Stable sessions, heartbeats, inbox delivery, ownership checks, and automatic cleanup across supported agent clients.

Claims, locks, and queues

Single-writer file claims plus fair queues for Unreal build, editor, database, and other shared resources.

Tasks and hand-offs

Estimated task cards, references, breadcrumbs, context-budget hand-offs, and measured completion data.

Decisions and review

Durable threads, decisions, escalations, peer-reviewed suggestions, and compact project modules.

Unreal-aware validation

Folded builds, isolated compile checks, editor coordination, and structured result delivery through ue.py.

Knowledge retention

Searchable history, archived evidence, project digests, quotas, and controlled compaction.

whoamidigestsendinboxthreadcardclaimlockqueueblockedtaskdecideescsugmodsearchfinish

Retrieval plane

CodeIndex

A lightweight SQLite FTS5 symbol and text index that replaces broad source reads with precise, freshness-checked context. It also provides bounded Unreal log queries and measures the context cost of the workflow itself.

Symbol-aware retrieval

Ranked search, definitions, context, outlines, references, regex grep, and precise line ranges.

Freshness by construction

Per-query mtime, size, and content-hash verification with incremental re-indexing when source changes.

Context control

Session deduplication and fail-open hooks redirect oversized reads and recursive searches to bounded results.

Unreal log queries

logq filters by file, category, severity, time, and regex, then de-duplicates and caps noisy runtime output.

Measured efficiency

Usage and transcript reports compare indexed results with conservative no-index baselines.

Multi-project coverage

Separate indexes cover Unreal C++, backend, frontend, back-office, streaming infrastructure, and AgentHub knowledge.

searchdefcontextoutlinerefsgreplinesupdatestatsreporttranscript-reportlogq

Recorded evidence

Measured on the production workflow.

These snapshots come from AgentHub history and CodeIndex telemetry. Session identifiers, machine paths, and change-list details have been removed for public presentation.

24,207
tracked CodeIndex lookups
89%
estimated tokens saved overall
96%
estimated saving from bounded logq output
6
indexed engineering surfaces
AgentHub closeout
$ hub closeout UEPY-JOINTLOCK
AgentHub tests 282 OK
CodeIndex tests 56 OK
CRLF verified
Task done; claims released

Historical closeout log demonstrating test gates and ownership cleanup.

CodeIndex report
$ codeindex report --project casinomain
search    1,696 calls    90% saved
context     286 calls    80% saved
logq        568 calls    96% saved
TOTAL    24,207 calls    89% saved

Telemetry uses conservative, command-specific no-index baselines.

Isolated Unreal validation
$ ue.py check CompileCheck
lock:compilecheck acquired
CompileCheck #1055 PASSED — exit 0
lock:compilecheck released

A sandbox compilation validates reflection without taking editor or linker ownership.

CodeIndex snapshot: 1,652 C++ files, 16,094 functions, 971 classes, and 889 engineering documents indexed on 13 November 2026.

Start a conversation

Building ambitious systems in Unreal?

For technical leadership, Unreal Engine 5, C++, gameplay systems, and production delivery.

Email Sean