Skip to content
ThirdLayer

Docs > Getting started

Dex documentation

Build 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.

  1. Read How Dex works for the end-to-end architecture and where humans stay in charge.
  2. Follow the Dex quickstart to connect a source, run a grounded task, and turn it into a reusable skill or automation.
  3. Review Core concepts to see what belongs in an agent, a skill, a knowledge file, the ontology, or Factory.

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 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.

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 like deal and commitment), 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 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 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.

Start small with the narrowest building block that solves the job:

GoalUse this in Dex
Answer a one-off question or draft a messageInteractive chat in the web app, extension, or Slack
Repeat the same checklist or format across chatsA Skill (SKILL.md)
Store stable background facts or domain notesA Knowledge file or a manual note in the Knowledge graph
Track structured entities, links, and timelines across toolsAn Object type in the Ontology plus a saved View
Run a recurring job on a schedule or trigger for yourselfA personal Agent with an Automation
Roll out one workflow across a team where each person uses their own appsA Shared agent (add TEAM.md only if results must be combined across members)
  • 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