Agentic Angular: Baking Safe AI Agents Into Your Apps

Three days to bake agents that survive production into the Angular apps you already have.Generative UI, human-in-the-loop, security, auth — and a takeaway decision tree.

Visual metaphor for baking AI agents into Angular apps: a cooking pot holding the Angular logo, with AG-UI, A2UI, Mastra, and TanStack going in as ingredients.
🐣 Early Bird
€1,270€1,470
per seat · 3 days · small group
// overview

Upcoming sessions

What you will learn

Agent Fundamentals, Fast

The agent loop, context windows, and tokens — plus why a model can't tell instructions from data, and why that bites you later.

Map the Agentic Stack

AG-UI, A2UI, MCP Apps, and WebMCP: who does what, where each one stands on maturity and adoption, and what's still a bet.

AG-UI Under the Hood

Events, run lifecycle, messages, tool calls, and state deltas: read the wire before touching an SDK.

TanStack AI for Angular

Runtime setup, pre-built chat vs headless, and Signals & DI integration — inside an app you already have, not a greenfield toy.

Shared State

Bi-directional agent ↔ app sync, read-only vs read/write, and the streaming and predictive updates that keep it feeling fast.

Human in the Loop

Approval buttons, edit-before-execute, and structured input — and a clear-eyed look at the limits of tool-based approval.

Interrupts That Hold

Suspend the run agent-side, confirm the exact args rather than the intent, and resume after a refresh.

Threads & Recovery

Persist multi-session conversations, resume after a crash or a dropped stream, and cancel a run cleanly.

Secure the Agent Boundary

Prompt injection, sensitive information disclosure, guardrails that moderate streams in flight, and least-privilege tool scoping.

Auth That Reaches the Runtime

Propagate user identity to the agent runtime, scope tools per user and role, and lock down the runtime endpoint.

Generative UI with A2UI

Declarative UI-as-data, the Angular renderer, a trusted catalog as a security model, and agent-driven UI beyond the chat surface.

Performance & Cost

Find out where the tokens go, then cut cost and boost speed so the bill doesn't outgrow the feature.

Your Agentic Decision Tree

Which features deserve an agent, which surface fits each use case, and which risk tier each tool belongs to. You take the tree home.

Program

17 lectures
15 hands-on exercises
  1. Lecture

    Agent Fundamentals, Fast

    • How LLMs work.
    • The agent loop: model, context, tools, and what actually happens per turn.
    • Context windows and tokens: what they cost you later.
    • Why a model can't tell instructions from data, and why that matters.
  2. Lecture

    The Agentic Stack

    • Why bake agents into your apps, instead of bolting a chatbot next to them.
    • Mapping the ecosystem: AG-UI vs A2UI vs MCP Apps vs WebMCP.
    • Where each one stands: maturity, adoption, momentum.
  3. Lecture

    AG-UI Under the Hood

    • The protocol: events, run lifecycle, messages, tool calls, state deltas.
    • Reading the wire before touching an SDK.
  4. Hands-on

    Speaking AG-UI over Plain SSE

    • Drive a run end to end over raw server-sent events, with no SDK in the way.
  5. Lecture

    TanStack AI for Angular

    • Runtime setup.
    • Pre-built chat vs headless.
    • Signals & DI integration.
  6. Hands-on

    Embedding an Agent into an Existing Angular App

    • Wire the runtime, drop in a surface, and get the first agent turn running inside an app that already exists.
  7. Lecture

    Debugging & Dev Tools

    • The event stream is your stack trace: reading AG-UI in the network tab and dev tools.
    • Mastra Studio’s traces.
  8. Hands-on

    Diagnose a Misbehaving Agent

    • Track a broken run down to the event that caused it, using the stream and the traces.
Show the full program (24 more)
  1. Lecture

    Shared State

    • Bi-directional agent ↔ app sync.
    • Read-only vs read/write.
    • Perceived speed: streaming, predictive state updates.
  2. Hands-on

    Syncing Agent and App State

    • Share state in both directions, then make it feel instant with streaming and predictive updates.
  3. Lecture

    Frontend Tools & Generative UI

    • Exposing frontend tools to the agent.
    • Rendering tool calls as Angular components.
  4. Hands-on

    From Tool Call to Component

    • Expose a frontend tool and render its call as a real Angular component instead of a wall of text.
  5. Lecture

    Human in the Loop

    • The simplest loop: a frontend tool that asks the user.
    • Approval buttons, edit-before-execute, structured input.
    • The limitations of tool-based approval.
  6. Hands-on

    Human in the Loop with a Frontend Tool

    • Put the user in the loop with a frontend tool, then find where that approach stops being enough.
  7. Lecture

    Interrupts: Durable Human in the Loop

    • Suspending the run agent-side: interrupt / suspend.
    • Checkpoints / snapshots: where a paused run sleeps.
    • The round-trip: suspend, approve, resume. Surviving a refresh.
    • Confirming exact args, not intent.
  8. Hands-on

    Enforcing Confirmation on the Server

    • Move the confirmation where it cannot be bypassed, and make a paused run survive a page refresh.
  9. Lecture

    Threads: Persistence & Recovery

    • Persistence and multi-session conversations.
    • Resuming a thread after refresh or crash.
    • Stream errors: when the wire drops mid-answer.
    • Cancellation: aborting a run cleanly.
  10. Hands-on

    Kill the Stream, Cancel a Run, Then Resume

    • Break the connection on purpose, abort a run cleanly, and bring the thread back from where it left off.
  11. Lecture

    Securing the Agent Boundary

    • Prompt injection.
    • Sensitive information disclosure.
    • Guardrails: moderating streams in flight.
    • Tool permission scoping: least privilege per user and role.
  12. Hands-on

    Break the Agent — Red-Team, Then Harden

    • Attack your own agent with injected content, then close the holes you just opened.
  13. Lecture

    Authentication & Authorization

    • Propagating user identity to the agent runtime.
    • Scoping tools per user.
    • Securing the runtime endpoint.
  14. Hands-on

    Locking Down the Runtime

    • Carry real identity through to the agent, scope its tools to that user, and close the endpoint behind it.
  15. Lecture

    Performance & Cost

    • Where the tokens go.
    • Cutting cost, boosting speed.
  16. Hands-on

    Optimize Cost and Performance

    • Measure where your tokens actually go, then cut the bill without making the feature feel slower.
  17. Lecture

    Generative UI with A2UI

    • Declarative UI-as-data: JSONL streaming.
    • The Angular renderer.
    • A2UI as a security model: trusted catalog, JSON-not-code.
    • A2UI recovery loop.
  18. Hands-on

    Rendering A2UI with Your Design System

    • Plug your own components into the renderer and let the agent compose them.
  19. Lecture

    Catalog Design

    • Catalog granularity: atomic vs composed components.
    • Fixed vs dynamic UI: a decision framework.
  20. Hands-on

    Designing and Exposing a Catalog

    • Pick your granularity, expose the catalog, and see what the agent does with it.
  21. Lecture

    Beyond the Chat Surface

    • Agent-driven UI in the main app.
    • Actions: wiring user interactions back to the agent.
  22. Hands-on

    Escaping the Chat Surface

    • Move agent-driven UI into the main app, and wire interactions on it back to the agent.
  23. Lecture

    Defining Your Agentic Strategy

    • Which features deserve an agent.
    • Picking the surface per use case: chat, embedded, or none.
    • Risk-tiering your tools: auto-run, confirm, forbid.
    • A takeaway decision tree.
    • Evals, observability & testing are covered in the companion workshop: “Trusting Your Agentic Angular Apps: A Testing and Eval Strategy”.
  24. Hands-on

    Build the Decision Tree

    • When to go agentic, which surface, which tier — for your own codebase, not a sample app.

Frequently Asked Questions

Who is this workshop for?

Angular developers who want to bake agentic features into a real app rather than bolt a chatbot next to it; leads and tech leads framing how AI shows up in the product; and architects and CTOs who need the security, auth, and cost questions answered before shipping.

What's the experience level?

You should be familiar with the Angular ecosystem — creating a component, implementing and using inputs and outputs. Signals experience is a plus. Good web culture and curiosity matter more than seniority.

Do I need prior agent or LLM experience?

No. We start from how LLMs actually work, the agent loop, and what a turn costs you in tokens, then build up from there. If you've already shipped agents, the human-in-the-loop, security, and generative UI days will still be new ground.

Which agent framework do you use?

The agent side runs on Mastra, so the workshop is TypeScript end-to-end. Every pattern maps one-to-one to LangGraph and friends, and we name both as we go. AG-UI is the boundary that makes that choice reversible.

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: speaking AG-UI over plain SSE, embedding an agent into an existing Angular app, enforcing confirmation on the server, red-teaming then hardening your own agent, rendering A2UI with your design system, 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 evals and testing?

Only in passing. Evals, observability, and testing are intentionally out of scope here — they are covered in the companion workshop, "Trusting Your Agentic Angular Apps: A Testing and Eval Strategy".

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 bake agents that survive production into the Angular apps you already have. Generative UI, human-in-the-loop, security, auth — and a takeaway decision tree.

Agentic Angular: Baking Safe AI Agents Into Your Apps 3 days · Online · €1,270 €1,470
Join Waitlist