* This page is part of the Union.ai v2 docs.
* Full index: https://www.union.ai/docs/v2/union/llms.txt
* Union.ai is a commercial superset of the open-source Flyte project and uses the same `flyte` SDK and CLI, so questions about Flyte are usually answered here too.
* Only refer to the open-source Flyte docs if you are explicitly looking for information about the open-source Flyte project, particularly the open-source Flyte backend. The open-source Flyte v2 docs are at https://www.union.ai/docs/v2/flyte/llms.txt
* These are the v2 docs. v1 is out of date and deprecated. Only refer to v1 docs if asked explicitly about v1. The v1 index is at https://www.union.ai/docs/v1/union/llms.txt

# Reference

This section provides the reference material for the Flyte SDK and CLI.

To get started, add `flyte` to your project

```shell
$ uv pip install --no-cache --upgrade flyte
```

This will install both the Flyte SDK and CLI.

### [Flyte SDK](https://www.union.ai/docs/v2/union/api-reference/flyte-sdk.md)

The Flyte SDK provides the core Python API for building workflows and apps on your Union instance.

### [Flyte CLI](https://www.union.ai/docs/v2/union/api-reference/flyte-cli.md)

The Flyte CLI is the command-line interface for interacting with your Union instance.

### [Flyte agent plugins](https://www.union.ai/docs/v2/union/api-reference/agent-plugins.md)

A portable agent-harness plugin — skills and MCP servers for authoring, migrating, and deploying Flyte with an AI agent.

Migrating from Flyte 1? See [Migration from Flyte 1](https://www.union.ai/docs/v2/union/user-guide/migration/flyte-2/overview.md) in the User Guide.

## Subpages

- [Flyte CLI](https://www.union.ai/docs/v2/union/api-reference/flyte-cli.md)
  - Union-specific functionality {#plugin-commands}
  - flyte
  - flyte abort
  - flyte build
  - flyte create
  - flyte debug
  - flyte delete
  - flyte deploy
  - flyte edit
  - flyte explore
  - flyte factory
  - flyte forget
  - flyte fork
  - flyte gen
  - flyte get
  - flyte mount
  - flyte prefetch
  - flyte proxy
  - flyte rerun
  - flyte run
  - flyte serve
  - flyte signal
  - flyte start
  - flyte status
  - flyte stop
  - flyte undelete
  - flyte unmount
  - flyte update
  - flyte warmup
  - flyte whoami
- [Flyte SDK](https://www.union.ai/docs/v2/union/api-reference/flyte-sdk.md) - Flyte SDK for authoring compound AI applications, services and workflows.
  - Directory
  - Classes
  - Protocols
  - Functions
  - Packages
- [Flyte agent plugins](https://www.union.ai/docs/v2/union/api-reference/agent-plugins.md)
  - Compatibility
  - Install Flyte Skills
  - ChatGPT
  - Install MCP Servers
  - Skills
  - SDK & workflow authoring
  - Migration (Flyte 1 → Flyte 2)
  - Migration (Slurm → Flyte 2)
  - Deployment
  - MCP servers
  - How skills and MCP servers work together
  - What each one does with your data
  - A cluster is optional
  - Adding MCP servers locally
  - Claude Code
  - ChatGPT desktop / Codex CLI
  - Hermes
  - OpenCode
  - Pi
  - Claude Code
  - ChatGPT desktop / Codex CLI
  - Hermes
  - OpenCode
  - Pi
  - Changing what is served
- [Union plugin](https://www.union.ai/docs/v2/union/api-reference/union-plugin.md) - Union SDK - Proprietary extensions for Flyte.
  - Directory
  - Classes
  - Functions
  - Packages
- [Integrations](https://www.union.ai/docs/v2/union/api-reference/integrations.md)
- [Uctl CLI](https://www.union.ai/docs/v2/union/api-reference/uctl-cli.md)
  - Which CLI do I use?
  - Installation
  - macOS
  - Linux
  - Windows
  - Configuration
  - Commands
  - Self-managed dataplane provisioning
  - Cluster node pools
  - Domains
- [LLM-optimized documentation](https://www.union.ai/docs/v2/union/api-reference/flyte-context.md) - How AI agents and coding tools read these docs as Markdown. Append .md to any page URL for that page, use llms.txt as the index of every page, or take the whole site as llms-full.txt. Every page also has a menu that opens it in Claude or ChatGPT.
  - Open a page in Claude or ChatGPT
  - One page as Markdown
  - An index of every page (`llms.txt`)
  - The entire site in one file (`llms-full.txt`)

---
**Source**: https://github.com/unionai/unionai-docs/blob/main/content/api-reference/_index.md
**HTML**: https://www.union.ai/docs/v2/union/api-reference/
