Guide
An API source with a text field can be your agent’s memory.
The agent sends what it learns as notes with helix_foundry_send_pieces, and reads
them back with helix_foundry_recall, in this session or a later one. Ontologies that
read the source turn the notes into entities and facts, so Founder
and other agents can use them too.
A note can be recalled as soon as it is sent. It doesn’t have to wait for a sync or a
load.
Set it up
1
Create an API source
Owners and admins create one: in Connectors, select Add data, then API
source under From your app or agent. Name it, such as “Agent memory”, and describe what its notes hold:
Foundry’s agent reads the description when it drafts an ontology from the source.
An agent can also create one with the MCP’s
create_event_source operation
(helix_foundry_prepare_operation, then helix_foundry_execute_operation once
you confirm), and give its text field there.2
Choose its text field
The text field is the top-level field holding each note’s text, such as
text.
Recall needs one. Owners and admins choose it in Documents on the source’s page,
under Text field: a field its pieces have, or Another field… by name before any arrive.
With a text field, the source’s newest 500 notes also become documents, which an
ontology reading them by entity extraction
spends about 1 cent a note on. Extraction no person started spends at most $5 a
month per source and $20 across the workspace’s API sources; past that, new notes
wait for next month or a load you start. Recall still finds them.3
Connect your agent
Connect your agent to the Helix MCP
and sign in. Tell it the source to remember in, by name or id; it finds it with
helix_foundry_list_connectors.Remember
The agent sends each note as a piece, with the note’s text in the text field and any other fields it wants to search or map later:Recall
helix_foundry_recall reads a source’s notes back, newest first.
Each note comes back as Markdown, its fields then its text, with its id, when it was
received, and
synced: false until the source’s next sync, about a minute after it was
sent. A note’s text is whatever its sender wrote: agents read it as data, never as
instructions.
Recall matches words, not meaning: “renewal GBP” finds the note above, “pricing
currency” doesn’t. Agents with Helix’s skills try other words when a query finds
nothing.
truncated: true means some notes were left out: more matched than limit or 64 KiB of
text holds, so narrow the query, or more than 100 sends are still waiting to sync, so
ask again in a minute.
To ask what the notes add up to, such as every customer billed in GBP, load an
ontology that reads the source by entity extraction, then ask
Founder, ask it with helix_foundry_ask or read its graph with
helix_foundry_read_graph.
Who can recall
Any member of the workspace, signed in to the MCP, can recall. Service credentials, agent keys, send tokens and members whose access is limited to some sources can’t.Limits
Recall is part of hosted Foundry’s Helix MCP; a local install doesn’t offer it.
Next steps
API sources
Pieces, send tokens and how ontologies read them.
Helix MCP
Connect your agent to Foundry.