Contents ▾
What it is and its status
Colmena is an AI agents platform for companies in Argentina and Latin America. Each agent knows one area of the company, answers with the sources of each figure and proposes actions that a person approves. Everything is recorded. The first industry is logistics, but the brand and the product work for any business.
Real status: it is in construction. The landing page is live at colmenahq.com. The server and the application already exist and run against a demo ERP, but they are not installed in any company and there are no clients yet.
The problem it solves
A company’s information is spread across its management system, emails, spreadsheets and documents. To find out which supplier invoices fall due this week and still have no payment order, someone has to cross all of that by hand.
Colmena takes those sources, answers in plain language saying where each figure comes from and, when it applies, drafts a proposed action. Before anything changes in a company system, the proposal goes through an approval rule.
How it is built
It is a modular monolith with a hexagonal architecture: a single process split into modules, with boundaries enforced by import-linter. Each client gets its own isolated installation, on a server with its own database, and no database is shared between companies.
- Server: Python, FastAPI, SQLAlchemy 2 and Alembic, on PostgreSQL with pgvector.
- Web application: React and TypeScript with Vite. The landing page is an Astro site.
- Language model: used through an API, behind a swappable port, with Claude as the first adapter.
- Connectors: external systems through MCP; today there is a demo ERP, a SQL database reader, spreadsheets and mail.
The AI part
Ask is the home screen. Rules in the code first decide whether a question goes to the documents or to the data; the model decides only when the rules are not enough. Documents are indexed inside the installation with local embeddings, and the model only receives the fragments it needs, with sensitive data masked.
Excel or CSV spreadsheets become tables in a separate schema, which Ask reads with a read-only role. The SQL the model writes is validated with sqlglot before it runs, and the figures are computed by the code, not by the model. If it finds nothing, it says so and does not make anything up.
Approvals and audit
- AI proposes and a person approves: a rule says who approves each type of action depending on the amount.
- Each proposal shows what it will do, why, with what data and which rule applies. It can be approved, corrected or rejected.
- Every query, proposal, approval and action goes into a hash-chained audit trail.
- A Control Agent reviews invoices and flags what is worth a look before approving.
- Every day at 8 a.m. an email arrives with what the agents did and what is waiting for approval.
What is done and what is missing
- Done and running in demo: Ask with sources, Documents, Data, Approvals, audit, user administration and the Control Agent.
- Done: the colmenahq.com landing page, built with Astro.
- Decided and still without code: LangGraph for flows that wait for an approval, WhatsApp, licences, the Docker installer and the desktop app.
- There are no clients, no live installations and no metrics, because there is nothing to measure yet. When there is a first installation, this page will be updated with what was measured.

