Over the past few days, I built an end-to-end AI agent on top of an existing system.
The interesting part was not connecting an LLM to a chatbot.
The real work was in the architecture:
- keeping business logic inside the application
- exposing system capabilities through an MCP server
- keeping the AI agent focused on understanding intent and orchestrating tools
- separating communication channels from the agent, so Telegram works today and WhatsApp or internal chat can be added later without changing the core logic
- preserving existing authorization and application rules instead of duplicating them in the AI layer
The current flow is:
User → Telegram → Channel Layer → AI Agent → Responses API → MCP → Application Services / Actions
The agent can now read application data, understand natural-language requests, execute real operations, maintain conversational context, and return the result through Telegram.
One lesson from this work: The hard part of Agentic AI is not the model itself.
It is designing clear boundaries between reasoning, tools, business rules, permissions, and channels. Once those boundaries are clear, the system becomes much easier to extend, test, and maintain.
One of the harder problems in AI product design is the gap between what the AI can do and what users expect it to do. I've been thinking about this a lot while working on conversational commerce interfaces.
The challenge with AI chatbots for eCommerce isn't the intelligence — it's the interaction design. The difference between a product advisor that converts and one that gets dismissed comes down to a few specific things: how quickly it reaches a useful recommendation, whether the language feels human, and whether it asks one question at a time rather than presenting a wall of options at once.
My process starts in Figma, mapping out the conversation as a user journey rather than a technical flow. Each decision point in the chat isn't just a question — it represents a moment where the user either stays in the flow or disengages. I think carefully about what the user knows and what they're uncertain about at that exact moment in the browsing session, and design the agent prompt accordingly.
What I've found works consistently: establish context before asking anything. If the first message explains why the assistant is there and what kind of help it can offer, the user reads every subsequent question differently. That framing changes the entire interaction quality.
This design-first thinking also shaped how I approached the Askflow no-code builder. Campaigns are represented as visual nodes — conversation steps you can see, sequence, and rearrange — so marketers can think about the conversation logic without touching code. The goal was to put design control closer to the people who understand the customer.
If you're building anything with conversational AI, design the interaction model before you touch the tech layer. It's the part that's hardest to fix once you've shipped.
Designed and implemented an AI receptionist that captures enquiries, transfers calls and sends the team a structured summary, delivered within one minute in the