AnDocumentation Index
Fetch the complete documentation index at: https://docs.guild.ai/llms.txt
Use this file to discover all available pages before exploring further.
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.
This is the simplest way to build a Guild agent. No TypeScript logic required — just a prompt and tools.
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 SDK reference.
When to use LLM agents
| Situation | Use llmAgent? |
|---|---|
| Task is expressible as a prompt + tools | Yes |
| You need deterministic, repeatable behavior | No — use coded agents |
| You want to minimize LLM token costs | No — use coded agents |