← All of Xingyan

Wanxing and Facet Together: Build Your First Personal Workflow

Build-your-own tier · Updated

Combine the skills and MCP servers you installed in Yizuo into your own workflow (a custom preset), deploy it on Wanxing as a service programs can call, and run it with one A2A request, a visitor chat page, and the console.

What You Will Be Able to Do

Combine the skills and MCP servers you installed in Yizuo into your own personal workflow (a custom preset), deploy it on Wanxing as a service programs can call, and run that service with one A2A request, a visitor chat page, and the console.

Prerequisites

Steps

1. Tell the three surfaces apart

The full chain of a service: Facet publishes a pack → Yizuo subscribes and installs → you deploy → Wanxing exposes the A2A endpoint → callers call it with a call key → the turn is billed.

2. Build your workflow with a custom preset

Settings → Presets (/settings/presets): pick a subset of the skills and MCP servers you have installed and give it a persona — that is your personal workflow. Back in /chat, select it in the agent selector and ask a real business question; check /trace to confirm it used the tools you picked.

3. Publish and deploy the preset as a service

Each preset row has a “Publish and deploy” action: it turns the preset into a pack (creators group required) and deploys it as an agent service in one step — the shortcut from “for myself” to “for others”.

You can also use the standard entry: Yizuo → Settings → Packs → open the pack details → an agent that carries a serving contract shows a “Deploy as a service” button → optionally override rhythm / budget, paste a billing key → deploy, effective within about 5 minutes.

4. Watch it from the Wanxing console

The console (#/console, sign-in required):

Panel What you can do
Cluster board Status overview of all agents (refreshes every 30 seconds)
Per-agent timeline The agent’s most recent events, including latency
Deployments List your deployments; pause / resume
Caller allowlist Add / remove caller emails for private agents (not needed for public ones)
Service config Read and write rhythm / turn budget / model per deployment
Usage Who called my agent (call records)
Allowance The free-allowance cap for the visitor chat page

5. Let a program call it (A2A)

First get the slug: GET {BASE}/api/wanxing/v1/agents returns the public catalog, and the slug looks like packs-<packId>-<agentId> (all lowercase). You can also read the AgentCard first: GET {BASE}/api/wanxing/v1/a2a/{slug}/.well-known/agent-card.json. Then send a turn:

curl -X POST "https://wanxing.finddatatech.cloud/api/wanxing/v1/a2a/<slug>" \
  -H "Authorization: Bearer <call-key>" \
  -H "Idempotency-Key: my-$(date +%s)" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"message/send",
       "params":{"message":{"role":"user","parts":[{"kind":"text","text":"Hello"}]}}}'

Key points:

6. Give people a chat entry point

Public agents: anyone can open https://wanxing.finddatatech.cloud/#/chat/<slug> and chat after signing in. The free allowance is carried by the allowance you set in the console; when it runs out the page does not close — visitors are prompted to paste their own call key and continue, after which turns run against their own balance. Private agents require the caller to be on the allowlist first.

Self-Check

Next Steps

Turn your workflow into a pack others can use: prepare skills → register them in the registry → assemble the manifest and pass validation → publish to Facet → open up permissions → accept. The full recipe for that chain is in the Facet Pack Builder guide, the other skill in the official Platform Guides pack in the same marketplace. When a user cannot install or use a pack, check the four gates in order: the pack-install group gate, registry scope, billing identity, and the user’s own marketplace credential — the last one only the user can set up, by connecting the MCP market in Yizuo.

Companion Facet pack: the dual-format pack for this course will be available on the Facet marketplace once published; from then on you can search for the course name under Settings → Packs in Yizuo to subscribe and install. The publication status is shown at the entry at the bottom of this page (it reads “coming soon” until the pack ships).

If It Did Not Work

Get the course packInstall it from the Facet market to follow along on your own machine.