Skip to main content

AgentInput

interface

What agent needs to describe an agent.

interface AgentInput

Import

import { AgentInput } from '@modular/sdk';

Members5

description
string

What this agent is good for. Shown to the user and read by the model when routing.

model
AgentModel
name
string

Short identifier. The callable agent id is `<extensionId>/<name>`.

prompt
string | Prompt

The system prompt, either inline text or a Prompt shared with the composer.

toolsoptional
readonly string[]