# Directory & Lifecycle

> The users, groups and AI agents your realm knows, the attributes each one carries, and how they join, move and leave.

The directory is your realm's record of who exists: every user, every group and every AI agent, with the attributes
you keep about them. Sign-in checks a user against it, tokens carry what it says, and policies, entitlements and
vaults reach users through it. Change a record and the whole realm follows: a user you set inactive can't sign in or
get a new token anywhere in the realm, from that moment.

The one idea to hold: **everything in the directory is an object of a type.** Users, groups and agents are types,
each a schema of attributes and of links to other objects, such as a user's groups. Every object of every type is
created, read, changed, searched and deleted through the same calls. Add attributes to the shipped types, or define
types of your own, and they work exactly the same way.

## What you can do

<CardGrid>
  <LinkCard title="Users" description="Add users, keep their details current, find them, and turn their access off and on." href="./users/" />
  <LinkCard title="Groups" description="Gather users into groups, which is how access is given everywhere else." href="./groups/" />
  <LinkCard title="Agents in the directory" description="AI agents beside your users, each with an owner, a risk class and a status." href="./agents/" />
  <LinkCard title="Attributes" description="The identity model, your own attributes and rules, sensitive values, and types of your own." href="./attributes/" />
  <LinkCard title="Lifecycle" description="Joiners, movers and leavers, and bringing users in from another system." href="./lifecycle/" />
</CardGrid>

## Get started

<LinkCard title="Get started with Directory & Lifecycle" description="Add a user and a group, and put the user in the group, in four calls." href="./get-started/" />

## Popular guides

- [Add users and groups](./guides/add-users-and-groups/): your first users and a group, and a sign-in to prove it.
- [Add your own attribute to users](./guides/add-an-attribute/): keep an employee number, checked and searchable.
- [Bring users from another system](./guides/bring-users-from-another-system/): move users and groups across,
  passwords included.
- [Offboard a leaver](./guides/offboard-a-leaver/): stop sign-in and tokens, end sessions, delete the account.
- [Register an agent](../workforce-identity/guides/agents/register-an-agent/): give an AI agent an identity and an
  owner.

## Coming next

Keeping the directory in step with another system (reconciliation, connectors, SCIM provisioning), and running the
lifecycle for you (workflows, access reviews, invitations), are planned: see
[What's next for lifecycle](./lifecycle/whats-next/). Rule-based membership on the shipped group, and groups users
join themselves, are on [What's next for groups](./groups/whats-next/); shipped improvements reaching existing realms
are on [What's next for attributes](./attributes/whats-next/).

What to plan around today, what isn't offered, and every limit and default are in
[Known limitations](/reference/known-limitations/#directory--lifecycle), [Not offered](/reference/not-offered/#directory--lifecycle) and
[Limits](/reference/limits/#directory--lifecycle).
