> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.credal.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.credal.com/_mcp/server.

# Agent

GraphQL object

Reference: https://docs.credal.com/api-reference/types/objects/agent

## Fields

- `id`
- `dateCreated`
- `actorPermissions`
- `organization` — The organization the agent belongs to.
- `owner` — The user who created the agent.
- `name` — Human-facing label for the agent.
- `description` — Human-facing summary of what the agent is for.
- `systemPrompt` — The agent's system prompt.
- `triggers` — Automatic systems which run the agent.
- `outputServers` — The output servers available to the agent.

## Definition

```graphql
type Agent {
  id: String!
  dateCreated: DateTime!
  actorPermissions: ActorPermissions!
  organization: OrganizationOrError!
  owner: UserOrError!
  name: String
  description: String
  systemPrompt: String
  triggers: [AgentTrigger!]!
  outputServers: [OutputServer!]!
}
```