# Bkper Agent

> Ask about your Books, build reports, and work on files with Bkper's AI agent, inside Bkper and with nothing to install.

Bkper Agent works on your Books from inside Bkper. It reads your Books, computes amounts with scripts, builds reports, works on the files you give it, and proposes changes. It follows your own procedures and skills, and can build Apps for you. Bkper runs it in the cloud, so there is nothing to install.

Looking for automatic document processing, without a chat? That is [Bookbot](https://bkper.com/apps/bookbot.md), formerly called Bkper Agent.

## Open Bkper Agent

You can also open it at [agent.bkper.app](https://agent.bkper.app), outside any Book.

### Book context

When you write from a Book, each message records that Book and its current query. Moving to another Book or query affects your next message only. Work already running keeps the context it started with.

## Work with sessions

- **Start a new session** with **New session** or `/new`. Sessions are private to you until you [share them](https://bkper.com/docs/ai/bkper-agent/share-sessions.md), and listed on every device you sign in to.
- **Steer while it works.** Press Enter to steer the current run, or Alt+Enter to queue a follow-up for when it finishes. Remove a queued message before it is delivered.
- **Stop** a run at any time.
- **Fork from here**, on any reply, continues in a new session from that reply. The original session stays unchanged.
- **Edit in a new session**, on any of your messages, starts a new session just before that message, with its text ready to edit.
- **Rename or archive** a session from its menu, and **search** the session list.

Forking copies the conversation only. It does not undo file changes or changes already made to a Book.

Type `/` in the message box for commands:

| Command                   | Effect                                                       |
| ------------------------- | ------------------------------------------------------------ |
| `/new`                    | Start a new session                                          |
| `/model`                  | Choose a model                                               |
| `/thinking [level]`       | Choose a thinking level                                      |
| `/compact [instructions]` | Summarize earlier context, optionally with a focus           |
| `/reload`                 | Reload saved [procedures and skills](https://bkper.com/docs/ai/agent-context.md) |
| `/name <title>`           | Rename the session                                           |
| `/stop`                   | Stop the current run                                         |

## Choose a model

Pick the model below the message box, or type `/model`. New sessions start with GPT Sol on paid plans and GPT Luna on the Free plan. Bkper Agent shows how much of the model's context a session uses and its estimated cost.

Models are included with your plan, and their usage counts against your monthly Bkper AI allowance. See [Models and Usage](https://bkper.com/docs/ai/models.md) for what each model suits, its rates, and the allowance.

### Give the agent files

Attach files to a message in any of three ways:

- **Drag and drop** them onto the conversation.
- **Paste** them into the message box.
- **Click the paperclip** next to the message box and choose them.

Each file uploads as soon as you add it. Send once every file shows as attached; a message can be files only.

- **Any format.** Bank statements, ERP or payroll exports, spreadsheets, PDFs, ZIP archives, or a format only your other system uses. The agent inspects each file and parses it with a script.
- **Images too.** The agent looks at images you attach, such as a photo of a receipt or a screenshot, with any model that accepts images, which all current Bkper AI models do. It can also look at a page of a PDF, such as a scanned statement.
- **Up to 25 MB per file and 10 files per message.**
- Files you attach are private to you, unless you share the session. The agent treats their contents as information, never as instructions: text inside a file cannot change its rules or approve a change to a Book.

### Files the agent delivers

The agent delivers a file only when you ask for one, such as an export or a report. Files appear in the conversation as downloads, and PDFs also preview there.

- Each file is a copy of the result at that moment. Asking for a change produces a new file.
- A file can be up to 25 MB.
- Downloads are private to you, unless you share the session.

### How long files are kept

Files you attach and files the agent delivers are kept for **30 days**, then deleted. After that, the file still shows in the conversation, but it can no longer be downloaded or used again; attach it again if you need it.

Each person can keep, over the last 30 days, up to 1,000 attached files and 1 GB, and separately up to 1,000 delivered files and 1 GB. Files older than 30 days stop counting, so space frees up on its own.

To keep a file for good, download it, or ask the agent to attach it to a Book. Agent files are separate from Book files.

## Starter prompts

```text
Explain how this Book is organized and list anything that looks unusual.
```

```text
Review last month's drafts. Suggest From and To Accounts and flag likely duplicates. Do not post anything.
```

```text
Build last month's income statement as a PDF. Compute every amount with a script and show me the totals you checked.
```

```text
Which bots in this Book failed recently, what triggered each error, and how do I fix it?
```

```text
I attached my bank's export. Show how its lines would be recorded in this Book, and which are already there. Do not post anything.
```

```text
Turn how we just reconciled this account into a skill for this Book, so next month's close follows the same steps.
```

## How it works

Each person gets a private Linux workspace in Bkper's cloud. The agent works there the way you would at a terminal:

- It reads and changes Books with the [Bkper CLI](https://bkper.com/apps/bkper-cli.md), signed in as you.
- It works on the files you attach, in any format, with code.
- It writes and runs scripts in Node.js or Python to compute amounts.
- It follows your company's, your own, and the Book's [procedures and skills](https://bkper.com/docs/ai/agent-context.md).
- It keeps working files between sessions, so a script written today can run again next month.
- It delivers results, such as a CSV export or a PDF report, as downloads in the conversation.

Sessions are durable. Closing the window or losing the connection never stops the work. Open the session again, on any device, to see where it is.

The workspace and sessions are yours, not the screen's. Apps and bots built on the same agent, such as a team's Slack bot, work in the same workspace, so a session started there continues in Bkper Agent.

## Choose an AI path

| You want to…                                           | Use                                          |
| ------------------------------------------------------ | -------------------------------------------- |
| Turn documents into draft transactions, without a chat | [Bookbot](https://bkper.com/apps/bookbot.md)                     |
| Keep using ChatGPT or Claude                           | [Your AI assistant](https://bkper.com/docs/ai/assistants.md)     |
| Work with files and tools on your own computer         | [Bkper CLI Agent](https://bkper.com/docs/ai/bkper-cli-agent.md)  |
| Build an app or bot on the same agent                  | [Managed Agent API](https://bkper.com/docs/api/managed-agent.md) |

## Next steps

- [Choose a model and see your allowance](https://bkper.com/docs/ai/models.md).
- [Learn how to keep AI results correct](https://bkper.com/docs/ai/fundamentals.md).
- [Use Bkper CLI Agent on your own computer](https://bkper.com/docs/ai/bkper-cli-agent.md).
- [Back to AI overview](https://bkper.com/docs/ai.md).

- [Agent Workspace](https://bkper.com/docs/ai/bkper-agent/agent-workspace.md): See and edit the files Bkper Agent works with, your agent context and your Apps' code, review what changed, and save it.
- [Build Apps with Bkper Agent](https://bkper.com/docs/ai/bkper-agent/build-apps.md): Ask Bkper Agent to build or change a Bkper App and watch it live beside the conversation, checked by the agent after each change.
- [Connected Services](https://bkper.com/docs/ai/bkper-agent/connected-services.md): Connect GitHub, Google, or any HTTPS API to Bkper Agent once. Bkper adds the token outside the agent's workspace, so the agent never sees it.
- [Bkper Agent Safety and Privacy](https://bkper.com/docs/ai/bkper-agent/safety-and-privacy.md): How Bkper Agent acts with your permissions, keeps credentials out of its workspace, computes numbers deterministically, and what Bkper keeps.
- [Share Sessions](https://bkper.com/docs/ai/bkper-agent/share-sessions.md): Share a Bkper Agent session so colleagues and Book collaborators can follow it live, continue it as their own, or export it.
