Skip to content

Documentation / @agentick/agent / AgentProps

Interface: AgentProps ​

Defined in: agent.tsx:68

Props for the Agent component.

Extends core's basic AgentProps with model options, timeline config, token budget, and declarative sections.

Properties ​

children? ​

optional children: ReactNode

Defined in: agent.tsx:78

Additional children (extra sections, tools, etc.).


knobs? ​

optional knobs: Record<string, KnobDescriptor<any, any>>

Defined in: agent.tsx:76

Declarative knobs. Each binds via useKnob(name, descriptor).


maxTokens? ​

optional maxTokens: number

Defined in: agent.tsx:86

Max output tokens.


model? ​

optional model: EngineModel<ModelInput, ModelOutput>

Defined in: agent.tsx:72

Model adapter. Rendered as <Model model={...} />.


providerOptions? ​

optional providerOptions: ProviderGenerationOptions

Defined in: agent.tsx:90

Provider-specific generation options.


responseFormat? ​

optional responseFormat: ResponseFormat

Defined in: agent.tsx:82

Structured output format.


sections? ​

optional sections: AgentSectionConfig[]

Defined in: agent.tsx:102

Declarative sections rendered in order.


system? ​

optional system: string

Defined in: agent.tsx:70

System prompt. Rendered as a model-visible section.


temperature? ​

optional temperature: number

Defined in: agent.tsx:84

Sampling temperature.


timeline? ​

optional timeline: AgentTimelineConfig

Defined in: agent.tsx:94

Timeline options, or false to suppress timeline.


tokenBudget? ​

optional tokenBudget: AgentTokenBudgetConfig

Defined in: agent.tsx:98

Token budget configuration. Applied to Timeline via props.


tools? ​

optional tools: ToolClass<any>[]

Defined in: agent.tsx:74

Tools (ToolClass values). Each rendered as a JSX component.


topP? ​

optional topP: number

Defined in: agent.tsx:88

Top-p (nucleus) sampling.

Released under the ISC License.