Docs > Getting started
Dex documentation
# Dex documentation Dex is an agent platform for everyday knowledge work. Connect your team's communication, documents, and business systems, model the records that matter in a shared ontology and knowledge graph, and run personal or shared agents whose instructions, skills, and automations live as versioned files in Factory. Unlike a standalone chat assistant, Dex separates **context** (your ontology, knowledge graph, and knowledge files), **procedures** (skills), **actors** (personal and shared agents), and **permissions** (per-user OAuth connections, Access Scopes, and write approval gates). Each layer is inspectable, versionable, and scoped to the people authorized to use it. :::note Dex never shares your OAuth tokens or raw private messages when you share an agent, skill, or view. Every member runs under their own connected accounts and Access Scope. ::: ## Start here 1. Read [How Dex works](/getting-started/how-dex-works/) for the end-to-end architecture and where humans stay in charge. 2. Follow the [Dex quickstart](/getting-started/quickstart/) to connect a source, run a grounded task, and turn it into a reusable skill or automation. 3. Review [Core concepts](/getting-started/core-concepts/) to see what belongs in an agent, a skill, a knowledge file, the ontology, or Factory. ## The parts of Dex ### Agents and shared agents An [agent](/agents/) defines **who runs**: its standing instructions (`AGENT.md`), execution harness (`dex`, `claude`, or `codex`), model, required apps, and write-approval policy. - **Personal agents** belong to one user and run with their private files, connected apps, and triggers. - **[Shared agents](/agents/shared-agents/)** live once in your workspace and let teammates join via a link rather than a copy. Each member runs as themselves with their own credentials and Access Scope—either independently in **fan-out mode** or orchestrated across the team by a **coordinator** (`TEAM.md`). ### Skills [Skills](/agents/skills/) are reusable operating procedures stored as `SKILL.md` folders with optional scripts, templates, and reference files. Skills load progressively: agents always see each skill's name and description, load the full instructions when invoked, and read supporting files only when needed. Scope a skill to one agent, keep it personal, or share it across the workspace. ### Ontology and knowledge graph Dex builds a structured, permissioned [knowledge graph](/context/knowledge-graph/) from connected tools like Slack, Gmail, Calendar, GitHub, Drive, Notion, and Attio: - The **[ontology](/context/ontology/)** defines your workspace's schema: Object types (such as `person`, `company`, or custom types like `deal` and `commitment`), typed scalar and relationship fields, and declarative mappings that resolve source rows into unified records. - The **[knowledge graph](/context/knowledge-graph/)** materializes those Object records, typed links, and provenance-backed **observations** (synced activity and manual notes), while preserving human edits across syncs and enforcing row-level permissions. - **[Nexus](/context/nexus/)** is the web workspace for exploring Objects, Sources, the interactive Graph, Timeline, Records, and saved Views. ### Factory [Factory](/factory/) is your workspace's Git-backed configuration repository. It stores agents, automations, skills, knowledge files, ontology documents, saved views, and source descriptors as Markdown and YAML files. Changes go through validation, impact preview (`dex factory preview`), commit, and server-side Apply into live runtime state—without ever storing OAuth secrets or runtime credentials in Git. ### Automations and approvals [Automations](/automations/) define **when an agent runs** (schedule, one-shot datetime, integration event, or manual dispatch) and the task for each run. Consequential writes pause as durable **pending action** cards in your Inbox or Slack for review, editing, and drift checking—or run automatically under an explicit [Auto Mode](/agents/tools-and-approvals/#auto-mode) policy. ## Choosing the right primitive Start small with the narrowest building block that solves the job: | Goal | Use this in Dex | | --- | --- | | Answer a one-off question or draft a message | Interactive chat in the web app, extension, or Slack | | Repeat the same checklist or format across chats | A [Skill](/agents/skills/) (`SKILL.md`) | | Store stable background facts or domain notes | A [Knowledge file](/agents/knowledge/) or a manual note in the [Knowledge graph](/context/knowledge-graph/) | | Track structured entities, links, and timelines across tools | An Object type in the [Ontology](/context/ontology/) plus a saved [View](/context/nexus/#views) | | Run a recurring job on a schedule or trigger for yourself | A personal [Agent](/agents/) with an [Automation](/automations/) | | Roll out one workflow across a team where each person uses their own apps | A [Shared agent](/agents/shared-agents/) (add `TEAM.md` only if results must be combined across members) | ## Related pages - [How Dex works](/getting-started/how-dex-works/) - Trace how context, Factory, agents, and approvals fit together - [Dex quickstart](/getting-started/quickstart/) - Connect a source and build your first reusable workflow - [Core concepts](/getting-started/core-concepts/) - Clear boundaries between every Dex primitive - [Product surfaces](/getting-started/product-surfaces/) - Web app, Chrome extension, Desktop companion, Slack, iMessage, and CLIBuild personal and team workflows with Dex agents, shared agents, skills, ontology, knowledge graph, and Factory.
Dex is an agent platform for everyday knowledge work. Connect your team’s communication, documents, and business systems, model the records that matter in a shared ontology and knowledge graph, and run personal or shared agents whose instructions, skills, and automations live as versioned files in Factory.
Unlike a standalone chat assistant, Dex separates context (your ontology, knowledge graph, and knowledge files), procedures (skills), actors (personal and shared agents), and permissions (per-user OAuth connections, Access Scopes, and write approval gates). Each layer is inspectable, versionable, and scoped to the people authorized to use it.
Start here
Section titled “Start here”- Read How Dex works for the end-to-end architecture and where humans stay in charge.
- Follow the Dex quickstart to connect a source, run a grounded task, and turn it into a reusable skill or automation.
- Review Core concepts to see what belongs in an agent, a skill, a knowledge file, the ontology, or Factory.
The parts of Dex
Section titled “The parts of Dex”Agents and shared agents
Section titled “Agents and shared agents”An agent defines who runs: its standing instructions (AGENT.md), execution harness (dex, claude, or codex), model, required apps, and write-approval policy.
- Personal agents belong to one user and run with their private files, connected apps, and triggers.
- Shared agents live once in your workspace and let teammates join via a link rather than a copy. Each member runs as themselves with their own credentials and Access Scope—either independently in fan-out mode or orchestrated across the team by a coordinator (
TEAM.md).
Skills
Section titled “Skills”Skills are reusable operating procedures stored as SKILL.md folders with optional scripts, templates, and reference files. Skills load progressively: agents always see each skill’s name and description, load the full instructions when invoked, and read supporting files only when needed. Scope a skill to one agent, keep it personal, or share it across the workspace.
Ontology and knowledge graph
Section titled “Ontology and knowledge graph”Dex builds a structured, permissioned knowledge graph from connected tools like Slack, Gmail, Calendar, GitHub, Drive, Notion, and Attio:
- The ontology defines your workspace’s schema: Object types (such as
person,company, or custom types likedealandcommitment), typed scalar and relationship fields, and declarative mappings that resolve source rows into unified records. - The knowledge graph materializes those Object records, typed links, and provenance-backed observations (synced activity and manual notes), while preserving human edits across syncs and enforcing row-level permissions.
- Nexus is the web workspace for exploring Objects, Sources, the interactive Graph, Timeline, Records, and saved Views.
Factory
Section titled “Factory”Factory is your workspace’s Git-backed configuration repository. It stores agents, automations, skills, knowledge files, ontology documents, saved views, and source descriptors as Markdown and YAML files. Changes go through validation, impact preview (dex factory preview), commit, and server-side Apply into live runtime state—without ever storing OAuth secrets or runtime credentials in Git.
Automations and approvals
Section titled “Automations and approvals”Automations define when an agent runs (schedule, one-shot datetime, integration event, or manual dispatch) and the task for each run. Consequential writes pause as durable pending action cards in your Inbox or Slack for review, editing, and drift checking—or run automatically under an explicit Auto Mode policy.
Choosing the right primitive
Section titled “Choosing the right primitive”Start small with the narrowest building block that solves the job:
| Goal | Use this in Dex |
|---|---|
| Answer a one-off question or draft a message | Interactive chat in the web app, extension, or Slack |
| Repeat the same checklist or format across chats | A Skill (SKILL.md) |
| Store stable background facts or domain notes | A Knowledge file or a manual note in the Knowledge graph |
| Track structured entities, links, and timelines across tools | An Object type in the Ontology plus a saved View |
| Run a recurring job on a schedule or trigger for yourself | A personal Agent with an Automation |
| Roll out one workflow across a team where each person uses their own apps | A Shared agent (add TEAM.md only if results must be combined across members) |
Related pages
Section titled “Related pages”- How Dex works - Trace how context, Factory, agents, and approvals fit together
- Dex quickstart - Connect a source and build your first reusable workflow
- Core concepts - Clear boundaries between every Dex primitive
- Product surfaces - Web app, Chrome extension, Desktop companion, Slack, iMessage, and CLI