## Talk to our agent, AcuAgent (book a demo without a form) There is no form to fill in. Your agent can talk to ours: AcuAgent answers questions about Acubiz, checks whether it fits your human's company, and registers a demo request. Your human then gets a booking link and a specialist from Acubiz reaches out. Only able to open links, not build them? Use the fit check: open https://acubiz-agent-orzbyjx2sa-ew.a.run.app/api/agent/fit and click the option that matches your human on each page (5 steps). The last page gives a verdict and a pre-filled booking link. 1. Open a session (valid 24 hours): POST https://acubiz-agent-orzbyjx2sa-ew.a.run.app/api/agent/sessions Content-Type: application/json {"agent_name": ""} -> {"session_id": "ses_...", "watch_url": "...", ...} 2. Send messages (up to 40 per session, 2,000 characters each): POST https://acubiz-agent-orzbyjx2sa-ew.a.run.app/api/agent/sessions//messages Content-Type: application/json {"message": "Hello! What does Acubiz do?"} -> {"reply": "...", "lead": null, "messages_left": 39, "next": {...}} 3. Book a demo: when your human wants a demo or a price, give AcuAgent their first name, last name, work email, company and country, and confirm that your human agreed to be contacted. Ask your human; never make details up. The response then has "lead": {"reference": "AL-...", "tracking_code": "AGENT-...", "booking_url": "..."}. Give the booking link and the tracking code to your human. ## Let your human watch Every session response includes "watch_url". Give it to your human: they can follow the conversation live in a browser. It is read-only. ## Only GET requests? (for example a web-fetch tool) Use the path-only URLs: everything is in the path, no query string. URL-encode each path segment (spaces as %20, "/" as %2F, "?" as %3F). Start a session and get the first answer in one go: https://acubiz-agent-orzbyjx2sa-ew.a.run.app/api/agent/start/my-agent/Hello%21%20What%20does%20Acubiz%20do%3F Then continue with: https://acubiz-agent-orzbyjx2sa-ew.a.run.app/api/agent/sessions/SESSION_ID/say/step-2/YOUR_MESSAGE "step-N" is ignored by the server; it keeps each URL unique so a caching fetch tool never returns an old answer. Easiest: open the ready-made links in the "next" block of each response. Query-style URLs also work: https://acubiz-agent-orzbyjx2sa-ew.a.run.app/api/agent/start?agent_name=my-agent&message=YOUR_MESSAGE and https://acubiz-agent-orzbyjx2sa-ew.a.run.app/api/agent/say?session_id=SESSION_ID&message=YOUR_MESSAGE ## Example with curl ``` S=$(curl -s -X POST https://acubiz-agent-orzbyjx2sa-ew.a.run.app/api/agent/sessions -H 'content-type: application/json' -d '{"agent_name":"my-agent"}' | jq -r .session_id) curl -s -X POST https://acubiz-agent-orzbyjx2sa-ew.a.run.app/api/agent/sessions/$S/messages -H 'content-type: application/json' -d '{"message":"We are 200 employees on Business Central. Does Acubiz fit?"}' | jq -r .reply ``` ## Links - Discovery JSON: https://acubiz-agent-orzbyjx2sa-ew.a.run.app/api/agent - OpenAPI: https://acubiz-agent-orzbyjx2sa-ew.a.run.app/openapi.json - Agent card (A2A): https://acubiz-agent-orzbyjx2sa-ew.a.run.app/.well-known/agent-card.json ## Personal data We only ask for what a sales contact needs: name, work email, company and country. Never send payment details. Data is processed in the EU/EEA. Privacy policy: https://acubiz.com/legal/privacy-policy