Skip to content

Tech Stack ​

LeanCore is built on a modern, production-grade stack designed for reliability and scale.

Core Components ​

ComponentTechnologyNotes
BackendJava 25, Spring Boot 4.0.1Spring AI 2.0.0-M2 for AI orchestration
FrontendVue 3.4, Vite 5.2, PiniaSingle-page application
DatabaseMySQL 8Multi-tenant schema-per-org architecture
Vector StoreApache Cassandra 5.0Voyage AI embeddings (1024 dimensions)
SearchVoyage AI (voyage-4-large)Semantic search for tool routing and knowledge
SecurityJWT (HS256), AES-GCMToken auth + encrypted credential storage
API DocsOpenAPI 3.0.380+ endpoints across 40 controllers

AI Models ​

StageModelProvider
CoordinatorClaude Opus 4.6Anthropic
ExpertMiniMax M2.7 HighSpeedMiniMax
ValidatorLlama 3.2 3BTogether.ai
GroundingGPT 5.4 MiniOpenAI

Infrastructure ​

ServiceTechnology
MessagingWhatsApp via Evolution API
ObservabilityLangfuse for AI trace capture
MonitoringPrometheus + Grafana + Tempo
HostingHetzner Cloud (dedicated servers)
CDN & DNSCloudflare
Frontend HostingCloudflare Pages

MCP Connector Stack ​

All connectors use the Model Context Protocol (MCP) with Streamable HTTP transport:

ComponentTechnology
RuntimeNode.js
SDK@modelcontextprotocol/sdk
TransportStreamable HTTP (stateless)
AuthBasic authentication
HealthGET /health endpoint on every server

Project Structure ​

leancore/
  LeancoreAI/                    Core engine (Java, Spring Boot)
  LeancoreAdminFrontEnd/         Admin dashboard (Vue 3)
  docs/                          Documentation
  deploy/                        Docker Compose configuration
  [connector]-mcp-server/        MCP connectors (Node.js)

API Surface ​

The platform exposes 80+ REST API endpoints organized across these groups:

GroupEndpointsPurpose
Authentication3Login, refresh, verify
Registration1Public org+user creation
Organizations4CRUD + billing email
Users6CRUD + invite
Specialists6CRUD + wizard + WhatsApp QR
Chat5Stream, async, sessions, upload
MCP Integration7CRUD + sync + tools + catalog
Billing10Credits, usage, packages, circuit
Workspaces10CRUD + threads + artifacts + files
Tasks & Projects4CRUD
Contacts2CRUD
Company Intel25-layer intelligence

LeanCore AI - Hire smarter. Not more.