Connect A Host Object

Host Integration

🎯 Goal

Run triage on a SupportTicket so it has an ai_session.

Connect Real Objects to AI Hub

AI Hub is designed to integrate with your domain models. The support_demo app shows this pattern with support tickets.

Steps

  1. Open Admin → Support Demo → Support tickets
  2. Select a ticket and use the Run AI triage action
  3. Refresh and check that the ticket now shows an AI session link
  4. Click the session link to see the full execution audit trail

The adapter pattern

The support_demo/services/ai_hub_adapter.py file shows the clean integration: - Create an ExecutionSession with domain data as initial_context - Run the session - Read the final_context to extract structured output - Save the output back to domain models

🔐 Log in to check your mission progress.