Others
Agent quickstart

Other stacks

Not listed? Two integration shapes cover everything. Pick whichever your runtime supports best.

Option 1 — REST (any HTTP client)

# Any HTTP client works. JSON in, JSON out.
curl -X POST https://api.b2a.bluepillow.com/v1/decide \
  -H "Authorization: Bearer $B2A_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d @intent.json

OpenAPI spec at https://api.b2a.bluepillow.com/openapi.json — codegen-friendly.

Option 2 — MCP (any MCP runtime)

# Any MCP-aware agent (anthropic-mcp-py, mcp-go, mcp-rs, ...)
{
  "name": "b2a",
  "url": "https://mcp.b2a.bluepillow.com/",
  "headers": { "Authorization": "Bearer <your-key>" }
}

Streamable-HTTP transport. The six tools are: b2a_get_key, resolve_destination, discover_destinations_near, search_stays, get_property_details, check_property_availability.

Got a stack that deserves a dedicated guide? Open an issue at github.com/bluepillow.