This document lists the recommended technology choices for the microservices-based, multi-tenant orchestration builder with graph/vector memory, agentic workflows, and enterprise SaaS features.
- Language: TypeScript (Node.js 20+)
- Service Framework: Fastify or Express.js (REST APIs); gRPC (high-performance backend calls, if needed)
- Monorepo Management: Turborepo
- Event Bus: Redis Streams (central event-driven workflow spine)
- Job Queue: BullMQ (distributed workflow/task/job execution, backed by Redis)
- Relational Database: PostgreSQL 15+ (state, events, tenant, user, config)
- Knowledge Graph: Neo4j 5.x or ArangoDB 3.x (relationships, context, temporal patterns)
- Vector Database: Qdrant 1.7+ or Weaviate 1.24+ (semantic embeddings, similarity search, memory)
- Agent Registry & Execution: Node.js Worker Threads and BullMQ runners (for concurrent, isolated execution)
- Embedding Generation: OpenAI API (
text-embedding-ada-002);
Alternatives: Cohere, HuggingFace Sentence Transformers
- Authentication: JWT (with tenant_id claims)
- OAuth2/SAML SSO: Passport.js (for enterprise logins)
- Rate Limiting: API Gateway, Redis-backed counters
- Logging: Winston (per-service logging)
- Distributed Tracing: OpenTelemetry (spans/traces across services)
- Metrics & Dashboard: Prometheus (service metrics), Grafana (dashboards)
- Health Checks:
/healthendpoint for all microservices
- Containerization: Docker (all services/dbs), Docker Compose (dev/local orchestration)
- Orchestration: Kubernetes (prod, for scaling/multi-cloud)
- CI/CD: GitHub Actions (build/test/deploy pipeline)
- Config: dotenv (
.env) per service; secrets management in deployment
- Frontend Library: React.js (or Next.js)
- UI Components: Chakra UI or Material UI
- ORM & DB Migrations: Prisma (with TypeScript)
- Testing: Jest (unit/integration/API test)
- Linting/Formatting: ESLint, Prettier
| Service/Layer | Technology Choices |
|---|---|
| APIs/Microservices | TypeScript, Node.js, Express, Turborepo |
| Event Bus | Redis Streams |
| Job Queue | BullMQ (Redis) |
| Relational DB | PostgreSQL |
| Knowledge Graph | Neo4j or ArangoDB |
| Vector DB | Qdrant or Weaviate |
| Agent Execution | Node.js worker threads, BullMQ |
| Auth & Tenancy | JWT, Passport.js (OAuth2/SAML) |
| Observability | Winston, OpenTelemetry, Prometheus, Grafana |
| Container/Orchestration | Docker, Docker Compose, Kubernetes |
| CI/CD | GitHub Actions |
| Frontend (Demo/Editor) | React.js, Chakra UI/Material UI |
| ORM/Models | Prisma |
| Testing | Jest, Supertest |
| Lint/Format | ESLint, Prettier |
| Embeddings | OpenAI, Cohere, HuggingFace |
This technology stack ensures modern cloud-readiness, modular microservices, multi-tenancy, and extensibility for your B2B SaaS orchestration platform.