A chatbot answers questions. An AI agent completes work: it reads an order in your ERP, checks stock, drafts the reply, asks a colleague for approval, and writes the outcome back. That difference sounds academic until you price it. A scripted chatbot costs weeks to build; an agent that touches live systems costs months, because most of the effort goes into permissions, guardrails and evaluation rather than the model itself. This page sets out how we build agents in Hong Kong, which models we use, and what the budgets actually look like.
1. Agent vs chatbot: where the budget goes
A chatbot is a retrieval layer with a conversational interface: it searches a knowledge base and returns an answer. An agent has a goal, a set of tools, a memory, and a loop in which it plans, acts, observes the result and adjusts. The practical consequences: an agent can fail in ways a chatbot cannot, because it can take actions. That is why, on our projects, roughly 40 to 50 percent of the engineering time goes into tool permissions, audit logging, fallbacks and evaluation rather than prompt design.
2. The stack we build on
We are model-agnostic and usually run more than one model inside a single agent. OpenAI offers the deepest tooling ecosystem and the most reliable function calling, which makes it our default for orchestration. Gemini handles multimodal input well and is cost-effective for high-volume classification and document extraction. Deepseek is the option we raise whenever data residency matters, because it can be self-hosted on servers located in Hong Kong, which keeps personal data inside the jurisdiction. In practice we route: a small, cheap model classifies intent and extracts fields, and a stronger model produces the final customer-facing output. That routing typically cuts inference cost by 50 to 70 percent with no measurable drop in quality.
3. Steps 1 to 3: purpose, model, tools
- Step 1 — Clear purpose and scope. We write the scope as a list of jobs the agent must do and an explicit list it must never do. “Handle tier-1 support queries” is not a scope. “Answer questions about delivery fees, order status and return policy; escalate anything involving money above HK$5,000” is. If the scope cannot be written in one page, the project is not ready.
- Step 2 — Core model selection. We benchmark two or three candidates against your own test set, not a public leaderboard. We measure accuracy, latency, cost per 1,000 conversations, and whether the model can be hosted where your data must live.
- Step 3 — Equip it with tools. Tools are API calls: look up order, check stock, create ticket, book slot, send email. We start read-only. Write actions are added one at a time with approval gates, idempotency keys and a full audit log. Every tool gets scoped credentials — an agent should never hold an API key that can delete records.
4. Steps 4 to 6: memory, the action loop, guardrails
- Step 4 — Memory. Four layers: the in-context window for the current conversation; a short-term session store for state that must survive a page reload; a long-term store combining a vector database for unstructured knowledge with structured records in your CRM; and an interaction log used purely for evaluation. Each layer needs its own retention period, and in Hong Kong that period is a compliance decision, not a technical one.
- Step 5 — Planning and action loop. The agent reasons, calls a tool, reads the result, and decides whether to continue or stop. The engineering discipline here is bounded execution: a maximum number of steps, a timeout, and a defined fallback when the loop cannot converge. Without those three, an agent will loop expensively on edge cases.
- Step 6 — Safety guardrails. Input guards against prompt injection and instruction smuggling through documents. Output guards for tone, PII redaction and refusal of regulated advice. Action guards: spending caps, human approval above a threshold, and a kill switch. We also log every tool call with inputs and outputs so a failure can be reconstructed months later.
5. Steps 7 to 8: evaluation, UX, scale, cost, privacy
- Step 7 — Iterative evaluation. We build a golden set of 100 to 300 realistic conversations before launch and run it as a regression suite before every model or prompt change. We track task success rate, hallucination rate, fallback rate, escalation rate and cost per resolved task. An agent without a regression suite will silently degrade the first time someone “improves” the prompt.
- Step 8 — UX, scalability, cost and data privacy. On UX: never pretend the agent is human, show sources, offer a visible handover button, and keep first-token latency under three seconds by streaming. On cost: model tokens plus vector database plus hosting typically run HK$2,000 to HK$30,000 a month, and a well-scoped support agent lands around HK$0.5 to HK$3 per resolved conversation depending on model and context size. On privacy: retention schedules, access tiers, encryption, and a documented path to delete a customer’s data on request.
6. Hong Kong compliance: PDPO and data residency
The Personal Data (Privacy) Ordinance applies in full. Six data protection principles matter here: tell people what you collect and why; keep data accurate and only as long as needed; do not use it for a new purpose without consent; secure it; publish your policy; and honour access and correction requests, generally within 40 days. Two consequences for agent projects. First, if the agent reads customer records, the collection notice must cover automated processing, and we recommend stating explicitly that a machine may handle the conversation. Second, where the data sits is a design decision: hosting in Hong Kong or Singapore is straightforward, while sending personal data to mainland China brings cross-border transfer considerations under PIPL, and clients in banking or insurance usually have internal rules that override everything else. Regulated content — financial, medical or legal advice — should stay behind a human review step regardless of accuracy.
7. What companies actually build, and what it costs
The projects we see most often: customer support triage on WhatsApp or web chat; sales qualification with CRM write-back; an internal assistant over policy, SOP and product documentation; document processing such as invoices, contracts and forms; and back-office automation where the agent does data entry across systems that were never integrated.
Indicative budgets: a two-week discovery sprint at HK$40,000 to HK$80,000, which we strongly recommend before committing to a build. A working pilot with a narrow scope runs HK$80,000 to HK$180,000 over four to six weeks. A production agent integrated with CRM or ERP runs HK$180,000 to HK$450,000 across three to five months. Anything involving multiple agents, high volume or regulated workflows starts above HK$450,000. Eligible Hong Kong companies can apply for the Technology Voucher Programme, which funds approved technology projects on a matching basis; the current cap and matching ratio should always be confirmed against the latest Innovation and Technology Commission announcement.
8. How to start
Bring three things to the first conversation: the task you want automated, the systems it must touch, and the volume you expect. With those we can tell you within a week whether the job suits a cheap retrieval bot, an n8n workflow, or a full agent build — and we will say so if the answer is that you do not need an agent at all. Contact info@shopaize.com or WhatsApp +852 5222 5828. Office hours are Monday to Saturday, 09:00 to 18:00 HKT.
常見問題 FAQ
What is the difference between an AI agent and a chatbot?
A chatbot retrieves information and answers within a single turn. An AI agent works toward a goal: it selects tools, calls APIs, reads the results, and iterates until the task is done or it hands over to a human. That means an agent can take actions in your systems, which is precisely why it needs permissions, approval gates, audit logs and a bounded number of steps — and why it costs three to ten times more to build than a scripted chatbot.
Which model should we use: OpenAI, Gemini or Deepseek?
We rarely use just one. OpenAI is our default for orchestration and reliable function calling; Gemini is strong on multimodal input and cost-efficient for high-volume extraction; Deepseek is the option when data must stay on infrastructure under your control, since it can be self-hosted in Hong Kong. The selection should be made by benchmarking candidates against your own test conversations, measuring accuracy, latency and cost per 1,000 conversations together.
How much does AI agent development cost in Hong Kong?
A two-week discovery sprint costs HK$40,000 to HK$80,000. A narrow pilot runs HK$80,000 to HK$180,000 over four to six weeks. A production agent integrated with CRM or ERP runs HK$180,000 to HK$450,000 across three to five months, and complex multi-agent or regulated deployments start above HK$450,000. On top of that, expect HK$2,000 to HK$30,000 a month for model tokens, vector database and hosting, depending on volume.
Is an AI agent compliant with Hong Kong’s PDPO?
It can be, but compliance has to be designed in rather than added later. Under the Personal Data (Privacy) Ordinance you must disclose the collection purpose, set a retention period, secure the data, publish a policy covering automated processing, and handle access and correction requests, generally within 40 days. Practically, that means a stated retention window for conversation logs, tiered access controls, encryption, a documented deletion path, and a decision about where data is hosted — including whether any of it crosses into mainland China.

