Workspace context is a text document that Guild passes to every agent when it runs in your workspace. Use it to tell agents about your project, team conventions, preferred tools, and anything else they need to do their job well.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.
What agents see
When an agent runs, it receives a compiled context made up of three parts:| Part | Source | Example |
|---|---|---|
| Dynamic info | Automatic | Current date, workspace name, active user |
| Generated context | Guild systems | Connected GitHub repositories |
| Manual context | You | Project overview, coding conventions, team notes |
Edit context
Web UI
Open your workspace and click Context in the left sidebar. The editor lets you write in Markdown. Changes are saved as a draft until you publish them.CLI
Theguild workspace context edit command opens your $EDITOR with the current published context. When you save and exit, a draft is created automatically.
Versions
Every change creates a new version. Versions are eitherDRAFT or PUBLISHED — only the latest published version is used when agents run.
Writing good context
Context is injected verbatim into the agent’s prompt, so write it as if you’re briefing a capable new team member. Include:- What the project does and its tech stack
- Repository structure and important directories
- Coding conventions and style preferences
- Tools and services the team uses
- Links to relevant internal resources