> 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/agents-and-lana.md). Agents can also search and read this documentation through its [MCP server](https://docs.leanscaper.com/~gitbook/mcp).

# Agents and Lana

> **Chat with Lana from inside an agent and she works from that agent's knowledge: the LeanDocs, Files, LeanBoards, and Huddles it holds, and the instructions you've written for it.**

Lana gives better answers when she knows which part of the business you're asking about. An agent tells her. Everything an agent holds is knowledge she can draw on, so a question asked from inside the maintenance crew's agent gets an answer grounded in that crew's work (its SOPs, its board, its client huddles) and not the rest of the company.

***

## How Scoping Works

Open an agent and talk to Lana from the sidebar, and she works inside it: being there sets the context, and her answers pull from what the agent holds.

Step away briefly and come back, and the sidebar chat picks up the conversation you were just in, so the thread continues instead of starting over. Choose **New Chat** any time you'd rather begin fresh; older conversations stay in your chat history.

Step out of the agent and chat with Lana from the home sidebar, and she's back to working across everything you have access to.

***

## Instructions Shape How Lana Behaves There

Instructions tell Lana how to behave for everyone who chats in this agent: the ground rules, the priorities, the way this part of the business talks about its work. They live in the **Instructions** section of the agent's **Settings** view and can run to 20,000 characters. They grow as you set the agent up: the naming, knowledge, and how-it-works steps each add what you settled, and you can edit any line there.

The **opening message** and **Try asking** prompts, in the same section, set how each new chat with the agent starts. The opening message is the first thing a person sees, up to 500 characters; leave it empty and Lana greets them herself. The **Try asking** prompts, up to four, are the starters teammates see beneath it. On most agents, only someone with Full access changes the instructions, the opening message, and the prompts. Ask Lana to change them and she usually makes the change right away. Once she's read something in that chat that someone else wrote, like a document, a board, a file you attached, or a web search, she shows the change on an approval card first, because these settings shape every later chat in the agent. Creating a new agent with Lana works the same way.

***

## Why Scoped Answers Are Better

A focused context means focused answers:

* **Less noise.** Ask "what's our process for spring startup?" from the maintenance crew's agent and Lana reads the maintenance SOPs, not every SOP in the company.
* **Right client, right details.** Ask about a budget number or a scope change from a client's agent and Lana works from that client's huddles and docs.
* **The work and the knowledge together.** An agent holds both the reference material *and* the board where the work happens, so Lana can connect a question to the cards in motion.

***

## Lana Follows the Standards You Set

An agent is context for the work Lana does, not just the answers she gives. Keep a standard with an agent: a card standard, a document format, the way your company wants something done. Lana checks it before she creates cards or documents there, and follows it.

Write a card standard into your Operations pillar that says every job card needs a site address, a crew lead, and a start date, and the cards Lana creates there come out that way. Keep a site-visit report format with a client's agent and the documents she drafts there match it. When Lana follows one of your standards, she tells you which one and links to it, so you can see she worked from your playbook and not a generic one.

This is the payoff of putting your SOPs into LeanScaper. They stop being documents people are meant to read and become the standard the system follows.

A standard shapes the work you asked for. It never adds work on its own. When a standard calls for an extra step, like also logging a new lead on the sales board, Lana asks first, says where it would go, and links the standard. She does it only after you say yes.

***

## Pass-Through Access Applies

Ask Lana about what an agent holds from inside that agent: a File that belongs to an agent you've been added to is open to your questions, even when it was never shared with you directly. Lana follows the same pass-through access as the rest of the agent. See [Agents & Permissions](https://docs.leanscaper.com/agents/permissions.md).

***

## Add What You Already Have

Bring LeanDocs, files, boards, or huddles you already have into an agent by asking Lana, and she links the originals rather than copying them. Inside the agent, say "add our spring cleanup SOP to this agent": she shows a card naming the items, then files up to 25 at once. A LeanDoc, file, or huddle you can only view goes in view-only. To add a built-in board, like the Ops Board, you need the right to share it. From anywhere else, name the agent too. Once you confirm, Lana files each item you're able to share. People on the agent can use a filed item as far as their role in the agent allows. An item filed view-only reaches them view-only, and a built-in board keeps its own access. See [Agents & Permissions](https://docs.leanscaper.com/agents/permissions.md). Either way, filing takes Editor or Full access on the agent. Ask "what's in this agent?" and she lists what's filed in it that you can open. Taking an item out removes it from this agent only; it stays wherever else it lives.

***

## Check on Your Other Agents

From anywhere, ask Lana "any updates from my sales agent?" or "check all my crew agents" and she looks inside each one. Lana checks each agent's open cards and most recent documents. She also checks the last seven days of board changes, activity, and huddles, or a window you name. She finds agents by name, type, crew, or description, among the ones you can open, and reads what's in each. To ask an agent something only it knows, open it and chat there.

***

## Hand a Check to an Agent

Ask Lana to have an agent look into something, now or at a time you set, so you don't have to remember to follow up. The answer comes to your conversation with Lana in [Messages](https://docs.leanscaper.com/messages/messages-with-lana.md#lana-messages-you), with the agent's name on it.

1. Start a new chat with Lana.
2. Say what to check, which agent, and when: "Have Snow Sales check tomorrow whether the complaint was handled."
3. Lana tells you who will check and when you'll hear back.

In your chat with Lana, ask "What checks are open?" Until the agent reports, Lana can stop a check or send it to another agent.

Good to know:

* Anyone at your company with Editor or Full access on the agent can ask.
* Use the agent's full name. You can name a customer, job site, or job you can open instead, and that customer's agent does the check.
* Once Lana has read something in a chat, like a LeanDoc or a board, Lana asks for a new chat.
* The check is a one-time Rhythm in that agent, run as you with your access.
* The answer message goes only to you. Anyone who can open the agent, and Org Admins, can see what you asked, your name, and the Rhythm's runs.
* Each check draws from your company's [usage](https://docs.leanscaper.com/getting-started/understanding-credits.md), like any Rhythm run.

***

## Skills, Rhythms, and Field Reports Work in the Agent Too

Lana's context scoping applies to more than questions. Most skills you run from **Skills & workflows** on an agent's **Overview** run in that agent's context. A skill that sets up a new agent, like **Set up a new hire** on a Hiring Agent, opens a new chat with Lana instead. And a [Rhythm](https://docs.leanscaper.com/rhythms/overview.md) scoped to an agent runs with that agent as its working context: a weekly pipeline review Rhythm on a Hiring Agent reads that agent's board and documents, not the whole company. It follows the agent's instructions for how the work is done, like where cards go and how a document is shaped, while the Rhythm's own instruction decides what it does.

Field reports land on the right board from inside an agent too. Report a taillight out from a crew's agent, and Lana makes the card right from that chat, on a board you name or the board that fits. That's a board in the agent kept for that kind of work, or a general to-do board there. When nothing in the agent fits, Lana uses the company board that does. The agent's instructions can also say where a kind of work goes. See [What Lana Handles](https://docs.leanscaper.com/lana/when-lana-connects-you.md).

***

## 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>Agents Overview</strong></td><td>What an agent is and why to deploy one.</td><td><a href="https://docs.leanscaper.com/agents/overview.md">Overview</a></td></tr><tr><td><strong>Adding and Removing Content</strong></td><td>File the documents, boards, and huddles Lana works from.</td><td><a href="https://docs.leanscaper.com/agents/adding-and-removing-content.md">Adding and Removing Content</a></td></tr><tr><td><strong>Talking to Lana</strong></td><td>How Lana works across your business.</td><td><a href="https://docs.leanscaper.com/lana/overview.md">Overview</a></td></tr><tr><td><strong>What Lana Handles</strong></td><td>What she does with a message, and when to open an agent yourself.</td><td><a href="https://docs.leanscaper.com/lana/when-lana-connects-you.md">What Lana Handles</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/agents-and-lana.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.
