> Index of all Nori docs pages for agents: https://docs.noriagentic.com/llms.txt · Ask a question: https://noriagentic.com/ask

# Custom agents

A custom agent is a named specialist your team can mention in chat. Each one has a handle (for example `@marlin`) and its own provider and model, skills, integrations, machine size, reply mode, and access list. Sessions started with an agent use its settings in place of the org defaults.

## Who can use it

- **Building and editing agents:** org admins and owners. The **Agents** link in the sidebar and the builder pages are admin-only.
- **Chatting with an agent:** anyone the agent’s access allows. Admins need access too.

The Agents page is marked **Early access**.

## Build an agent

Open **Agents** in the sidebar and choose **+ New agent**. The builder asks one question per step. Click any answer to change it, then choose **Create agent** (or **Save** when editing).

| Step                        | What you choose                                                                                                                                                             |
| --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Start from**              | **Blank** (no integrations, org defaults for the rest), **Org defaults** (every org integration and the org settings), or **Copy another agent**. Only shown when creating. |
| **Name**                    | Display name (up to 80 characters), handle, and optional description (up to 140 characters, shown next to the handle in Slack’s mention menu).                              |
| **Integrations**            | Which org integrations the agent’s sessions get.                                                                                                                            |
| **Model**                   | Provider (required) and model. The model defaults to the provider default. Optional **Thinking** level.                                                                     |
| **Harness**                 | The harness it runs in, or **Use organization policy**.                                                                                                                     |
| **Machine size**            | **Org default** or one of the org’s enabled sizes.                                                                                                                          |
| **Skills**                  | **Use a skillset** or **Customize**.                                                                                                                                        |
| **Personality**             | Focus and style. Only shown when editing.                                                                                                                                   |
| **Conversation reply mode** | **Org default**, **All thread replies**, or **Tag only**.                                                                                                                   |
| **Who can use it**          | **Everyone in the org** or **Only people you pick**.                                                                                                                        |

Harness, machine size, and reply mode start on the org defaults, so you can create an agent without answering them.

### Handle

The handle is generated from the name. It must be 1-21 characters of lowercase letters, digits, `.`, `_`, or `-`, and start with a letter or digit. It locks once the agent is created.

### Model, harness, and thinking

The **Thinking** select sets the level the agent’s conversations start at, over the org’s harness default. It only appears when the harness has thinking levels. See [providers and models](https://docs.noriagentic.com/sessions/guides/providers-and-models/) for the levels each harness offers.

### Skills

| Choice             | Effect                                                                                            |
| ------------------ | ------------------------------------------------------------------------------------------------- |
| **Use a skillset** | The org default, no skillset, or one skillset. The agent follows that skillset’s updates.         |
| **Customize**      | Pick individual org skills. Saving the agent publishes them as a skillset named `agent-<handle>`. |

Only org skills can be picked under **Customize**. If a skillset with that name already exists, use it as a skillset or pick a different handle.

### Integrations

Drag integrations from **Org integrations** to the agent’s list, or press **+**. The list can include Nori integrations (Google Workspace, Slack), GitHub accounts, apps through One, MCP servers, CLIs, and environment variables. The agent’s sessions get nothing that is not on the list.

- An agent on every integration also gets integrations connected later.
- An empty list gives the agent no tools, accounts, or secrets.
- Without Slack, the agent can’t read Slack threads or files. Its replies still post.
- **Org defaults** saves a copy of today’s integration list. Integrations connected later are not added.

To give the agent its own credential, use **Connect** next to an item. That opens Integrations with the agent selected as the owner. The agent must be created first. See [agent-scoped credentials](#agent-scoped-credentials-and-environment-variables).

### Machine size

Pick the machine the agent starts on from Slack, automations, projects, and new web chats. Sizes larger than the workspace’s machine budget are marked. See [machines and capacity](https://docs.noriagentic.com/sessions/guides/machines-and-capacity/).

Availability: this feature is being rolled out and may not be enabled for your organization yet.

### Personality

| Field     | Options                                                                                                                                        |
| --------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| **Focus** | **Same as the org**, **Software engineering**, or **Everything else** (with areas: Operations, Research, Marketing, Project management, Other) |
| **Style** | **Same as the org**, **Concise**, or **Explanatory**                                                                                           |

**Same as the org** follows the org agent preferences below.

### Reply mode

Reply mode applies to Slack threads only. **Tag only** answers mentions and reads the other replies as context. Bang commands work either way. The org default is set in **Settings → Security → Conversation reply mode**.

### Access

| Choice                   | Who can use it                                                                                       |
| ------------------------ | ---------------------------------------------------------------------------------------------------- |
| **Everyone in the org**  | Anyone can start it or @mention it                                                                   |
| **Only people you pick** | People and groups you add: individual people by email, **All admins and owners**, or **All members** |

A restricted agent with no grants can’t be used by anyone. People without access see: “You don’t have access to @handle. Ask an org admin to grant you access.”

Availability: integration lists, restricted access, and agent-scoped credentials are being rolled out and may not be enabled for your organization yet.

## Agent-scoped credentials and environment variables

On Integrations, the **Who gets it** picker has an **Agent** option for admins. Choose the agent, then connect the account, API key, MCP server, CLI, or environment variable. Only sessions running that agent get it, including automations.

When the same name exists in several scopes, the agent-scoped entry wins over personal and org entries. See [environment variables](https://docs.noriagentic.com/sessions/guides/environment-variables/).

```sh
nori-sessions integrations set-custom --key DEPLOY_TOKEN --value-file ./token \
  --scope agent --agent marlin
```

## Start a chat with an agent

| Surface     | How                                                                                                                                           |
| ----------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| Web chat    | Type `/agent` or `/agent @handle` in the composer, or use the agent picker above the message box. Shift+Tab in the message box cycles agents. |
| Slack       | Mention the agent’s Slack user group `@handle`, or mention Nori and add `+handle` to the first message.                                       |
| GitHub      | Comment `@nori +handle` on a pull request. `+handle` must come right after the mentions in the first comment of that PR’s conversation.       |
| Automations | **Run with** → **Custom agent** in the automation form.                                                                                       |
| Projects    | **Project assistant** and **Project runs** in project settings.                                                                               |

In web chat, the provider, model, skillset, and size pickers show **Set by @handle** before the first message. You can change them once the chat starts. The agent of a chat is fixed after it starts.

The Agents page shows each agent as **live in Slack** or **Slack mention pending**. Pending means Slack blocked Nori from creating the user group. Allow the “Create and edit user groups” setting in Slack, then run `nori-sessions custom-agents sync`. `+handle` works on every surface.

## Org agent preferences

**Settings → Sessions → Agent** sets the org agent that every session and every custom agent on **Same as the org** inherits. Admins only.

| Field                 | Options                                                    |
| --------------------- | ---------------------------------------------------------- |
| **Name**              | Up to 32 characters. Default: Jiro                         |
| **Mostly helps with** | **Software engineering** or **Everything else**            |
| **Areas of work**     | Operations, Research, Marketing, Project management, Other |
| **Response style**    | **Concise** or **Explanatory**                             |

Saving publishes a new version of the agent skillset. Running sessions keep their current instructions.

## CLI

| Command                                                              | What it does                                                                                                                                  |
| -------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| `nori-sessions custom-agents list`                                   | List agents                                                                                                                                   |
| `nori-sessions custom-agents add --handle <h> --provider <p> [...]`  | Add or replace one agent. Flags include `--model`, `--skillset`, `--size`, `--thinking`, `--integrations`, `--name`, `--verbosity`, `--focus` |
| `nori-sessions custom-agents set`                                    | Replace the full set of agents from JSON                                                                                                      |
| `nori-sessions custom-agents sync`                                   | Retry creating each agent’s Slack user group                                                                                                  |
| `nori-sessions access restrict` / `unrestrict`                       | Restrict an agent to its grants, or open it to everyone                                                                                       |
| `nori-sessions access grants add --agent <h> --subject user:<email>` | Grant use. Subjects also accept `all-admins` and `all-members`                                                                                |

`--integrations none` gives an agent no integrations. `inherit` gives it every org integration.

## Limits

- Handle: 1-21 characters. Name: 80. Description: 140.
- Up to 200 integrations per agent. GitHub accounts don’t count.
- An agent assigned to automations can’t be deleted until those automations are reassigned.
- A restricted agent can’t be deleted or renamed until its restriction is lifted.

## Common questions

**What happens when I remove an agent?** It stops resolving immediately and its Slack user group is disabled. Existing threads keep running.

**Can I change the handle?** No. Create a new agent with the new handle.

**Slack says “No agent named `x`”.** The `+handle` did not match an agent. The reply lists the registered handles.

**Can I give an agent its own Claude or ChatGPT account?** Yes. Add the account on Integrations with **Who gets it → Agent**. See [providers and models](https://docs.noriagentic.com/sessions/guides/providers-and-models/).

**Do edits to an agent affect automations that use it?** Yes. Automations linked to a custom agent pick up its later edits.

**Does an automation run use my custom agent’s credentials?** Yes. A run with **Run with** → **Custom agent** gets the agent’s agent-scoped credentials and environment variables, and only the integrations on the agent’s list. This holds for standalone runs and for runs that post to a Slack or Discord thread.
