ENGINEERING / AGENTIC AI / MCP Morocco · Working with teams worldwide

✳ BUSINESS GUIDE / AGENTIC AI

AI agent or chatbot? What changes for a business.

The difference is not how conversational the interface feels. It is about tool access, ability to execute business steps and safeguards around those actions.

✳
AI · MCP · SYSTEMSDESIGN. CONNECT. SHIP.
01

A conversational chatbot primarily answers

Traditional chatbots usually guide users, search knowledge or respond to common questions. They can be very useful when the scope is information or first-line support.

  • FAQ and initial support
  • Document search and guidance
02

An AI agent can invoke tools

Within the right architecture, an agent can select an authorized tool, call an API, interpret results and progress through steps. It must distinguish a request, an attempted operation and a verified completion.

  • Account, order and business data queries
  • Controlled sequences with status verification
03

Autonomy does not mean unlimited access

Tool use creates risks: data leakage, wrong operations, duplicate writes or excessive permissions. Rules should be enforced server-side with human approval for selected actions.

  • Identity and authorization controls
  • Idempotency, quotas, logs and approval
04

Example: purchasing through WhatsApp

A basic assistant explains how to buy. A transactional agent may present products, validate a selection, initiate checkout and look up actual order status. Each step depends on real backend authorization.

  • Guided journey without invented inventory or payment
  • Outcomes confirmed by source systems
05

Choose the smallest safe approach

Not every project needs a write-capable AI agent. Document search or deterministic automation may be cheaper, safer and easier to maintain. Start with clearly defined business requirements.

  • Measurable success criteria
  • Controlled complexity and risk
06

6. What autonomy really means

An agent is often called autonomous because it can decide which step comes next. The actual level of delegation matters far more than the label. A model may research an issue, propose a plan or prepare an action, but it must not gain privileges simply because it judges an action useful. Permission comes from the application and authenticated user. Bounded autonomy with call budgets, restricted tools and approvals for sensitive operations covers many useful workflows. Autonomy is an engineering choice rather than an absolute product benefit. When rules and outcomes are fully deterministic, conventional automation may be safer and cheaper.

  • Define who is accountable for each step.
  • Bound tools, resources and execution budgets.
  • Provide an explicit exit for uncertain outcomes.
07

7. A commerce example with Nchargi

A FAQ bot explains how to purchase telecom credit and links to a storefront. A transactional assistant may query available products, guide the operator and amount, prepare checkout and retrieve the resulting order status. But the model's own message is not proof that a purchase occurred. Magento, the payment provider and the top-up backend remain authoritative for their respective steps. Nchargi combines an actual transactional system with a WhatsApp assistant; the historical screenshots in this portfolio show the commerce foundation, while the disconnected interactive demo illustrates the agent flow. It does not claim to process a new payment or top-up.

  • Selecting a product is not the same as creating an order.
  • Creating a payment link is not confirmation of payment.
  • Payment success alone does not prove that the carrier completed a recharge.
08

8. RAG and tools solve different problems

Retrieval-augmented generation can retrieve documentation before generating an answer. It is appropriate for policies, help articles and material that changes over time. Retrieval does not itself grant any right to perform an action. Conversely, an agent that calls a narrowly scoped API may function without a document database. Explaining a shipping policy, checking live stock and preparing a refund require different sources of truth. Documentation can describe business rules; a backend must still enforce current permissions and invariants. Combining RAG and tools makes sense only when both capabilities serve an explicit need.

  • Use retrieval for documentation with citations.
  • Use tools for fresh operational data.
  • Enforce transaction rules in the backend.
09

9. Estimating the real cost

The cost of an agent is not just model tokens. It includes process discovery, available API quality, tool implementation, security tests, monitoring and recovery. Read-only use cases are usually a sensible starting point: status lookup, document search or draft preparation. Payments, regulated data or sensitive writes require additional controls and engineering. Before estimating a project, measure interaction volume, current process cost, error frequency and the share of work that can safely be delegated. Without these inputs, confident return-on-investment figures are marketing guesses rather than engineering conclusions.

  • Budget integration and ongoing operations, not only inference.
  • Measure errors and human correction time.
  • Start with a verifiable pilot scope.
10

10. Choosing the right approach

Start from the expected inputs and outputs. If the primary task is answering questions about controlled documents, a retrieval-powered assistant may be sufficient. If every decision follows stable rules, choose a conventional workflow. If the work combines natural language, heterogeneous systems and constrained contextual decisions, an agent with tools may be justified. Each approach requires observable tests and clear ownership of decisions. An LLM need not replace the existing business system: it can provide a conversational interface and an orchestration layer over established operations. That distinction helps prevent impressive demos that fail under production constraints.

  • Documentation question: retrieve and cite sources.
  • Fixed decision tree: use deterministic automation.
  • Context-dependent tool choice: consider an authorized agent.
ENGINEERING IN PRACTICE

See the implementation.

These concepts become more useful when tied to actual business systems.

CASE STUDY / NCHARGI Transactional commerce with WhatsApp ↗
06 / FAQ

FREQUENT QUESTIONS

01Does a chatbot with RAG automatically become an AI agent?

No. Retrieval can improve answers without adding action capabilities. Tool access, orchestration and safeguards define the architectural difference.

07 / Work with me

Your next product deserves serious engineering.

AI agents, MCP, APIs and business software: let’s define what is realistic for your team.

↗