llmAgent pairs a system prompt with a tool set. You define what the agent knows and what it can do — the LLM figures out how to do it.
Basic example
Input and output
EveryllmAgent uses the same fixed schemas:
Execution modes
llmAgent supports two modes:
"one-shot"— The agent processes the input, returns a single response, then terminates."multi-turn"— The agent continues interacting with the user until it calls the__submit__tool to signal task completion.
Tool recommendations
userInterfaceToolsis included automatically — no need to add it.- Include
guildToolsif the agent uses tools that require authorization (e.g., GitHub access), so it can request credentials when needed.
Selecting specific tools
Usepick to include only the tools you need. See Selecting specific tools in the Tool sets reference.
Next steps
- Coded agents — Build deterministic TypeScript agents.
- Task object — Access platform services from inside an agent.
- Tool sets — See all available tool sets.