When to use Foundry
Use Foundry when agents need to read or change business data that lives in several systems, and people need to see and control what they do. Instead of holding database credentials or calling ten APIs, the agent sees a small set of typed tools, such ascustomerOverview or creditCustomer, and each call is checked against your policies.
Click to zoom
- Agents get every read and action as a tool through the Tilde Foundry tool provider. See Give an agent the ontology.
- People open spaces in Live, which call the same reads and actions.
- Policies see both the person and the agent acting for them. An agent never does more than the person it serves.
The building blocks
- Pipelines and models bring raw records in and shape them with SQL. See Sources and models.
- Objects and links are the typed nouns and their relationships. See Objects and links.
- Views, reads, and actions are the typed handlers that agents and spaces call. See Views and actions.
- Policies are Cedar rules that decide every call. See Policies.
- Spaces are React pages fed only by the ontology. See Spaces.
- Projects and environments are the repository you deploy, and where it runs. See Deploy and environments.
Where an ontology lives
An ontology is a folder inontologies/ of a Tilde project, such as ontologies/crm/, with its spaces in ontologies/crm/spaces/. You write it in TypeScript with @trytilde/ontology. ontology.ts default-exports ontology({ ... }), which lists the objects, views, reads, actions, pipelines, connections, and policies. The ontology walks through a complete one.
Foundry runs only on Tilde Cloud. tilde deploy builds them on your machine or in CI, and Tilde Cloud deploys what it uploads. See Deploy and environments.
Next steps
Create your first project
Build, deploy, and connect an ontology, a space, and an agent.
Sources and models
Bring data in, and shape it with SQL.