Skip to content
ThirdLayer

Docs > Agents

Agents

Configure personal and shared Dex agents with standing instructions, harnesses, models, required apps, and write-approval policies.

An agent in Dex defines who runs—its standing instructions (AGENT.md), execution harness, model, required apps, and write-approval policy. Agents can work interactively with you in chat or run in the background through attached automations.

Keep standing role instructions and safety boundaries in the agent (AGENT.md). Put repeatable step-by-step procedures in skills, stable domain notes in knowledge, and schedules or triggers in automations.

Dex supports three agent scopes inside Factory:

Agent typeWhere it livesWho runs itSupported triggers
Personal agentusers/<you>/agents/<slug>/AGENT.mdOnly you, using your connected apps and optional Access Scopecron, datetime, event, manual
Shared agent (fan-out)workspace/agents/<id>/AGENT.mdEvery joined, active teammate—each running independently as themselves with their own credentials and Access Scopecron, datetime, manual
Coordinated shared agentworkspace/agents/<id>/AGENT.md + TEAM.md (with body)One Admin coordinator run that delegates to members via agent(prompt, { agent, user }) and combines resultscron, datetime, manual

A workspace agent without mode: shared is an unpublished workspace definition; it does not run shared fan-out or coordinator dispatches until configured as a shared agent.

An agent directory in Factory groups everything that actor needs:

agents/renewal-monitor/
AGENT.md # Standing prompt, harness, model, approval & autoMode policy, requires
automations/
weekly-check.md # Trigger, optional condition, and per-run task
skills/
renewal-rubric/
SKILL.md # Agent-scoped skill (visible only to this agent's runs)
rubric-examples.md # Supporting reference files available inside the agent's folder

Shared agents add two optional team artifacts beside AGENT.md:

  • TEAM.md — Onboarding setup questions in frontmatter, plus optional coordinator instructions in the Markdown body.
  • team/ — Live shared notes (such as account ownership rosters or handoff logs) that every active member can read and write at HEAD.
  • Interactive chat (in Nexus, the Chrome extension, Slack, or iMessage) uses your workspace context, personal and linked skills, and connected tools immediately—ideal for ad-hoc research, drafting, and exploration.
  • Saved agents give recurring work a durable home in Factory with versioned instructions, explicit requires checks, isolated agent-scoped skills, optional Access Scopes, and repeatable schedules or team rollouts.
  • Create a skill when you want to reuse a procedure across many conversations or across several agents (for example, how to write a customer brief).
  • Create an agent when the work needs a distinct standing identity, approval/Auto Mode policy, required app set, agent-only skills, or scheduled execution—or when teammates need to join and run it together as a shared agent.