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

# Build with Jig

Build an application from methods with clear inputs, results, and responsibilities.
Keep domain decisions in your application and give each method only the powers it needs.

Complete [your first run](https://jig.md/start/index.md), then [call it from your application](https://jig.md/start/application.md).
These tutorials establish the review-and-run loop used throughout this section.

## Add and compose methods

| Task                                                            | Guide                                                          |
| --------------------------------------------------------------- | -------------------------------------------------------------- |
| Choose an API or native client and write a support-reply method | [Add an Agent](https://jig.md/build/agents.md)                 |
| Call another Flow and handle its complete result                | [Compose methods](https://jig.md/build/compose.md)             |
| Write instructions or adapt a Skill                             | [Markdown methods](https://jig.md/build/markdown.md)           |
| Customize Agent instructions, Skills, or reply shapes           | [Reuse the Agent method](https://jig.md/build/agent-method.md) |
| Use libraries and locked dependencies                           | [Prepare dependencies](https://jig.md/build/dependencies.md)   |
| Generate contracts and editor types from TypeSpec               | [Author contracts](https://jig.md/build/contracts.md)          |

Portable method authoring belongs to [FLOW](https://flow.jig.md/).
Jig adds reviewed local configuration, powers, and execution around those methods.

## Work with data and effects

| Task                                                  | Guide                                                          |
| ----------------------------------------------------- | -------------------------------------------------------------- |
| Read captured inputs and deliver artifacts            | [Work with files](https://jig.md/build/files.md)               |
| Make authorized requests without exposing credentials | [Delegate HTTP access](https://jig.md/build/http.md)           |
| Report progress and render application views          | [Show live progress](https://jig.md/build/channels.md)         |
| Interpret outcomes and inspect retained evidence      | [Results](https://jig.md/build/results.md)                     |
| Diagnose failures and recover safely                  | [Troubleshooting](https://jig.md/reference/troubleshooting.md) |

## Continue Agent work

Start with [a two-turn conversation](https://jig.md/build/conversations.md).
Use [conversation control](https://jig.md/build/conversation-control.md) when work needs interruption or direct channel composition.
[Handoff](https://jig.md/build/conversation-handoff.md) transfers application-approved context to a fresh conversation.
[Restoration](https://jig.md/build/conversation-restoration.md) uses qualified native retained state.
These mechanisms have different authority and lifetime limits.

## Keep the application understandable

[Project design](https://jig.md/build/design.md) explains component boundaries and meaningful configuration.
[Working together](https://jig.md/build/teams.md) assigns source, policy, and operator responsibilities.
[Workflow structure](https://jig.md/understand/workflows.md) helps you choose code, Agent judgment, and coordination for the task.

Try a [complete example](https://jig.md/examples/index.md) to see these choices together.
