Skip to main content

agents

VoltAgent Service


VoltAgent Service / agents

agents

Variables

AGENT_REGISTRY

const AGENT_REGISTRY: Record<string, Agent>

Defined in: agents.ts:102

Agent Registry

Maps agent IDs (kebab-case) to Agent instances for VoltAgent server registration. IDs are stable across restarts (no UUIDs, no version numbers).

Functions

composeInstructions()

composeInstructions(config): string

Defined in: agents.ts:50

Compose full instructions from agent config. Order: domain prompt → task → limitation → output format → rules

Parameters

config

AgentConfig

Returns

string


getAgentIds()

getAgentIds(): string[]

Defined in: agents.ts:109

Get all agent IDs

Returns

string[]

References

AGENT_CONFIGS

Re-exports AGENT_CONFIGS