Trusting Your Agentic Angular Apps: A Testing and Eval Strategy

Three days to draw the new testing boundaries in your AI-powered apps.Fake the LLM where you can, eval what's left, and know exactly what each eval costs you.

Visual metaphor for testing AI-powered Angular apps: a cooking pot holding the Angular logo and a green check, with AG-UI, Vitest, A2UI, promptfoo, and Mastra going in as ingredients.
🐣 Early Bird
€1,270€1,470
per seat Β· 3 days Β· small group
// overview

Upcoming sessions

What you will learn

Redraw the System Under Test

Map the layers between the browser and the LLM, and find out what's deterministic, what's probabilistic, and where the boundary really sits.

Fake the LLM

Scripted responses, structured outputs, and tool calls for fast deterministic tests β€” plus a clear-eyed look at when faking lies to you.

Test at the AG-UI Boundary

Use the event stream as a testing seam: record and replay AG-UI streams for frontend tests with no model and no tokens.

Test Generative UI with A2UI

UI-as-data is testable data: assert on A2UI payloads instead of pixels, and validate that generated UI stays inside the trusted catalog.

Eval Fundamentals

Dataset, task, grader, score: what an eval is made of, how grading differs from asserting, and when to run offline vs online.

Datasets That Matter

Start with a hand-crafted golden set, mine production traces for real cases, and generate synthetic edge cases without fooling yourself.

Graders & LLM-as-Judge

Code graders first, then rubrics and pairwise comparison β€” and calibrate the judge against human labels before you trust its grades.

Grade Agent Trajectories

Score tool choice, argument accuracy, and ordering across multi-turn conversations, not just the final answer.

Evals in CI

Sampling, caching, pass thresholds vs score tracking, and how to tell a red eval apart from an actual regression.

Pay the Right Price

Know the cost per run, per PR, and per day β€” and keep the feedback loop tax from slowing the inner loop to a crawl.

Observability & Online Evals

Traces as your new stack trace, online evals and user feedback signals, and the path from production incident to dataset entry.

Your Trust Strategy

Test, eval, or monitor β€” per layer, per risk, and per budget. You take the decision tree home.

Program

14 lectures
13 hands-on exercises
  1. Lecture

    Why Your Testing Strategy Just Broke

    • What non-determinism does to assertions, snapshots, and CI.
    • The failure modes: hallucination, drift, prompt regressions, model swaps.
    • Test, eval, or pray: the three postures and what each one buys you.
  2. Lecture

    The New System Under Test

    • Mapping the layers between the browser and the LLM: UI, AG-UI wire, orchestration, tools, prompts, model.
    • What's deterministic, what's probabilistic, and where the boundary really sits.
  3. Hands-on

    Dissect an AI Feature and Draw Its SUT Boundaries

    • Take a real feature apart layer by layer, and mark where determinism actually ends.
  4. Lecture

    Faking the LLM

    • Faking at the model boundary: scripted responses, structured outputs, tool calls.
    • Record & replay: when it helps, when it rots.
    • What fakes can prove β€” and the confidence they can't give you.
  5. Hands-on

    Test an Agentic Flow Deterministically with a Fake Model

    • Swap the model for a fake, and get an agentic flow under fast, repeatable test.
  6. Lecture

    Testing the Deterministic Shell

    • Tools are just functions: testing them like you always did.
    • Prompt assembly, context construction, and structured output parsing.
    • Guardrails and validation layers: testing the safety net, not the model.
  7. Hands-on

    Cover the Orchestration Layer Without Spending a Single Token

    • Put the deterministic shell under test, and watch the token bill stay at zero.
  8. Lecture

    Testing Agent Behavior Without a Real Model

    • Scripting multi-turn conversations and tool-call sequences.
    • Simulating failure: timeouts, malformed outputs, refusals.
Show the full program (19 more)
  1. Hands-on

    Reproduce and Fix a Bug with a Scripted Conversation

    • Turn a flaky, hard-to-reproduce report into a deterministic failing test, then make it pass.
  2. Lecture

    Testing at the AG-UI Boundary

    • The event stream as a testing seam: run lifecycle, messages, tool calls, state deltas.
    • Recording and replaying AG-UI streams: deterministic frontend tests, no model, no tokens.
    • Asserting on the wire: what the agent said vs what the UI rendered.
    • Streaming edge cases: partial messages, cancellation, reconnection.
  3. Hands-on

    Test a Chat Feature Against a Replayed AG-UI Stream

    • Record a run once, then test the whole chat surface against it forever, for free.
  4. Lecture

    Testing Generative UI with A2UI

    • UI-as-data is testable data: asserting on A2UI payloads instead of pixels.
    • Catalog contracts: validating that generated UI stays inside the trusted catalog.
    • Rendering tests: from A2UI JSONL to your design system components.
  5. Hands-on

    Lock Down a Generative UI Feature

    • Pin a generative UI feature with catalog contracts and rendering tests.
  6. Lecture

    Eval Fundamentals

    • Anatomy of an eval: dataset, task, grader, score.
    • Evals vs tests: grading vs asserting.
    • Offline vs online evals.
  7. Hands-on

    Write Your First Eval

    • Build a dataset, a task, and a grader, and get a score you can actually reason about.
  8. Lecture

    Building Datasets That Matter

    • Starting small: hand-crafted golden datasets.
    • Mining production traces for real cases.
    • Synthetic data: generating edge cases without fooling yourself.
  9. Hands-on

    Build a Dataset from Traces and Synthetic Cases

    • Mine real traces, generate the edge cases they miss, and end up with a set worth grading against.
  10. Lecture

    Graders & LLM-as-Judge

    • Code graders first: exact match, contains, structural checks.
    • LLM-as-judge: rubrics, pairwise comparison, known biases.
    • Calibrating the judge against human labels β€” trusting the grader before trusting the grades.
  11. Hands-on

    Build and Calibrate an LLM Judge

    • Write the rubric, run it against human labels, and find out how much your judge can be trusted.
  12. Lecture

    Evaluating Agents End-to-End

    • Trajectory evals: grading tool choice, arguments, and ordering β€” not just the final answer.
    • Multi-turn evals: simulated users and conversation-level scoring.
    • Grading generative UI: did the agent pick the right A2UI components for the job?
  13. Hands-on

    Grade an Agent's Trajectory on a Multi-Step Task

    • Score the path, not just the destination: tool choice, arguments, and order.
  14. Lecture

    Evals in CI: Paying the Right Price

    • Where the tokens go: cost per run, per PR, per day.
    • Sampling, caching, and pass thresholds vs score tracking.
    • Handling variance: when a red eval isn't a regression.
    • The feedback loop tax: keeping the inner loop fast.
  15. Hands-on

    Wire Evals into CI with a Budget

    • Get evals running on every PR without the bill or the wait getting out of hand.
  16. Lecture

    Observability & Online Evals

    • Traces as your new stack trace.
    • Online evals and user feedback signals.
    • From production incident to dataset entry: closing the loop.
  17. Hands-on

    Instrument the App and Turn a Trace into an Eval Case

    • Wire up tracing, catch a real failure, and promote it into your dataset.
  18. Lecture

    Defining Your Trust Strategy

    • The decision framework: test, eval, monitor β€” per layer, per risk.
    • What to run on every commit, every night, every release.
    • When an eval is worth its price β€” and when it isn't.
    • A takeaway decision tree.
    • Agent integration, security & generative UI are covered in the companion workshop: β€œAgentic Angular: Baking Safe AI Agents Into Your Apps”.
  19. Hands-on

    Build the Decision Tree for Your Own App

    • Test, eval, or monitor β€” decided layer by layer, for the app you actually ship.

Frequently Asked Questions

Who is this workshop for?

Developers shipping AI features who no longer trust their test suite; QA and testing specialists facing non-deterministic behavior for the first time; and leads, architects, and CTOs who need to know what "confident enough to ship" means when a model is in the loop.

What's the experience level?

You should be comfortable with TypeScript and the basics of automated testing in any framework. Good web culture and curiosity matter more than seniority.

Do I need prior LLM or eval experience?

No. We start from what non-determinism does to assertions, snapshots, and CI, then build evals up from first principles. If you already run evals, the AG-UI and A2UI testing seams, judge calibration, and CI cost work will still be new ground.

Is this tied to a specific stack?

The examples run on TypeScript end-to-end, with Vitest, Mastra, and Langfuse. Every pattern maps one-to-one to other stacks and frameworks, and we name the alternatives as we go β€” the boundaries, the graders, and the cost model transfer, not the tool names.

What tools do I need?

A computer with internet access, microphone, webcam, an up-to-date browser, and installation rights.

Is it hands-on?

Yes. Each topic ends in an exercise: dissecting an AI feature to draw its SUT boundaries, testing an agentic flow with a fake model, replaying an AG-UI stream, calibrating an LLM judge, grading an agent's trajectory, wiring evals into CI with a budget, and finally building the decision tree you leave with.

Why is capacity limited to 10?

To keep the workshop interactive. Ten attendees is the point where everyone still gets their code looked at and their questions answered.

Does this cover building the agents themselves?

No. Agent integration, security, and generative UI are covered in the companion workshop, "Agentic Angular: Baking Safe AI Agents Into Your Apps". This one picks up where that leaves off: proving the thing works.

Can my company fund this?

Yes. Contact me for a quote and administrative details.

What's the difference between booking a session and requesting a custom session?

"Book a Session" lets you join a scheduled session with other participants. "Custom Session" is for companies who want a private, in-house workshop, with optional adjustments to content, duration, or focus areas.

Is there a money-back guarantee?

If the workshop doesn't meet your expectations, reach out within 7 days and we'll work it out.

Not ready to book yet?

Get the next session dates and new recipes in your inbox. No spam, just the sauce.

About one email a month. Unsubscribe anytime.

Dinner's ready!

Three days to draw the new testing boundaries in your AI-powered apps. Fake the LLM where you can, eval what's left, and know exactly what each eval costs you.

Trusting Your Agentic Angular Apps: A Testing and Eval Strategy 3 days Β· Online Β· €1,270 €1,470
Join Waitlist