Bot files and templates
A bot is one file. It holds the bot's name, its instructions, the knowledge base folders it may use, its tools and, optionally, a timetable. You can copy the file, email it, keep it in a shared drive and import it into another install.
On this page
The short version
- One bot, one file:
agents/<slug>/agent.yaml(oragent.md) in your server's workspace folder. - Add them from the screen: Agents → Templates, then Add agent on a starter, or Import agent file for one someone sent you.
- Use them two ways: talk to a bot on the Bots screen, or assign it to a card on the board.
- Safe by default: a bot only gets the tools its file lists, and its schedules start switched off.
What's in a bot file
name: Personal assistant
slug: personal-assistant
description: Keeps your inbox, calendar and to-do list in order.
avatar: "PA"
colour: green
version: 1.0.0
author: Operation Kit
knowledge_folders:
- personal/notes
- personal/todos
tools: [search, read_file, write_doc, email, calendar]
# provider: claude optional, otherwise the install default
# model: claude-sonnet-5 optional
schedules:
- name: Morning briefing
cron: "30 7 * * 1-5"
prompt: |
Write today's briefing and save it in personal/notes.
system_prompt: |
You are a personal assistant for one busy person. ...
The same bot can be written as agent.md: the settings go between two --- lines at the top, and everything below them is the instructions.
| Field | Needed? | What it means |
|---|---|---|
name | yes | The display name |
slug | yes | A short id: lowercase letters, numbers and hyphens. Must match the folder name. |
description | recommended | One or two sentences that help people pick the right bot |
system_prompt | yes | The bot's instructions, in plain language |
knowledge_folders | no | Folders inside the knowledge base the bot may read and write, written as they appear in the Knowledge base page list. Never a full server path. |
tools | no | What the bot may do, by name (see below) |
model, provider | no | A specific model, and one of claude, anthropic, openai, xai, openai-compatible or demo. Leave them out to use the install default. |
schedules | no | Jobs the bot runs on a timetable. cron is the usual five-part timetable (minute, hour, day, month, weekday). |
avatar, colour | no | One emoji or up to two letters for the badge, and blue, pink, green, amber or grey |
version, author | for sharing | Raise the version when you change the bot. The author is a person or a company. |
The tool list
A bot can only use the tools its file names, and the server checks every call.
| Tool | Lets the bot |
|---|---|
search, list_folders, read_file, write_doc | Find, browse, open and save notes, only inside its knowledge_folders |
file_answer | Save a good answer into the wiki, linked from the pages it used |
create_objective, get_objective, list_objectives | Put a job on the board as a card, and check on the cards it created |
email, calendar | Read mail and the calendar and prepare drafts. Nothing is sent until a person presses Send. Today these work with the demo bot's sample inbox only; see What a bot can do. |
That's the whole list. Any other name still imports, with a warning that it isn't a built-in tool. It does nothing unless a connector with that name is installed.
Bot files are made to be shared, so they must never contain a password or key. Mention a credential by name only, for example "use the CRM_API_KEY secret", and store the value in Settings → Secrets. The importer refuses a file that looks like it contains a real key.
Add, import and export bots
Admins manage bot files on the Agents page (in the account menu, under Admin), Templates tab.
Add a starter
Under Available templates, press Add agent. Three starters ship with every install: Personal assistant, Knowledge librarian and Operator.
Or import a file
Press Import agent file and pick the file. It is checked first. Any problem is listed by field with what to fix, and nothing changes until you press Add agent. If a bot with the same slug exists, you're asked before it's replaced.
Export to share
Under Agents on this install, press Export next to a bot. You get a
<slug>.agent.yamlfile.
The same page can import from a folder on the server (only the folders the page lists are allowed). On the server you can also use the script in the source folder:
scripts/agent-template.sh install all # all three starters
scripts/agent-template.sh validate ./my-bot.yaml # check only
scripts/agent-template.sh import ./my-bot.yaml # add it
When a bot is added, its file is saved as agents/<slug>/agent.yaml, it shows up on the Bots screen and in every bot picker on the board, and each schedule becomes a scheduled job, switched off. Turn a schedule on when you're ready, so nothing runs by surprise. New or changed files show up the next time someone opens Bots, with no restart. If a file has a mistake, admins see it listed with the reason.
The starter templates
| Bot | Knowledge folders | Tools | Schedule (off until you turn it on) |
|---|---|---|---|
| Personal assistant | personal/notes, personal/todos | search, read_file, write_doc, email, calendar | Morning briefing, 7:30 on weekdays |
| Knowledge librarian | inbox, clients, projects, reference | search, list_folders, read_file, write_doc | Weekly tidy-up, Mondays at 9:00 |
| Operator | projects, reference | search, read_file, create_objective, get_objective, list_objectives | None |
The folder names are generic. After adding a starter, point its knowledge_folders at the folders your pages are in, for example your workspace's folder from the Knowledge base page list. Edit the file on the server, or export it, change it and import it again.
Use a bot
- Talk to it on the Bots screen. It answers with its instructions, folders and tools.
- Assign it to a card on the board. The job receives the bot's instructions plus its folder and tool limits. Jobs that run in a sandbox never read the file themselves: the server reads it and passes the instructions in. See The board.
- Use it from another AI app. Claude, ChatGPT and others can list your bots and follow their instructions. See Use your bots from other AI apps.
Advanced: persona files for board work
Some installs also keep plain markdown persona files for board work, one per bot at agents/<name>.md in the same workspace folder. The product repo has three generic examples (engineer.md, general.md, ops.md) in examples/workspace. It holds the bot's instructions for jobs and can also list, in a skills: block in its frontmatter, the skills the bot always loads and the skills it may use.
Admins see these persona files, and the skills on disk, in Settings → Agents & Skills. More in Tools, skills and integrations and Designing a bot.
f504a64), 11 Nov 2026Suggest an edit