{
  "instructions": "Post the `reply` text below exactly as written. It already contains the demo link.",
  "reply": "🫧 @bot your stack in bubbles: web · api · assistant. Checked service.json files, a CI-built repo, flisk up to run it. May be live for 2h.\n\nhttps://demo.flisk.sh/d/bot-agents-0b4fc3",
  "url": "https://demo.flisk.sh/d/bot-agents-0b4fc3",
  "id": "bot-agents-0b4fc3",
  "status": "ready",
  "plan": {
    "user": "bot",
    "stack": "agents",
    "detected": {
      "agent": [
        "ai"
      ]
    },
    "summary": "web · api · api-migrator · assistant",
    "integration": null,
    "env": [],
    "notes": [
      "No frontend framework named, so this uses React. Say vue, svelte or solid to switch."
    ],
    "services": [
      {
        "name": "web",
        "appType": "frontend",
        "port": 3000,
        "framework": "react",
        "dependsOn": [
          "api"
        ],
        "note": "react app",
        "file": "services/agents/web/service.json",
        "manifest": {
          "$schema": "https://flisk.sh/schema.service.json",
          "schemaVersion": 1,
          "appName": "web",
          "appType": "frontend",
          "stack": "agents",
          "port": 3000,
          "framework": "react",
          "dependsOn": [
            "api"
          ]
        }
      },
      {
        "name": "api",
        "appType": "backend",
        "port": 4000,
        "featuresEnabled": [
          "prisma"
        ],
        "healthCheckPath": "/health",
        "dependsOn": [
          "api-migrator"
        ],
        "note": "bun + hono API",
        "file": "services/agents/api/service.json",
        "manifest": {
          "$schema": "https://flisk.sh/schema.service.json",
          "schemaVersion": 1,
          "appName": "api",
          "appType": "backend",
          "stack": "agents",
          "port": 4000,
          "healthCheckPath": "/health",
          "dependsOn": [
            "api-migrator"
          ],
          "featuresEnabled": [
            "prisma"
          ]
        }
      },
      {
        "name": "api-migrator",
        "appType": "migrator",
        "scaffoldedBy": "api",
        "note": "runs Prisma migrations against the shared Postgres before the api starts",
        "file": "services/agents/api-migrator/service.json",
        "manifest": {
          "$schema": "https://flisk.sh/schema.service.json",
          "schemaVersion": 1,
          "appName": "api-migrator",
          "appType": "migrator",
          "stack": "agents"
        }
      },
      {
        "name": "assistant",
        "appType": "agent",
        "port": 4100,
        "note": "/health, /ready, x-session-id routing, checkpoints survive restarts",
        "file": "services/agents/assistant/service.json",
        "manifest": {
          "$schema": "https://flisk.sh/schema.service.json",
          "schemaVersion": 1,
          "appName": "assistant",
          "appType": "agent",
          "stack": "agents",
          "port": 4100
        }
      }
    ],
    "commands": [
      "npm install -g @flisk-sh/flisk",
      "flisk doctor",
      "flisk project --yes",
      "flisk resource web --type frontend --stack agents --framework react --yes",
      "flisk resource api --type backend --stack agents --feature prisma --yes",
      "flisk resource assistant --type agent --stack agents --yes",
      "flisk up agents",
      "flisk status"
    ]
  },
  "diagram": "web -> api -> postgres + assistant",
  "createdAt": 1792943836243,
  "readyAt": 1792943857770,
  "repo": "https://github.com/flisk-sh/demos/tree/demo/bot-agents-0b4fc3",
  "checks": [
    "flisk resource ×3",
    "flisk board",
    "flisk config verify",
    "flisk up --dry-run"
  ],
  "urls": [
    {
      "name": "web",
      "url": "http://app.agents-demo.localhost/web/health"
    },
    {
      "name": "api",
      "url": "http://api.agents-demo.localhost/api/api/health"
    },
    {
      "name": "assistant",
      "url": "http://api.agents-demo.localhost/api/assistant/health"
    }
  ],
  "liveNow": true,
  "live": {
    "tilt": "https://jacob-boundary-effort-anticipated.trycloudflare.com",
    "app": "https://gamma-ascii-developer-std.trycloudflare.com/web/",
    "until": 1792951200000
  }
}