Run an agent
1
Sign in
Go to app.guild.ai and sign in with your Google or GitHub account, or enter your email to receive a passwordless magic link.
2
Create a workspace
Select the /home Workspace from the workspace selector at the top of the left sidebar. This is a default Workspace in your personal Guild account.
3
Install an agent
Inside your /home workspace, go to Agents and click Add agent. Browse the Agent Hub and install one (try
github-issues if you have a GitHub integration, or any public agent).4
Start a session
Go back to your workspace and click New session. Select your agent, type a message, and press Enter.The agent runs and responds in the session panel. It may ask clarifying questions or request access to services along the way.
Build your own agent
Paste this into your coding agent (Claude Code, Cursor, Codex, etc.) to get started:Coding agent prompt
Prerequisites
- Node.js 18+ and npm (see nodejs.org)
Install and authenticate
1
Install the CLI
2
Authenticate with Guild
Create, test, publish
1
Create the agent
2
Edit the agent
Open
agent.ts and replace the contents:mode: "multi-turn" keeps the conversation going after each response. llmAgent wires ui_notify internally so progress notifications (task.ui.notify()) work, but hides it from the model unless you explicitly add ui_notify to your agent’s tools. Add userInterfaceTools explicitly if your agent needs ui_prompt or ui_ping.The
description field is optional and deprecated as of @guildai/agents-sdk 0.4.0. Guild generates the agent’s published description automatically from its code, so setting description no longer affects the published description.3
Select a workspace
--workspace <id> to guild agent test directly.4
Test it
Ctrl+C to exit.5
Save and publish
--waitblocks until validation passes--publishmakes the agent available to your organization
Next steps
CLI reference
Full development loop: templates, testing, publishing, troubleshooting.
Agent SDK
Build advanced agents with typed inputs, tool sets, and platform services.
LLM agents
Prompt-driven agents with tools (the simplest way to build).
Coded agents
Deterministic TypeScript agents for algorithmic workflows.