@promptbook/utils
Version:
Promptbook: Run AI apps in plain human language across multiple models and platforms
38 lines (37 loc) • 1.02 kB
TypeScript
import { TODO_any } from "../../../_packages/types.index";
/**
* Model requirements for an agent
*
* This is like "compiled" version of agent source
*/
export interface AgentModelRequirements {
/**
* The system message that defines the agent's behavior and personality
*/
readonly systemMessage: string;
/**
* The model name to use for this agent
*/
readonly modelName: string;
/**
* Optional list of MCP servers that the agent can connect to
*/
readonly mcpServers?: string[];
/**
* Temperature for the agent's responses, controlling randomness
*/
readonly temperature?: number;
/**
* Top-p sampling value for the agent's responses
*/
readonly topP?: number;
/**
* Top-k sampling value for the agent's responses
*/
readonly topK?: number;
/**
* Arbitrary metadata storage for commitments
* Each commitment can store its own data here
*/
readonly metadata?: Record<string, TODO_any>;
}