TECHNICAL ARCHITECTURE
20 services per sandbox. Per-company VM isolation. IDE-native development. Production-grade from day one.
As of April 15, 2026
NestJS microservices + Express/Socket.IO (engine) + Next.js (2 frontends) + Java/Spring Boot (deployment) + Terraform + Docker Compose on GCP
SYSTEM OVERVIEW
Three layers working together: a central control plane, isolated company environments, and a developer-facing IDE extension.
Central control plane. Manages all company sandboxes, credit pools, model registry, usage tracking, and billing. The admin sees everything across every tenant.

Each company gets a fully isolated GCP VM provisioned via Terraform. Complete stack deployed per tenant: all 20 services, own database, own Redis, own nginx. Zero cross-tenant access.

Developers connect to their company’s sandbox from VS Code. Build flows visually, debug remotely, deploy with one click. Nothing runs locally — everything executes on the sandbox.

MASTER ADMIN
Centralized administration with role-based access and audit trails. Credit management, model configuration, usage analytics, and company management — across every sandbox.
Allocate LLM credits per company. Track consumption in real-time. Set limits, alerts, and auto-top-up rules.

Configure which LLM providers and models each company can access. Claude, GPT, Gemini — swap with a config change.

Per-company, per-model, per-agent usage dashboards. Token counts, latency percentiles, cost breakdowns.
VM SANDBOXES
Every company gets a dedicated GCP VM with the full platform stack. No shared resources. No cross-tenant leakage.

THE EXTENSION
VS Code, Cursor, any IDE that speaks extensions. Not a browser canvas — a real engineering environment where developers already live.
Drag-and-drop agent orchestration inside the IDE. 14 node types: agents, scripts, conditions, loops, parallel execution, and more.

Connect to the engine for step-by-step execution. Conditional breakpoints, dictionary state inspection, flow-scoped persistence. Nothing runs on your machine.

Compile, package (.zip), and deploy to the sandbox engine from the command palette. CI/CD pipeline with security token authentication.

MICROSERVICES
NestJS microservices communicating over NATS event bus. Node.js execution engine with WebSocket real-time updates. PostgreSQL + Prisma for data, Dragonfly for caching.
The entire Web IT world speaks JS. Developers don’t need to learn a new language. TypeScript strict mode on all backend services.
Split-format flows: 3 focused files per flow (20–100 lines). Version-controlled, Git-friendly, code-reviewable by humans and LLMs.
Tool calling via structured XML — provider-independent. Swap OpenAI, Anthropic, Google with a config change. No vendor lock-in.
Split format instead of 12K-char monolithic JSON. Agent prompts as plain markdown. $schema declarations. An LLM can understand an entire project in minutes.
FLOW BUILDER DEEP DIVE
PRODUCTION READINESS
What separates a prototype from production. We built all four from the start.
Remove one pillar and the system becomes a black box. We built all four because we’ve been burned by systems that didn’t.
INFRASTRUCTURE
One module per sandbox. VM, firewall, DNS, SSL — all automated.
20 services with health-check dependency ordering. One command to deploy.
Event bus for async inter-service communication. Decoupled, scalable.
Auto-scaling via instance groups. Terraform-managed. Multi-region ready.
IN PRODUCTION
DEEP DIVE: DEBUGGING
Two modes: active blocking step-through and passive monitoring streams. Nothing runs locally.
Manages breakpoint lifecycle, attach/detach
CSS classes (breakpoint-set, breakpoint-focus) via DOM events
Remote inspector, time-limited, debux state sync
CDP proxy — /json, /json/list, /json/version, WebSocket to engine
Session messages, states, history snapshots for post-hoc investigation
DEEP DIVE: ENGINE
A shared key-value store scoped to each flow execution. Every node reads from and writes to the same dictionary.
{ "input.file": "invoice-2024-001.pdf" }{ "input.file": "...", "extracted.text": "Invoice #2024-001, Amount: EUR 1,500..." }{ "document.type": "invoice", "confidence": 0.97 }// branches based on dictionary.confidence{ "invoice.number": "2024-001", "invoice.amount": 1500, "currency": "EUR" }{ "salesforce.result": "created", "salesforce.id": "0061x00000..." }DEEP DIVE: DEPLOYMENT
Previous packages preserved. Rollback = re-deploy the previous .zip. No git archaeology required.
Nothing compiles or runs locally. The project is JSON configs + markdown prompts. All execution happens on the sandbox VM.
HOW WE WORK
Our senior engineering team works hand-in-hand with AI agents at every stage. Architecture is a collaborative effort between the team and AI. Implementation, testing, and hardening are continuous loops where engineers guide, review, and validate every decision.
The engineering team designs the system architecture collaboratively with AI agents. Cross-validation between multiple AI systems catches design flaws before any code is written.
AI agents build under engineer guidance. Every commit is reviewed against architecture docs. The team stays actively involved throughout — this is not hands-off generation.
2,000+ end-to-end tests written with TDD. Then adversarial QA probes the system for edge cases that automated tests miss.
Multiple rounds of AI-assisted code review with engineer oversight. Remediation plans executed and verified before merge.
First production deploy: core functionality operational on day one. The system has shipped real work for three clients across logistics, automotive, and educational retail.
We don’t just build AI agents for clients. We use AI agents in our own engineering pipeline. We eat our own cooking — and it works.
We didn’t build a demo. We built the infrastructure.
keenagents.ai