Skip to content

PatrickFanella/subcorp

Repository files navigation

Subcorp

Subcorp is a self-hosted multi-agent AI platform I built to explore how autonomous agents can collaborate, use tools, retain context, and drive work forward inside a full-stack product.

It brings together a modern web application, typed backend services, real-time communication, vector-backed memory, and containerized infrastructure in one cohesive system.

What this project demonstrates

  • Full-stack engineering: built with Next.js, React, TypeScript, and PostgreSQL across both product and platform layers
  • AI systems design: orchestrated six distinct agents with role-based behavior, memory, tool access, and long-running workflows
  • Backend architecture: modeled proposals, missions, events, and execution pipelines for autonomous task handling
  • Real-time product development: implemented live multi-agent interaction over WebSockets
  • DevOps mindset: packaged the stack with Docker Compose and repeatable build and operational workflows

Tech stack

  • Next.js 16
  • React 19
  • TypeScript
  • PostgreSQL 16 + pgvector
  • WebSockets
  • OpenRouter SDK
  • Tailwind CSS 4
  • Docker / Docker Compose

Highlights

  • Designed a closed-loop workflow for proposals, missions, roundtables, and agent sessions
  • Built native tool execution for web research, file access, shell commands, and delegated sub-agents
  • Combined frontend UX, backend orchestration, data modeling, and infrastructure in a single production-oriented codebase

Why it matters

This project is a strong example of the work I enjoy most: turning ambitious product ideas into reliable software, connecting AI capabilities to practical architecture, and shipping across the stack.

If you're hiring for full-stack, platform, or AI-enabled product engineering, Subcorp is meant to show both technical range and the ability to execute on complex systems.

Repository notes

  • /src contains the application, APIs, and core product logic
  • /scripts contains worker and operational tooling
  • /docs contains deeper architecture and project notes

About

Self-hosted multi-agent system — 6 AI agents with native tool execution, autonomous workflows, roundtable conversations, and semantic memory. Next.js 16 · PostgreSQL + pgvector · OpenRouter.

Topics

Resources

Stars

Watchers

Forks

Contributors