Skip to main content

RunningAgent

Agent Runtimes


Agent Runtimes / types/agents / RunningAgent

Interface: RunningAgent

Defined in: types/agents.ts:112

Properties

agentId

agentId: string

Defined in: types/agents.ts:114

Unique agent ID within the runtime


createdAt

createdAt: string

Defined in: types/agents.ts:126

When the agent was created


durableEnabled

durableEnabled: boolean

Defined in: types/agents.ts:134

Whether DBOS durability is enabled


model

model: string

Defined in: types/agents.ts:124

Model being used


name

name: string

Defined in: types/agents.ts:118

Agent display name


podName

podName: string

Defined in: types/agents.ts:116

Pod name in Kubernetes


specId?

optional specId?: string

Defined in: types/agents.ts:120

AgentSpec ID used to create the agent


status

status: AgentStatus

Defined in: types/agents.ts:122

Current agent status


totalCostUsd

totalCostUsd: number

Defined in: types/agents.ts:132

Estimated cost in USD


totalTokens

totalTokens: number

Defined in: types/agents.ts:130

Total tokens consumed


turnCount

turnCount: number

Defined in: types/agents.ts:128

Number of completed turns