Agents
Agents are one of Fontana’s three pillars, beside the Knowledge Graph and the Workspace. An agent is a governed AI persona: a system prompt, an approved model, and the abilities, skills, Knowledge Graph namespaces, and permissions you switch on. Agents cite what your organisation knows from the Knowledge Graph and work on the data your Workspaces process. Every tool call runs as you, inside the permissions you set, and is recorded.
The governed runtime every agent works in
This page explains what happens when you talk to an agent, where its files live, what you can configure, and how permissions and conversations are governed. You work with agents on Agents (/agents) or in File System (/files). To draft a package outside Flow and upload the folder, see Author agents. External AI tools start from the Fontana docs skill, which sends an agent-building task to the agent authoring skill.
What happens in a turn
Section titled “What happens in a turn”One turn: you ask, the agent searches the Knowledge Graph and calls tools as you, asks before a change, replies with its sources, and the whole turn is saved.
Before the agent answers, Flow sends it what you are looking at (the open workflow, selected nodes, the Knowledge Graph file, or the agent you are chatting with) and, when auto-search is on, the Knowledge Graph passages that match your message. The agent then calls the tools its abilities grant, within the permissions described under Permissions. A consequential change, such as applying a canvas edit or setting a secret, waits for your answer in a structured form; see Human in the loop. The reply cites the namespace and path of every Knowledge Graph source. The conversation, every tool call with its result, and the files you attached are saved to your threads namespace in Fontana Files, and the activity log records whether each call was allowed.
The Agents page
Section titled “The Agents page”Agents (/agents) lists each agent as a tile (avatar, name, and role) under its namespace. Clicking a tile starts a new chat with that agent. From a tile’s menu you make the agent your default, duplicate it, move it to another namespace you can write (Fontana copies the package there), open its settings, or delete it. The sidebar can switch to File view, which lists the namespace tree; clicking AGENT.md or the agent folder still starts a chat, and other files open in the main pane while the chat address (?agent= and ?thread=) stays.
The header message box and a new AI Chat start on the agent you set with Make default. A chat that is already open keeps its agent. On an empty chat, Start a conversation with shows the agent’s intro and skill pills; click the title to hide or show them, and Flow remembers your choice.
With no agent selected, the page shows your last three chats that belong to an agent. Each tile reopens that thread; its menu copies the link, opens a new tab, marks unread as read, or deletes the chat. Clear on the Recent chats heading hides those tiles; the conversations stay in your account. The menu next to the Agents title opens Usage, Embeddings, API Keys, Chat Channels, and the other AI pages in the same pane. In a chat drawer, Agent Settings on the agent toolbar opens that agent’s editor.
When you send a message on an existing thread from a different page than the thread’s current owner, Flow switches the thread to that page’s agent. A deliberate transfer uses handoff (agents_handoffThread) to an agent on the allow-list. Chat history belongs to you across pages, not to one workflow.
Where agent files live
Section titled “Where agent files live”Agents live in Fontana Files namespaces tagged agents. You name a namespace freely (any name without a slash), and the same namespace can also hold skills and Knowledge Graph documents. On Agents, hover the catalog and use + beside a namespace name to create an agent there. The namespace ⋯ menu includes Delete namespace when you are an admin on that namespace; Fontana deletes the namespace and every file in it. The system and users namespaces stay in the catalog.
Any folder that holds an AGENT.md (in any letter case) is an agent, and new agents go under the namespace’s agents/ folder. An agent id is the namespace plus the folder path, for example finance/agents/nav-analyst for agents/nav-analyst/AGENT.md in the finance namespace. Agents do not nest: everything under the agent’s folder belongs to that agent, so a folder inside it cannot hold another AGENT.md, and a folder cannot hold both an AGENT.md and a SKILL.md.
The package holds:
AGENT.md: YAML frontmatter plus the Markdown system prompt. This is the file the settings in Configure an agent edit.schedules.json: the optional schedule definitions; see Agent schedules.mailbox/folders for the agent’s email; see Agent email.assets/such as voice snippets and browser screenshots.
Every edit goes to the file, whether it comes from the Agents page, the File System page, an agent tool, or an identity or avatar change in chat. In File System, an AGENT.md opens with the agent editor, and a schedules.json opens with the rendered schedules as Preview and the JSON as Source. After a save, the catalog, schedules, abilities, mailbox address, and Teams bot follow once the file syncs, usually within a few seconds.
On the agent card, Overview shows the system prompt beside its settings. Switch the prompt between Editor (preview) and Raw (source) without leaving that layout. Permissions and Schedules are tabs. The package path sits under the name; click it to copy.
When a file cannot be parsed, the agent keeps running on its last good version, and the error shows on the Agents page and in File System until you save a valid file. Deleting AGENT.md removes the agent.
Shipped agents
Section titled “Shipped agents”Fontana ships agents you can tailor to your organisation:
- Fontana agent (
system/agents/fontana-agent): the assistant on every page and the default for general routing, including agent schedules. When you start a chat on a Flow surface such as Dashboard, Files, Knowledge Graph, Skills, or an Admin route, Fontana agent activates that page’s skill, so one agent carries the page-specific tools. - Workflow agent (
system/agents/workflow-agent): the agent on/workflow. The workflow canvas is the one surface with its own agent. You can change the agent before the first send; your choice holds until you navigate again. - Canvas agent: a specialist for building and editing workflow graphs (nodes, edges, ports, and canvas config). It is a sub-agent of the workflow agent, reached by delegation.
- Image, audio, and video agents: specialists that create a picture, a spoken clip, or a short video from your request. Chat stores the file with the message and plays it in the thread, including on the sub-agent card in the main conversation. Speech uses the agent’s own voice when one is configured.
- Operations specialists: agents for work such as reconciliation, fund accounting, corporate actions, and compliance. A new chat shows the selected agent’s description under its name, and the agent picker shows the same line.
Fontana-shipped agents and abilities live under system/, and every platform update reconciles that namespace: a package Fontana no longer ships is removed, and moving your own agent into system or creating a skill there is refused. Keep your own packages in your own namespaces.
On Skills, the Skills page skill lets Fontana agent manage namespaces, packages, and files under the same namespace grants as the Skills page. When you ask to open a named skill, Fontana agent resolves it through the skill catalog and opens that skill’s SKILL.md. On Agents, the Agents page skill lets Fontana agent create and manage agent packages the same way: it picks a namespace you can write (users when only system exists; otherwise it asks), writes agents/<name>/AGENT.md with a role-ready system prompt and a handoff to system/agents/fontana-agent for Fontana product requests, and opens the package on Agents.
Create an agent
Section titled “Create an agent”+ beside a namespace on Agents opens a short wizard for the name, role, and avatar. Flow then opens that agent’s chat. The agent greets you, then asks a few questions, one at a time, about what it should do, who it works with, and when it should run. Your answers are written into that agent’s own package. Everything the agent writes while it sets itself up stays inside that package’s folder. You can reopen the same conversation later to change the profile, and you can edit the same settings in the agent editor while the chat is open.
A new agent starts with Search the knowledge graph, Use a terminal session, and Delegate to other agents on. The terminal session starts with internet off. Delegate to other agents can hand work to every agent in the system namespace, including ones added later. Fontana skills are available for the agent to open.
You can also duplicate a shipped agent, adjust its prompt, switch abilities on or off, and grant Skills namespaces as your operating model requires. For recurring prompts on a persistent thread, see Agent schedules. For mailboxes, see Agent email.
Configure an agent
Section titled “Configure an agent”On Agents, you edit the AGENT.md that defines each persona. The table lists each setting and what it controls.
| Setting | What you control |
|---|---|
| Id and display name | Stable identity and the label people see in chat |
| Avatar | An avatar from the asset library on an accent ring, shown in the Agents sidebar, chat bubbles, tooltips, and pickers: a built-in Memoji, Emoji, or Robot avatar, one someone shared, or one you upload or generate. Frontmatter icon holds the reference. Click the avatar in the card header to change it, pick the accent colour, or choose No avatar to show the agent’s initial |
| Description and system prompt | Short summary plus Markdown instructions that set tone, scope, and operating rules |
| Language model | Approved model override; leave empty for the deployment default |
| Abilities | Fontana’s built-in abilities: Send and receive email, Post and reply in Slack, Post and reply in Teams, Search the knowledge graph, Query workflow data, Read and write files, Find and run workspaces, Delegate to other agents, Ask System One, Browse the web, Use a terminal session, Add and assign MCP tools, plus one per MCP connection you add. Each ability is a tile with an on/off switch. Select a tile to edit its settings and its Auto-load switch. An ability that is off keeps its settings. On Knowledge Graph namespaces and Delegate to other agents, All grants every option and Pick shows a checklist. See Tools and MCP |
| Skills | A tree of skill namespaces. Tick a namespace to grant every skill in it. Expand a granted namespace to see its outermost skills, and expand a skill that contains others to see the nested ones. Each skill has an On-demand / Preloaded switch. Discover skills on first turn (on by default) makes the agent list the skills it may open before its first reply. Fontana page skills come with the system namespace. See Skills |
| Auto-load | On an enabled ability, On puts its instructions and tools in from the first message, and the agent can close it when the job is done. Off (the default for most) waits until the task needs it. Search the knowledge graph and Find and run workspaces auto-load by default. On a skill, the same choice is Preloaded (On) or On-demand (Off) |
| Available in | Under Advanced settings. Tiles for where you can pick the agent: Chat (chat pickers, your default agent, handoff targets, chat channels, schedules), AI node (workflow steps that ask AI with fromAi), KG extract (Knowledge Graph ontology agent), and Internal (background workers Fontana calls itself, hidden from every picker). An agent needs at least one; a new agent starts in Chat |
| Permissions | An allow-list of the same permissions as a person’s role; see Permissions |
| Vector source | Keywords that help route and discover this agent and related workflow templates |
| Call settings | Optional JSONC for sampling fields (temperature, maxOutputTokens, topP, topK, presencePenalty, frequencyPenalty, stopSequences, seed). Uncomment a key to set it. Unused keys are stored as _temperature-style placeholders so the frontmatter stays a parseable mapping; only unprefixed keys are used |
| Reasoning effort | Off through Max, under Language model. Per-thread chat controls can override it |
| Context strategy | Default uses platform defaults. Custom sets the token limit, compress target, self-eviction ceiling, minimum recent user messages, tool-result retention (rounds), and Knowledge Graph body retention (turns). An empty ceiling means 80,000 tokens of the packed prompt; above it, the agent is asked to drop the extra tokens |
| KB injection score threshold | Minimum similarity score for automatic Knowledge Graph injection on each turn; per-thread overrides are available |
Knowledge Graph context
Section titled “Knowledge Graph context”Agents receive Knowledge Graph context in two ways, described on Knowledge Graph:
- Automatic pre-turn injection: when you turn on auto-search for the agent, hybrid search runs over its assigned namespaces before each message, gated by the KB injection score threshold, so relevant approved documents are already in context.
- Agentic search: during the work, the agent calls Knowledge Graph retrieval directly: hybrid search (full-text, vector, and relationship expansion), outline navigation over long structured documents, and entity navigation, each returning path citations to the exact source section.
You assign namespaces per agent so regulated corpora stay segregated and retrieval stays least-privilege.
Long threads use a layered context model: durable goals and completed task summaries sit in a compact block after your latest message; stale file reads and Knowledge Graph evidence bodies are evicted automatically or when the agent calls evict context; only conversation text is summarised when the thread is still over budget. A failed compaction appears as a failed tool row in the transcript. The token limit, compress target, and self-eviction ceiling follow the tokens the model provider billed for the previous step, so tables, code, and other dense tool output count at their real size.
Working on a workflow
Section titled “Working on a workflow”Agents can search community workflow templates by meaning and, with your consent, read workflow configuration from the canvas, so they help you design pipelines with awareness of nodes, types, and connections. Run data is queried separately from canvas configuration, so design help and live results stay apart. With the Workflow capability assigned, an agent can also list, read, and update Exception Management tickets for a workflow you can access.
While an agent works on an open workflow, you see where it is:
- Its face shows in the workspace header while the chat runs.
- On the canvas, a cursor in the agent’s colour points at the node it is working on and moves when the agent touches another node. It stays the same size when you zoom.
- On a port grid or an exception row the agent changes, the same face appears beside the value it updated, and moves as the agent updates another cell.
- After the chat goes idle, a finished call stays as a gray silhouette with how long ago it completed, then drops off.
- Click a face to open that agent’s chat, including the thread the work belongs to.
Show Agent Cursors in the workspace actions menu and on the workflow preferences page hides the canvas cursors. The header, grid, and exception faces stay.
Chat controls
Section titled “Chat controls”The composer gives you a few controls over how a turn runs and how much of it you see. They apply per thread and sit in the cog beside the prompt, the usage icon under it, and the mode icon beside the model chip.
Sending while the agent is busy
Section titled “Sending while the agent is busy”The cog beside the prompt sets how a message lands while a reply or tool run is in progress. Auto is the default: it interrupts while the agent is writing and steers while tools run. Enter and the send button use the mode you picked.
- Steer lands your message right away; the agent answers it as soon as the current step settles.
- Interrupt cancels the running turn and any pending tools, then answers your new message.
- Queue holds the message until the current turn finishes. Queued messages appear in a drawer above the prompt box, where you can reorder, edit, remove, or send one now. One queued message is sent each time the agent goes idle. Stop pauses the queue; the next completed turn resumes it.
When a question form is open above the prompt, sending a message closes it in every send mode. The agent is told you answered in the chat, and your message is sent. The same cog holds the composer preferences: auto-apply canvas suggestions, auto-read replies, and clearing every message in the thread.
The usage icon under the prompt opens thread usage in a drawer. The header shows the current context, for example 65.1K current. The chart is one bar per reply; hover a bar to see that step’s token split. Each agent in the thread is one row under the chart.
Tool call details
Section titled “Tool call details”Click a tool call row to see a readable summary for that kind of call: a before and after diff for a document edit, a list of skills, files, or agents, a table of query rows, or the Knowledge Graph results. The code icon on the right switches to the raw request and response.
Tool call details in the chat cog sets how much of each run opens on its own:
- None leaves tool runs and reasoning out of the transcript. Page suggestions stay, and successful email send and read stay as mail cards.
- Compact (the default) keeps each run of tool calls on one line until you open it.
- Expanded opens each run so you see every call in it.
- Full also opens every call to its summary.
Opening or closing a row yourself always wins over the setting for that row.
Query mode
Section titled “Query mode”The icon beside the model chip sets the composer mode. Agent sends your message to the agent. Query runs what you type as a query on files in a namespace, at once and without an agent turn.
In Query mode a bar above the prompt holds the query type (sql by default, then grep, jsonpath, jsonata, jinja, text, javascript, python), the namespace, and the files. On a workflow page the namespace is the workflow’s Workspace; elsewhere you pick one. The file picker starts on auto: SQL takes its tables from the quoted paths in the query, grep takes the path or folder the pattern names, and the other types take a path written in the query. When nothing resolves, the bar says so and nothing runs.
The query and its result land in the thread as a tool call. The result shows the type, files, query, and rows as a table, grep hits as path and line, or text, with Copy all. Switch back to Agent to ask about the result, which the agent sees like any other tool result. Run query on an agent’s SQL data query card prefills Query mode with that query, its tables renamed to the published files of the last Workspace run. The query runs only while the agent is idle.
Diagrams in chat
Section titled “Diagrams in chat”When an agent includes a fenced Mermaid diagram, you can zoom, pan, fit, export SVG or PNG, copy the diagram, and open it fullscreen from the hover controls. Raw shows the Mermaid source in the same box. ASCII pipeline trees render as the same interactive flowchart.
Page context
Section titled “Page context”Every page with a chat sends what you are looking at with each message: the Workspace and workflow you have open, selected nodes, operations and exceptions, the Knowledge Graph namespace or file, the skill you selected, or the agent you are chatting with. The Skills, Tools, and other AI settings pages have the docked chat too. On Home Custom, selecting a card attaches it to the docked AI Chat as a composer chip, so the agent knows which cell you selected.
The same context shows as chips above the composer and above each message you send, tinted by kind: Knowledge Graph amber, Workspace blue, workflow sky, agents purple, skills teal. Hover a chip for a card with its name, description, and a View button that opens the item. When your context changes between two messages, the agent is told what changed and asks which one you mean if your request is ambiguous.
If the server restarts in the middle of a turn, the thread recovers on its own: unanswered tool calls are closed with a visible error, and any message you sent meanwhile is answered once the thread is idle again.
Where conversations are saved
Section titled “Where conversations are saved”Every conversation is saved to Fontana Files as soon as a turn completes. Each person has one private threads namespace, granted to them alone, with one folder per conversation: a thread.md header, one Markdown file per turn (your message, the agent’s answers, and each tool call with its result), and the files attached in that turn. A shared conversation is saved to every participant’s threads namespace, and leaving it removes your copy. Editing or deleting a turn file in File System changes what the chat shows and what the agent reads on its next turn. Workflow AI nodes are not saved: their conversations end with the run.
Your threads namespace is part of the Knowledge Graph, so in a chat of your own an agent can search your past conversations with its Knowledge Graph tools. Shared conversations, Slack and Teams threads, schedules, evaluation runs, and Knowledge Graph extraction never search anyone’s conversations, and the automatic search at the start of a turn never includes them. Nobody else’s agents search your conversations, a file admin’s included.
Permissions
Section titled “Permissions”Two things decide what an agent can do for you: who may see and edit the package, and which permissions a call runs with.
Which agent namespaces you see is decided by your Fontana Files grants on each namespace, together with the agents:read permission of your role. Changing a package (its AGENT.md, schedules.json, and every other file in its folder) needs an editor grant on its namespace and no role permission, whether you edit on the Agents page, in File System, or through an agent. When Fontana creates a namespace, it grants everyone in your workspace viewer access to system and editor access to every other namespace. You narrow or extend those grants in File System, as for any other namespace.
Each agent carries an allow-list of the same permissions as a person’s role. When you invoke the agent, every call runs with the overlap of your role and that allow-list; a sub-agent and a handoff target are limited the same way. Open the agent and choose Permissions to edit the list. It is grouped by area: all permissions, a whole area, then each permission. You can turn on a permission outside your own role, so a colleague who holds it can use the agent for that work, while your own session stays within your role. A new agent starts with every catalog permission on the allow-list.
Profile shows your own permissions in the same grid, read-only. Activity logs record the usable set for each invocation and whether each tool call was allowed or denied. See Roles and RBAC.
Delegation and handoff
Section titled “Delegation and handoff”Work can span several agents without losing governance:
- Sub-agents run delegated tasks in child threads while the parent conversation continues under audit.
- Handoff transfers the same thread to another agent when the task surface changes, for example from planning to canvas editing.
Both use the Delegate to other agents ability and its allow-list of target agents. Federation with agents on other platforms uses separate protocols; see Agent Interop for A2A, ACP, ANP, and OFP, inbound and outbound.