A session is a conversation with an agent. You provide input, the agent runs, asks questions if needed, and returns its output.Documentation Index
Fetch the complete documentation index at: https://docs.guild.ai/llms.txt
Use this file to discover all available pages before exploring further.
Starting a session
Web UI
- Open your workspace at app.guild.ai
- Click New session
- Select an agent, type a message, and press Enter
CLI
How sessions work
- You send a message to an agent
- guildcore receives the request, authenticates it, and forwards it to the runtime
- The runtime loads the agent code and executes it
- The agent can call tools, invoke sub-agents, make LLM calls, and ask you questions
- When the agent finishes, its output is returned to your session
Session lifecycle
Sessions can be in one of several states:| State | Description |
|---|---|
| Active | The agent is running or waiting for your input |
| Completed | The agent has finished and returned its output |
| Failed | The agent encountered an error |
Multi-turn sessions
Agents built withmode: "multi-turn" keep the session open for back-and-forth conversation. The session remains active until the agent calls the __submit__ tool to signal completion.