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

# liate.json Schema

The `liate.json` file is the heart of a Liate agent. It entirely dictates how the Go binary executes, defining its identity, state persistence, LLM endpoints, and available skills.

```json liate.json theme={null}
{
  "name": "my-agent",
  "model": "sarvam-1",
  "memory": "sqlite",
  "skills": ["file-reader", "mcp-server:local"],
  "env": {
    "LIATE_API_KEY": "${LIATE_API_KEY}"
  }
}
```

## Schema Definition

<div className="overflow-x-auto my-6 border border-black/10 dark:border-white/10 rounded-xl bg-black/5 dark:bg-white/[0.02]">
  <table className="w-full text-left text-sm border-collapse">
    <thead className="bg-black/10 dark:bg-white/10 border-b border-black/10 dark:border-white/10">
      <tr>
        <th className="p-3 font-bold text-black dark:text-white">Field</th>
        <th className="p-3 font-bold text-black dark:text-white">Type</th>
        <th className="p-3 font-bold text-black dark:text-white">Description</th>
      </tr>
    </thead>

    <tbody className="divide-y divide-black/10 dark:divide-white/10">
      <tr>
        <td className="p-3 font-mono text-xs font-bold text-amber-500">name</td>
        <td className="p-3 font-mono text-xs text-black/60 dark:text-white/60">string</td>
        <td className="p-3 text-black/80 dark:text-white/80">Unique identifier for the agent instance</td>
      </tr>

      <tr>
        <td className="p-3 font-mono text-xs font-bold text-amber-500">model</td>
        <td className="p-3 font-mono text-xs text-black/60 dark:text-white/60">string</td>
        <td className="p-3 text-black/80 dark:text-white/80">Primary model identifier (e.g. sarvam-1, llama-3-8b-instruct)</td>
      </tr>

      <tr>
        <td className="p-3 font-mono text-xs font-bold text-amber-500">memory</td>
        <td className="p-3 font-mono text-xs text-black/60 dark:text-white/60">enum</td>
        <td className="p-3 text-black/80 dark:text-white/80">Memory backend: <code className="px-1.5 py-0.5 rounded bg-black/10 dark:bg-white/10">sqlite</code>, <code className="px-1.5 py-0.5 rounded bg-black/10 dark:bg-white/10">in-memory</code>, <code className="px-1.5 py-0.5 rounded bg-black/10 dark:bg-white/10">postgres</code></td>
      </tr>

      <tr>
        <td className="p-3 font-mono text-xs font-bold text-amber-500">skills</td>
        <td className="p-3 font-mono text-xs text-black/60 dark:text-white/60">array</td>
        <td className="p-3 text-black/80 dark:text-white/80">Array of built-in skills or MCP endpoints</td>
      </tr>
    </tbody>
  </table>
</div>
