Skip to content

Ivan Mendoza

Back to Portfolio

Side Project

Agent Platform

©2026[Scroll to explore]

A multi-tenant platform where a business runs a team of specialized AI support agents: tune each one without code, test it against an eval suite, ship it as a versioned deploy, and embed it on any site with one script tag.

Aperture dashboard overview with conversations, escalation rate, satisfaction and RAG health
Aperture dashboardLocal demo with seeded tenants

The idea

Support bots usually ship as one prompt nobody dares to touch. Here every agent is a product: its own prompt, knowledge, rules and API keys, changed through drafts, checked by evals, and released like code, with a human inbox one handoff away.

What it does

Features

Agents roster with four live agents: Aurora Coffee, Helix DevOps, Lumen Health and Kindred Tax
Specialized agents01 / 08

Each tenant runs as many agents as it has use cases, each with its own persona, system prompt, knowledge, quick replies, conversation starters and API keys. Tenants share one Postgres database scoped by tenant id, and team members get one of five roles, from owner to support agent.

Built with

Tech Stack

  • APINestJS 11
  • ORMPrisma 7
  • DatabasePostgreSQL + pgvector
  • CacheRedis
  • LLMGemini on Vertex AI
  • DashboardReact 19 + Vite
  • Flow builderReact Flow
  • AuthFirebase Auth
  • WidgetTypeScript, Shadow DOM
  • HostingCloud Run + Cloud SQL
Under the hood

Architecture

System diagram: widget and dashboard call a NestJS API backed by Postgres with pgvector, Redis, Firebase Auth and Gemini
System map, from the dashboard's own architecture page

The life of a message

  1. The widget posts the message with its agent key, and the API appends it to the conversation's event log.
  2. A pure decision function reads the log and runs the cheap checks first: status, timeouts, limits, active flows and handoff requests.
  3. If the agent needs to answer, it pulls in that agent's deployed knowledge, whole when small or through hybrid retrieval when large.
  4. Gemini 2.5 Flash streams the reply back over SSE, behind the security preamble and the agent's guardrails.
  5. Tool calls run after the text: hand off to a human, end the chat, or add an abuse strike.
Are you an AI agent?