Microservices Core for Alliance Trust Realty's Crypto Debit Card Platform. Features a secure, HMAC-validated Fiat-to-Bitcoin converter and the client-facing card management API.
This repository now includes a root-level vercel.json that maps paths to the two FastAPI services:
/api/v1/*->card_platform_service/webhook/*and/internal/*->converter_service/and/health-> lightweight health app (api/index.py)
If your Vercel deployment previously returned 404: NOT_FOUND, redeploy from the repository root so Vercel picks up this configuration.
An interactive HTML demo of the Nexus platform dashboard is available at:
prototype/nexus-demo.html— Simulates card issuance, fund loading, compliance checks, and displays system status for all agents.
The foundry/ directory contains the agent specifications, configuration schemas, and workflow definitions for the Nexus platform's AI-powered agent layer.
| Agent | Description |
|---|---|
| ComplianceAgent | Enforces KYC/AML regulatory requirements |
| SecurityAgent | Validates HMAC signatures, rate limiting, anomaly detection |
| LedgerAgent | Maintains immutable append-only event ledger |
| PlatformAgent | Orchestrates workflows, health monitoring, deployments |
| BuildAgent | Manages CI/CD pipeline and locked-build enforcement |
| Schema | Description |
|---|---|
| compliance.schema.json | KYC tier rules, AML thresholds, reporting config |
| security.schema.json | HMAC settings, rate limits, anomaly thresholds |
| ledger.schema.json | Ledger event entry format and retention policies |
| platform.schema.json | Service registry, workflow settings, retry policies |
| build.schema.json | CI pipeline, artifact config, promotion policies |
| Workflow | Description |
|---|---|
| nexus-locked-build.yaml | Gated build-and-deploy pipeline with agent validation gates |
| File | Description |
|---|---|
| scripts/foundry/RUN_WORKFLOW.md | Step-by-step guide to running the locked-build workflow |
| scripts/foundry/PROMPTS.md | LLM prompt templates for invoking each Foundry agent |