A useful AI agent does more than answer questions. It queries the order system, opens a ticket, books an appointment, qualifies a lead and knows when to call a person. iTask builds this kind of agent, with evaluation and cost measured from the first day.
We have two lines of practice. The first is our own platform, AgentHub, with white-label AI agents on WhatsApp behind the products Klinik (clinics), Korretora (insurance brokers), ImobiTask (real estate agencies) and AiSind (condominiums). The second is the custom project, where the agent is born inside your process.
How an agent is built
Scope and sources. We define what the agent does and what it does not do. We list the sources it may consult: documents, FAQ bases, internal systems.
RAG. We index your content with similarity search and metadata filters. The answer cites the source passage. Updating knowledge means reindexing, and not retraining. More in LLM and RAG integration.
Tools. The agent calls functions that read and change data in your systems, with least-privilege permissions and confirmation on sensitive actions.
Guardrails. Limits on topic, tone and action. Sensitive data is masked. The agent escalates to a person when confidence is low or the user asks.
Channels. WhatsApp, website chat, email or voice. The messaging that supports the flow uses queues, with retries and a dead-letter queue. See RabbitMQ consulting.
Evaluation and cost
Before going live, the agent goes through an evaluation set with anonymized real conversations and edge cases. On every change of prompt, model or knowledge base, the set runs again and compares answers. Without it, every adjustment is a bet.
Cost per call is recorded per step: retrieval, generation and tools. We pick the smaller model where it works and the larger one only where it makes a difference. The dashboard shows cost per conversation, per client and per day.
Working with a Brazilian team
Our engineers are based in Brazil, in time zones that overlap with the US working day, and we communicate in English. Pilots and reviews happen during your business hours.
How we deliver in weeks
Reference timeline: 2 to 4 weeks for an agent with a fixed scope. What supports it:
- Our own boilerplates. Agent orchestration, RAG, WhatsApp connectors, queues and the evaluation and cost dashboard are already built.
- AI agents with senior review. We use agents to write and review code, and senior engineers approve each delivery.
- The same team from assessment to deploy. The people who understand your process are the ones who configure the agent.
- Fixed scope after the assessment. The free assessment defines the use case, the sources and the success criteria.
Stages
Week 1: use case and data. We map real conversations, sources and integrations. We build the first evaluation set.
Weeks 2 and 3: agent and integrations. First version with RAG and tools, tested against the set. We tune prompts, guardrails and human escalation.
Week 4: pilot and production. Pilot with real traffic and supervision, cost measurement and gradual release.
Related experience
We have built AI agents for customer service on WhatsApp. The agent sits on top of the same engineering we show in our public cases, such as Regina Festas, with queues, logs and approved releases.
Where AI fails, and how we handle it
Hallucination. We limit the agent to approved sources and require citation. Out-of-scope questions get a polite refusal and the right handoff.
Model changes. Providers update models. The evaluation set runs on every change to catch regressions before the customer does.
Cost that rises without warning. Per-conversation limits, caching of frequent answers and routing by model size keep the bill predictable.
Sensitive data. We mask personal data before sending it to the model when the case allows, and we record who accessed what.
Latency. On WhatsApp, users wait seconds. We use streamed responses, queues and context prefetching to keep the conversation natural.
When an agent is not the answer
If the process is a form with three fields, a fixed flow is enough and costs less. If the volume is a few dozen conversations a month, the gain does not pay for the project. We say so in the assessment.
Next step
Request the free assessment and leave with a prioritized use case, the agent design and a timeline in weeks.