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. Signing in lands you on the chat page; new accounts also see a short survey dialog, which you can complete, skip, or dismiss with Escape.
2
Create a workspace
Click Workspaces in the left nav, then click New Workspace and give it a name.
3
Install an agent
Inside your workspace, click Agents in the left nav and click Add Agent. On the All tab, find an agent and add it (try
github-issues if you have a GitHub integration, or any public agent).4
Start a session
Click Chat in the workspace’s left nav. Type
@ and pick 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 22+ and npm (see nodejs.org)
Install and authenticate
1
Install the CLI
2
Authenticate with Guild
Create, test, publish
1
Create the agent
If your account belongs to one or more organizations,
--owner <name-or-id> is required in non-interactive mode (scripted or CI use). Set a default with guild config set default_owner <name-or-id> to avoid passing it on every invocation.hello-agent/ directory, creates the agent in the Guild backend, initializes a local git repo, and pulls starter files: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--publishimplies--waitand makes the agent available to your organization once validation and publish both finish
Next steps
CLI reference
Full development loop: templates, testing, publishing, troubleshooting.
Agent SDK
Build advanced agents with typed inputs, tool sets, and platform services.
Native agents
A prompt and a tool list, with no code (the simplest way to build).
Agent types
Compare every type: Native, TypeScript, Goose, OpenClaw, and LangGraph.
TypeScript LLM agents
Prompt-driven agents with tools, in TypeScript.
Auto-managed state agents
Deterministic TypeScript agents for algorithmic workflows.
Example agents
Complete agents to add to a workspace, run, and adapt.