Gerardo Morán

2025 — 2026 · MySourcing

Internal chat platform with AI orchestration Private project

A unified API hub connecting several internal and external products in a multi-tenant environment with per-company isolation: real time over Socket.io, end-to-end encrypted file sharing across tenant boundaries, rate limiting. On top of it, an orchestration layer exposing the product suite as tools an LLM can invoke.

Role
Architecture and development
Period
2025 — 2026
Stack
TypeScript · React · Node.js · Express · Socket.io · Prisma · PostgreSQL · Tailwind · Docker · Claude API

Client-owned system: I can describe the architecture and the decisions, not publish code or screenshots.

The problem

The company had several internal products that did not talk to each other. Approving a purchase, notifying a team and checking another system's status meant three separate applications and a chain of manual messages. The real cost was not technical: it was the context switching people had to do.

Architecture decisions

  1. Chat as an API hub, not one more application

    Instead of adding a chat to the catalogue, I designed it as the single point where the other products publish and consume events. Each product integrates once against the hub instead of N times against the others.

  2. Multi-tenant with per-company isolation by design

    Each company's data stays separated, and the special case — sharing files across tenant boundaries — was solved with end-to-end encryption, so cross-company transit is an explicit exception rather than an oversight.

  3. The product suite exposed as tools for an LLM

    I built the orchestration layer that describes each product operation as an invocable tool, with its permissions and its error handling. The model runs nothing that is not declared, and every invocation goes through the same authorization rules as the UI.

  4. Approvals inside the chat

    I brought the purchase-approval flows from the Requisitions Portal straight into the chat UI: approvers decide where they are already talking, without opening another system.

What I did

Hub architecture, bidirectional real-time communication over Socket.io, encrypted file sharing, rate limiting and throttling across the APIs, the AI orchestration layer, and bringing purchase approvals into the chat interface.

Outcome

Flows that used to require manual coordination between systems became automated, and purchase approvals no longer require switching applications.

Scope and limits

The system is owned by MySourcing. I can describe architecture, stack and my responsibility; I do not publish code, screenshots or end-client names. I have no adoption metrics that are mine to share.