Posts

Showing posts with the label AI & MCP

How I implemented corporate AI for 15 employees and a continuous customer flow

One of my clients runs an AI platform that supports the daily work of a 15-person team and serves customers through the website and WhatsApp Business. The main model, Gemma 4 31B, is deployed on a rented GPU in the US. The infrastructure and API budget is $921 per month. What matters to me here is that people use this continuously. An employee opens documents, discusses a task, comes back the next day and all that context needs to be there. Meanwhile customers keep coming in, choosing products and checking prices and availability. So I built the system around these two streams, with separate databases and memory, so each person gets the data they can access and can carry on working. Company knowledge and each employee's memory Employees use personal workspaces and Slack. The shared knowledge base contains company documents and policies, while personal memory holds each person's tasks, confirmed decisions and working preferences. Department, project and user permissions deter...

The Agent Said It Was Done. I Still Need to See the Result.

Image
Originally published on denisostapenko.com . Part II: Verification, human control, and an architecture that keeps errors from multiplying What this article covers An agent can finish a task and leave behind a mistake that the next agent treats as a fact. I look at how that happens, what evidence I want before accepting the work and where human control can actually change the outcome. Model review helps, but I want the system to check its work against something outside its own explanation. Full article How fast can one reasonable mistake travel? In Part I , I wrote about contracts, ownership, and state outside the conversation. Those boundaries make the system understandable. They do not prove the output is correct. Now imagine one agent writes a plausible rule into a module. A second agent writes tests around that behavior. A third updates the documentation. The result enters a knowledge base. A week later, another agent retrieves the document and cites it as project policy. By ...

O código deixou de ser o gargalo. A gestão tomou o lugar.

Image
Parte I: Por que sistemas modulares de agentes dependem de contratos, responsabilidade e estado persistente O que você vai encontrar neste artigo Eu conseguia receber dos agentes mais código do que era capaz de revisar direito, e a parte difícil passou a ser manter visíveis as responsabilidades e as decisões anteriores. Explico isso com um microagente contábil de tarefa limitada, depois examino contratos de módulos, o custo de acrescentar agentes e o estado de que uma nova sessão precisa para continuar. Artigo completo O dia em que o código deixou de ser escasso Você já viu um programa crescer mais rápido do que a sua capacidade de entender o que tinha crescido? Isso aconteceu comigo enquanto eu trabalhava num sistema de contabilidade. No começo, o ritmo parecia quase perfeito. Eu descrevia um problema. Um agente investigava, outro escrevia um módulo, um terceiro ajudava nos testes. As alterações chegavam depressa. A documentação aumentava. Apareciam serviços, filas, regras de au...

Code Stopped Being the Bottleneck. Management Took Its Place.

Image
Part I: Why modular agent systems are built from contracts, ownership, and durable state What this article covers I could get more code from agents than I could properly review, so the difficult part became keeping responsibility and earlier decisions visible. I explain that through an accounting microagent with one narrow task, then look at module contracts, the cost of extra agents and the state a new session needs before it can continue. Full article The day code stopped being scarce Have you ever watched a program grow faster than you could understand what had grown? It happened to me while I was working on an accounting system. At first, the pace felt almost perfect. I described a problem. One agent inspected it, another wrote a module, a third helped with tests. Changes arrived quickly. Documentation grew. Services appeared. Data moved through queues, authorization rules, reports, and background jobs. Then I noticed something uncomfortable. I could get more code in a day t...

A distância entre uma ideia e um negócio ficou menor

Parte I da série “A IA está encurtando o caminho até o pequeno negócio” O que este artigo aborda Como a IA ajuda a passar de um ofício conhecido ao primeiro teste de negócio. Onde a pesquisa e a preparação administrativa ficam mais rápidas. O que um pequeno cálculo de serviço de limpeza pode revelar. Onde fontes atuais, confidencialidade e julgamento humano fazem diferença. Artigo completo Recentemente, fiz uma história interativa de 96 páginas para os filhos de uns amigos. Um menino ajuda um pequeno panda a procurar a mãe. A criança escolhe por onde eles vão, acompanha os personagens, faz pequenas tarefas e aprende durante a história. Fazia tempo que eu pensava em criar algo assim. Eu entendia o enredo, a estrutura, as escolhas. O que me fazia parar era levar tudo isso pela ilustração, pelo design, pela edição e pela montagem técnica. Levei uns cinco dias. Eu fornecia a estrutura dos capítulos, os textos e a personalidade dos personagens principais. As ilustrações eram ger...

Como construir agentes com limites claros

Um módulo, uma pergunta, seis artefatos locais e um coordenador que sabe onde o sistema pode falhar O que este artigo cobre Por que a estrutura de pastas não cria uma fronteira real sem decisões, entradas, saídas, proibições e evidências explícitas. Como módulos com uma pergunta só contêm erros e tornam as recusas diagnosticáveis. Quais seis artefatos locais transformam um módulo numa unidade de trabalho verificável. O que um coordenador deve validar, o que ele não deve reinterpretar e onde a liberação humana continua necessária. Quando dividir o trabalho melhora o isolamento de falhas e quando o custo de coordenação piora o sistema. Na primeira parte eu expliquei por que um contexto enorme e um modelo caro não salvaram um projeto anonimizado de otimização de rotas. O agente escrevia código. O sistema não conseguia explicar qual decisão tinha eliminado uma rota viável. Agora vem a parte de engenharia. A versão curta é simples: não divida uma aplicação de agentes por substant...

How to Build Bounded Agents

One module, one question, six local artifacts, and a coordinator that knows where the system can fail What this article covers Why directory structure is not a real boundary until decisions, inputs, outputs, prohibitions, and evidence are explicit. How one-question modules contain errors and make refusals diagnosable. Which six local artifacts turn a module into a verifiable unit of work. What a coordinator should validate, what it should not reinterpret, and where human release remains necessary. When splitting work improves fault isolation, and when coordination cost makes the system worse. The first part explained why a large context and an expensive model did not rescue an anonymized route optimization project. The agent could write code. The system could not explain which decision had removed a viable route. This part is the engineering answer. The short version is simple: do not divide an agentic application by nouns. Divide it by decisions. "Everything about ord...