# 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/latest/flyte/api-reference/flyte-sdk/page.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/latest/flyte/api-reference/flyte-cli/page.md)

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

### [Flyte agent plugins](https://www.union.ai/docs/latest/flyte/api-reference/agent-plugins/page.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/latest/flyte/user-guide/migration/flyte-2/overview/page.md) in the User Guide.

## Subpages

- [LLM-optimized documentation](https://www.union.ai/docs/latest/flyte/api-reference/flyte-context/page.md)
  - Per-page markdown (`page.md`)
  - Section bundles (`section.md`)
  - Page index (`llms.txt`)
  - Full documentation (`llms-full.txt`)
- [Flyte CLI](https://www.union.ai/docs/latest/flyte/api-reference/flyte-cli/page.md)
  - flyte
  - flyte abort
  - flyte build
  - flyte create
  - flyte delete
  - flyte deploy
  - flyte edit
  - flyte gen
  - flyte get
  - flyte prefetch
  - flyte rerun
  - flyte run
  - flyte serve
  - flyte signal
  - flyte start
  - flyte stop
  - flyte update
  - flyte whoami
- [Flyte SDK](https://www.union.ai/docs/latest/flyte/api-reference/flyte-sdk/page.md)
  - Directory
  - Classes
  - Protocols
  - Functions
  - Packages
- [Flyte agent plugins](https://www.union.ai/docs/latest/flyte/api-reference/agent-plugins/page.md)
  - Compatibility
  - Installation
  - Skills
  - SDK & workflow authoring
  - Migration (Flyte 1 → Flyte 2)
  - Deployment
  - MCP servers
- [Integrations](https://www.union.ai/docs/latest/flyte/api-reference/integrations/page.md)

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