Enterprise-grade, AI-native infrastructure for building and deploying Large Language Model applications
D.Coder is a comprehensive LLM platform designed specifically for Deloitte's insurance industry needs, with a focus on Guidewire Insurance Suite applications. The platform provides:
- 70% reduction in LLM costs through semantic caching and prompt compression
- 100% open-source stack with no vendor lock-in
- Enterprise-ready with multi-tenancy, SOC2 compliance, and full audit trails
- Deloitte IP protection with encrypted prompts accessible only at runtime
- Kong Gateway (Port 8000): Platform service routing, rate limiting, observability
- LiteLLM Proxy (Port 4000): LLM-native routing with Redis caching, prompt compression, cost-based routing
| Service | Port | Description |
|---|---|---|
| Platform API | 8082 | Multi-tenancy, authentication, quotas, governance |
| Agent Orchestrator | 8083 | Durable workflows with Temporal & LangGraph |
| Knowledge & RAG | 8084 | Document processing, semantic search (pgvector β Milvus) |
| Integrations | 8085 | JIRA, Bitbucket, Confluence connectors |
| LLMOps | 8081 | Prompt engineering, A/B testing, evaluation (Agenta + MLFlow) |
- PostgreSQL (5432), Redis (6379), MinIO (9000/9001), NATS (4222)
- Temporal (7233), Logto (3001/3002), Flagsmith (8090)
- Prometheus (9090), Grafana (3005), Loki (3100)
- Node.js 20+ and pnpm 8+
- Docker & Docker Compose
- Python 3.11+
- Git
# Clone the repository
git clone https://github.com/deloitte/dcoder-platform.git
cd dcoder-platform
# Install dependencies
pnpm install
# Copy environment template
cp .env.example .env
# Edit .env with your API keys
# Start infrastructure
make infra-up
# Start full stack (optional)
docker-compose --profile full up -d# Check infrastructure status
make status
# View logs
make infra-logs
# Test connectivity
curl http://localhost:8000/health # Kong
curl http://localhost:4000/health # LiteLLM
curl http://localhost:8082/health # Platform APID.Coder/
βββ services/ # All application services
β βββ kong-gateway/ # Kong platform gateway
β βββ litellm-proxy/ # LiteLLM LLM gateway
β βββ platform-api/ # Platform API service
β βββ agent-orchestrator/ # Agent orchestration
β βββ knowledge-rag/ # RAG service
β βββ integrations/ # External integrations
β βββ llmops/ # LLMOps platform
β βββ client-apps/ # Client applications
β
βββ packages/ # Shared libraries
β βββ python/ # Python packages
β β βββ dcoder-common/ # Shared Python utilities
β βββ typescript/ # TypeScript packages
β βββ dcoder-sdk/ # Platform SDK
β
βββ infrastructure/ # Infrastructure as code
β βββ docker-compose.base.yml
β βββ postgres/
β βββ redis/
β βββ observability/
β βββ ...
β
βββ tools/ # Build tools and scripts
β βββ scripts/ # Helper scripts
β βββ docker/ # Docker utilities
β βββ ci/ # CI/CD scripts
β
βββ docs/ # Documentation
βββ .github/ # GitHub workflows & CODEOWNERS
βββ nx.json # Nx workspace config
βββ package.json # Root package.json
βββ pnpm-workspace.yaml # pnpm workspace
βββ docker-compose.yml # Root orchestrator
βββ Makefile # Developer commands
# Infrastructure management
make infra-up # Start infrastructure
make infra-down # Stop infrastructure
make infra-logs # View infrastructure logs
# Service management
make service-up SERVICE=platform-api # Start specific service
make service-logs SERVICE=platform-api # View service logs
make dev-up # Start full stack
# Development workflows
make build-all # Build all services
make test-all # Run all tests
make lint-all # Lint all services
# Nx commands
pnpm nx graph # View dependency graph
pnpm nx affected --target=test # Test affected services
pnpm nx affected --target=build # Build affected services
# Cleanup
make clean # Clean build artifacts
make reset # Full reset (WARNING: deletes data!)# Option 1: Using make
make service-up SERVICE=platform-api
# Option 2: Direct docker-compose
cd services/platform-api
docker-compose up
# Option 3: Full stack
docker-compose --profile full up -dpnpm changeset# Test specific service
pnpm nx test platform-api
# Test all affected by changes
pnpm nx affected --target=test
# Test everything
make test-all- Grafana: http://localhost:3005 (admin/admin)
- Prometheus: http://localhost:9090
- Temporal UI: http://localhost:8088
- MinIO Console: http://localhost:9001
- System prompts encrypted using envelope encryption (AES-GCM)
- Runtime-only decryption
- Complete audit trails with cryptographic signatures
- Master control for access revocation
- SSO/OIDC integration via Logto
- ABAC (Attribute-Based Access Control) with Casbin
- Multi-tenancy at org/group/user levels
- Feature flags and quota enforcement
- Gateways: Kong 3.8 OSS, LiteLLM Proxy
- Backend: FastAPI (Python)
- Orchestration: Temporal, NATS JetStream
- LLM Ops: Agenta, MLFlow, Langfuse
- RAG: LlamaIndex, pgvector (MVP) β Milvus (scale)
- UI: Open WebUI, Next.js
- Observability: Prometheus, Grafana, Loki, OpenTelemetry
- Auth: Logto / Keycloak
- Build: Nx, pnpm workspaces
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
PROPRIETARY - Deloitte USI IGS. All rights reserved.
Built with β€οΈ by Deloitte USI IGS