Flutter · Agent run timeline
Trace
Show the work, not a spinner.
An agent run timeline for Flutter: reasoning streams in and folds away, tool calls show their input and output, parallel calls run side by side and failures offer a retry. Reads OpenAI, Anthropic and AI SDK streams.
Demo
A recording of the demo. Open it in a new tab
What it does
- 01
A TraceController you drive by hand or from a model stream
- 02
Tools that start together are grouped into lanes with progress
- 03
Adapters for OpenAI Responses, Anthropic Messages and the Vercel AI SDK
- 04
Follows new steps until you scroll up; announces results to screen readers
Use it
dependencies:
trace_agent_timeline:
git:
url: https://github.com/YagnikBarasiya23/trace_agent_timeline.gitimport 'package:trace_agent_timeline/trace_agent_timeline.dart';
final trace = TraceController();
SizedBox(height: 360, child: Trace(controller: trace));
await trace.fromEvents(events, format: TraceFormat.anthropic, runTool: (name, args) => tools[name]!(args));Every option, the technique behind the motion and the accessibility notes are in the README on GitHub
More components
All 15- Web
- Web
Get in touch
Open for freelance projects, contract roles and collaborations — mobile apps and full-stack products in particular. WhatsApp gets the fastest reply.
- Phone
- +91 70488 09875
- Based in
- Rajkot, Gujarat, India
- Elsewhere