---
title: Agents overview
summary: Tessera gives software that acts without a person at the keyboard its own identity, so every token says who is acting and for whom, and you can narrow, limit and stop it.
section: agents
order: 1
---
# Agents overview

Tessera gives software that acts without a person at the keyboard its own identity, so every token says who is acting and for whom, and you can narrow, limit and stop it.

> **Note.** Tessera is in early access with invite-only workspaces. Everything here is standard OAuth 2.1 and OpenID Connect (RFC 8693 token exchange, RFC 7523 JWT bearer, RFC 9728 resource metadata, RFC 8707 resource indicators, RFC 9449 DPoP). No Tessera library is required, and none is published yet: [get and refresh tokens in code](/docs/agents/token-source.md) shows the plain HTTP for each job.

## Three kinds of identity

| Kind | Proves itself with | Typical use |
| --- | --- | --- |
| Service account | A client id and secret (`client_credentials`) | A backend job or agent that calls your API as itself |
| Delegated agent | A token exchange for a person's token | An assistant that acts for one user, never beyond what that user may do |
| Workload identity | A signed token from a trusted issuer (GitHub Actions, Kubernetes, a cloud) | CI jobs and pods that should hold no secret at all |

All three end the same way: an access token (a JWT with header `typ` `at+jwt`) for a named audience, with a short life. Your API validates it like any other Tessera token.

## What a token tells your API

```json
{
  "iss": "https://login.kurthlabs.com/realms/acme",
  "sub": "6f1d2c1e-3b0a-4a64-9c53-0b1a8d0e5f11",
  "aud": "https://docs.example",
  "scope": "docs.read",
  "client_id": "agent-c",
  "act": { "sub": "agent-c", "sub_type": "service_account" },
  "exp": 1790000000
}
```

- `sub` is the person (or service) the work is for.
- `act` is who is doing it. When agents hand work to agents, `act` nests: the outermost entry is the agent holding the token now.
- `aud` is the one API the token works for. A token for another API is refused.
- `scope` is what it may do there. See [claims](/docs/reference/claims.md) for every field.

## Which page do I need

- [Identities](/docs/agents/identities.md): create service accounts and delegated agents, one at a time or hundreds at once.
- [Acting for a person](/docs/agents/acting-for-a-person.md): the person's consent and step-up, token exchange, delegation chains, `may_act`, depth limits and the errors you can get.
- [Workload identity](/docs/agents/workload-identity.md): no-secret tokens for CI and pods, with federation policies and presets.
- [Protect an MCP server](/docs/agents/protect-an-mcp-server.md): resource metadata, audiences, client registration, consent and DPoP.
- [Revocation and the kill switch](/docs/agents/revocation-and-kill-switch.md): stop one agent, one app or every agent of a realm now.
- [Quotas and usage](/docs/agents/quotas-and-usage.md): rate limits per agent and what each agent was issued.

## Rules that hold everywhere

- A token only gets narrower. A token exchange can keep the scope and audiences it received or fewer, and never lives longer than the token it came from.
- Roles are the person's own, up to the agent's ceiling. A new agent that acts for a person carries no roles until you set `allowed_roles` (or the mode `person`, everything the person can do) (see [acting for a person](/docs/agents/acting-for-a-person.md#limit-the-roles-an-agent-carries)).
- Workload tokens and chained exchange tokens never carry a `tessera:` scope, and Tessera's own APIs (`tessera-admin`, `tessera-account-ui`) are never their audience.
- Secrets are shown once. Deliver them to an env file or a secret store, never to a chat or a log.
- Every issuance, refusal and change is written to the audit log, and webhooks can mirror it (see [webhooks](/docs/connect/webhooks.md)).

## Calling the admin API

Setup steps in these pages use the `tessera` CLI where a command exists and the admin API where one does not. The admin API answers on the admin host, `https://login.kurthlabs.com`, under `/admin/v1/realms/<realm>`. Its tokens must have the audience `tessera-admin` and the scope the endpoint names. The CLI signs you in and asks for exactly the scopes a command needs; see the [CLI reference](/docs/reference/cli.md).

```sh
export ISSUER=https://login.kurthlabs.com/realms/acme
export ADMIN=https://login.kurthlabs.com/admin/v1/realms/acme
```

If your realm has its own login domain, the issuer is that domain with no `/realms/...` path, for example `https://login.acme.example`. Endpoints hang off the issuer: `/token`, `/jwks`, `/introspect`, `/revoke`, `/revocations`. Use whichever issuer your tokens carry, and use the same value everywhere.
