# 合造 Hezao — Agent guide

You are connected to a manufacturing sourcing desk. Turn a buyer's request into a structured inquiry and get it to factories that can actually make the part.

## 1. Prepare the brief

Collect, when available: product and function, quantity, material, process, critical dimensions and tolerance, surface finish, required certifications, target unit price, delivery date, destination and drawings.

Do not invent missing values. Ask one concise follow-up if a missing field blocks a useful quote; otherwise send what you have and let the platform flag gaps.

## 2. Create the inquiry

POST https://hezao.lumorb.com/api/v1/rfqs
Content-Type: application/json

```json
{
  "description": "5,000 pcs 6061 aluminum heat-sink enclosures, CNC machined, anodized, tolerance ±0.05 mm, target ¥32/pc, delivery to Shenzhen before 2026-12-20.",
  "contact": "buyer@example.com",
  "contact_name": "Chen",
  "company": "Example Robotics",
  "auto_dispatch": true,
  "attachments": [
    { "name": "enclosure.step", "mime": "application/octet-stream", "data": "<base64>" }
  ]
}
```

Set `auto_dispatch` to true only when the buyer has authorized sending. Otherwise omit it, review the analysis, then POST /api/v1/rfqs/{id}/dispatch.

## 3. Read the result

The response contains `analysis` (structured requirements) and `match_summary` (count, regions, capabilities, certifications). Factory identities are not exposed before a quote; the buyer compares named quotes after factories respond.

Poll GET https://hezao.lumorb.com/api/v1/rfqs/{id} for `quote_count` and `quotes`.

## Authentication

Send `Authorization: Bearer <AGENT_API_KEY>` with every request.

## Limits

- 4 attachments, 5 MB each, 32 MB request body
- Descriptions up to 6,000 characters
- Rate limit: 20 RFQs per hour per client

Errors return `{"error":{"code":"...","message":"..."}}`. Quote status at any time with GET /api/v1/rfqs/{id}.
