The Agent
The agent is the reason Prism is not just an editor with a 3D view. It reads your files, runs commands, drives the solvers, and writes results back — inside the workspace you attached, under permissions you set.

The composer
Everything you send starts in the composer at the bottom of the chat column.

| Element | What it does |
|---|---|
| Header band | The strip above the input box, naming where the agent runs as computer / folder crumbs, with the worktree and branch at its far end. On a narrow pane the far end wraps under the crumbs. |
| Computer crumb | Which computer the thread's tools act on. Click it for the computer list; the choice is fixed once the first message has gone through. |
| Folder crumb | The attached folder, its parent path dimmed and the folder's own name bright. Click to change it while the thread is new, or to copy its path once it is under way. |
| Model picker | Which model answers. Your default comes from Settings → Agent. |
| Effort picker | How much reasoning the model spends before answering. |
| Permission chip | The current permission mode. ⇧Tab cycles it. |
| Branch chip | On a git workspace, the branch — and the worktree control. Both sit at the band's far end. |
| Machine chip | Appears while the thread or one of its sub-agents has a cloud machine that has not ended — Running, Starting, Stopping, Failed, or 2 running once several share a state. Click it for those machines and their spend. |
| Work chips | One icon-and-count chip per kind of work: sub-agents, and background work (solver tasks and commands). Each counts what is still running, or everything once nothing is, and opens the Agents pane. |
| Credits chip | What the organization has left — $3.40 free credits left. Always on a Free plan, and on a paid one once under a quarter of the period's credits is left. Under that quarter it is amber on either. Absent on a plan with unlimited credits. Click it to top up. |
| Context ring | A two-arc ring, left of the model picker: the thread's context occupancy and your own agent spend. Hover it for the figures. |
Press Enter to send. Paste an image with ⌘V and it is attached to the message — useful for a screenshot of a drawing, a plot, or a spec page.
Where a new thread runs
The composer's header band decides which computer a thread's tools act on. Its first crumb is that computer — This computer until you change it, or Choose a computer… before Prism knows which device it is — and clicking it opens the Computers list: every desktop you are signed in on, each with a status dot and a word for its state.
| The state | What it means |
|---|---|
| online | Ready for a new thread |
| update Prism | Signed in, but running a Prism that cannot serve its folders to this one, or host a chat you send it |
| offline | Not reachable |
Only an online computer can be chosen; the other two stay listed, dimmed, so you can see why a desktop is not an option. The list offers desktops alone: a chat with no computer behind it at all is the phone apps' Cloud destination, and here it reads Cloud / no desktop tools in the band.
Pick another desktop and the folder crumb beside it browses that computer's folders, so the folder you choose is a path there. On this computer the folder crumb lists your recent folders and Choose folder…, which goes to the system dialog. The menu reopens with the list it had last while a fresh one loads, so it does not flash; the very first open on this computer waits for its list instead. Cloud has no folder to choose.
The choice belongs to the draft: it can be changed until the first message has gone through, and after that the thread stays where it was started. A send that plainly failed hands the choice back, so you can pick another computer before retrying. If the first message does not get through — the other computer is offline, or the folder is gone, among other reasons — the draft keeps your text and attachments and offers Retry. Where Prism cannot tell whether the message arrived, it says Couldn't confirm this message was sent and the action reads Send again (may duplicate), because sending twice can leave two copies.
The context ring
Left of the model picker, under the composer, sits a small two-arc ring — the readout of how full the thread is getting.
- The outer arc is the thread's context against the model's window. It is muted until 80% of the window is in use, and from there it turns amber and puts the percentage beside it, so the figure is on screen exactly when it matters.
- The inner arc is your own agent spend for the billing period against your limit — the info colour until less than a quarter of the limit is left, then amber. It is not drawn when nothing limits you.
The ring appears once there is something to show: a finished turn has measured the context, or your spend is known. Hover it and a card opens above it, where there is room, with the figures spelled out — Context, 68k of 272k tokens · 25% with a bar, and Your agent usage, 20.00 this period, or the amount alone where no limit applies. Open Usage in the card goes to Settings → Usage. The ring itself is not a button.
The card stays open while the pointer is over the ring or over the card, so you can reach that button, and closes a moment after you leave both — or on Esc, or a click outside.
When the credits run out
Spending the organization's AI credits does not throw you out of the thread. The transcript stays where it is and the composer closes: where you would type, it names the step that reopens it — Subscribe to keep chatting, Buy credits to keep chatting, or Get more credits to keep chatting where neither is available on its own — and Send is disabled.
A bar sits above it saying why. If you administer the billing it reads You're out of AI credits. with that same step as a button. A member who does not administer it gets Your organization is out of AI credits. Ask an admin to add more. with no button, and the composer reads Chat resumes when your organization has credits.
Anything else that blocks the agent keeps the full access notice rather than this bar, and the notice carries the step that clears it beside Refresh: Finish setup for an account whose setup is unfinished, Choose organization where none is picked, Subscribe for a lapsed plan, and Open Members for an admin who has reached their own monthly limit. A member with nothing to act on gets Refresh alone.
Pressing Send on a thread with no folder attached, with something written, opens the workspace picker rather than doing nothing.
Mentions and slash commands
Typing @ opens a picker, so you can point the agent at something precisely
instead of describing it. With nothing typed it offers your enabled plugins
under Plugins, your other threads under Threads, and the files you
touched recently under Recent. Type to filter and the groups stay: plugins
and threads match on their names, and files move under Files, matched on the
filename until the query carries a / or \, which matches the whole path.
Typing / opens the command popup. Both are navigated with the arrow keys, and
accepted with Enter.
Picking a thread inserts a reference to it, which reads as @ and that thread's
current title — shortened if the title is long — wherever the message appears:
in the composer, in the queue, and in the transcript once you send. Rename the
thread and the reference follows it, because the message carries the thread's id
rather than its title: copy a reference and you get thread_id: and that id. A
reference this computer cannot place — a thread deleted, or one whose id arrived
here before the thread did — stays as that text. What the agent does with one is
in Your other threads.
Reading a transcript
The transcript is not just prose — it is a record of what the agent actually did.
- Response text streams in as the model produces it.
- Thinking rows show reasoning, when the model produces any. The glyph style is configurable in Settings → Agent.
- Tool rows show each call: what it ran and what came back. Click a row to expand it. Where the result is structured data — a browser call, a call on a machine, a cloud upload or download, a web extract, crawl, map or research call, or a tool Prism does not recognise — the expanded card shows a short preview of it rather than the whole payload, and the call's arguments stay folded behind Input. View raw input/output shows both in full, Show preview folds them back, and Copy raw output puts the result on the clipboard byte for byte. A failed call shows the preview but no raw controls. A result too big to preview reads Large result — view raw output; one that has not arrived yet reads Waiting for result….
- Connector cards stand in for connector (MCP) calls. With Collapse tool activity in chat on, a run of them is gathered per connector, under that connector's name and icon with what the calls came to — 3 completed, or 1 awaiting approval · 2 completed — and prose, a non-connector tool or the end of a message closes the run. Expanding the card lists each call as one line: what it did and how it ended. A connector call carries no payload of its own and no raw-output controls. With the setting off, each call stands alone, under its own connector's name and already open.
- Sub-agent rows sit where the agent dispatched one, reading Ran agent, then its accent dot and codename — a scientist's name, stable for that agent wherever it appears — then the task title, its live status, and its usage and elapsed time. Clicking one opens it in the Agents pane; a copy button trails it once it has output. Two or more in a row whose sub-agents have all finished fold into one line — Curie, Noether and Turing finished — which clicking unfolds. A run that is still going never folds.
- Reports from a sub-agent are labelled by who sent them — Message from "Fit the bracket" · first line — in that sub-agent's accent, as are "…" finished, went idle, failed and was stopped.
- Approval cards appear inline when the agent needs permission.
- Question cards appear above the composer when the agent asks you something, and the agent waits for the answer. Pick an option, type in the composer, or skip — see Shortcuts.
By default a run of uninterrupted tool activity collapses behind a single expandable summary row, so a long sequence of reads does not bury the narrative. Turn that off in Settings → Agent if you would rather see every row inline.

Interrupting
- ⌃C always stops a streaming response.
- Esc does too, if you enable it in Settings → Agent. It is off by default so that Esc keeps its normal meaning everywhere else.
Interrupting stops the turn. Anything already written to disk stays written — interrupting is not an undo. Check the diff after an interrupt.
Math in chat
Prism renders inline math with $...$ or \(...\) and display math with
$$...$$ or \[...\]. Math inside code spans and fenced code blocks stays
literal, as do escaped dollar signs. This rendering applies to agent chat;
other Markdown surfaces are unchanged.
Prices survive this. A $...$ span is left as plain text when it opens on a
digit and a digit follows the closing $, which is how a pair of amounts such
as $5-$10 or $619 ($467–903) reads; a span padded with spaces was never
math to begin with. Ambiguous formats still slip through: $.99/$1.99 renders
as math because the span opens on a dot, and a price can flash as math for a
moment while the reply is still streaming. Where you do want inline math that
starts with a digit and is immediately followed by one, write it as \(...\),
which is never read as currency.
What the agent can do
Beyond reading, editing, and running commands, the agent has tools specific to Prism and to engineering work.
Driving the app
| Tool | What it does |
|---|---|
prism_open_file | Opens a file in the editor and reveals it, or in your default app where Prism has no viewer for it |
prism_switch_tab | Focuses an already-open tab |
prism_open_diff | Opens the diff view |
prism_set_right_pane | Picks which view the right pane shows |
prism_set_camera | Points a 3D viewer at a named or explicit view |
prism_export_view | Saves a 3D viewer as a PNG and returns its path |
prism_ask_user_question | Asks you a question on a card above the composer |
prism_request_setup | Asks you to install something the task needs, or to start the container engine, on a card under the call |
prism_local_tools | Lists the programs Prism can install, and whether each is on this machine |
The agent is told to link its work rather than open it: a file it names comes
as a link — [bracket.step](cad/bracket.step) — and clicking it opens the file
here, so your screen stays where you left it instead of jumping to whatever the
agent touched last. Clicking a link opens the file where that file exists,
inside the project or outside it, however the link is written — relative,
absolute, ~/, or as a file:// URL. A relative link resolves against the
thread's folder, so it needs one; the other three open without a folder at all.
Clicking one brings the file up in the editor in the right pane, and where the
link carries a line, or a line and column — #L12, #L12C5, #L12-L20, or
:12, :12:5, :12-20 — the cursor lands there, a range at its first line.
Opening a link is yours to do: it gives the agent's own tools and commands
nothing beyond what you allowed them. Hover a link
first and a tooltip gives its exact destination, so you can see where it goes
before you click.
The file opens in the thread you clicked the link in, and waits there if you have since moved to another. So does the failure: a link that resolves to nothing — or carries something Prism cannot open as a local file — leaves Could not open …, with the reason, on that thread's banner. An image the page cannot load shows Image unavailable, with its own reason, the alt text and the destination, in place of the picture.
The app still moves when you ask it to: prism_open_file is for "show me the
result", and for the skills that open something as part of their own flow.
Looking at a file without opening it
| Tool | What it does |
|---|---|
prism_render_cad | Renders a CAD file to a PNG offscreen, with no tab open |
prism_render_preview | Renders a document or a schematic to PNGs, with no tab open |
Neither opens a tab or takes the window, so a thread working in the background can still see what it made — a model from CAD and geometry below, a deck, document or schematic from Deliverables.
Handing you a file
send_user_file is for a file you want to receive somewhere other than this
machine — on your phone, say. A file that stays in the project comes back as a
link you click instead, so ask for it to be sent when you want to carry it
away. A sent file appears as a compact Sent row in the transcript, with a
card under it carrying the name the file was sent as, its size and the agent's
caption, and an Open button. Open fetches
the file and opens a copy in a tab; while it is fetching the card reads
Downloading…, and one card downloading never blocks another. A file past
its seven days cannot be fetched again: pressing Open leaves the card
reading Expired. Anything else that goes wrong reads as failed, with the
reason. The copy is written to
Prism's cache folder rather than into your project, so nothing appears in your
workspace or in git status.
Ask for something from another device — a phone app, or a Prism that is not the computer hosting the thread — and the files come as these cards rather than as project links, which open nothing there. The agent sends each file or picture you should see, and still names its path in the project. Ask again from the host computer and you get links again.
The file travels with the thread, so your other clients — the phone apps — offer it too, and a reopened thread still shows the card. It is gated as a read — see Permissions & Approvals.
A file can be up to 30 MiB, a thread holds 300 MiB of them, and a sent file is kept for seven days before it is deleted — long enough to pick it up on another device, not a place to store anything.
Running Python
| Tool | What it does |
|---|---|
prism_python_run | Runs a Python script in Prism's managed environment |
The agent writes Python through this tool rather than calling python in the
shell, so it runs in the managed environment — Python 3.12 with
numpy, scipy, pandas, matplotlib, pyvista, CoolProp, Cantera, gmsh, build123d
and bd_warehouse — from the project root, and never touches your own Python setup. It takes an inline
script, saved under .prism/py/, or the path of a .py file in the project,
and returns the tail of stdout and stderr, a traceback on a nonzero exit, and a
structured result if the script writes JSON to the file named by
PRISM_RESULT_PATH. A run is stopped at 30 minutes.
A script that needs something the environment does not pin gets it for that run:
the agent names extra packages, or points the tool at a requirements.txt in
the project. What it asked for is saved beside a project script under that
script's own name — solve.py gets solve.prism-python.json — and re-running
the same path reuses it. Where the
managed environment cannot serve the task at all, the agent works in the
project's own environment through the shell instead — see
the managed Python environment.
A skill can also ship a script of its own, and the agent runs it by naming the
skill and the script's path inside it. That script runs in place, so it can
reach the files beside it through its own __file__, but the working directory
is still the project root. Any extra dependencies come from its own
# /// script header rather than from the call — see
Skills.
CAD and geometry
| Tool | What it does |
|---|---|
prism_cad_viewer_state | Describes a CAD viewer and its selection |
prism_cad_viewer_selection | Reads what you have selected, entity by entity |
prism_cad_viewer_list | Lists the model's bodies, or one body's faces |
prism_cad_viewer_query | Resolves references such as #face=17 |
Geometry is built with prism_python_run: the agent writes a build123d script
as a file in your project and ends it with navier_cad.save(part, "name.step").
That call writes the STEP where the script says, re-reads the file to check it
is a valid closed solid, and returns a short report (size, volume, face counts,
hole radii, any warnings) with a four-view preview image the agent looks at.
Lengths in the script are millimetres. A STEP the agent is asked to change is
read with navier_cad.load_step, which repairs faces other CAD tools would
reject and says what it changed; navier_cad.features lists its holes, bosses,
pockets and grooves, so the agent edits the one you named by its measured size
and position. The script is the model: change a parameter at the top and rerun it. To review
shape and placement yourself, open the STEP in the 3D viewer; prism_set_camera
and prism_export_view can help inspect and capture it.
A picture of a model does not need a tab: prism_render_cad renders a .step,
.stp or .glb offscreen and returns the PNG's path — the same shaded view the
viewport draws, with the colours the file carries. It takes the same view names
prism_set_camera does (front-top-right unless it says otherwise), a
width/height in pixels (1600×1200 by default) and a white, transparent
or scene background. Nothing is brought on screen, so a background thread can
call it while you work in another. prism_export_view is still the one to use
when the picture has to be exactly what you are looking at, since it captures
the tab itself.
The four prism_cad_viewer_* tools read the CAD viewer rather than change it —
which is what lets you select a face and say "what is this?" without describing
it. You get a body's name and bounds, a face's surface kind, area, centroid and
normal, and an edge's length and end points. They read the viewer you are
looking at, so they keep working after the agent opens another file, and unlike
prism_set_camera they neither move nor reveal a tab. Entity ids are per-load: #face=17 is good until that file is
reloaded, so quote it back in the same breath, not tomorrow. Prism does not provide automated
interference or DFM checks.
Analysis
| Tool | What it does |
|---|---|
prism_ferro_schema | The exact current schema for a Ferro case |
prism_ferro_create / prism_ferro_author | Creates and writes a structural case |
prism_ferro_set_mesh | Attaches a mesh to the case |
prism_ferro_run | Solves it |
prism_ferro_results / prism_ferro_summary | Reads results and summarizes them |
Solvers
Third-party solvers run on a machine: a container on this computer, or a cloud
machine with cloud access. The agent launches one with the solver's image, runs
the case there, reads the logs, and stops it when the work is done. Each kind
has its own tools for that — prism_launch_local_machine,
prism_stop_local_machine and prism_list_local_machines on this computer,
launch_machine, stop_machine and list_machines in the cloud — while the
work on the machine goes through the machine's own tools either way.
Compute → Machines lists them under Running. See
Machines.
Long commands and Ferro solves are background tasks: completion arrives as a notification in the thread, so the agent never polls for a result.
Sub-agents and background work each get their own chip in the row above the composer — an icon and a count, coloured by the state of that work. The count is what is still running, or everything once nothing is, and the tooltip spells it out — 2 subagents, 1 running, 3 solver tasks, 2 running. Both chips open the Agents pane, where sub-agents are listed and each one has a page, and where the background work sits under them.
A machine chip joins the row while the thread or one of its sub-agents has a cloud machine that has not ended, coloured by what those machines are doing. Its tooltip lists each one with its spend, and clicking it unfolds a machines card above the composer:
The card holds Machines alone: how many are on, what they have spent together and the hourly rate, open in Compute, and a row per machine with its status, uptime and spend, its own stop, and a click to open it on the Compute page. Machines are not work items: they are not counted in the other chips and not listed in the Agents pane. A machine on this computer is free and is not listed here; it shows on the Compute page.
The background work itself is in the Agents pane, a section per kind present:
- Solver tasks — Ferro solves with their phase and progress. If a finished result could not be handed back to its agent, the header offers retry handoff.
- Commands — the shell commands the agent left running, each with the last line of its output. One that has finished while its result is still reaching the agent is counted in a footer instead. If the thread loses its link to the agent service the rows go with it: reopen the thread to reconnect, and stop still cancels the commands running locally.
Each row that can be ended on its own carries a stop: it cancels that solver run, Ferro solve, or command and reports the cancellation to the agent as that task's outcome, leaving the turn and the rest of the work running.
Your other threads
A main agent can reach your other conversations. list_threads lists your
other top-level threads, newest activity first, with whether each is running or
idle; search_threads finds one by title, optionally narrowed to threads active
within so many days or to a run state; and send_thread_message sends one of
them a message. Sub-agents have none of the three, and a thread cannot message
itself, a sub-thread, or a thread outside the organization it belongs to.
The message arrives on the other thread as a turn of its own, so it wakes an idle thread rather than waiting for you to open it. In the transcript it reads Message from thread "title" · first line, in the sending thread's accent, the same way a sub-agent's report is labelled by who sent it. The rows for the three tools read Listed threads, Searched threads and Messaged thread.
Reading is separate from messaging. get_thread_messages reads a page of the
messages already on any of your threads in the organization you are in — another
top-level thread, a sub-agent, or the thread the agent is in itself — oldest
first from the start by default, newest first when it reads backwards, and it
pages on from there until nothing further is left. One call is one page — twenty
messages unless the agent asks for more, a hundred at most, with an oversized
item excerpted — so a long read is several Read thread messages rows.
Sub-agents have this tool too. An
@ reference to one of your threads is how you
hand the agent one to read.
The agent can also start a thread itself, and here sub-agents can too.
fork_thread branches the conversation it is in at the call it is making,
carrying the history up to there, the model, the effort and the attached plugin
servers; it is titled title (fork) unless the agent names it.
create_thread starts an independent one instead, with a title and an opening
message, and no history at all. Either way the new thread is a top-level thread
of your own: it shows up in the thread list, it works in the same folder — the
same worktree, where the source has one, rather than a copy of it — and nothing
it does afterwards reaches the conversation it came from. This is not the
Fork on the thread's right-click menu,
which is yours to press, copies the worktree, and stops at the last settled
turn.
Deliverables
PowerPoint decks come from the presentations skill, which writes a slide plan
and runs its own generator over it. Reports, trade studies, and memos come from
engineering-reports, which writes the document against a house template and
compiles it to PDF.
Both skills end by looking at what they wrote: prism_render_preview renders a
.pptx, .ppsx, .docx or .pdf — or a KiCad or Altium schematic — to one
image per page or sheet, plus a contact sheet of all of them, with no tab open
and through the same engine the viewer uses. So a deck that overflows a slide or
a drawing that renders blank is usually caught in the thread rather than when
you open it.
Everything else
The agent also has the ordinary set: file read/write/edit, shell, search
(ripgrep and fd ship with Prism), and the embedded browser — see
Agent control for what
it can do there. Plugins add more — see Plugins & MCP.
Models and effort
Settings → Agent controls which models appear in the picker, which one is the default, and the default reasoning effort.
- Enabled models — trim the picker to the ones you actually use. If none are selected, all available models are shown.
- Default model — what a new thread starts on.
- Default effort — how much reasoning to spend. Effort ladders differ per model, so the setting resolves against whichever model is active.
The picker itself leads with the models Navier features — which those are is set for you, not by Enabled models above — then, for a model that offers effort levels, an Effort row, then a More models row holding the rest, each opening its options beside the menu. Whichever model the thread is on is always in the first list, wherever it would otherwise sit; where nothing is featured, every model is listed directly and there is no More models row. The scheduled-task editor uses the same picker.
Higher effort costs more tokens and takes longer. It is worth it for case setup, debugging a failed solve, and anything where being wrong is expensive. It is not worth it for "what does this file do".
A sub-agent inherits the thread's model and effort unless the agent asks for something else when it dispatches one, so raising effort on a thread raises it for the work that thread fans out too.
Switching model mid-response
Picking a different model while a response is streaming applies straight away and does not interrupt it. The turn already running finishes on the model it started with, and everything after it is the new model's — anything queued behind the current turn and anything you Steer in alike.
Changing only the effort does not interrupt anything either.
One switch can cost you work. Models fall into three groups — the OpenAI ones, the Anthropic ones, and everything else — and crossing between groups while a run of tool calls is still going rewinds the thread to your message and starts that work over on the new model. What the tools already wrote to disk stays written, so expect some of it to be redone. A switch within a group carries on where the last model left off.
Switching models can also move your effort setting. Effort ladders differ per model, so when the new model cannot offer the level you were on, Prism resolves it to that model's default rather than leaving an effort it does not have.
Project memory
The agent keeps a small Markdown document of notes per project, and reads it at the start of every turn. It is what stops you re-explaining, in each new thread, that this repository solves in millimetres or that you always want the coarse mesh first.
It is always on — there is no toggle. What goes in is meant to be narrow: durable preferences, corrections you have made, and decisions worth carrying forward. The agent is instructed to keep secrets, transient task state, and anything plainly readable from the code out of it, and to ask before saving something it merely inferred — but that is guidance it follows, not a filter Prism enforces. Ask it to remember something and it writes it immediately.
There is no Settings panel for the notes, and the file's location is keyed to the project rather than named after it, so the way to see or change what is saved is to ask: tell the agent to show you its project notes, or to clear them.
Two things worth knowing:
- A hand edit takes effect on your next message. The agent is given the notes afresh each turn, so an edit does not wait for a new thread.
- They live on this computer, not in your project. The file sits in Prism's own application-data directory, keyed to the project, so it is never committed and does not travel with the repository. Notes are capped at 64 KiB.
The agent's reads and writes of the notes do not appear as tool rows in the transcript, so a thread where it saved something looks no different — ask it what it has saved rather than looking for the call.
Skills
Skills are workflow guides the agent loads on demand — how to configure a Ferro case, how to run a solver on a machine, how to set up a multi-region CHT case. They ship with Prism and you can write your own. See Skills.
What it is not
- Not a sandbox. The agent runs on your machine with your permissions. The permission model is what stands between it and your filesystem — configure it deliberately.
- Not deterministic. The same prompt twice can produce different work. Review the diff.
- Not a substitute for engineering judgment. It will happily solve the case you described, including when the case you described is wrong. Units in particular are yours to check.