Appearance
AIAgentState
Type: Object
A reusable AI agent persona definition for LLM-driven workflow tasks
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| adapterId | AIAdapterID! | Which AI adapter to use for LLM calls | ||
| allowedGraphQLOperations | [String!] | Allowlist of GraphQL operations | ||
| backstory | String! | Rich context about expertise and perspective | ||
| createdAt | String! | Creation timestamp (ISO8601) | ||
| description | String | Optional description | ||
| goal | String! | What this agent is trying to achieve | ||
| id | AIAgentID! | Unique identifier | ||
| maxExecutionTimeSeconds | Int | Timeout for a single invocation | ||
| maxIterations | Int! | Max tool-calling iterations | ||
| maxTokens | Int | Max response tokens override | ||
| model | String | Model override | ||
| name | String! | Display name | ||
| responseFormat | AgentResponseFormat! | Expected output format | ||
| role | String! | Short role title | ||
| systemPromptTemplate | String | Additional system prompt template | ||
| temperature | Float | Temperature override | ||
| tools | [AgentToolRef!]! | Tools this agent can use | ||
| updatedAt | String! | Last update timestamp (ISO8601) |