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, and this page is available as Markdown at https://jig.md/build/index.md.
DocumentationGuidePrerelease

#Build with Jig

View Markdown

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, then call it from your application. These tutorials establish the review-and-run loop used throughout this section.

#Add and compose methods

TaskGuide
Choose an API or native client and write a support-reply methodAdd an Agent
Call another Flow and handle its complete resultCompose methods
Write instructions or adapt a SkillMarkdown methods
Customize Agent instructions, Skills, or reply shapesReuse the Agent method
Use libraries and locked dependenciesPrepare dependencies
Generate contracts and editor types from TypeSpecAuthor contracts

Portable method authoring belongs to FLOW. Jig adds reviewed local configuration, powers, and execution around those methods.

#Work with data and effects

TaskGuide
Read captured inputs and deliver artifactsWork with files
Make authorized requests without exposing credentialsDelegate HTTP access
Report progress and render application viewsShow live progress
Interpret outcomes and inspect retained evidenceResults
Diagnose failures and recover safelyTroubleshooting

#Continue Agent work

Start with a two-turn conversation. Use conversation control when work needs interruption or direct channel composition. Handoff transfers application-approved context to a fresh conversation. Restoration uses qualified native retained state. These mechanisms have different authority and lifetime limits.

#Keep the application understandable

Project design explains component boundaries and meaningful configuration. Working together assigns source, policy, and operator responsibilities. Workflow structure helps you choose code, Agent judgment, and coordination for the task.

Try a complete example to see these choices together.