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

> ## Agent Instructions
> fal has two developer products. Model APIs run hosted models through an API key. fal Serverless deploys your own Python apps and models on fal GPUs.
> To call a hosted model, start with the [Quick Start](https://fal.ai/docs/documentation/quickstart.md) and the [Model APIs overview](https://fal.ai/docs/documentation/model-apis/overview.md).
> To deploy your own model with fal Serverless, start with these pages:
> - [Introduction to Serverless](https://fal.ai/docs/documentation/serverless/index.md): What fal Serverless is and the three ways to deploy on it.
> - [Installation & Setup](https://fal.ai/docs/documentation/development/getting-started/installation.md): Install the fal CLI with `pip install fal` and authenticate.
> - [Quick Start](https://fal.ai/docs/documentation/development/getting-started/quick-start.md): Build a Hello World app, test it with `fal run`, and ship it with `fal deploy`.
> - [App Lifecycle](https://fal.ai/docs/documentation/development/app-lifecycle.md): How a `fal.App` goes from code to running runners.
> - [Define Your Endpoints](https://fal.ai/docs/documentation/development/endpoints-overview.md): Structure the API endpoints that your app exposes.
> - [Deploy to Production](https://fal.ai/docs/documentation/deployment/deploy-to-production.md): Persistent URLs, authentication modes, and automatic scaling.
> - [Machine Types](https://fal.ai/docs/documentation/deployment/machine-types.md): Available GPU and CPU machine types and how to choose one.
> - [Pricing](https://fal.ai/docs/documentation/serverless/pricing.md): Per-second billing and the runner states that are billed.
> - [Scaling Parameter Reference](https://fal.ai/docs/documentation/deployment/scale-your-application.md): Parameters that control runners, concurrency, and scale to zero.
> - [Optimizing Cold Starts](https://fal.ai/docs/documentation/serverless/optimizations/optimize-cold-starts.md): Causes of cold starts and ways to make them shorter.
> - [Examples](https://fal.ai/docs/examples/index.md): Complete Serverless apps for image, video, audio, 3D, realtime, and multi-GPU workloads.
> - [Migrating to fal](https://fal.ai/docs/documentation/development/migrating-to-fal.md): Guides to move an existing Docker server or an app from another platform to fal.
> fal Serverless deploys need access that the fal team approves for each account. Request access at https://fal.ai/dashboard/serverless-get-started.

# Use the docs with coding agents

> Give a coding agent the exact guides and references needed to build an Agent SDK integration.

Start with the [quickstart](https://fal.ai/docs/documentation/agent/sdk/quickstart.md), [method reference](https://fal.ai/docs/documentation/agent/sdk/methods.md), and [type reference](https://fal.ai/docs/documentation/agent/sdk/types.md).
Give your coding agent the installed package version and the guide for the task you want to implement.

## Find the right page

| Task | Read |
| - | - |
| Configure the client | [Configuration](https://fal.ai/docs/documentation/agent/sdk/configuration.md). |
| Create, stream, recover, or cancel a task | [Responses and recovery](https://fal.ai/docs/documentation/agent/sdk/responses.md). |
| Answer questions or approvals | [Questions and approvals](https://fal.ai/docs/documentation/agent/sdk/inputs.md). |
| Edit or execute a plan | [Plans](https://fal.ai/docs/documentation/agent/sdk/plans.md). |
| Read artifacts or costs | [Media and costs](https://fal.ai/docs/documentation/agent/sdk/media.md). |
| Read conversation history | [Conversations](https://fal.ai/docs/documentation/agent/sdk/resources.md). |
| Manage projects, documents, or memory | [Projects](https://fal.ai/docs/documentation/agent/sdk/projects.md). |
| Choose models or defaults | [Models and settings](https://fal.ai/docs/documentation/agent/sdk/settings.md). |
| Manage queued work or generation attempts | [Queues and runs](https://fal.ai/docs/documentation/agent/sdk/queue.md). |
| Manage assets, collections, or smart entities | [Library](https://fal.ai/docs/documentation/agent/sdk/library.md). |
| Manage skills or read tool activity | [Skills](https://fal.ai/docs/documentation/agent/sdk/skills.md) and [activity](https://fal.ai/docs/documentation/agent/sdk/activity.md). |
| Diagnose a failure | [Errors](https://fal.ai/docs/documentation/agent/sdk/errors.md). |

Use the page's **Copy page** action to copy Markdown.
Mintlify also serves Markdown page exports and a documentation index at `llms.txt`.
Use the index from the same documentation host as the page you are reading.
