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

# DinoAiAgentDefinition

> A DinoAI agent a workspace can run, by its slug.



**Kind**: `object`

## Fields

**`slug`**: `String!`

The agent's reference key: immutable, unique among the workspace's agents.

---

**`name`**: `String!`

The agent's display name.

---

**`source`**: `DinoAiAgentSource`

Where the definition comes from.

---

**`version`**: `Int`

The definition format version.

---

**`role`**: `String`

Who the agent is.

---

**`goal`**: `String`

What the agent works towards.

---

**`backstory`**: `String`

The context the agent works with.

---

**`model`**: `DinoAiAgentModel`

The model tier; null for the default.

---

**`modelFamily`**: `String`

The model family; null for the default.

---

**`fallback`**: `DinoAiAgentFallback`

Model fallbacks; null when another model may answer.

---

**`environment`**: `Environment`

The agent environment the agent runs in; null when it names none, so it runs in the default agent environment, or when that environment no longer exists. Needs `environments:read`.

---

**`tools`**: `DinoAiAgentToolGate`

Which Paradime tools the agent may call.

---

**`mcpTools`**: `DinoAiAgentToolGate`

Which MCP server tools the agent may call.

---

**`slack`**: `DinoAiAgentSlack`

Where the agent posts in Slack.

---

**`msTeams`**: `DinoAiAgentMsTeams`

Where the agent posts in Microsoft Teams.

---

**`jira`**: `DinoAiAgentJira`

How the agent files Jira issues.

---

**`gitWrites`**: `DinoAiAgentGitWrites`

What the agent may do to pull requests.

---

**`agentsSquad`**: `DinoAiAgentDefinitionConnection`

The agents this one may delegate to, ordered by slug. An agent its squad names that no longer exists is left out. Set them with `setDinoAiAgentGraph`. Needs `dinoai:admin:read`.

**Arguments:**

- `first`: `Int` = 100 — How many to return: 100 by default, at most 500. 0 returns only `totalCount`.
- `after`: `String` — The `endCursor` of the previous page.

---

**`slackBotName`**: `String`

The name the agent's Slack messages show.

---

**`slackBotIconUrl`**: `String`

The icon the agent's Slack messages show.

---

**`gitPath`**: `String`

The file a sync from code imported it from.

---

**`gitCommitSha`**: `String`

The commit a sync from code imported it from.

---

**`syncedAt`**: `DateTime`

When a sync from code last imported it.

---

**`createdAt`**: `DateTime`

When the definition was created.

---

**`updatedAt`**: `DateTime`

When the definition last changed.



## Related topics

- [Administration API: DinoAI](https://docs.paradime.io/developers/graphql-api/admin-api/dinoai.md)
- [PR reviewer with the DinoAI GitHub Action](https://docs.paradime.io/guides/programmable-agents/github-action-pr-reviewer.md)
- [Automate with AI agents](https://docs.paradime.io/guides/programmable-agents/index.md)
- [DinoAI](https://docs.paradime.io/products/dino-ai/index.md)
- [Working with Sources](https://docs.paradime.io/guides/dbt-fundamentals/getting-started-with-dbt/working-with-sources.md)


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