Skip to content

Project Framework

Once your first request works, the next problem is not API syntax. It is where the code and prompt assets should live.

  • settings/: model settings and environment-specific config
  • prompts/: YAML or JSON prompt assets
  • services/: request-side business services
  • workflow/: TriggerFlow orchestration and runtime wiring
  • tools/: tool definitions and MCP registration
  • tests/: request-level and workflow-level verification

Why this split

  • prompts should not be buried inside business logic
  • workflow code should stay separate from one-request service code
  • tools and MCP integration should remain explicit and reusable

Next