IoP Cookbooks

These cookbooks are task-oriented prompts and checklists for building IoP applications with an AI coding assistant.

Before using a cookbook, give the assistant this context:

You are helping me build an IoP application.
Read AGENTS.md, settings.py, and the relevant cookbook before changing code.
Use the Python Production graph workflow for new applications.
Do not put component startup logic in __init__(); use on_init().
Show the migration and verification commands.

General Workflows

Healthcare Workflows

Expected Output

Generated code should usually include:

  • component and message code with clear names
  • a settings.py file with a Production object
  • PRODUCTIONS = [prod]
  • target() settings for configurable outbound routing
  • prod.connect(...) calls for graph edges
  • sample payloads or tests when behavior changes
  • migration and verification commands