<span aria-hidden="true" id="ai-agents"></span>

# AI Agents

AI coding agents such as Claude Code, OpenAI Codex, and Cursor can connect to Transloadit and use93 current Robots to upload, encode, and transform files. Agents can combine the MCP server for runtime tool access, reusable Agent Skills for human-directed workflows, and llms.txt for documentation context. The CLI provides a separate automation path for humans and CI.

<span aria-hidden="true" id="start-from-your-project"></span>

## Start from your project

Paste this prompt into your coding agent from the project root. It makes the agent inspect your stack before choosing an SDK, MCP, or skills, and keeps the first change reviewable:

```plaintext
Set up the smallest safe Transloadit integration for this repository.

1. Inspect the project’s language, runtime, package manager, existing upload/media code, tests,
   and agent configuration before changing files.
2. Choose the narrowest integration that fits: an official SDK for application code, MCP for
   agent-executed runtime tools, and Agent Skills for repeatable workflow guidance. Reuse an
   existing integration when one is already present.
3. Before editing, summarize what you found, which path you chose, and the files and commands you
   expect to change.
4. Use the project’s existing package manager. Match credentials to the execution boundary. Use
   TRANSLOADIT_KEY and TRANSLOADIT_SECRET only in a trusted server, CLI, CI, or self-hosted MCP
   process. Never expose TRANSLOADIT_SECRET to browser, mobile, or other client code; use a public
   Auth Key plus a Template ID and, when required, a signature from a trusted backend. Never
   hardcode, print, commit, or overwrite credentials. If required credentials are unavailable,
   scaffold placeholders and stop before any live request.
5. Create one minimal, typed workflow and validate its Assembly Instructions. Prefer an existing
   small media fixture. Do not create an account, change a plan, or modify production Templates.
6. Run the repository’s checks. If credentials and a suitable fixture are available and a live
   test is authorized, run one Assembly, wait for completion, and report its Assembly ID, status,
   and result URL. Otherwise, report the exact command the maintainer can run.
7. Summarize every changed file, verification result, and any remaining manual step.

```

The expected outcome is a small repository change, not merely a generated code sample. Review the agent’s proposed credential boundary before allowing a live Assembly.

<span aria-hidden="true" id="what-the-agent-should-select"></span>

### What the agent should select

|Project signal|Starting point|
|-|-|
|Node.js, Python, Ruby, PHP, Go, Java, Android, or iOS application|The matching [official SDK](/docs/sdks.md)|
|Agent needs to lint instructions, inspect docs, or execute Assemblies|[MCP server](/docs/sdks/mcp-server.md)|
|Team wants a reusable, version-controlled workflow|[Agent Skills](#agent-skills)|
|No runtime integration is needed yet|[llms.txt](#llmstxt) and Markdown documentation pages|

<span aria-hidden="true" id="mcp-server"></span>

## MCP server

The [Model Context Protocol⁠](https://modelcontextprotocol.io/) (MCP) gives agents direct runtime access to Transloadit tools.

![Demo: encoding videos to HLS adaptive streaming through the Transloadit MCP Server in Claude](/_next/static/immutable/media/mcp-demo.1e8l8cci5ler0.gif)

For most teams, the recommended starting point is self-hosted MCP via stdio:

```bash
TRANSLOADIT_KEY=MY_AUTH_KEY TRANSLOADIT_SECRET=MY_SECRET_KEY npx -y @transloadit/mcp-server stdio

```

If you cannot run `npx` in your environment, use the hosted endpoint`https://api2.transloadit.com/mcp` with `Authorization: Bearer <token>`.

Generate the token in another trusted environment (for example your backend, CI, or local shell), then pass it to your agent runtime:

```bash
npx -y @transloadit/node auth token --aud mcp

```

You can also mint tokens via [POST /token](/docs/api/token-post.md) or the[Node.js SDK](/docs/sdks/node-sdk.md).

For client config examples (Claude, Cursor, VS Code/Copilot), auth details, tool docs, limits, and hosted vs self-hosted behavior, see the [MCP Server SDK page](/docs/sdks/mcp-server.md).

<span aria-hidden="true" id="automation-paths"></span>

## Automation paths

Transloadit agent tooling is useful beyond chat-based coding agents. It gives teams a few practical ways to run the same media workflow from local scripts, CI jobs, operations consoles, and autonomous agents:

* **CLI:** use `@transloadit/node` when a human or CI job needs a repeatable command to create an Assembly, wait for completion, and collect results.
* **MCP:** expose a narrow Transloadit tool surface to embedded or hosted agents that should not get shell access. The agent can inspect Robot docs, lint Assembly Instructions, create Assemblies, and follow status updates through the MCP server.
* **Agent Skills:** keep team-specific media workflow playbooks in version control for agents that already have useful tools, such as terminal access, MCP, the CLI, or SDKs. Skills tell the agent which Templates, verification steps, and fallbacks to use, but do not grant new capabilities by themselves.
* **llms.txt:** give any LLM a current map of Transloadit products, solutions, integrations, developer resources, and learning content before it proposes an Assembly.

For production automation, keep credentials in your trusted environment and let agents call a self-hosted MCP server or your own backend. Hosted MCP is convenient when the agent runtime cannot start local processes, while the CLI remains the simplest option for deterministic jobs in CI.

<span aria-hidden="true" id="agent-skills"></span>

## Agent Skills

[Agent Skills⁠](https://agentskills.io/) are markdown files (`SKILL.md`) that teach agents how to accomplish tasks step by step.

![Demo: encoding videos to HLS adaptive streaming through Transloadit Agent Skills in Claude](/_next/static/immutable/media/skills-demo.04qtmeb0ifv2b.gif)

In practical terms, an MCP server is an API surface an agent can call at runtime (via a local or hosted MCP process), while skills are version-controlled playbooks that tell an agent what to do, in what order, and how to verify it. Skills do not add new tool access by themselves. They codify how you want the agent to use the tools available in your environment (MCP, CLI, SDKs) in a consistent way.

* Use **MCP** for embedded, repeatable execution (uploads, Assemblies, polling, results).
* Use **skills** as reusable, human-directed playbooks for tasks such as setup, scaffolding, templates, and migrations.

They also complement each other. A skill can standardize a workflow and then instruct the agent to use MCP (or a local CLI fallback) for the actual execution.

<span aria-hidden="true" id="install-with-the-skills-cli"></span>

### Install with the Skills CLI

```bash
npx skills add transloadit/skills

```

This installs all 7 Transloadit skills into your project:

* **docs-transloadit-robots**: Offline lookup for Transloadit Robots and their parameter docs/examples via the `transloadit` CLI. Use to draft or validate `steps` JSON without guessing robot names/params.
* **integrate-asset-delivery-with-transloadit-smartcdn-in-nextjs**: Add Transloadit Smart CDN URL signing to a Next.js App Router project (server-side signing route + optional client demo page).
* **integrate-uppy-transloadit-s3-uploading-to-nextjs**: Add Uppy Dashboard + Transloadit uploads to a Next.js (App Router) app, with server-side signature generation and optional /s3/store export.
* **transform-encode-hls-video-with-transloadit**: One-off HLS encoding (local video -> HLS renditions + playlist) using Transloadit via the `transloadit` CLI. Prefer Builtin Templates (`builtin/encode-hls-video@latest`) and download outputs locally via `-o`.
* **transform-generate-image-with-transloadit**: One-off image generation (prompt -> image file) using Transloadit via the `transloadit` CLI. Prefer Builtin Templates (`builtin/generate-image@latest`) and download outputs locally via `-o`.
* **transform-remove-background-with-transloadit**: One-off background removal (local image -> transparent PNG) using Transloadit via the `transloadit` CLI. Use a minimal `/image/bgremove` steps JSON and download the result to an explicit `.png` path via `-o`.
* **transloadit**: Main entry-point skill for Transloadit. Route to the right `integrate-*`, `transform-*`, or `docs-*` skill, and prefer executing via `npx -y @transloadit/node ...` (CLI) for deterministic behavior.

<span aria-hidden="true" id="auto-discovery"></span>

### Auto-discovery

The skills catalog is also discoverable at[transloadit.com/.well-known/skills/index.json](/.well-known/skills/index.json), following the[Agent Skills Discovery RFC⁠](https://agentskills.io/specification). This means you can also install with:

```bash
npx skills add https://transloadit.com

```

<span aria-hidden="true" id="manual-installation"></span>

### Manual installation

Clone or symlink the [transloadit/skills⁠](https://github.com/transloadit/skills) repo into your agent's skills directory:

|Agent|Path|
|-|-|
|Claude Code|.claude/skills/|
|OpenAI Codex|.codex/skills/|
|Gemini CLI|.gemini/skills/|
|Cursor|.cursor/skills/|
|Windsurf|.codeium/windsurf/skills/|

<span aria-hidden="true" id="llmstxt"></span>

## llms.txt

Transloadit publishes an [llms.txt](/llms.txt) file, a compact, site-wide routing index following the[llms.txt standard⁠](https://llmstxt.org/). It covers products and services, solutions, integrations, media and task indexes, developer and learning resources, and support.

For Robot-specific discovery, use \</docs/robots/llms.txt>. The legacy[llms-full.txt](/llms-full.txt) compatibility file includes complete Robot parameter schemas inline, but it is large. Prefer `llms.txt` for discovery and fetch only the linked Markdown pages relevant to the task.

<span aria-hidden="true" id="which-approach-should-i-use"></span>

## Which approach should I use?

|Approach|Best for|Setup|
|-|-|-|
|**Self-hosted MCP**|Most teams, production automation, local dev|Run one command locally|
|**Hosted MCP**|Agent runtimes that cannot start local processes|Mint a token and configure the endpoint|
|**Agent Skills**|Reusable, human-directed Transloadit workflows|Install with one command|
|**llms.txt**|Giving any LLM broad Transloadit documentation context|Fetch the URL|

These approaches complement each other. Use self-hosted MCP for tool access in most setups, or hosted MCP when the agent runtime cannot start local processes. Install skills for workflow guidance, and point your LLM at llms.txt when it needs Transloadit documentation.
