{
  "id": "support-agent-diy",
  "title": "Build your own support agent",
  "category": "support",
  "job": "Own the code and pick a cheap, fast model.",
  "difficulty": "Advanced",
  "tools": [
    {
      "id": "claude-agent-sdk",
      "name": "Claude Agent SDK",
      "url": "https://docs.claude.com/en/api/agent-sdk/overview",
      "kind": "framework",
      "summary": "The agent harness behind Claude Code as an SDK: tools, filesystem, shell, hooks, subagents.",
      "open_source": false,
      "pricing": {
        "plans": [
          {
            "name": "SDK",
            "usd_month": 0,
            "note": "Pay for Claude API usage"
          }
        ],
        "source": "https://dbggr.dev/articles/agent-frameworks-compared/",
        "status": "verified",
        "notes": null
      },
      "last_checked": "2026-10-21"
    },
    {
      "id": "openai-agents-sdk",
      "name": "OpenAI Agents SDK",
      "url": "https://openai.github.io/openai-agents-python/",
      "kind": "framework",
      "summary": "Lightweight SDK for agents with handoffs and guardrails, OpenAI-first.",
      "open_source": true,
      "pricing": {
        "plans": [
          {
            "name": "Open source",
            "usd_month": 0,
            "note": "Pay for model usage"
          }
        ],
        "source": "https://dbggr.dev/articles/agent-frameworks-compared/",
        "status": "verified",
        "notes": null
      },
      "last_checked": "2026-10-21"
    },
    {
      "id": "langfuse",
      "name": "Langfuse",
      "url": "https://langfuse.com",
      "kind": "observability",
      "summary": "Open-source tracing, evals and prompt management for LLM apps and agents.",
      "open_source": true,
      "pricing": {
        "plans": [
          {
            "name": "Hobby",
            "usd_month": 0,
            "note": "50k units/month, 2 users"
          },
          {
            "name": "Core",
            "usd_month": 29,
            "note": "100k units/month, unlimited users"
          }
        ],
        "source": "https://langfuse.com/pricing",
        "status": "verified",
        "notes": null
      },
      "last_checked": "2026-10-21"
    }
  ],
  "model": "Claude Haiku 5.5 or GPT-6 Luna (both $0.10 in / $0.50 out per 1M tokens)",
  "mcp_servers": [],
  "config": {
    "filename": "system-prompt.md",
    "language": "markdown",
    "code": "You are the support agent for <product>.\nTools: search_docs(query), get_order(id), escalate(reason).\nRules: answer from docs; call escalate for refunds or anything you can't verify; never invent order data."
  },
  "starter_prompt": "Build a support agent with the tools in system-prompt.md. Add tracing with Langfuse, an eval set of 30 real past questions, and a script that reports accuracy before each deploy.",
  "monthly_cost": {
    "min_usd": 0,
    "max_usd": 29,
    "note": "API usage only, and small models are cheap (Haiku 5.5 / GPT-6 Luna: $0.10 per 1M input tokens). Langfuse Hobby is free; Core $29."
  },
  "steps": [
    "Pick one SDK.",
    "Implement three tools.",
    "Add tracing and an eval set.",
    "Ship behind a 'talk to a human' button."
  ],
  "why_this_works": "Full control over data, tools and cost.",
  "watch_out": "You own uptime and safety. Keep escalation easy.",
  "unverified": [],
  "tested": false,
  "last_checked": "2026-10-21"
}