> For the complete documentation index, see [llms.txt](https://docs.leanscaper.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.leanscaper.com/agents/sharing-an-agent.md). Agents can also search and read this documentation through its [MCP server](https://docs.leanscaper.com/~gitbook/mcp).

# Sharing an Agent

> **Give the people who work part of the business a way in, decide who runs each agent, and hand one over when the job changes hands.**

***

## Viewer, Editor, and Full Access

Open **Share** from the three-dot menu (⋮) at the top of the agent, or click the **Private** or **Shared** badge under its name. Grant:

* **Viewer.** Can open the agent, chat with Lana in its context, and read what the agent holds.
* **Editor.** Can also add content (a LeanDoc, file, or huddle they can only view comes in view-only), take out what they can share or filed themselves, rename the agent, and add people as Viewers or Editors. See [Adding and Removing Content](https://docs.leanscaper.com/agents/adding-and-removing-content.md).
* **Full access.** Everything, including delete, deciding who else gets in, and the agent's instructions, opening message, and **Try asking** prompts.

Share with individuals, groups, application roles, or "Everyone in your company," exactly as you would anywhere else.

{% hint style="info" %}
**Sharing an agent shares what's inside it.** When you add someone to an agent, they can reach the content in it, even content that wasn't shared with them directly. An agent gives a team everything it needs in one move. [Agents & Permissions](https://docs.leanscaper.com/agents/permissions.md) covers how that access is calculated.
{% endhint %}

***

## Who Runs an Agent

An agent's owners are the people with **Full access**. Their avatars show under the agent's name and on its row on the **Agents** page. Use the **Full access** filter there to find the agents someone runs. The [Org Chart](https://docs.leanscaper.com/people/org-chart.md) follows the same rule. You start as the owner of an agent you create. If you later step below Full access, your avatar stays under the name, labeled **creator**.

### Give someone management access

Full access gives someone everything you can do on the agent, including changing the instructions, deciding who else gets in, and deleting it. Open **Share**, add the person or find their row, choose **Full access**, and click **Save Changes**. Only someone with Full access can hand it out, it goes to a named person, and it's given from the Share Sheet; Lana adds people as Viewers or Editors when you ask.

To hand the agent over completely:

1. In **Share**, give the new owner Full access.
2. Open the level menu on your own row, choose **Leave**, and confirm.
3. Click **Save Changes**.

If you're the last person with Full access on an agent, give it to someone else before you leave. The creator's own access is theirs to lower or remove. See [Sharing Content](https://docs.leanscaper.com/users-and-permissions/sharing-content.md). The Fleet agent works differently, because Admins hold Full access through their role. See [The Fleet Agent and Item Pages](https://docs.leanscaper.com/fleet-and-equipment/overview.md#the-fleet-agent-and-item-pages).

### Naming an owner during setup

[Guided setup](https://docs.leanscaper.com/agents/deploying-agents.md) asks who owns or runs the agent: **Decide who owns it** on most agents, and on the pillar agents **Decide who runs Revenue**, **Decide who owns the numbers** on the **Finance Pillar**, **Decide who runs People**, or **Decide who runs Operations**. Name a teammate and Lana shares the agent with them: as an Editor at **Decide who owns it**, and as a Viewer at the pillar steps, or an Editor when you ask Lana. Owners are the people with Full access, so when the teammate should run the agent, give them Full access from **Share**.

***

## The Agent's Channels

Sharing an agent decides who talks in its channels too. Everyone you share an agent with is in the agent's own channel, if it has one. A crew agent's sharing decides who joins the crew's channel beyond the crew itself. An agent other than the crew's can post in the crew's channel instead of its own. Sharing that agent doesn't change who's in the channel. When anyone at your company can join a crew's channel while its agent is kept to certain people, the agent's Overview and Share Sheet ask the people who can share it to choose who the channel is for. Add someone who can't use the agent to either channel and they get Viewer on it once you confirm. See [Crew Channels Follow the Agent](https://docs.leanscaper.com/messages/channels.md#crew-channels-follow-the-agent).

***

## Related Pages

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Managing Agents</strong></td><td>Create, rename, and delete agents, and move work between them.</td><td><a href="https://docs.leanscaper.com/agents/managing-agents.md">Managing Agents</a></td></tr><tr><td><strong>Agents &#x26; Permissions</strong></td><td>How agent access passes through to the content inside it.</td><td><a href="https://docs.leanscaper.com/agents/permissions.md">Agents &amp; Permissions</a></td></tr><tr><td><strong>Sharing Content</strong></td><td>Full access, Leave, and handing your work to someone else.</td><td><a href="https://docs.leanscaper.com/users-and-permissions/sharing-content.md">Sharing Content</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.leanscaper.com/agents/sharing-an-agent.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
