Layer 04 · Portfolio

AI & Automation

Designing AI systems where probabilistic reasoning runs inside deterministic business processes.

The question this page answers

Can Blair build useful AI systems, rather than bolt an LLM onto an application?

My AI architecture principle

AI runs inside a deterministic workflow.

The AI step gets a bounded job and a validated input. Everything around it, including state, permissions, retries, and what finally gets written, belongs to ordinary software or to a person.

Deterministic system

  1. 01

    Software: Input

  2. 02

    Software: Validate

  3. 03

    AI: AI reasoning

    ToolsRAGModelsAgents
  4. 04

    Human: Human gate

  5. 05

    Software: Action

  6. 06

    Software: Persist

The model reasons over what it's given. The application holds the state, validates what comes back, and decides what runs. A person approves where the stakes call for it.

Featured system

One AI system, in detail.

Enterprise employee-service AI agents

Mapping the workflows first, then structuring the agents, data, and integrations around them

Read the case study : Enterprise employee-service AI agents

AI systems

Where AI does a defined job.

  • Internal AI workflow

    Pitch to Close: a multi-stage AI workflow for pre-sales

    AI doesGenerate the output for each stage

    Human / system control

    The model generates each stage's output, and a person confirms it before the next stage starts.

    • Human-in-the-loop
  • AI Workflow

    AI workflow orchestration for pre-sales

    The data-curation layer that turned unstructured pre-sales intelligence into structured solution inputs and decided whether downstream AI was useful.

    • AI orchestration
    • Pre-sales
    • Workflow design

System patterns

The patterns these systems are built from.

Each pattern decides who holds control at one point in the workflow: the model, the application, or a person.

  • Human-in-the-loop

    A person approves, corrects, or handles the exception at a defined point in the workflow.

  • Tool calling

    The model asks the application to run a function, and the application decides whether it runs.

  • RAG

    The model answers from retrieved source material instead of from memory.

  • Structured output

    The model returns data that matches a schema, so the application can validate it.

  • Durable workflow

    Long-running work keeps its state across retries, failures, and waits for people.

  • MCP

    Tools and context are exposed to the model through Model Context Protocol servers.

  • Evaluation

    Outputs are checked against known cases before and after a change.

  • Multi-agent

    Several model calls with separate roles, coordinated by the application.

AI stack

What I build AI systems with.

OpenAIAnthropicGeminiMCPpgvectorRAGTool callingStructured outputsWorkflow orchestrationNode.js / TypeScript