Agents

An agent is an AI helper built for one job, such as a museum guide, a field coach, or an inspection assistant. It talks by voice, sees through a camera or a simulation, and works from your documents.

What an agent is made of

  • Instructions: documents that set its role, goals, tone, and limits. An optional greeting tells it how to open the conversation.
  • Model and voice: the live model that runs it, such as Gemini Live or OpenAI Realtime, and the voice it speaks in.
  • Languages: the languages it should answer in, when you want to set them.
  • Tools: what it can do beyond talking, such as reading a file or finding a route.
  • Skills and files: what it knows. A skill is a written how-to the agent opens when a task calls for it.
  • Triggers: rules for speaking up on its own.
  • Spaces: the places it works in, which you can walk through as a simulation.

The easiest way to make or change an agent is to ask Builder. The agent's configuration page shows all of the above, and Full prompt there shows exactly what the model receives.

The Agents page of an organization: agents as cards with their status and session counts, and folders that group them.The Agents page of an organization: agents as cards with their status and session counts, and folders that group them.

Tools

An agent can use only the tools ticked in its configuration:

  • File tools list, search, and read your organization's documents and pictures.
  • Space tools search the place, describe an object, find a route, and say what is nearby. An agent with a space has them unless you turn one off.
  • XR tools mark things in the wearer's view and show panels, on XR glasses.
  • Custom tools are your own, written in JavaScript.

Who can use an agent

Three settings decide who can use an agent and where:

  • Status: Draft, Training, or Live. A new agent starts as a Draft, and publishing makes it Live.
  • Access: Organization only (the default) or Anyone with the link.
  • Availability: Everywhere (the default) or XR only. An XR-only agent is listed and started only on XR glasses, and the phone apps leave it out. The web app still runs it, so you can try it there.

An agent's configuration page: its name, the Status, Access and Availability settings, and its instruction documents.An agent's configuration page: its name, the Status, Access and Availability settings, and its instruction documents.

A Live agent open to anyone with the link can be tried without signing in, by adults 18 and older:

  • Those sessions belong to your organization, and you can read them like any other.
  • Visitors see the agent's name and picture, never its instructions.
  • File tools and custom tools are off.

Keep secrets out of instructions: a model may repeat them.

Templates, sample agents, and built-in agents

  • Templates on the New agent page are starting points for common jobs, such as a venue guide or a safety coach. Pick one and Builder makes your own copy with you.
  • Sample agents are ready-made agents in the phone apps that anyone can try before signing in.
  • Built-in agents, such as Builder, are part of the product.

Run an agent

Choose Run on an agent's card. A run is a live session, the same kind the phone and glasses apps open. Talk to the agent, or type in the Chat panel. Pick what it sees from the menu on the stage: a Simulation of its place, or your Camera. You can switch during the session.

A session keeps the configuration it started with. Changes to an agent show in its next session.

WorldAgents never records the audio or video of a session. Each one leaves a written transcript, which you can read on the agent's Sessions page.

Technical reference

Exact names, paths, values and limits, for developers and AI assistants.

Files

  • An agent is a folder in the organization's files. agents/<agent id>/agent.json holds its configuration and agents/<agent id>/data/ holds its documents and assets. The folder name is the agent id.
  • An agent's folder can sit in a subfolder, such as agents/Museums/<agent id>/. Paths in these docs show the default place.
  • instructionFiles in agent.json lists the documents loaded when a session starts, in order. A path is relative to data/; a shared: prefix names a file in the organization's files instead.
  • greetingFile names the optional opening instruction. Without one, the agent stays silent until the user speaks.
  • A session reads up to 64 KiB of each instruction file and 256 KiB in total, and the prompt says when a file was cut.
  • A link inside an instruction document is not loaded at the start. The agent reads the linked file when it needs it, which takes the read_file tool.
  • tools in agent.json lists the enabled tool ids. The agent can call exactly these.

Status, access, and availability

  • status is DRAFT, TRAINING, or LIVE.
  • access is ORGANIZATION or PUBLIC. Only an agent that is both LIVE and PUBLIC can be started from outside its organization.
  • availability is everywhere (stored by leaving the field out) or xr-only.
  • Clients name their device as device when they list agents (GET /agents?device=…, GET /samples?device=…) and when they start a session. A list request without device gets every agent.
  • Starting an xr-only agent from any other device answers 422 with code agent_unavailable_on_device. Sessions in the web app are exempt.

Skills

  • A skill is a file at skills/<name>/SKILL.md, either in the agent's data/ folder or at the root of the organization's files (a shared skill).
  • SKILL.md starts with YAML front matter that holds name and description. name uses lowercase letters, digits, and hyphens, is at most 64 characters, and matches the folder name. description is 1 to 1024 characters. A skill that breaks these rules is not listed.
  • The session's prompt lists each skill's name and description. The agent opens the file with read_file when a skill fits the task, so an agent without read_file among its tools gets no skills.
  • An agent always gets its own skills. It gets a shared skill only when sharedSkillPaths in agent.json lists it, as skills/<name>/SKILL.md. When both have the same name, the agent's own skill wins.

Run links

  • A run opens at /org/<organization id>/agents/<agent id>/run. /run/<agent id> shows the agent alone, without the rest of the web app.
  • input=simulation or input=camera in the link sets what the agent sees. Without it, a laptop starts on the simulation when there is one, and a phone starts on the camera.