# Panolayer documentation

> Every guide from https://panolayer.com/docs, as Markdown. The index is https://panolayer.com/llms.txt.

<!-- https://panolayer.com/docs/getting-started -->
# Install and set up Panolayer

Install Panolayer, sign in, and open your own repository. You’ll finish with a visual architecture of your code and verification results you can explore.

Last updated 2026-10-21

<a id="before-you-start"></a>

## Before you start

Follow along with your own codebase. We’ll use screenshots of the **Twitter Clone** example to explain what you’re seeing in Panolayer.

- **An Apple silicon Mac** running **macOS 15 Sequoia or later**. Intel Macs are not supported.
- **An internet connection** to download Panolayer and sign in.
- **A local copy of your Git repository.** If it’s only on a hosting service such as GitHub, clone it to your Mac first using your usual Git tools.

You can check your Mac’s chip and macOS version in **Apple menu → About This Mac**.

**Start with Panolayer Agent.** It’s built in and is the agent we’ll use for your first bug fix. You can also use any other supported agent after installing it. See [Supported agents](/docs/agents) for setup.

<a id="install-panolayer"></a>

## Install Panolayer

1. [Download Panolayer](/download?download_source=docs-getting-started-install&from_path=%2Fdocs%2Fgetting-started) for Mac.
2. Open the downloaded **.dmg** file.
3. Drag **Panolayer** into **Applications**.
4. Open **Panolayer** from Applications.

On the welcome screen, choose **Get started** to begin setup.

<a id="sign-in"></a>

## Sign in

Start signing in from the Panolayer app. You’ll finish in your browser, then return to the app.

1. Choose **Create an account** if you’re new to Panolayer, or **Sign in** if you already have an account.
2. Choose **Continue with GitHub**, **Continue with Google**, or email. Panolayer opens your browser.
3. Finish signing in on **panolayer.com**. Check that you’re using the account you want to use in the app.
4. Compare the code in your browser with **Your code** in Panolayer. When they match, choose **Yes, sign in on this computer** in the browser.
5. When the browser confirms you’re signed in on the app, return to **Panolayer**.

<a id="system-check"></a>

## Complete the system check

Panolayer checks that your Mac has Git, which it uses to track changes and keep agents working in separate workspaces. If the required tools are already installed, Panolayer skips this step.

If you see **One quick system check**:

1. Choose **Install** next to **Git — Apple Command Line Tools**.
2. Complete Apple’s installer. This may take a few minutes.
3. Return to Panolayer. It detects the installed tools automatically.
4. When the check is ready, choose **Choose a project**.

## Continue learning

- [Open your first project](/docs/open-your-first-project)

- [Fix your first bug with Panolayer](/docs/first-bug)

- [Explore architecture and dependencies](/docs/architecture)

- [Supported agents](/docs/agents)


<!-- https://panolayer.com/docs/open-your-first-project -->
# Open your first project

Open your repository, explore its architecture, and see your first verification result.

Last updated 2026-10-24

<a id="open-a-repository"></a>

## Open your repository

1. On Panolayer’s opening screen, choose **Open Project…**.
2. Select the root folder of your local **Git repository**.
3. Open the folder and wait for your codebase to appear in Panolayer.

You can open a Git checkout directly; you don’t need a Panolayer project file.

![Panolayer’s opening screen with Open Project above the Todo App and Twitter Clone sample apps.](/docs/getting-started/02-open-repository.png "Choose Open Project… to open your own repository. The Todo App and Twitter Clone samples are available below it; we use Twitter Clone in the examples throughout these docs.")

<a id="first-verification"></a>

## See your first verification result

When you open a codebase, the **Panolayer verification engine** starts running. It parses the codebase down to its functions, symbols, and dependencies, builds the visual architecture, and checks the code to identify bugs.

1. Open **Issues** in the sidebar to follow verification.
2. Wait for **Verification complete**. Any issues that need attention appear in the same window under **Needs attention**.
3. If an issue is listed, open **Details** to understand what failed and where it is in your code.

Here’s what that looks like in the Twitter example. The same view shows results for your repository; your project name, files, and issue counts will be different.

![The Twitter example’s Issues page after verification completes, with Sources, Architecture, Rules, and Verify finished and issues listed under Needs attention.](/docs/first-bug/02-verification-issues.png "Example: the Twitter Clone’s Issues page after verification. In your repository, look for the same verification status, Needs attention list, and Details controls.")

For a closer look at the statuses and results, read [Understand a verification result](/docs/verification-results).

**You’re ready to start working.** You’ve installed Panolayer, signed in, opened a repository, and reached its verification results. You can now explore the code or hand a bug to an agent.

<a id="explore-architecture"></a>

## Explore your architecture

Open **Architecture** in the sidebar to understand how your code fits together, what depends on what, where the bugs are, and what they touch. Expand the map to move from the codebase into its groups, files, and functions.

### Trace a bug to the source

Follow the **red issue badges** through the architecture to the affected function. In this Twitter example, the path leads through **UI Components → components → Saved Posts → SavedPosts → clearAll**.

![The Twitter example’s architecture map, with red issue badges along the path from UI Components to SavedPosts and clearAll.](/docs/getting-started/03-architecture-map.png "Follow the red badges to see where an issue sits in the codebase and how the affected code connects to the rest of the project.")

Open the affected function’s source to see the issue alongside the code and its line number. Here, `clearAll` appears at line 19 in `components/SavedPosts.tsx`, with the failure explained directly above it. Your repository will show its own files, functions, and source lines.

![SavedPosts.tsx open from the architecture map, showing the clearAll function at line 19, its failing rule, and Fix controls beside the issue.](/docs/getting-started/04-architecture-source.png "The source view connects the issue to its function and line of code, with the failure explanation and Fix controls in the same window.")

### Choose an agent to fix it

Choose **Fix** beside an issue to open the agent menu. Select **Panolayer Agent** or another agent you’ve installed in Panolayer, such as **Claude Code**, **Codex CLI**, **Kilo Code CLI**, or **OpenCode**. See [Supported agents](/docs/agents) for installation and setup.

### Control which files agents can access

In the file’s details panel, scroll down to the file controls:

- **Lock File**, under **Implementation Lock**, prevents AI agents from modifying the file.
- **Hide from Agents**, under **Container Agent Access**, prevents new container agents from reading the file. Existing agent sessions are unchanged.

![The SavedPosts.tsx details panel with Lock File under Implementation Lock and Hide from Agents under Container Agent Access.](/docs/getting-started/05-file-agent-access.png "Use Lock File to prevent agent edits, or Hide from Agents to keep the file out of new container agent sessions.")

For more ways to navigate your codebase, see [Explore architecture and dependencies](/docs/architecture).

<a id="next-step"></a>

## Next: fix your first bug

Learn how to send an issue to **Panolayer Agent**, review the verification result, and decide whether to merge the change. The first-bug walkthrough uses the Twitter example to show the steps you can apply to your own repository.

[**Fix your first bug with Panolayer**](/docs/first-bug)

[Explore architecture and dependencies →](/docs/architecture)

[Build features and fix bugs →](/docs/running-agents)

## Continue learning

- [Install and set up Panolayer](/docs/getting-started)

- [Fix your first bug with Panolayer](/docs/first-bug)

- [Explore architecture and dependencies](/docs/architecture)

- [Troubleshoot Panolayer: setup, agents, and verification](/docs/troubleshooting)


<!-- https://panolayer.com/docs/first-bug -->
# Fix your first bug with Panolayer

Fix a bug in Panolayer's Twitter example with the built-in agent. Review verification results, approve the merge, and save the change in Git.

Last updated 2026-10-21

## Before you begin

Install Panolayer and sign in. See
[Install and set up Panolayer](/docs/getting-started)
if you haven't done that yet.

This tutorial uses **Panolayer Agent**, which is built in and ready to use. You
can also use any other supported agent after installing it from the Marketplace.
See [Supported agents](/docs/agents) for setup guidance.

## Open the Twitter example

On Panolayer's opening screen, find **Try a sample app** and choose **Twitter
Clone**. Panolayer prepares the example and opens it as `twitter-starter`.

## Let the verification engine run

When you open a codebase, the **Panolayer verification engine** starts running.
It parses the codebase down to its functions, symbols, and dependencies, builds
the visual architecture, and checks the code to identify bugs.

Verification works at the function level. An issue can show which function
failed a rule, what went wrong, and which callers may be affected. This gives
you a place to start even when you didn't write the code.

Wait for **Verification complete**. The issues it finds appear in the same
window, on the **Issues** page under **Needs attention**.

![The Issues page after verification, with detected issues listed under Needs attention.](/docs/first-bug/02-verification-issues.png)

## Look at the first issue

You can click **Details** on any issue to learn more about the bug and the code involved. Follow the explanation back to its source location to understand why the function was flagged. Severity labels help you decide what needs attention first.

For this walkthrough, we’ll fix the saved-posts issue in **components/SavedPosts.tsx**, in the **clearSaved()** function. The issue says the async callback passed to `forEach` is never awaited, so the function returns before the bookmark removals finish. Open **Details** to read the explanation and see the source locations.

![Full expanded Details view for the Twitter example’s clearSaved and clearAll issues in components/SavedPosts.tsx, including the failure explanations and source locations.](/docs/first-bug/03-issue-details.png "Details explains both saved-posts issues and links to their source lines. We’ll fix clearSaved, the first issue in this view.")

Your issue order and counts may differ. Look for the `clearSaved()` issue in `components/SavedPosts.tsx`, or use the issue search to find `clearSaved`.

## Click Fix and choose Panolayer Agent

Click **Fix** on that issue. A menu opens with **Panolayer Agent** and any other
agents you have installed.

Choose **Panolayer Agent**. Panolayer passes the issue and its context to the
agent and starts the work. The function, failed rule, and affected callers give
the agent a starting point, so you don't need to explain the codebase from
scratch or write a prompt yourself.

![Fix menu open on an issue in the Twitter example, showing Panolayer Agent and installed Marketplace agents including Claude Code, Codex CLI, Kilo Code CLI, and OpenCode.](/docs/first-bug/04-fix-agent-menu.png "Choose Panolayer Agent from the Fix menu. The menu also lists other agents you have installed.")

## Follow the agent's work

Panolayer opens **My Agents**, where you can see the task running. The agent
works in its own Git worktree: a separate checkout of the repository where it
can edit and test the code. Its changes stay separate from your branch until
you approve the merge.

![Panolayer Agent working on the Twitter example in My Agents, with a Subagents running card showing progress and an Open button on the right.](/docs/first-bug/05-agent-running.png "My Agents shows the task’s progress in the conversation. Choose Open on the run card for more detail.")

Click **Open** to see exactly what the agent is doing. The **Stream** view shows
its activity, including the files it reads, changes it makes, and checks it
runs. You can also explore the run's **Tasks** and **Changes** tabs.

![The Twitter example’s agent run open in Stream, showing the activity timeline, commands, and a selected command’s details in the right-hand panel.](/docs/first-bug/06-run-details.png "Open lets you follow the run in detail. Select a Stream entry to inspect the command and its output in the right-hand panel.")

As files change, Panolayer checks the affected functions and connected code to
help catch regressions beyond the edited lines. It separates newly introduced
failures from issues that were already there when the task started.

## Review the result and merge

When the agent finishes, Panolayer presents a verification summary and asks
whether you want to merge the change. You decide what moves from the agent's
worktree into your branch.

Review **Failures repaired**, **Rules passed**, **Verification runs**, and
**Files changed**. The summary also identifies pre-existing failures separately
from new problems. Click **Details** if you want to inspect the result further.
The numbers will depend on your run.

![The saved-posts fix ready-to-merge dialog showing 2 failures repaired, 4 of 5 rules passed, 1 verification run, 2 files changed, and 1 pre-existing failure.](/docs/first-bug/08-saved-posts-review-merge.png "Review the verification summary for the saved-posts fix, then choose Merge into main when you’re ready.")


Once you're satisfied, confirm the target branch and click **Merge into main**.
Panolayer brings the agent's work into the sample's main workspace and records
it in local Git history. The **Merged into main** confirmation shows the commit
ID, so you don't need a separate commit action for this workflow.

Choose **Done**, then open **Changes** in the sidebar. Check **History** for the
merge and confirm that there are no uncommitted file changes.

You've fixed a bug found by the verification engine, reviewed the agent's
result, and saved the change locally.

## Continue learning

- [Install and set up Panolayer](/docs/getting-started)

- [Understand a verification result](/docs/verification-results)

- [Run an agent on your repository](/docs/running-agents)

- [Review changes and commit](/docs/changes)


<!-- https://panolayer.com/docs/languages -->
# Supported languages

Panolayer parses the source formats below. Parsing support does not mean that caller resolution and verification have equal coverage in every language.

Last updated 2026-09-23

## Source formats

| Language or format | Parsed | Detected frameworks or stacks |
| --- | --- | --- |
| TypeScript and TSX | Yes | Next.js, TanStack Start, React, Angular, Node.js |
| JavaScript and JSX | Yes | Next.js, React, Vue, Node.js |
| Vue single-file components | Yes | Vue, Nuxt |
| Svelte | Yes | SvelteKit |
| Python | Yes | Django, FastAPI, Flask |
| Go | Yes | Wails, Gin, Echo, Fiber, Chi, Connect RPC, gRPC, Cobra |
| Swift | Yes | Swift |
| Kotlin and Java | Yes | JVM |
| Rust | Yes | Rust |
| Ruby, C, C++, C#, PHP | Yes | No framework-specific claim |
| Bash, Lua, Scala, Elixir | Yes | No framework-specific claim |
| Markdown and MDX | Yes | No framework-specific claim |

## Coverage limits

Dynamic calls, reflection, and generated code need a closer look. A parsed function is not a guarantee that Panolayer can resolve every caller or check every expectation. Framework detection identifies the stack; it does not establish complete framework coverage.

## Repositories with several apps

Panolayer detects apps within monorepos. Inspect Architecture to check which apps and relationships appear. Do not assume that every nested app or generated dependency was discovered.

## Continue learning

- [Install and set up Panolayer](/docs/getting-started)

- [What Panolayer doesn’t do](/docs/concepts/limits)


<!-- https://panolayer.com/docs/troubleshooting -->
# Troubleshoot Panolayer: setup, agents, and verification

Resolve Panolayer setup, sign-in, agent, verification, graph, and Git problems. Find your symptom, follow the recovery steps, and get help.

Last updated 2026-10-21

<a id="find-your-problem"></a>

## Find your problem

Start with the message you see in Panolayer. Use the table to jump to the relevant fix, then check the result before trying the next step.

| What’s going wrong? | Start here |
| --- | --- |
| Installation or the system check won’t finish | [Install and system check](#install-and-system-check) |
| The browser signs in, but the app is still waiting | [Finish sign-in](#section-4) |
| Your repository won’t open or looks incomplete | [Open the right repository](#open-your-repository) |
| An agent is missing, won’t launch, or reports an engine error | [Start an agent](#section-1) |
| An agent can’t read or modify a file | [Check file access](#agent-file-access) |
| Verification is interrupted, unavailable, or undecided | [Recover verification](#section-2) |
| A rule describes the wrong behavior | [Inspect the rule and its evidence](#section-3) |
| An agent stops, or you can’t find its changes | [Inspect the agent’s work](#inspect-the-agent-run) |
| A graph fails or returns an incomplete answer | [Check the graph step](#graph-step-fails) |
| A merge conflicts, or a push fails | [Resolve merge and push problems](#merge-and-push) |
| You still need help | [Report a reproducible bug](#section-5) |

**Keep the error and the work.** Note the exact message and where it appeared. Inspect the existing run or worktree before starting another task. You don’t need to delete your repository, agent worktree, or settings to follow this guide.

<a id="setup-help"></a>

## Setup help

**Still waiting for browser sign-in?**

Choose **Open the browser again** in Panolayer and finish approving the sign-in. If the request expired, choose **Try again** to start a new one.

**The browser is using the wrong account?**

Choose **Switch account** on the browser’s approval page, then sign in with the account you want.

**The system installer is no longer open?**

Choose **Re-open installer** on Panolayer’s system-check screen, then finish installing Apple Command Line Tools. Panolayer checks automatically while the installer runs.

For installation, verification, or agent problems, see [Troubleshooting](/docs/troubleshooting).

<a id="install-and-system-check"></a>

## Installation or the system check won’t finish

**Check your Mac first.** The Panolayer desktop app requires an **Apple silicon Mac** running **macOS 15 Sequoia or later**. Check **Apple menu → About This Mac** for your chip and macOS version. Intel Macs are not supported.

**If you downloaded Panolayer but it isn’t installed:** open the `.dmg`, drag **Panolayer** into **Applications**, then open it from Applications. Follow [Install and set up Panolayer](/docs/getting-started#install-panolayer) for the complete sequence.

**If you’re stuck on One quick system check:**

- Choose **Install** next to **Git — Apple Command Line Tools** and finish Apple’s installer.
- If you closed the installer, choose **Re-open installer** in Panolayer.
- Return to Panolayer after installation. It detects the tools automatically; choose **Choose a project** when the check is ready.

You’re ready to continue when Panolayer lets you choose a project. If Apple’s installer reports an error, include that exact error when asking for help.

<a id="section-4"></a>

## Sign-in does not finish

Signing in has two parts: authenticate in your browser, then approve that Mac for the Panolayer app. A signed-in website alone does not complete the app’s approval.

| What you see | What to do |
| --- | --- |
| The app is waiting and no browser page is open | Choose **Open the browser again** in Panolayer. |
| The browser shows a different account | Choose **Switch account**, then sign in with the account you want to use in the app. |
| The browser asks you to approve this computer | Compare its code with **Your code** in the app. When they match, choose **Yes, sign in on this computer**. |
| The request expired | Choose **Try again** in Panolayer and complete the new browser request. |
| The browser confirms approval | Return to Panolayer to continue setup. |

Use the same account in the app and on the website. See [Sign in](/docs/getting-started#sign-in) for the full walkthrough.

**A third-party agent asks you to sign in separately?** That is the agent vendor’s sign-in. Your Panolayer account does not replace it. Follow that agent’s instructions and [Supported agents](/docs/agents).

<a id="open-your-repository"></a>

## Your repository won’t open or looks incomplete

**Your project won’t open?**

Check that you selected the root folder of a local Git repository. If your repository is hosted online, clone it to your Mac first, then open that folder in Panolayer.

Choose **Open Project…** on Panolayer’s opening screen, then select the **root folder of your local Git repository**. A GitHub URL is not a local folder; clone the repository to your Mac first using your usual Git tools.

If the map looks incomplete:

- Check that you opened the intended repository root, rather than an individual file or the wrong subfolder.
- Check whether Panolayer is still analyzing the code or reports an indexing error. See [Recover verification](#section-2).
- Check [Supported languages](/docs/languages) for your codebase. Inspect the apps and relationships shown in **Architecture**, especially in a monorepo.

A detected framework or a visible file does not mean every dynamic relationship can be resolved. See [Explore architecture and dependencies](/docs/architecture).

**Use the sample to compare the workflow.** The docs use **Twitter Clone**, which opens as `twitter-starter`. Your own repository will have different files, issue counts, and dependencies. You do not need to switch to the sample to use Panolayer.

<a id="section-1"></a>

## An agent does not start

**Panolayer Agent is built in.** Open **My Agents**, choose the **+** button next to **Monitor Agents**, then select **Panolayer Agent**. It does not need a separate vendor sign-in. See [Run an agent on your repository](/docs/running-agents#start-agent).

**For another agent:** install it from **Marketplace**, return to **My Agents**, and choose it from the same menu. Complete the vendor’s sign-in when asked. Its model access and billing belong to that vendor; check [Supported agents](/docs/agents) for the relevant setup.

**If you see an agent failure card:**

- Open **Technical details** and read the launch error.
- If the **container engine could not start**, check the Mac requirements above, then use **Retry** on the failure card.
- If the message names missing credentials or an account problem, finish that agent’s sign-in before retrying.
- If it fails again with the same message, choose **Report a bug** on the failure card. That route includes the agent’s diagnostics. Review the report before sending it.

A successful launch opens the agent conversation so you can send a request. Repeatedly starting new sessions does not resolve an unchanged installation or account error.

### A request is rejected or your usage is exhausted

If Panolayer reports **You’re out of usage for this month**, open **Settings → Plan & Usage** to check the account’s usage and reset date. Retrying the same request does not restore exhausted usage.

For a third-party agent, check the vendor account named in its error. Signing in to Panolayer does not change that vendor’s quota or billing. Resolve the reported account issue before retrying.

<a id="agent-file-access"></a>

## An agent can’t read or modify a file

Check the file’s controls in **Architecture**. Open the file’s source and scroll down in its details panel.

| Control | What it changes |
| --- | --- |
| **Lock File**, under **Implementation Lock** | Prevents AI agents from modifying the file. |
| **Hide from Agents**, under **Container Agent Access** | Prevents new container agents from reading the file. Existing agent sessions are unchanged. |

![SavedPosts.tsx file controls in Architecture, showing Lock File under Implementation Lock and Hide from Agents under Container Agent Access.](/docs/getting-started/05-file-agent-access.png "Check these file controls when an agent cannot read or change a file. The screenshot uses SavedPosts.tsx in the Twitter example.")

If the restriction is intentional, keep it and ask the agent to work within it. If you want the agent to access this file, change the relevant control deliberately. A visibility change applies to new container agent sessions; an existing session’s access does not change.

If neither control explains the problem, inspect the agent’s error and the workspace it is using. See [Inspect the agent’s work](#inspect-the-agent-run).

<a id="section-2"></a>

## Verification has no usable result

Open **Issues** and read the verification status before deciding what to do. A check that could not finish is **not a passing result**, and it is different from a rule that failed against your code.

| Status or message | What to do next |
| --- | --- |
| **Analyzing code** or **Checking rules** | Follow the current stage. Wait for it to finish before interpreting the result. |
| **Not indexed yet** or **Couldn’t index this project** | Follow the card’s action to start indexing or **Retry**. Panolayer needs to read the sources before it can verify them. |
| **Verification was interrupted** or **Verification needs attention** | Read the accompanying error, address its cause, then choose **Retry** on the status card. |
| **Couldn’t read verification status** | Choose **Retry** to read the status again. The message does not establish whether the code passed or failed. |
| **Undecided results** | Open the recorded reason for each item. These checks are neither passing nor failing. |
| **Input too large** | Retrying unchanged inputs will not help. Include the affected file and visible message in a report so the team can investigate. |
| **Evaluation could not finish** | Address the recorded cause, then use **Retry check** where offered. |
| **Nothing to verify — no changes yet** | The agent has no changes to check. Inspect its task and workspace before expecting a merge result. |

If the app reports that an agent workspace was removed or is not being tracked, choose **Return to main** to continue working in the main workspace. An old result does not establish the status of files that are no longer being checked.

After a retry, read the new status. Do not treat a disappeared error, an empty issue list, or an unfinished check as proof that the code passed. See [Understand a verification result](/docs/verification-results).

<a id="section-3"></a>

## A rule looks wrong

Open **Details** beside the issue and compare the expectation, explanation, and source. In the Twitter example, `clearSaved` is expected to finish only after bookmark removals complete; the details show why its current code returns too early.

![Expanded issue details for clearSaved and clearAll in SavedPosts.tsx, showing the expected behavior, why each rule failed, and source-line evidence.](/docs/first-bug/03-issue-details.png "Details connects a failed expectation to the affected function and source lines. Use your own repository’s intended behavior to assess the result.")

- **The expectation is right and the code violates it:** choose **Fix** and select **Panolayer Agent** or another installed agent. Follow [Fix your first bug](/docs/first-bug).
- **The expectation describes the wrong behavior:** correct the rule so it matches what the function should do, then run verification again and inspect the new result.
- **The expectation is right but the reported failure appears incorrect:** report the rule, the visible explanation, and a minimal example that reproduces it.

Changing an expectation is different from fixing the code. Do not weaken an accurate rule just to turn a failure into a pass.

<a id="inspect-the-agent-run"></a>

## An agent stops, or you can’t find its changes

Open **My Agents** and return to the conversation for that task. Choose **Open** on its run card. In **Stream**, select the relevant activity to inspect the command and its output in the right-hand panel. Read the error before sending another task.

**A command or test failed?** Check what the output actually says. A missing dependency, a rejected credential, and a failing application test need different fixes. Give the agent the failing command and the result you expect, keeping the follow-up tied to the same task. If the app shows a failure card, use its **Technical details**, **Retry**, or **Report a bug** controls.

**The agent finished, but your checkout looks unchanged?** Coding work happens in the **agent’s worktree**, separate from your main workspace. Open **Changes** and select that agent’s worktree on the right-hand side to see its uncommitted code. You can review worktrees, inspect changes by risk, and commit from Changes.

**The run says Done, but the work is not merged?** Completion and merge approval are separate. Review the verification summary and changed files, then decide whether to merge. A merge into your branch records the change locally; pushing to your remote is a separate step.

See [Follow the agent’s work](/docs/running-agents#follow-the-work) and [Review changes and commit](/docs/changes).

<a id="graph-step-fails"></a>

## A graph step fails or the answer is incomplete

Inspect the step that failed and its output before changing the whole graph.

| What you see | What to check |
| --- | --- |
| The graph is read-only | Duplicate the built-in graph to edit your own copy. |
| An agent step needs a classification | Select the step and choose its agent classification in the right-hand panel. |
| A script fails immediately | Check **Program**, one argument per line, and **Success exit code**. The program must be available where the step runs. |
| The agent doesn’t use the question from this run | Check that **Custom instructions** includes the **Goal** variable inserted with **@**. |
| A failure has nowhere to go | Inspect the red failure route and connect an explicit handler or **Failed** destination. |
| The graph succeeds but the answer is incomplete | Read the agent step’s output, clarify its instructions, and test the same goal again. |

A successful script step means it met its configured success exit code. Check the actual output and the result you intended, too. After editing a failure route, test that path deliberately.

Follow [Build your first AI agent graph](/docs/graphs/first-graph#troubleshooting) for the working example and configuration screenshots.

<a id="merge-and-push"></a>

## A merge conflicts, or a push fails

**Start in Changes.** Select the relevant worktree and inspect what is waiting to be committed or merged. If you already approved an agent merge, find its commit in **History** before trying to commit the same work again.

**If the merge reports conflicts:**

- Read the conflict dialog. The agent’s work has not been merged yet, and its worktree remains available.
- Resolve each conflicted file in the **agent’s worktree**, save it, and stage that resolution with `git add` in that worktree. You can also use the dialog’s action to ask the agent to resolve the conflicts, then review its edits.
- Choose **Refresh status**. If the rebase is paused and the conflicts are staged, choose **Continue rebase**.
- Review the resulting changes, then use **Review & retry merge** when offered.

Do not resolve a conflict in a different checkout and expect the agent’s worktree to change with it.

**If a push fails:** read the Git error and check the configured remote and your permission to write to it. If the remote branch has moved on, reconcile the changes using your normal Git workflow before retrying. A local merge or commit remains local until a push succeeds. The Twitter sample may have no remote configured; a local commit is enough to complete its walkthrough.

See [Review changes and commit](/docs/changes#push) for commit, History, and push controls.

<a id="section-5"></a>

## Report a bug

If the problem persists, choose **Report a bug** in Panolayer, or [contact the team](/contact). When an agent fails, use **Report a bug** on its failure card so the report includes that agent’s diagnostics.

You can use this template:

```text
What I was trying to do:
Steps to reproduce:
1.
2.
3.
Expected result:
Actual result:
Exact error or status:
Panolayer version:
Mac chip and macOS version:
Agent name, if relevant:
Does it also happen in the Twitter Clone sample?
```

Include the file or function name when it helps locate the problem, and note whether it happened in the main workspace or an agent worktree. A small example you can share is more useful than an entire private repository. You don’t need to test the sample if it would interrupt your current work.

The report dialog includes diagnostics and logs, and can attach the current screen. Review the **Screenshot attached** control and any files you add before sending. Leave out credentials, API keys, and private source code you do not intend to share.

After sending, keep the **tracking reference** shown in the confirmation so you can refer to the same report when following up.

## Continue learning

- [Install and set up Panolayer](/docs/getting-started)

- [Supported agents](/docs/agents)

- [Understand a verification result](/docs/verification-results)

- [Build your first AI agent graph](/docs/graphs/first-graph)

- [Review changes and commit](/docs/changes)


<!-- https://panolayer.com/docs/verification-results -->
# Understand a verification result

A verification result shows whether a checked expectation about your code holds, where a failure occurs, and what needs attention. Use it to understand a bug and review what changed after an agent fixes it.

Last updated 2026-10-20

<a id="twitter-example"></a>

## Follow the Twitter example

This guide follows the post-deletion bug in Panolayer’s Twitter example. You’ll read the issue, follow its explanation back to the code, and understand the verification summary before deciding whether to merge.

To follow along, open **Twitter Clone** under **Try a sample app**. It opens as `twitter-starter`. For the full setup and fix walkthrough, see [Fix your first bug with Panolayer](/docs/first-bug). Screenshots show one recorded run; your issue order and counts may differ.

<a id="start-in-issues"></a>

## Start in Issues

When you open a codebase, the **Panolayer verification engine** starts running. It parses the codebase down to its functions, symbols, and dependencies, builds the visual architecture, and checks the code to identify bugs.

Open **Issues**. In this example, the run has finished and the status reads **Verification complete**. Issues that need investigation appear under **Needs attention**.

![Twitter example Issues page with Verification complete above Needs attention; the first issue concerns post deletion.](/docs/first-bug/02-verification-issues.png "Verification has finished, and the post-deletion issue is first in the list. Search for canDelete or components/Post.tsx if it appears elsewhere in your run.")

**Verification complete describes the run.** It means the run has finished; read the results to see whether it found failures.

<a id="read-the-issue"></a>

## Read the deletion issue

The example’s first issue reports that a condition can stop a confirmed deletion:

> The extra `canDelete` guard can prevent deletion despite user confirmation, contrary to the stated current-post deletion behavior.

A **rule** is an expectation about a function’s behavior: what it should return, what action it should perform, or what other code expects from it. Here, the expectation concerns deleting the current post after the user confirms.

Read the issue’s file, function, status, and explanation together:

 | What you see | What it tells you |
| --- | --- |
| `components/Post.tsx` | The file containing the function to investigate. |
| `handleDelete()` | The function whose behavior was checked. |
| **Failed** | The checked behavior did not meet the rule. |
| **Severity 3 · Functionality** | The issue’s severity and category help you prioritize investigation. |
| **Details** | The explanation and source location help you understand why the issue was reported. |

 Click **Details**. The explanation says the function can return early when `canDelete` is false, before completing the deletion described by the rule. The source reference points to the relevant code.

![Expanded post-deletion issue showing handleDelete, the early return when canDelete is false, and the source reference at line 22.](/docs/verification-results/issue-details.png "The issue connects a specific behavior to a specific function. Follow the source reference to read the code in context; line numbers can change.")

Check that the rule matches the intended behavior before deciding what to change. If the expectation is wrong, correct the rule. If the code is wrong, fix the code. A change can also affect callers in other files, so follow any affected callers shown in the result.

<a id="statuses"></a>

## What do the statuses mean?

Read the status alongside its explanation and the code it applies to.

 | Result | How to read it |
| --- | --- |
| Passed | The evaluated rule passed for the code checked. This describes that rule, rather than every possible behavior of the application. |
| Failed | The evaluated rule did not hold. Read the explanation and inspect the source to decide what needs fixing. |
| Pending or running | The result is not ready. Wait for the check to finish before drawing a conclusion. |
| Unavailable | The check could not finish. Read the accompanying message and resolve the reported problem before checking again. |
| Not checked | The expectation has not been evaluated. It is not a passing result. |

 If verification cannot finish, follow the reported error and see [Resolve setup and agent problems](/docs/troubleshooting).

<a id="fix-and-verify"></a>

## Fix the bug and let verification run again

On the deletion issue, click **Fix**, then select **Panolayer Agent**. Panolayer passes the issue context to the agent, so you don’t need to write a prompt explaining the bug.

Panolayer Agent is built in. You can also use another supported agent after installing it; see [Supported agents](/docs/agents).

The agent works in its own Git worktree, keeping its edits separate from your branch. Follow the task in **My Agents**, or click **Open** on the run card to inspect its activity and changes.

As the code changes, Panolayer checks the affected functions and connected code again, including callers in other files. This helps catch regressions beyond the lines the agent edited.

A **regression** is a new problem introduced by the change. If verification catches one during a fix, the agent can repair it and run verification again before requesting a merge. A task can therefore have several verification runs before it is ready for your review.

<a id="read-the-summary"></a>

## Read the verification summary before merging

When this run finishes, Panolayer shows **Panolayer Agent is ready to merge**. The dialog summarizes what verification checked and repaired during the task.

![Twitter fix merge dialog showing one failure repaired, 14 rules passed of 21, one verification run, four files changed, and seven pre-existing failures.](/docs/first-bug/07-review-merge.png "This run repaired one failure. Read the counts together with the health message and the separate pre-existing-failures line.")

 | Summary field | This run | What it means |
| --- | --- | --- |
| **Failures repaired** | 1 | The work repaired a failure that was already present before the task started. |
| **Rules passed** | 14 of 21 | Fourteen rules passed out of 21 on the changed code. Read this alongside the health message and the separate pre-existing-failures line. |
| **Verification runs** | 1 | One verification run reached a result during this work. This counts verification runs, rather than individual tests or rules. |
| **Files changed** | 4 | The task changed four files. Review the full change set, including any tests and dependency files. |

 The health message says **No new failures, warnings, or unchecked rules.** Read that message alongside the counts: it describes the result of this work, while the next line explains the failures that remain from before it started.

### What if “Regressions caught” appears?

Some runs also show **Regressions caught**. It reports new problems verification detected during the work, helping keep them out of the target branch. Read the latest result to see what still needs attention; the count describes catches during the work, rather than the number of unresolved failures now.

This field is not shown in this screenshot. The deletion example shows one repaired pre-existing failure; it does not demonstrate a regression caught during the fix.

<a id="remaining-failures"></a>

## Why can it be ready to merge when failures remain?

Panolayer compares the result with the **baseline**: the state of the codebase before the change. This separates problems introduced by the task from problems that were already there.

- **A new failure** was introduced by the change and needs investigation before you accept the work.
- **A pre-existing failure** was present before the task started. It can still matter, but this task did not introduce it.
- **A repaired failure** was present before the task and was fixed during the work.

In the screenshot, the dialog reports **7 pre-existing failures** that do not block this merge. The selected deletion issue was repaired, and those other issues remain separate work.

The repository’s issue list and an agent’s verification summary can cover **different scopes**. The issue list shows what needs attention in the codebase; the merge summary describes the agent’s work against its baseline. An agent’s result can report no new failures while the repository still has pre-existing issues.

You can assign a pre-existing issue as another task using **Fix**. That gives the agent a specific issue to work on next.

**Ready to merge does not mean every issue in the repository is resolved.** Read what this task repaired, what it introduced, and what was already there.

<a id="your-decision"></a>

## Decide what reaches your branch

You control the merge. Before accepting the result:

1. Check that the repaired issue matches the bug you asked the agent to fix.
2. Read the verification summary, including any new failures, warnings, or checks that could not finish.
3. Open **Details** for more context and inspect the agent’s changed files. Review the relevant tests and run the application when the behavior needs a runtime check.
4. Confirm the target branch. Choose **Merge into main** when you’re satisfied, or **Not now** to keep reviewing.

Verification gives you evidence for the decision. Read it alongside the code and relevant tests; it does not cover every possible bug.

## Continue learning

- [Fix your first bug with Panolayer](/docs/first-bug)

- [Review changes and commit](/docs/changes)

- [When verification runs](/docs/concepts/when-verification-runs)

- [Troubleshoot Panolayer: setup, agents, and verification](/docs/troubleshooting)


<!-- https://panolayer.com/docs/architecture -->
# Explore architecture and dependencies

Understand how your code fits together, what depends on what, where bugs are, and what they touch. Use the architecture map and search to move from a feature to its source.

Last updated 2026-10-21

## Start with your codebase

Open your repository, then choose **Architecture** in the sidebar. Panolayer maps the codebase so you can explore its groups, files, functions, and connections without knowing every filename first.

Follow along with your own code. The screenshots below use the **Twitter Clone** sample, opened as **twitter-starter**. Your project will have different groups, files, and issue counts.

Click a node to expand it and reveal the next level of the architecture. Keep clicking through the nodes to move from the whole application to the part you want to understand. In this example, **UI Components → components → Saved Posts** leads to `SavedPosts` and its functions. The **Diagram** and **Column** controls give you different ways to browse the structure.

![The Twitter example’s architecture map expanded through UI Components and Saved Posts to SavedPosts, clearSaved, and clearAll, with red issue badges along the path.](/docs/getting-started/03-architecture-map.png "Start with the whole codebase, then click the nodes to find the feature and functions you need. Red badges show where issues sit within that structure.")

## Read a function in context

Open a function’s source from the map to read its description, verification results, and code together. The breadcrumb shows how you reached it, so you can move back through the architecture as you investigate.

In the Twitter example, open **SavedPosts → clearAll**. The source view shows `clearAll` at line 19 in `components/SavedPosts.tsx`. You can see that it calls `clearSaved` before resetting the saved-post list. This connects the visible **Clear all** behavior to the helper it relies on.

When you’re planning a change, follow the connected code and inspect the functions it uses and the callers that depend on it. For this example, changing when `clearSaved` finishes can affect when `clearAll` updates the interface. Understanding that relationship helps you decide what else to inspect and test.

## Find a symbol, file, or feature

Use the search field at the top of the Panolayer window, labeled **Search architecture, symbols, files…**, when you know a name but don’t know where it lives.

- Search for **SavedPosts** to find the component in this example.
- Search for **clearSaved** to locate the bookmark-removal helper.
- Search for a filename such as **SavedPosts.tsx** when you want to open the file directly.

Choose a matching result to navigate to it. Check the file path and function name so you know you’ve reached the right part of the codebase.

You can also ask a question in plain English, such as “How are saved posts cleared?” Use the linked code to inspect the answer, or continue the conversation with **Panolayer Agent** when you need more context. If indexing is still running, architecture and symbol results may be incomplete; let it finish and search again.

## Trace a bug to the source and choose an agent

There are two ways to follow a bug from the architecture map:

- **Follow the nodes.** Look for a red issue badge, click the node to expand it, and keep following the nodes with red badges until you reach the affected function and its source line.
- **Click the red badge directly.** You can do this at any point in the map to jump straight to the line of code for that bug.

In the Twitter example, the path **UI Components → components → Saved Posts → SavedPosts → clearAll** leads to the saved-posts code. The source view opens on the right, with the failure explanation beside the relevant code. Here, `clearAll` can clear the interface before its helper, `clearSaved`, finishes removing bookmarks.

Click **Fix** in the code panel on the right, beside the failure explanation. A menu opens where you can select **Panolayer Agent** or another agent you’ve installed in Panolayer, such as **Claude Code**, **Codex CLI**, **Kilo Code CLI**, or **OpenCode**.

![The Architecture source view for SavedPosts.tsx, with clearAll at line 19 and a Fix button in the code panel on the right.](/docs/getting-started/04-architecture-source.png "From Architecture, follow the bug to its source and click Fix in the code panel on the right. Then choose the agent you want to use.")

For the complete issue-to-agent workflow, follow [Fix your first bug with Panolayer](/docs/first-bug). For help reading the statuses and failure details, see [Understand a verification result](/docs/verification-results).

## Control which files agents can access

While you’re inspecting a file, scroll down in its details panel to the file controls. These let you set boundaries before starting agent work.

- **Lock File**, under **Implementation Lock**, prevents AI agents from modifying the file.
- **Hide from Agents**, under **Container Agent Access**, prevents new container agents from reading the file. Existing agent sessions are unchanged.

![The SavedPosts.tsx details panel showing Lock File under Implementation Lock and Hide from Agents under Container Agent Access.](/docs/getting-started/05-file-agent-access.png "Lock a file to prevent agent edits, or hide it from new container agent sessions. Hiding a file does not change sessions that are already running.")

To start building or fixing code after exploring the architecture, read [Run an agent on your repository](/docs/running-agents).

## Continue learning

- [Fix your first bug with Panolayer](/docs/first-bug)

- [Understand a verification result](/docs/verification-results)

- [Run an agent on your repository](/docs/running-agents)


<!-- https://panolayer.com/docs/running-agents -->
# Run an agent on your repository

Give Panolayer Agent a task in your codebase, follow its work, and review the result before bringing it into your branch. You stay in control of what gets merged.

Last updated 2026-10-20

<a id="before-you-start"></a>

## Before you start

This guide uses the Twitter example, `twitter-starter`, to build a feature: sharing a giant emoji with text underneath. You’ll describe what you want directly to the agent, follow its work, and review the finished result. You can use the same workflow for another feature or a bug you want to fix.

- Install Panolayer, sign in, and open the **Twitter Clone** example. See [Install and set up Panolayer](/docs/getting-started) if you haven’t opened a repository yet.
- Use **Panolayer Agent**, which is built in. You can also use any other supported agent, which you need to install before using. See [Supported agents](/docs/agents) for setup.

You’ll finish with a reviewed change recorded in your local Git history. Pushing it to a remote is a separate step.

<a id="start-agent"></a>

## Start Panolayer Agent

1. Open **My Agents** in the sidebar.
2. Click the **+** button next to **Monitor Agents** to open the agent menu.
3. Select **Panolayer Agent** for this walkthrough.

The menu includes Panolayer Agent and the agents you’ve installed. You can choose any of them to fix a bug or build code.

![Twitter example My Agents page with the plus button beside Monitor Agents and its menu open, showing Panolayer Agent and installed coding agents.](/docs/running-agents/01-agent-picker.png "Click + beside Monitor Agents, then choose Panolayer Agent or another agent you’ve installed.")

**Panolayer Agent works like the coding agents you already use.** Ask it to build a feature, fix a bug, or answer a question about your code. Type your request into **Chat with your codebase or build something…** and continue the conversation as you work.

**Starting from an issue?** In **Issues**, choose **Fix** and select **Panolayer Agent**. Panolayer carries the issue’s context into the task. Follow the [first-bug walkthrough](/docs/first-bug) for that route.

<a id="give-it-a-task"></a>

## Give it a task with a clear result

Describe what’s wrong or what you want to build, what should happen when it works, and anything the agent should preserve. Name a file or function when you know it.

For the Twitter example, use the same request shown in the screenshot:


```text
add a new feature where you can share a giant emoji with text underneath
```

Enter your request into the message box, then click the send arrow.

![Panolayer Agent in the Twitter example with the request to add a giant emoji with text underneath entered in the message box, ready to send.](/docs/running-agents/03-feature-prompt.png "Describe the feature you want to build. This request asks for a giant emoji with text underneath.")

Panolayer Agent can use the code map to find the relevant functions and relationships as it works. You can refer to the behavior you care about even when you don’t know every filename.

If the agent asks a question, answer it in the same conversation. If you need to narrow the task, state the specific result you want.

<a id="follow-the-work"></a>

## Follow the work without giving up your workspace

When Panolayer Agent starts a coding run, its progress appears in the conversation. The coding work happens in an isolated **Git worktree**: a separate checkout where the agent can edit and test the code while your main workspace stays available.

### Watch the task in the conversation

The run card shows the task and its current activity while the agent builds the giant-emoji feature. You can follow its progress and see the files and commands it’s using as it works.

### Open the run for more detail

Choose **Open** on the right-hand side of the card to see the run’s activity. In **Stream**, select an activity to inspect the command and its output in the right-hand panel. Use **Back to agent** to return to the conversation.

![Add Giant Emoji With Caption run opened in Stream, showing live activity and a selected command with its output in the right-hand panel.](/docs/running-agents/04-feature-run-details.png "Open shows the Add Giant Emoji With Caption task in progress. Selecting an entry lets you inspect what ran and what it returned.")

### See when the run is complete

When the work finishes, the card updates to **Subagent run complete**. The **Done** banner summarizes the checks and the number of files changed. You can still choose **Open** to inspect the completed run.

![Panolayer Agent conversation showing the giant-emoji task as Subagent run complete, with a Done banner, passed checks, 16 files changed, and an Open button.](/docs/running-agents/05-feature-run-complete.png "The completed giant-emoji task appears in the conversation, with its result and changed-file evidence ready to review.")

You can keep working and return to the run later. Use **Monitor Agents** for an overview when you have more than one agent working. Several agents can work on the same repository in separate worktrees; review how their changes fit together before merging them.

**Keep a follow-up tied to its task.** Use the run reference shown in your conversation when you send a follow-up, so it’s clear which task you mean.

<a id="review-verification"></a>

## Review the verification result

Review the changed code alongside the verification result before merging. See [Review changes and commit](/docs/changes) for the full guide to reviewing an agent’s changes.

When the agent requests a merge, read the verification summary: **Rules passed**, **Verification runs**, and **Files changed**. Review any new failures separately from issues that were already present.

![Panolayer Agent ready-to-merge dialog for the giant-emoji feature, showing 110 of 121 rules passed, one verification run, 16 files changed, and the expanded Details summary.](/docs/running-agents/06-feature-review-merge.png "The giant-emoji feature is finished and awaiting your approval to merge. Details explains what changed and how the agent checked it.")

In this run, the summary shows **110 of 121 rules passed**, **1 verification run**, and **16 files changed**. It identifies **11 pre-existing failures** separately and reports no new failures, warnings, or unchecked rules. Your totals will depend on your task.

Open **Details** to investigate the result further. See [Understand a verification result](/docs/verification-results) for the summary fields and statuses.

Check the behavior in the running app when the task calls for it. For this example, try creating a post with a giant emoji and text underneath, then check that ordinary text posts still work as expected.

<a id="merge-when-ready"></a>

## Merge when you’re ready

You decide what moves from the agent’s worktree into your branch. Choose **Not now** to keep reviewing. Once you’re satisfied with the changes and results, confirm the target branch and choose **Merge into main** for the Twitter sample.

The **Merged into main** confirmation shows a commit ID. This workflow records the change in local Git history, so you don’t need to commit that same change again.

Open **Changes** and find the commit in **History**. Check for unexpected uncommitted edits. If your repository has a remote and you want to share the commit, use **Git → Push**.

You’ve given an agent a task, followed its work, reviewed the result, and decided what reaches your branch.

## Continue learning

- [Review changes and commit](/docs/changes)

- [Understand a verification result](/docs/verification-results)

- [Supported agents](/docs/agents)


<!-- https://panolayer.com/docs/changes -->
# Review changes and commit

Changes is Panolayer’s take on diffs. Instead of reading thousands of lines of a diff, quickly understand what changed and see which files need your attention, scored from highest to lowest risk.

Last updated 2026-10-20

<a id="choose-scope"></a>

## See what needs review

See your agents’ worktrees and their uncommitted changes in one place. Review the risky changes, investigate anything that needs fixing, and commit your code from the Changes page.

This guide uses Panolayer’s Twitter example, `twitter-starter`. If you’ve followed [Fix your first bug with Panolayer](/docs/first-bug), use these steps to review the deletion fix.

The screenshots and short videos show several changes in the same Twitter app, including formatting, search, export, and saved-post changes. Your file list, risk scores, and commit IDs will depend on the work you’re reviewing. Click a screenshot to inspect it at full size.

Open **Changes** in the sidebar. On the right-hand side, you can see the different worktrees and the uncommitted code from your agents. Select a worktree to see what that agent changed, with files scored from highest to lowest risk.

Move between your agents’ worktrees, review their changes, and commit code from this page. The risk scores make it quick to see which files need your attention and may need a fix.

You can also select an existing commit in **History** to review what was recorded. If you already merged the deletion fix, find it there; its merge has already recorded the change locally.

<a id="risk-overview"></a>

## Review changes from highest to lowest risk

Changes scores files from risky to not risky and explains what changed. Start with the highest-risk files to understand what needs review and potentially fixing before you commit.

Switch between **Risk Spectrum**, **Risk Bars**, and **Overlap** to explore the same changes in three visual views.

### Risk Spectrum

See the changed files arranged along a horizontal spectrum, from high risk on the left to low risk on the right.

![Twitter example Changes page with Risk Spectrum highlighted, showing files from high risk on the left to low risk on the right.](/docs/changes/changes-risk-spectrum.png "Risk Spectrum gives you a visual overview of the risk across a change in the Twitter app.")

### Risk Bars

Compare files as bars ordered by risk. The view runs from very risky to not risky, making it easy to see where the changes need attention.

![Twitter example Changes page with Risk Bars highlighted, ordering files from very risky red bars to not risky green bars.](/docs/changes/changes-risk-bars.png "Risk Bars shows the same Twitter change as a series of bars, ranked from highest to lowest risk.")

### Overlap

See where UI changes, logic changes, and risky changes overlap. The grouped files show how these parts of the change relate to one another.

![Twitter example Changes page with Overlap highlighted, grouping changed files in overlapping UI, Logic, and Risky circles.](/docs/changes/changes-overlap.png "Overlap shows which files fall into UI, Logic, and Risky groups in the Twitter app.")

<a id="read-diff"></a>

## Inspect a change that needs attention

The risk overview shows where to focus your review. Open a file when you want to understand a specific change in more detail.

1. Select a file in the graph or changed-file list.
2. Read its path, change summary, and risk explanation.
3. Choose **Split** for a side-by-side comparison, or **Inline** to read the changes in one view.
4. Follow the change through the relevant function and its callers. Check related tests, configuration, and dependency files too.

![The Twitter search route opened in Changes with its file path, risk explanation, and Split diff view.](/docs/changes/changes-open-file.png "This capture reviews a search change in app/api/search/route.ts. The diff shows how the SQL query changed.")

For the deletion fix, open `components/Post.tsx` and inspect `handleDelete()`. Check how the change addresses the reported `canDelete` condition, and whether user confirmation, the deletion request, and successful-response handling still make sense together.

<a id="analysis"></a>

## Read the analysis and ask about concerns

Deep analysis from Panolayer Agent is always available in Changes. Open the **Panolayer Agent – Deep Analysis** panel to read its assessment, concerns, and source references. Follow a concern into the relevant file to understand what needs attention.

[Watch: Inspect analysis of a Twitter export change](https://assets.panolayer.com/website/videos/4cef0d0d982c62a628eb404515c3d0a5c642c2bd15157c3db4256e892574a1b0/changes-analysis.mp4)

The existing analysis clip shows an export change in the Twitter app, with concerns connected to the affected files.

Use **Chat** to continue the review with Panolayer Agent. Ask a question tied to the behavior you’re checking, such as:

“How does this change fix the deletion issue, and which tests cover the expected behavior?”

Use the answer to navigate the change and investigate anything unclear.

<a id="verification"></a>

## Read verification alongside the review

Changes can show verification results on the affected functions. Read failed rules and any checks that are still pending or unavailable, then follow their explanations into the code.

The risk overview helps you choose where to look. Deep analysis gives you concerns to investigate. Verification reports checks against expectations about code behavior. Read them together with the diff and relevant tests.

For the deletion example, confirm that the selected failure was repaired and review any new failures separately from pre-existing issues. See [Understand a verification result](/docs/verification-results) for the summary fields and statuses.

Run the application when the change needs a runtime check. For this fix, try deleting a post and check that confirming or cancelling behaves as expected.

<a id="merge-agent-work"></a>

## Merge the agent’s work when you’re satisfied

When the agent requests a merge, review the verification summary and confirm the target branch. Choose **Not now** to keep reviewing, or **Merge into main** to bring the work into the sample’s main branch.

![The Twitter deletion fix ready-to-merge dialog showing verification results and the Merge into main button.](/docs/first-bug/07-review-merge.png "This is the deletion fix’s verification summary. You decide whether the reviewed work reaches your branch.")

The **Merged into main** confirmation shows the commit ID. This workflow records the agent’s change in local Git history; you do not need to commit that same change again.

<a id="save-edits"></a>

## Commit any uncommitted edits

Use this step for your own edits or other uncommitted work in the current workspace. If the agent’s merge already saved the change and you have no further edits, continue to History.

1. Check the full changed-file list.
2. Review the suggested commit message. Use **Edit message** if it needs to describe the change more clearly.
3. Choose **Commit** to save the changes to the local branch. Choose **Commit & Push** if you also want to send the commit to a configured remote.

![Twitter example Changes toolbar highlighting Edit message, Commit, Commit and Push, and the Git menu.](/docs/changes/changes-commit.png "The existing toolbar capture shows a search fix awaiting a commit. The same controls apply to uncommitted changes in your active workspace.")

**A Panolayer commit includes every changed file in the workspace.** Use Git directly if you need to stage only part of the change. Read any reported check failures before deciding to commit; a commit can still be created when checks fail.

<a id="history"></a>

## Confirm the result in History

Open **History** and find the new commit using its message, author, and commit ID. Select it to inspect the recorded change, then return to **Working tree** to check for remaining uncommitted edits.

[Watch: Confirm a Twitter saved-post change in merge confirmation and History](https://assets.panolayer.com/website/videos/8123e32addc9fa2760f5c858559d938b6731e1873d4e7c0e58030d9f6f47a166/merge-history.mp4)

This existing clip follows a saved-post change in the Twitter app. Use the commit ID from your own merge confirmation to find your change.

For the deletion fix, you should be able to find its recorded change and inspect the files that landed. Check that no unexpected uncommitted edits remain.

<a id="push"></a>

## Push when you’re ready to share the commit

A merge or commit saves work locally. To send an existing local commit to your Git remote, open **Git** and choose **Push**.

Pushing requires a configured remote and permission to write to it. If the sample has no remote, the local commit completes this walkthrough. If a push reports an error, read it and resolve the remote or sign-in problem before trying again.

Use your Git host for pull requests and team review.

## Continue learning

- [Fix your first bug with Panolayer](/docs/first-bug)

- [Understand a verification result](/docs/verification-results)

- [How agent work reaches your branch](/docs/concepts/how-agent-work-reaches-your-branch)


<!-- https://panolayer.com/docs/agents -->
# Supported agents

Panolayer runs a growing selection of third-party coding agents plus Panolayer Agent, its built-in agent. Every agent works the same way inside Panolayer. The sections below cover what's specific to each one.

Last updated 2026-09-23

## How agents run

Each third-party agent runs in its own hardened Linux container, working in a separate worktree. Your branch isn't mounted in the container, so the agent's changes stay apart from your checkout until you decide to merge them. Several agents can work on the same repository at once. Their changes can still conflict when you merge them.

## Your vendor account

Third-party agents use their vendor's own sign-in and billing. Your Panolayer account doesn't replace them, and Panolayer doesn't pay for their model use. The first time you start an agent, complete its sign-in using any account, subscription or API key that vendor supports.

## Architecture access

Every agent can look up symbols and relationships in Architecture through Panolayer's tools. It asks for the context it needs rather than receiving your whole architecture.

## When an agent finishes

Panolayer records the changed files and runs verification. An agent can't merge its own work into your branch without your approval. You review the results and decide, and you can merge with failures still open. [How agent work reaches your branch](https://panolayer.com/docs/concepts/how-agent-work-reaches-your-branch) explains the full flow.

## Panolayer Agent

Panolayer Agent is built in and ready in My Agents, with no vendor account needed. It uses the credits included in your plan. [Run Panolayer Agent in Panolayer](https://panolayer.com/docs/agents/panolayer)

<a id="aider"></a>

## Run Aider in Panolayer

Install Aider from Marketplace. It signs in with an OpenRouter account or an API key from your chosen model provider, using that provider’s free or paid API access.

<a id="claude-code"></a>

## Run Claude Code in Panolayer

Install Claude Code from Marketplace. It signs in with a Claude Pro, Max, Team, or Enterprise account, or Claude Console credentials or an Anthropic API key for API billing.

<a id="cline-cli"></a>

## Run Cline CLI in Panolayer

Install Cline CLI from Marketplace. It signs in with a Cline account, a ChatGPT subscription, or your own supported model-provider API key.

<a id="codex-cli"></a>

## Run Codex CLI in Panolayer

Install Codex CLI from Marketplace. It signs in with a ChatGPT account with Codex access or an OpenAI API key billed through your OpenAI Platform account.

<a id="crush"></a>

## Run Crush in Panolayer

Install Crush from Marketplace. It signs in with your model provider’s API key, or supported AWS or Google Cloud credentials, using that provider’s account.

<a id="deep-agents-code"></a>

## Run Deep Agents Code in Panolayer

Install Deep Agents Code from Marketplace. It signs in with a paid ChatGPT subscription or credentials from your chosen model provider, including OpenAI, Anthropic, and Google API keys.

<a id="gemini-cli"></a>

## Run Gemini CLI in Panolayer

Install Gemini CLI from Marketplace. It signs in with a Google account with free or paid Gemini access, a Gemini API key, or Google Cloud credentials for Vertex AI.

<a id="github-copilot-cli"></a>

## Run GitHub Copilot CLI in Panolayer

Install GitHub Copilot CLI from Marketplace. It signs in with a GitHub account with Copilot access, or your own supported model-provider API key.

<a id="goose"></a>

## Run Goose in Panolayer

Install Goose from Marketplace. It signs in with your model provider’s API key, or a supported Claude, ChatGPT, or Gemini subscription through its ACP integration.

<a id="kilo-code-cli"></a>

## Run Kilo Code CLI in Panolayer

Install Kilo Code CLI from Marketplace. It signs in with a Kilo account with credits or Kilo Pass, a supported ChatGPT subscription, or your own model-provider API key.

<a id="kimi-code"></a>

## Run Kimi Code in Panolayer

Install Kimi Code from Marketplace. It signs in with your Kimi account using a Kimi Code membership.

<a id="letta-code"></a>

## Run Letta Code in Panolayer

Install Letta Code from Marketplace. It signs in with a Letta account and a supported model-provider connection, such as a ChatGPT subscription or your own API key.

<a id="mini-swe-agent"></a>

## Run mini-SWE-agent in Panolayer

Install mini-SWE-agent from Marketplace. It signs in with your chosen model provider’s API key, using that provider’s account.

<a id="mistral-vibe"></a>

## Run Mistral Vibe in Panolayer

Install Mistral Vibe from Marketplace. It signs in with a Mistral account through browser sign-in or a Mistral API key, with Free, paid-plan, or pay-as-you-go access.

<a id="open-interpreter"></a>

## Run Open Interpreter in Panolayer

Install Open Interpreter from Marketplace. It signs in with ChatGPT through browser sign-in or your chosen model provider’s API key.

<a id="openclaw"></a>

## Run OpenClaw in Panolayer

Install OpenClaw from Marketplace. It signs in with a supported model-provider API key or ChatGPT account through OAuth, using the provider’s own billing.

<a id="opencode"></a>

## Run OpenCode in Panolayer

Install OpenCode from Marketplace. It signs in with an OpenCode Zen API key linked to your billing account or your chosen model provider’s credentials.

<a id="pi-coding-agent"></a>

## Run Pi Coding Agent in Panolayer

Install Pi Coding Agent from Marketplace. It signs in with a Claude Pro or Max, ChatGPT Plus or Pro, or GitHub Copilot subscription, or your chosen model provider’s API key.

<a id="plandex"></a>

## Run Plandex in Panolayer

Install Plandex from Marketplace. It signs in with your OpenRouter or other supported model-provider API key, or a Claude Pro or Max subscription.

<a id="qwen-code"></a>

## Run Qwen Code in Panolayer

Install Qwen Code from Marketplace. It signs in with an Alibaba Cloud Coding Plan or Token Plan key, a ModelStudio API key, or a supported third-party provider’s API key.

## Continue learning

- [Run an agent on your repository](/docs/running-agents)

- [How agent work reaches your branch](/docs/concepts/how-agent-work-reaches-your-branch)

- [Understand a verification result](/docs/verification-results)


<!-- https://panolayer.com/docs/agents/panolayer -->
# Run Panolayer Agent in Panolayer

Panolayer Agent is the coding agent built into Panolayer. You'll find it in My Agents, ready to use. There's nothing to install and no separate sign-in.

Last updated 2026-09-23

## What you need

Nothing beyond your Panolayer account. Panolayer Agent runs on Panolayer's model and uses the credits included in your plan, on Free and paid plans alike. You don't need a vendor account or an API key.

## What it does

Give it a coding task the same way you would any other agent. It also does three things the other agents don't. On a failure card, choose Fix It and Panolayer Agent takes the function, the rule and the affected callers as its brief, and verification runs again when it finishes. It runs agent graphs you build in Graphs or install from Marketplace. And it powers Chat in Changes, where it can read the changed files and answer questions about them.

## When work finishes

Panolayer records the changed files and runs verification. An agent can't merge its own work into your branch without your approval. You can review the results and merge with failures.

## Architecture access

Yes. Panolayer Agent can look up symbols and relationships using Panolayer's architecture tools.

## Credits

Panolayer Agent's work uses credits from your plan. See [Pricing](https://panolayer.com/pricing) for what each plan includes.

## Continue learning

- [Supported agents](/docs/agents)

- [Understand a verification result](/docs/verification-results)

- [How agent work reaches your branch](/docs/concepts/how-agent-work-reaches-your-branch)


<!-- https://panolayer.com/docs/concepts/when-verification-runs -->
# When verification runs

Verification runs when you save a file and when an agent declares its task done. The approval gate is on your Mac, before your branch and before pull request review on your Git host.

Last updated 2026-10-19

## Your branch and agent workspaces

Verification follows the open repository and attached agent workspaces. It does not inspect every unopened Git branch merely because the branch exists. A save must be in the open repository and successfully indexed before its result can be evaluated.

## Comparison with the baseline

A change to one function can affect code that calls it, including callers in other files. Panolayer checks the affected functions and connected code to help you investigate regressions beyond the lines that changed.

Results are compared with the codebase before the change. New failures are kept separate from pre-existing ones so that you can see what the current change introduced. A pending or unavailable check is not a passing result.

## The local boundary

This is a local verification gate. It is not a CI check or branch protection, and it does not enforce a policy across your team. An agent can’t merge its own work into your branch without your approval. You can review the results and merge with failures.

## Continue learning

- [Understand a verification result](/docs/verification-results)

- [Review changes and commit](/docs/changes)

- [Run an agent on your repository](/docs/running-agents)


<!-- https://panolayer.com/docs/concepts/how-agent-work-reaches-your-branch -->
# How agent work reaches your branch

Agents work separately from your branch. You review their changes and decide whether to merge them.

Last updated 2026-10-19

## Separate workspaces

A worktree gives work a separate checkout. Panolayer keeps agent changes separate so that parallel tasks do not directly edit your current checkout. Changes may still conflict when you merge them.

## Containers

Every third-party agent runs in a hardened Linux container. Your branch isn't mounted in the container, so the agent's changes stay apart from your checkout until you decide to merge them.

## Your approval

When an agent finishes, review its changes and verification results. You decide what moves from its worktree into your branch. Choose **Not now** if you want to keep reviewing and merge later.

An agent cannot merge its own work into your branch without your approval. You can review the results and merge with failures. Your own work is not blocked from committing when checks fail.

## Continue learning

- [Run an agent on your repository](/docs/running-agents)

- [Review changes and commit](/docs/changes)

- [When verification runs](/docs/concepts/when-verification-runs)


<!-- https://panolayer.com/docs/concepts/limits -->
# What Panolayer doesn’t do

Panolayer does not catch every bug or enforce a team-wide merge policy. Use its results alongside code review and your repository’s tests.

Last updated 2026-09-23

## Verification coverage

Coverage varies by language and repository. Dynamic behavior, reflection, generated code, and runtime conditions may not be visible from the parsed source. A passing rule covers that expectation, not every possible behavior.

## Risk is not correctness

A model reads the diff and scores each file. It does not establish that a file is safe to ship or replace verification. A low-risk change can still be wrong.

## Local approval

The approval gate is local to Panolayer. It is not a Git-host branch protection rule or a CI check. An agent can’t merge its own work into your branch without your approval. You can review the results and merge with failures.

## Continue learning

- [Supported languages](/docs/languages)

- [Understand a verification result](/docs/verification-results)

- [Review changes and commit](/docs/changes)


<!-- https://panolayer.com/docs/graph-builder -->
# How Graph Builder works

Graph Builder makes an agent workflow visible: the steps it takes, what happens after each success, and how it handles a failure. Save a graph so you can run the workflow again.

Last updated 2026-10-19

## Agent graphs

An agent graph is the complete structure of an agent’s steps and connections. Every graph starts at **Start** and finishes at **Done** or **Failed**. When a step succeeds, the graph follows its green connection; when it fails, the red one.

![A graph in Graph Builder. Start leads to an agent step called My custom task, then to a script step called Print message, then to Done. Red connections run from both steps to Failed.](/docs/graph-builder/starter-graph.png)

This is the graph that opens when you choose New Graph in Graph Builder.

## Steps

Each card on the canvas is a step. Add steps from the palette on the left, and change the selected step in the panel on the right.

- **Agent steps** hand work to an agent. Choose a classification, such as researcher, coder, or reviewer, and write the instructions for that step.
- **Script steps** run a program. Its exit code decides which connection the graph follows.
- **Your graphs** are graphs you have saved. Add one to another graph as a single step.

![Graph Builder with the palette of steps on the left, the graph on the canvas, and the graph’s settings on the right.](/docs/graph-builder/new-graph.png)

## Connections

To connect two steps, drag from a step’s port to the step that runs next. A green port leads to the next step after a success; a red port leads to what handles a failure, such as Failed or a step that recovers.

![Dragging a new connection from the Print message step to Done.](/docs/graph-builder/connect-steps.png)

A connection back to an earlier step creates a loop: repeated behavior within the graph, which runs up to a set limit. Graph Builder warns you when a step has no failure route.

## Guides

Start from a built-in graph to understand an existing flow, or create your own. Run the saved graph with a goal, follow its progress, and check its results.

[Build your first AI agent graph](/docs/graphs/first-graph) walks through creating, connecting, saving, and running a graph. [Publish to the Marketplace](/docs/graphs/publish) covers sharing a graph as an agent or submitting a plugin repository. Creating agents does not require a Panolayer subscription.

## Continue learning

- [Build your first AI agent graph](/docs/graphs/first-graph)

- [Publish to the Marketplace](/docs/graphs/publish)


<!-- https://panolayer.com/docs/graphs/first-graph -->
# Build your first AI agent graph

Build an AI agent workflow in Panolayer Graph Builder. Configure steps, connect success and failure routes, test your graph, and reuse it as an agent.

Last updated 2026-10-21

<a id="what-you-will-build"></a>

## What you’ll build

An **AI agent graph** is a visual workflow that defines the steps an agent takes and what happens after each step succeeds or fails. In Panolayer, you build it by connecting cards in **Graph Builder**.

You’ll first run a script graph that prints **Hello, world!** Then you’ll create a graph that answers questions about your repository, test its failure route, and save steps you can reuse. We’ll use the Twitter example’s saved-posts feature for the agent task.

| Term | Meaning in this guide |
| --- | --- |
| **Graph** | The complete workflow: its steps and the routes between them. |
| **Node or step** | A card that does work, such as asking an agent or running a program. |
| **Route or connection** | The path to follow after a step’s result. |
| **Loop** | A path that returns to an earlier step to repeat work, with a limit and an exit. |
| **Agent harness** | The surrounding system that gives an agent instructions, tools, context, and controls for running its work. Your graph defines the workflow within Panolayer’s execution environment. |

For an overview of the editor, see [How Graph Builder works](/docs/graph-builder).

<a id="before-you-start"></a>

## Before you start

- [Install and set up Panolayer](/docs/getting-started), sign in, and open a repository.
- To follow the saved-posts example exactly, choose **Twitter Clone** under **Try a sample app** on Panolayer’s opening screen. It opens as **twitter-starter**.
- If you use your own repository, replace the example’s filenames and goal with a feature you want to understand.

The first exercise uses only a script. The later agent step uses Panolayer’s model access to read and explain code.

<a id="section-1"></a>

## Run a working graph first

1. Open **Graph Builder** from the sidebar.

   ![Graph Builder with New Graph, starter examples, and the library of saved and built-in graphs.](/docs/graph-builder/graph-builder-page.png "Open Graph Builder to create a graph or start from an editable example.")

2. Under **Starter graphs**, choose **Hello world script**. It opens an editable graph with **Start → Say hello → Done**, plus a failure route to **Failed**.

   ![The Hello world script graph, with Say hello connected to Done on success and Failed on failure.](/docs/graph-builder/hello-world.png "One script step is enough to learn how a graph starts, follows a result, and ends.")

3. Give the graph a name and choose **Save**. Return to Graph Builder, open its menu, and choose **Run graph**.
4. Send a short goal such as “Run the hello-world example.” Inspect the **Say hello** step’s output. You should see **Hello, world!** and the run should finish at **Done**.

   ![A completed Hello world script run with the Say hello step’s output showing Hello, world!](/docs/graph-builder/run-graph.png "A successful script exits with code 0, follows the green route, and reaches Done.")

You now have a saved graph you can run again. Next, add an agent that can answer a question about your code.

<a id="section-2"></a>

## Create an agent step for your repository

1. Return to **Graph Builder** and choose **New Graph**. The starter already connects **My custom task** and **Print message** between **Start**, **Done**, and **Failed**.

   ![A new agent graph with the step palette on the left, the connected starter on the canvas, and settings on the right.](/docs/graph-builder/new-graph.png "New Graph gives you a connected agent-and-script workflow to customize.")

2. Select **My custom task**. Set its **Title** to **Explain saved posts** and its **Agent classification** to **researcher**. Keep the starter’s **read-only** permission for this exercise.
3. In **Custom instructions**, describe the work and the answer you want. Use this example, then type **@** after “Request:” and select **Goal** to insert the goal supplied with each run.

```text
Read the repository code relevant to the request.
Explain the behavior using the actual files and function names.
Identify the functions involved and how they depend on each other.
Point out any asynchronous behavior the reader should inspect.
Do not modify files. If the code does not establish something, say so.

Request:
```

The **Goal** chip lets the same saved graph handle different questions. Keep the reusable instructions in the step; supply the specific question when you run it.

![An agent step selected in Graph Builder, showing its researcher classification, read-only permission, custom instructions, and Goal variable.](/docs/graph-builder/agent-step.png "Select an agent step to set its classification and instructions. The screenshot shows the starter instructions; replace them with your own and keep the Goal variable.")

<a id="configure-a-script-step"></a>

## Configure a script step

1. Select **Print message**. Set **Program** to `echo`, enter `All done!` in **Arguments**, and set **Success exit code** to `0`.

   ![The Print message script step with Program set to echo, Arguments set to All done!, and Success exit code set to 0.](/docs/graph-builder/script-step.png "The script runs after the agent step succeeds. Its exit code determines the next route.")

2. Put each argument on its own line. The program runs directly, without a shell; enter the program and arguments in their separate fields.

This step gives you a visible end-of-workflow message. The agent’s explanation remains in the agent step’s output. Printing **All done!** confirms that the script ran; review the explanation itself to judge whether it answers your question.

<a id="section-3"></a>

## Connect success and failure routes

The starter is already wired. Check that the routes express what you want:

| From | Result | Next step |
| --- | --- | --- |
| Start | Begin | Explain saved posts |
| Explain saved posts | Success | Print message |
| Print message | Success | Done |
| Either working step | Failure | Failed |

To change a route:

1. Select an existing connection and press **Delete** if you need to remove it.
2. Drag from a step’s **green port** to the step that should run after success.

   ![Dragging a connection from the Print message step toward Done in Graph Builder.](/docs/graph-builder/connect-steps.png "Connect the success route to the next step, and give failures an explicit destination.")

3. Drag from its **red port** to the failure handler, such as **Failed**.

Keeping a failure route visible makes the workflow easier to reason about: if the agent cannot complete the request or the program fails, you can see where the run goes.

<a id="section-4"></a>

## Save, run, and inspect the answer

1. Name the graph **Saved posts explainer** and choose **Save**. If validation identifies a step that needs attention, select that step and correct its settings.
2. Return to Graph Builder, open the saved graph’s menu, and choose **Run graph**.
3. Send this goal:

```text
Explain how Clear all works in components/SavedPosts.tsx.
Follow clearAll and clearSaved. Describe when the bookmark requests
finish and when the saved-post list is cleared. Do not change code.
```

Follow the steps as they run. When the graph finishes, inspect the agent’s output and compare it with the source:

- Does it identify `clearAll` and `clearSaved` in `components/SavedPosts.tsx`?
- Does it explain how the caller depends on the helper finishing?
- Does it support its explanation with the code, rather than assume what the feature does?

Your output depends on the version of the sample and the current source. For a closer look at these functions, use [Explore architecture and dependencies](/docs/architecture).

Try another goal with the same graph, such as “Explain how an individual saved post is removed.” You can reuse the workflow without rewriting its instructions.

<a id="section-5"></a>

## Test the failure path

Use the **Hello world script** graph you saved earlier to check how a failed step is handled, without depending on a model response.

1. Edit that graph and select **Say hello**. Temporarily change **Success exit code** from `0` to `1`, leaving `echo` and its arguments unchanged.
2. Save and run it again. `echo` normally returns `0`, so the result no longer matches the configured success code. The step should follow its red route to **Failed**.
3. Restore **Success exit code** to `0`, save, and run once more. It should reach **Done** again.

You’ve now exercised both outcomes. A graph that saves has passed its configuration checks; running it shows how it behaves with actual inputs, tools, and model responses.

<a id="section-6"></a>

## Reuse steps in another graph

1. Select the steps you want to reuse. To select several, hold **⌘** and drag across the canvas.
2. Choose **Save selection as graph** and give the new graph a descriptive name.

   ![Two selected steps in Graph Builder with Save selection as graph available in the panel on the right.](/docs/graph-builder/save-selection.png "Save a useful sequence once, then add it to another graph as a single graph step.")

3. Find the saved graph under **Your graphs** in the palette and add it to another graph.

Saving a selection creates a separate reusable graph and leaves the current graph in place. Use ordinary **Save** to update the graph you are editing.

For example, reuse a code-explanation step before a review step. Give each agent step a clear job and an expected output, and connect both its success and failure routes.

<a id="ship-as-an-agent"></a>

## Build on it and ship it as an agent

Once your graph behaves as intended, you can package your own saved graph as an interactive agent using **Create Agent**. The graph defines the workflow; the agent accepts a request, runs that workflow, presents the result, and returns to the prompt for another request.

For a coding workflow, start from an editable copy of **Code with Prompt** in **Built-in graphs**. Choose **Duplicate to customize** and work on your copy. The built-in original remains available as a reference.

[Publish to the Marketplace](/docs/graphs/publish) covers sharing your graph as an agent. [Run an agent on your repository](/docs/running-agents) explains how to give agents work and review their results.

<a id="agent-graph-questions"></a>

## Questions about agent graphs, loops, and harnesses

**How is an agent graph different from a prompt?**

A prompt supplies instructions for a task. A graph also defines which steps run, their connections, and what follows success or failure. You can reuse the same graph with a different goal each time.

**Can I combine agents and scripts in one workflow?**

Yes. This tutorial combines a researcher step with a script. Add steps from the palette, configure each one, and connect their outcomes. Different agent classifications let steps take on different jobs.

**How do loops fit into a graph?**

A connection back to an earlier step creates repeated work, such as another attempt after a failed check. Give that route a limit and keep a path that ends the run when the limit is reached. Start with the straight-through workflow above before adding retries. An **agent loop** packaged from a graph also returns to a prompt after a request; that is separate from a retry inside the graph.

**Am I building an agent harness?**

You’re configuring the agent’s workflow within Panolayer’s harness: its instructions, steps, tools, and success and failure paths. You can develop that workflow visually, test it on your repository, and package the saved graph as an agent.

<a id="troubleshooting"></a>

## Troubleshooting your first graph

| What you see | What to check |
| --- | --- |
| A step needs an agent classification | Select the agent step and choose its classification in the right-hand panel. |
| A graph opens read-only | Duplicate the built-in graph to customize your own copy. |
| A script fails immediately | Check Program, one argument per line, and Success exit code. The program must be available where the step runs. |
| The agent ignores the question supplied for this run | Check that Custom instructions includes the Goal variable inserted with @. |
| A step fails but the next action is unclear | Inspect its failure route and give it an explicit handler or Failed destination. |
| The graph finishes but the answer is incomplete | Inspect the agent step’s output, refine its instructions, and run the same goal again. |

For setup or agent access problems, see [Troubleshooting](/docs/troubleshooting).

## Continue learning

- [How Graph Builder works](/docs/graph-builder)

- [Publish to the Marketplace](/docs/graphs/publish)


<!-- https://panolayer.com/docs/graphs/publish -->
# Publish to the Marketplace

Publish an agent graph from Panolayer or submit a plugin repository for Marketplace discovery. Creating an agent does not require a Panolayer subscription.

Last updated 2026-09-28

## Publish a graph

1. Save the graph and run it to check its behavior.
2. In Graph Builder, open the graph’s menu and choose **Publish to Marketplace**.

   ![The menu of a saved graph, with Publish to Marketplace, Run graph, Duplicate, and Delete.](/docs/graph-builder/publish-menu.png)

3. Review the name, description, and instructions, and add any inputs that people fill in when they run it.

   ![The publish form with the graph’s name, description, creator, instructions, and inputs.](/docs/graph-builder/publish-dialog.png)

4. Confirm the creator attribution and publish, then check the Marketplace listing.

## Submit a plugin repository

1. Prepare a package with a `panolayer-plugin.yaml` manifest, listing text, and icon.
2. For several packages, list the explicit manifest paths in a root `panolayer-plugins.yaml`.
3. Contact Panolayer support for package validation and publishing help.
4. Publish the required assets and push the repository.
5. Add the GitHub topic `panolayer-plugin`.

Discovery is followed by validation and storefront curation. Adding the topic does not guarantee that the listing is publicly displayed.

## Review access and updates

Request only the access your agent needs and test how it behaves when optional access is declined. Keep credentials out of the published package. Review the updated listing after publishing a new version.

## Continue learning

- [Build your first AI agent graph](/docs/graphs/first-graph)

- [Supported agents](/docs/agents)


<!-- https://panolayer.com/docs/quick-reference -->
# Quick reference

Find answers about results, agent accounts, commits, and troubleshooting while you work.

Last updated 2026-09-23

## What Panolayer does

### What is Architecture?

Architecture is a map parsed from your source. Browse functions, dependencies, and callers to understand which code a change may affect.

### Do living documents update automatically?

No. Generate living documents from Architecture and regenerate them when you want to reflect code changes. They do not update automatically.

## Verification

### What should I do with a failed rule?

Read the expectation, observed behavior, location, and affected callers. Fix the code if it is wrong, or correct the rule if the expectation is wrong, then verify again. You can also choose Fix It to hand the failure to Panolayer Agent.

### Why did verification return nothing?

An empty result does not prove the code is correct. Check parsing and evaluation status, and report an unavailable evaluation if it persists.

## Agents

### Who pays for a third-party agent’s model usage?

You use the vendor’s supported subscription or API key. Panolayer runs the agent but does not cover its model bill.

### Why did an agent not start?

Read the installation or launch error and check the platform and requested permissions. If the CLI opens but asks for sign-in, complete the vendor’s sign-in before giving it work.

## Changes and committing

### What does the risk score not tell me?

It does not prove that the code works or that callers remain correct. A model reads the diff and scores each file and helps you choose what to review; verification is separate.

### Can I commit with failures?

Yes. Your own commit is not gated by verification. Failures remain visible so that you can decide how to handle them.

## Setup and account

### Can I use an Intel Mac?

No. Panolayer needs an Apple silicon Mac running macOS 15 Sequoia or later.

## Limits and troubleshooting

### Why is the gate local?

The approval gate is on your Mac, before your branch and before Git-host review. Its approval gate is not a shared CI check or branch protection rule, so it does not enforce team-wide policy.

### How do I report a bug?

Use the bug reporting tools in the app or the contact page. Include the steps and the error you see, without credentials or private source code.

## Continue learning

- [Troubleshoot Panolayer: setup, agents, and verification](/docs/troubleshooting)

- [Understand a verification result](/docs/verification-results)


<!-- https://panolayer.com/docs/glossary -->
# Glossary

These terms have the same meaning throughout the Panolayer documentation.

Last updated 2026-09-28

## agent graph

The complete structure of an agent’s steps and connections. It can contain repeated behavior, branches, and checks.

[Read more](/docs/graph-builder).

## agentic engineering

Developing software with agents carrying out tasks while you review their work. You remain responsible for deciding what reaches your branch.

[Read more](/docs/running-agents).

## app

A project Panolayer detects in your repository, such as a web frontend or an API service. A repository with several apps, like a monorepo, contains more than one. Plans count active apps.

## Architecture

Panolayer’s view of your parsed source and its relationships. Coverage varies by language and repository.

[Read more](/docs/languages).

## architecture map

The functions, modules, dependencies, and callers visible in Architecture. It is derived from source rather than a model-generated drawing.

[Read more](/docs/languages).

## baseline

The state of the codebase before a change. Verification uses it to distinguish new failures from pre-existing ones.

[Read more](/docs/verification-results).

## Changes

The view for reviewing changed files and committing them. Risk scores help you choose what to read first.

[Read more](/docs/changes).

## container agent

An agent running inside Panolayer's hardened Linux container runtime. Every third-party agent runs this way.

[Read more](/docs/running-agents).

## living documents

Documentation generated from Architecture. You regenerate it to reflect code changes; it does not regenerate automatically.

[Read more](/docs/quick-reference).

## loop

Repeated behavior inside an agent graph. In Panolayer, the loop is not the whole graph.

[Read more](/docs/graph-builder).

## Marketplace

The place to discover and install agents and graphs, and to publish your own. Third-party agents keep their own vendor sign-in and billing.

[Read more](/docs/agents).

## Panolayer Agent

The built-in coding agent, found in My Agents. Its model use consumes the credits included in Free and paid plans.

[Read more](/docs/agents/panolayer).

## pre-existing failure

A failure present before the current change. Its label distinguishes it from a newly introduced regression.

[Read more](/docs/verification-results).

## risk score

A model's assessment of a changed file's diff, to guide review attention. It is separate from verification and does not prove correctness.

[Read more](/docs/changes).

## Risk Spectrum

The Changes view that orders changed files by risk. Read each file’s reason before deciding how much attention it needs.

[Read more](/docs/changes).

## rule

An expectation about code behavior. Rules can be derived from code or added and corrected by you.

[Read more](/docs/verification-results).

## verification

Checking a change against expectations about the code. Results can identify failures and affected callers, but do not cover every possible bug.

[Read more](/docs/verification-results).

## Verification Engine

The part of Panolayer that evaluates changes against rules and architecture. Inspect its results to decide what needs investigation.

[Read more](/docs/verification-results).

## worktree

A separate working checkout of a repository. It lets tasks work independently before their changes are merged.

[Read more](/docs/running-agents).

## Continue learning

- [Supported agents](/docs/agents)

- [Understand a verification result](/docs/verification-results)


<!-- https://panolayer.com/docs/index -->
# Documentation index

Browse all published Panolayer guides and references.

Last updated 2026-10-19

## Guides and reference

- [Install and set up Panolayer](/docs/getting-started)
- [Open your first project](/docs/open-your-first-project)
- [Supported languages](/docs/languages)
- [Resolve setup and agent problems](/docs/troubleshooting)
- [Understand a verification result](/docs/verification-results)
- [Run an agent on your repository](/docs/running-agents)
- [Review changes and commit](/docs/changes)
- [Supported agents](/docs/agents)
- [Run Panolayer Agent in Panolayer](/docs/agents/panolayer)
- [Run Aider in Panolayer](/docs/agents#aider)
- [Run Claude Code in Panolayer](/docs/agents#claude-code)
- [Run Cline CLI in Panolayer](/docs/agents#cline-cli)
- [Run Codex CLI in Panolayer](/docs/agents#codex-cli)
- [Run Crush in Panolayer](/docs/agents#crush)
- [Run Deep Agents Code in Panolayer](/docs/agents#deep-agents-code)
- [Run Gemini CLI in Panolayer](/docs/agents#gemini-cli)
- [Run GitHub Copilot CLI in Panolayer](/docs/agents#github-copilot-cli)
- [Run Goose in Panolayer](/docs/agents#goose)
- [Run Kilo Code CLI in Panolayer](/docs/agents#kilo-code-cli)
- [Run Kimi Code in Panolayer](/docs/agents#kimi-code)
- [Run Letta Code in Panolayer](/docs/agents#letta-code)
- [Run mini-SWE-agent in Panolayer](/docs/agents#mini-swe-agent)
- [Run Mistral Vibe in Panolayer](/docs/agents#mistral-vibe)
- [Run Open Interpreter in Panolayer](/docs/agents#open-interpreter)
- [Run OpenClaw in Panolayer](/docs/agents#openclaw)
- [Run OpenCode in Panolayer](/docs/agents#opencode)
- [Run Pi Coding Agent in Panolayer](/docs/agents#pi-coding-agent)
- [Run Plandex in Panolayer](/docs/agents#plandex)
- [Run Qwen Code in Panolayer](/docs/agents#qwen-code)
- [When verification runs](/docs/concepts/when-verification-runs)
- [How agent work reaches your branch](/docs/concepts/how-agent-work-reaches-your-branch)
- [What Panolayer doesn’t do](/docs/concepts/limits)
- [How Graph Builder works](/docs/graph-builder)
- [Build your first AI agent graph](/docs/graphs/first-graph)
- [Publish to the Marketplace](/docs/graphs/publish)
- [Quick reference](/docs/quick-reference)
- [Glossary](/docs/glossary)
- [Fix your first bug with Panolayer](/docs/first-bug)
- [Explore architecture and dependencies](/docs/architecture)

## Machine-readable pages

Each published guide is also available at the same path with `.md` appended. [llms.txt](/llms.txt) lists the Markdown versions.

## Continue learning

- [Install and set up Panolayer](/docs/getting-started)

- [Supported agents](/docs/agents)
