Skip to content
Kamran Code

AI Engineering

Building production AI systems.

  • AI Engineering20 min read

    AG-UI explained: what it is and how it differs from MCP

    AG-UI is an open event protocol for streaming an AI agent to a frontend. What it is, how a run looks on the wire, how it differs from MCP, and when to skip it.

    • #ag-ui
    • #ai-agents
    • #agent-protocols
    • #sse
  • AI Engineering18 min read

    Capping AI Spend per User: Denial of Wallet and a Practical Design

    A bot check decides who gets in, not how much they spend. A source-checked look at denial of wallet, what OpenAI and Anthropic do and do not cap, and a per-user budget design with a reserve and settle sketch.

    • #denial-of-wallet
    • #llm-cost-control
    • #rate-limiting
    • #owasp
  • AI Engineering12 min read

    What Is Jev? TypeSafe AI's Decision Model, Explained

    Jev from TypeSafe AI answers questions you define with typed choices and probabilities instead of text. How it works, what it costs and where it breaks.

    • #jev
    • #jev-ai
    • #typesafe-ai
    • #system-one
  • AI Engineering8 min read

    How to Build an AI-Powered Business Application

    A practical architecture for AI applications that do real work inside a business: where the model sits, how it reaches your data and tools, and what has to be true before it goes to production.

    • #ai-applications
    • #llm
    • #architecture
    • #rag

Not sure where to start?

A short conversation is usually enough to work out whether the idea needs a prototype, a product or a different approach entirely.