Skip to content

Runtime How-To

Task-focused guides for common Runtime operations.

These guides show you how to accomplish specific tasks with the PromptKit Runtime. Each guide focuses on a single goal with practical, working code.

New to Runtime? Start with:

  1. Configure Pipeline - Set up basic execution
  2. Setup Providers - Connect to LLM providers
  3. Handle Errors - Robust error handling
TaskGuideTime
Set up basic pipelineConfigure Pipeline5 min
Connect to OpenAI/ClaudeSetup Providers5 min
Add MCP toolsIntegrate MCP10 min
Track costsMonitor Costs5 min
Monitor with PrometheusPrometheus Metrics10 min
Handle errorsHandle Errors10 min
Stream responsesStreaming Responses10 min
Persist conversationsManage State15 min

All guides include:

  • ✅ Complete working code
  • ✅ Step-by-step instructions
  • ✅ Common pitfalls and solutions
  • ✅ Best practices
  • ✅ Related reference documentation