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

# Building Agents

> Build, trigger, and govern production AI agents connected to your company data and tools

## Teams get AI agents, IT gets oversight

Anyone at your company can build production AI agents with any AI model and any integration, while IT controls access. Agents connect to your real business systems, run automatically on events or schedules, and escalate to humans when an action needs approval, all under centralized IT governance.

## How agents work

### 1. Describe the work in plain language

Describe what you want to automate in the Prod AI web app. Prod AI uses an org-approved coding agent to configure the automation's model, skills, instructions, and connected tools, so you can test and iterate quickly without wiring boilerplate by hand.

```text theme={null}
"Watch #support-escalations in Slack. Look up the customer in Postgres,
check open Jira issues, draft a response, and queue any refund over $100
for manager approval."
```

### 2. Trigger agents automatically

Tell agents what to watch for so work runs without manual intervention:

* **Schedules:** Run recurring reports, syncs, or health checks on a cron schedule.
* **Slack:** Respond to messages, mentions, or slash commands directly in channels.
* **Webhooks and APIs:** React to HTTP requests from internal services or SaaS tools.
* **Business system events:** Act on changes in your CRM, ticketing system, or database.

### 3. Combine reusable skills and connected tools

Give agents the context and capabilities they need to complete real work:

* **Skills:** Package repeatable instructions and playbooks that multiple agents can reuse.
* **Connected tools:** Reach any database, API, SaaS app, or MCP server through the [Prod AI Integrations Gateway](https://docs.prod.ai/integrations/overview.md) with centralized auth and auditing.
* **Built-in capabilities:** Run code execution, search the web, and read or write shared [Prod AI Databases](https://docs.prod.ai/admin/prod-ai-on-aws/database.md) (for example, escalating sensitive decisions to a human-in-the-loop approval queue in an internal app).

### 4. Share with your team

Share agents across teams in a multiplayer workspace so colleagues can run, review, and collaborate on them safely. Control who can view, edit, or invoke each agent with [RBAC](https://docs.prod.ai/admin/org-administration/rbac.md), and add approval gates before an agent performs sensitive actions like issuing refunds or modifying production records.

### 5. Govern and observe every run

IT sets policies once, and every agent inherits them:

* **Approved models and budgets:** Choose approved AI models and enforce [cost alerts and limits](https://docs.prod.ai/admin/spend-management.md) per agent, team, or user.
* **Data access and approval policies:** Govern tool access, [secrets](https://docs.prod.ai/admin/secrets-management/overview.md), and approval gates centrally so agents never hold raw credentials.
* **Isolated runtimes:** Execute agents on isolated, IT-approved compute under **Infrastructure Policies**, with network controls and MicroVM isolation.
* **Full observability:** Inspect every step, prompt, tool call, and output in [audit logs](https://docs.prod.ai/admin/audit-logs.md) and stream traces to your observability stack so teams can debug issues and tune prompts, tools, and model choice.

## Example use cases

* **Support ticket triage and routing:** Classify incoming tickets, enrich customer context from your database, assign an owner, and alert the right Slack channel.
* **CRM updates from calls and Slack:** Extract account details from call notes or Slack threads, update Salesforce or HubSpot records, and log follow-ups.
* **Scheduled data and ops reports:** Query warehouse metrics every morning, summarize anomalies, and post a concise briefing to Slack.
* **Approval escalations:** Prepare account changes or refund actions, route them to a human review queue in a Prod AI app, and execute after approval.

## Related

* [Building Apps](https://docs.prod.ai/coding-agents/apps.md)
* [Introduction to Prod AI](https://docs.prod.ai/getting-started/what-is-prod-ai.md)
* [Integrations](https://docs.prod.ai/integrations/overview.md)
* [RBAC](https://docs.prod.ai/admin/org-administration/rbac.md)
* [Spend management](https://docs.prod.ai/admin/spend-management.md)
* [Audit logs](https://docs.prod.ai/admin/audit-logs.md)


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