Skip to content

Documentation / @agentick/agent / AgentTokenBudgetConfig

Interface: AgentTokenBudgetConfig ​

Defined in: agent.tsx:34

Token budget configuration for the agent.

Properties ​

guidance? ​

optional guidance: string

Defined in: agent.tsx:38


headroom? ​

optional headroom: number

Defined in: agent.tsx:39


maxTokens ​

maxTokens: number

Defined in: agent.tsx:35


onEvict()? ​

optional onEvict: (entries) => void

Defined in: agent.tsx:37

Parameters ​

entries ​

COMTimelineEntry[]

Returns ​

void


strategy? ​

optional strategy: CompactionStrategy

Defined in: agent.tsx:36

Released under the ISC License.