> ## Documentation Index
> Fetch the complete documentation index at: https://trytilde.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Create your first project

> A Tilde project is one Git repository that holds your ontology, your spaces, and your agents. Learn its layout, and which command deploys each part.

A Tilde project is one Git repository that holds everything for one solution: the data model your agents work on, the apps people use, and the agents themselves. You change any part in a pull request, and deploy it from CI.

Use a project when your agents act on business data, and people need to see and approve what they do. If you only need an agent, start with [Anatomy of an agent](https://trytilde.ai/docs/anatomy-of-an-agent.md) instead.

This group builds one small example, a `helpdesk` project with customers, a space to view them, and a support agent that reads and updates them.

## The layout

```text theme={"system"}
helpdesk/
  tilde.toml                  the project's name
  ontology/                   the data model: sources, models, objects, reads, actions, policies
    package.json
    ontology.ts
    customers.ts
    handlers.ts
    policies.ts
  spaces/                     apps people open in Live, one folder each
    package.json
    customers/index.tsx
  agents/
    support/                  one folder per agent
      package.json
      src/index.ts            connects to Tilde
      src/agent.ts            your framework code
      prompts/instructions.md
      skills/account-notes/SKILL.md
```

Each part is its own npm project with its own `package.json`. Only `tilde.toml` must be at the root.

| Part | What it is | Deployed with |
| - | - | - |
| `tilde.toml` | Names the project. | Read by `tilde ontology deploy`. |
| `ontology/` | Typed objects, reads, and actions over your data, and the Cedar policies that decide every call. | `tilde ontology deploy` |
| `spaces/` | React apps fed only by the ontology. | `tilde ontology deploy`, with the ontology |
| `agents/<name>/` | Agent code, with its prompts and skills. | `tilde deploy`, once per agent |

> [!NOTE]
>
> The ontology and spaces are part of Tilde Cloud. Agents run in every edition.

## `tilde.toml`

`tilde.toml` names the project. The name must match the ontology project you create in Tilde.

```toml tilde.toml theme={"system"}
name = "helpdesk"
```

`tilde ontology` commands look for `tilde.toml` in the directory you run them from. The project can sit below the repository root, for example in a monorepo.

## What you need

* A Tilde Cloud organization.
* The `tilde` CLI, and Git.
* Node.js 20 or later.

## The steps

**1. Model your data**

Write the ontology: a source, a model, an object, two reads, an action, and policies. See [The ontology](https://trytilde.ai/docs/project/ontology.md).

**2. Add a space**

Build a page that lists customers and logs a call. See [Spaces](https://trytilde.ai/docs/project/spaces.md).

**3. Add an agent**

Write a support agent with a prompt and a skill. See [Agents](https://trytilde.ai/docs/project/agents.md).

**4. Deploy**

Deploy the ontology and spaces, register the agent, and give it the ontology's tools. See [Deploy the project](https://trytilde.ai/docs/project/deploy.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.