> For the complete documentation index, see [llms.txt](https://docs.paradime.io/app-help/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.paradime.io/app-help/products/dino-ai/programmable-agents.md).

# Programmable Agents

Programmable Agents let you define named DinoAI agents as YAML files in your git repo and trigger them from either the **Paradime API** or a **Bolt schedule**. Each agent has a fixed role, goal, and set of tools — making it composable, version-controlled, and automatable.

#### How It Works

1. Commit one or more YAML files under `.dinoai/agents/` in your repo.
2. Trigger a run from one of:
   * The **Paradime API** — `triggerDinoaiAgentRun` GraphQL mutation. See API Reference.
   * A **Bolt schedule** — using the **Run Paradime DinoAI Agent** command type. See Running from Bolt.
3. The agent pod uses its configured tools to complete the task and posts results (e.g. to Slack).
4. Inspect messages live in the Bolt run logs, or poll the API for status and messages.

```mermaid
sequenceDiagram
    participant R as Your repo<br/>(.dinoai/agents/*.yml)
    participant B as Bolt schedule<br/>(optional)
    participant API as Paradime API
    participant P as Agent pod

    alt Triggered from Bolt
        B->>API: paradime dinoai --agent=… --message=…
    else Triggered from your code
        R->>API: triggerDinoaiAgentRun()
    end
    API->>P: Spawn agent pod
    P->>P: Uses tools, posts to Slack
    loop poll for status + messages
        API->>P: dinoaiAgentRun()
        P-->>API: status + messages
    end
    API-->>R: Run complete
```

### Pages in This Section

* [Quick Start](/app-help/products/dino-ai/programmable-agents/quick-start.md) — Define your first agent and trigger a run
* [YAML Configuration](/app-help/products/dino-ai/programmable-agents/yaml-configuration.md) — Full schema and field reference
* [Running from Bolt](/app-help/products/dino-ai/programmable-agents/triggering-from-bolt.md) — Trigger agents from a Bolt schedule (UI and YAML)
* [API Reference](/app-help/products/dino-ai/programmable-agents/api-reference.md) — GraphQL mutations and queries
* [Agent-to-Agent Delegation](/app-help/products/dino-ai/programmable-agents/agent-to-agent-delegation.md) — Spawn child agents and use the callback pattern
* [Tools Reference](/app-help/products/dino-ai/programmable-agents/tools-reference.md) — Full list of available tools
* [Examples](/app-help/guides-new/programmable-agents.md) — Ready-to-use agent definitions


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.paradime.io/app-help/products/dino-ai/programmable-agents.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
