> For AI agents: the complete documentation index is available at https://flow.jig.md/llms.txt, the full documentation bundle is available at https://flow.jig.md/llms-full.txt.

# Build with Flows

Start with a procedure whose input and useful result you can explain.
Package it so an application or another method can call it.
Choose the implementation that fits the work and your host.

## Choose a starting point

| You have…                             | Start here                                                                           |
| ------------------------------------- | ------------------------------------------------------------------------------------ |
| Useful instructions in a Skill        | [Bring a Skill](https://flow.jig.md/build/skills.md).                                |
| A procedure best expressed in prompts | [Write a Flow in Markdown](https://flow.jig.md/build/markdown.md).                   |
| TypeScript or JavaScript code         | [Write a Flow in TypeScript or JavaScript](https://flow.jig.md/build/typescript.md). |
| Python code                           | [Write a Flow in Python](https://flow.jig.md/build/python.md).                       |
| A method ready to use                 | [Call it from your application](https://flow.jig.md/start/application.md).           |

Check [host and runtime support](https://flow.jig.md/reference/support.md) before choosing a format.
Every package has one `FLOW.<ext>` implementation.
The host supplies the runtime and local powers needed to execute it.

## Build further

| Task                                                                   | What it adds                                                               |
| ---------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| [Compose methods](https://flow.jig.md/build/compose.md)                | Give another method a defined job through a declared dependency.           |
| [Handle outcomes and failures](https://flow.jig.md/build/outcomes.md)  | Distinguish a useful answer, a request for review, and an execution error. |
| [Validate inputs and results](https://flow.jig.md/build/validation.md) | Check the values crossing the method boundary.                             |
| [Exchange messages](https://flow.jig.md/build/messages.md)             | Observe progress or exchange structured values while work runs.            |
| [Design reusable Flows](https://flow.jig.md/build/design.md)           | Choose clear names and the smallest meaningful capabilities.               |

The tutorials use a request classifier as an illustrative example.
Its queues and review policy belong to that example.
