AI Elements

Patterns for agentic interfaces — reasoning, tool calls, plans, sources — built from the components. Copy them into your app: there is no package to install, and the code is yours.

Example

New Thread
Ask the agent to change your code.

What should we build?

The agent can read your code, run commands and make changes. Press send to start.

A thread built with the Message Scroller, the Message and the Trace. Press send.

Patterns

A chat is a list of message turns in a scroller. The steps an agent takes inside a turn — reasoning, tools, plans — are built on the Trace, so every step has the same shape.

Built by Khalil Lagrida with mint tea for the Angular community. The source code is available on GitHub.