{
  "instructions": "Post the `reply` text below exactly as written. It already contains the demo link.",
  "reply": "🫧 @sl1ma4, for your agent, here is a runnable local stack:\nhttps://demo.flisk.si/d/sl1ma4-agents-07d1ce\nweb, api, tools and assistant. Runs on Docker and Tilt.",
  "url": "https://demo.flisk.si/d/sl1ma4-agents-07d1ce",
  "id": "sl1ma4-agents-07d1ce",
  "status": "ready",
  "plan": {
    "user": "sl1ma4",
    "stack": "agents",
    "starter": null,
    "detected": {
      "db": [
        "postgres"
      ],
      "agent": [
        "agent"
      ],
      "mcp": [
        "mcp"
      ]
    },
    "summary": "web · api · api-migrator · tools · 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",
        "params": {
          "ASSISTANT_URL": "http://assistant:4200"
        },
        "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",
          "params": {
            "ASSISTANT_URL": "http://assistant:4200"
          },
          "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": "tools",
        "appType": "mcp",
        "port": 4100,
        "note": "MCP server over Streamable HTTP at /mcp",
        "file": "services/agents/tools/service.json",
        "manifest": {
          "$schema": "https://flisk.sh/schema.service.json",
          "schemaVersion": 1,
          "appName": "tools",
          "appType": "mcp",
          "stack": "agents",
          "port": 4100
        }
      },
      {
        "name": "assistant",
        "appType": "agent",
        "port": 4200,
        "dependsOn": [
          "tools"
        ],
        "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": 4200,
          "dependsOn": [
            "tools"
          ]
        }
      }
    ],
    "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 tools --type mcp --stack agents --yes",
      "flisk resource assistant --type agent --stack agents --yes",
      "flisk up agents",
      "flisk status"
    ]
  },
  "diagram": "web -> api -> postgres + tools, assistant",
  "createdAt": 1793741616530,
  "readyAt": 1793741666504,
  "repo": "https://github.com/flisk-sh/demos/tree/demo/sl1ma4-agents-07d1ce",
  "checks": [
    "flisk resource ×4",
    "flisk board",
    "flisk config verify",
    "flisk up --dry-run"
  ],
  "urls": [
    {
      "name": "web",
      "url": "http://app.agents-demo.localhost/web"
    },
    {
      "name": "api",
      "url": "http://api.agents-demo.localhost/api/api/health"
    },
    {
      "name": "assistant",
      "url": "http://api.agents-demo.localhost/api/assistant/health"
    },
    {
      "name": "tools",
      "url": "http://api.agents-demo.localhost/api/tools/health"
    }
  ],
  "liveNow": false
}