Agent RunNew
A long-running agent task live: state, elapsed time, current activity, steps, tokens and cost, Pause and Stop, then its result.
Pro pattern · recorded from Pro
The SwiftUI source comes with SwiftPieces Pro.
Every Pro pattern installs with one command once your license is signed in, and re-skins with Pro's design system.
Open it in the Pro library ↗Needs a SwiftPieces Pro license: npx swiftpieces login first.
- Type
- AgentRunBlock
- Inside
- Status chip, Live elapsed time, Steps, tokens and cost, Pause, Resume and Stop
- Install, with a Pro license
- npx swiftpieces add AgentRunBlock
- Depends on
- Pro's Design System, which installs with it
The status section for an agent working in the background. It shows the state, a ticking clock, what the agent is doing now, a segmented step bar and the tokens and cost so far, with Pause, Resume and a confirmed Stop, and Notify me when done through the system permission. It settles into a summary with the outputs to open, or the reason and Retry when it fails.
Its SwiftUI source comes with SwiftPieces Pro: Agent Run in the Pro library.