Skip to content
Eskais UI

Agent tasks

Agent task types

TaskView, AttemptView, AgentRef, UsageSummary and ThreadRef: the data contract of the agent task components, plus effectiveAgent and agentDiffers.

Example

T-101
writeri18n
  • T-099 Freeze the English copy
Updated

Installation

npx shadcn@latest add @eskais/agent-task-types

Usage

Import
import { agentDiffers, effectiveAgent } from "@/lib/agent-task-types"

Map your API to TaskView once; every agent-task component reads the same shape.

API reference

This item exports functions and types rather than components.

Other exports

agentDifferseffectiveAgenttype AgentReftype AttemptStatustype AttemptViewtype ContextModetype Livenesstype TaskLinktype TaskLocationtype TaskStatustype TaskViewtype ThreadReftype UsageSummary

Agent actions

Runs agent.snapshot() from @ui-sdk/react/agent on the live preview above.