Sandbox
Open Source Core Banking Infrastructure

The Banking Infrastructure
Developers Deserve

42 domain modules covering everything from democratic currency governance to cross-chain DeFi, privacy-preserving identity, AI-driven analytics, and HTTP-native micropayments. Open source. MIT licensed.

Why we built this →

MIT Licensed · Open Source

What Is FinAegis?

A production-grade core banking platform built with Laravel and domain-driven design. 42 bounded contexts, event sourcing, CQRS, and every integration pattern a modern fintech needs—from cross-chain bridges to AI agent commerce.

Cross-chain bridges, DeFi protocols & multi-chain portfolio
Privacy-preserving identity with ZK-KYC & verifiable credentials
RegTech compliance, mobile payments & Banking-as-a-Service

Sandbox environment: All transactions use test data. Explore every feature freely.

Who Is This For?

Developers & Architects

See how event sourcing, CQRS, and DDD work in a real financial system—not just theory, but running code.

Fintech Founders

Fork the codebase and build your product on top of battle-tested banking infrastructure. MIT licensed.

AI/ML Engineers

Integrate AI agents into financial workflows with our MCP tools, A2A protocol, and natural language transaction queries.

MIT Licensed. Contribute on GitHub

Built-In Capabilities

42 domain modules spanning payments, lending, compliance, DeFi, privacy, mobile wallets, AI analytics, and more

Ǥ

Global Currency Unit

A multi-currency basket with democratic governance. Users vote on composition across USD, EUR, GBP, CHF, JPY, and gold.

Learn more →

Multi-Asset Accounts

Hold fiat, crypto, and commodities in a single account with real-time conversion and portfolio tracking.

Explore assets →

Event-Sourced Ledger

Every transaction is an immutable event. Full audit trails, point-in-time reconstruction, and replay capability built in.

See architecture →

Democratic Governance

Stake-weighted voting on monetary policy. Users shape their currency through on-chain governance proposals.

Try voting →

Banking API Patterns

Open Banking-compliant API patterns with Ondato KYC, Chainalysis sanctions screening, and Marqeta card issuing adapters.

View APIs →

REST, GraphQL & OpenAPI

Full REST coverage with OpenAPI specs, GraphQL across 34 domains with real-time subscriptions, and configurable webhooks.

View docs →

AI Agent Protocol

Google A2A protocol for autonomous agent-to-agent commerce. MCP tools, spending limits, and transaction analytics built in.

Explore AI →

Cross-Chain & DeFi

Bridge across Wormhole, LayerZero, and Axelar. Aggregate DEX liquidity, optimize yield, and manage multi-chain portfolios.

Explore bridges →

Privacy & Identity

Prove compliance without exposing data. ZK-KYC proofs, W3C verifiable credentials, soulbound tokens, and Shamir key management.

Learn more →

Mobile Payments

Full mobile backend: passkey authentication, payment intents, P2P transfers, push notifications, and ERC-4337 account abstraction.

View mobile →

RegTech Compliance

MiFID II, MiCA, and Travel Rule adapters with jurisdiction-aware routing. Automated reporting and Ondato KYC integration.

View compliance →

Banking-as-a-Service

White-label your banking stack. Partner APIs, auto-generated SDKs, embeddable widgets, and usage-based billing.

Explore BaaS →

Multi-Tenancy

Full data isolation per tenant with automated migration, per-tenant configuration, and enterprise-grade access controls.

Learn more →

x402 Micropayments

Monetize any API endpoint with per-request stablecoin payments. Built on the x402 protocol, enabling USDC-based pay-per-call on Base with instant settlement and agent-level spending controls.

v5.2.0

Platform Architecture

42 bounded contexts built with domain-driven design, event sourcing, and CQRS. Each module implements specific financial system patterns you can use independently.

FinAegis Core Platform

Domain-driven design · Event sourcing · CQRS

Global Currency Unit (GCU)

Flagship

A democratically governed basket currency where users vote on composition. The system automatically rebalances across six reserve assets based on community governance.

Ǥ

Currency Symbol

6 Assets

USD, EUR, GBP, CHF, JPY, XAU

Mock Banks

Simulated bank connectors

Exchange Module

Order matching engine with limit & market orders

Core
Lending Module

P2P lending with risk assessment

Core
Stablecoin Module

Minting, burning, and peg management

Core
Treasury Module

Portfolio management and yield optimization

Core

Each module is independently usable. Explore the code to understand the patterns, or fork and build on them.

The GCU Concept

What if users could vote on their currency's composition? The GCU is a working implementation of democratic monetary policy.

Democratic

Users vote on currency basket composition. Holdings determine voting weight in this governance model.

  • Monthly voting cycles
  • Transparent tallying
  • Event-sourced audit trail

Multi-Asset Backed

Basket currency backed by six reserve assets—USD, EUR, GBP, CHF, JPY, and gold—with automatic rebalancing.

  • 6 reserve assets
  • Automatic rebalancing
  • Real-time diversification

Production Architecture

Built with the same patterns used in production banking systems. Event sourcing, CQRS, and DDD throughout.

  • Event sourcing
  • CQRS pattern
  • Domain-driven design

Built in the Open

Open Source & MIT Licensed

FinAegis is fully open source. Fork it, learn from it, contribute to it. Whether you're building a fintech startup, researching banking architecture, or just curious how these systems work—dive in.

Technology Stack

Built with modern, well-documented technologies. Easy to understand, extend, and deploy.

Laravel 12

PHP 8.4+ with strict types, event sourcing via Spatie, and DDD structure

Event Sourcing

Complete audit trails with Spatie Event Sourcing and CQRS patterns

AI Agent Protocol

Google A2A protocol implementation with MCP tool integration

REST & GraphQL APIs

OpenAPI/Swagger docs, GraphQL (34 domains), webhooks, and comprehensive test coverage

See developer documentation for full stack details

Built for Developers

Clone, run, and ship. Every endpoint is documented, every pattern is tested, and the full codebase is yours to fork and build on.

RESTful APIs

Well-documented endpoints with OpenAPI specs

Comprehensive Tests

Pest PHP test suite with parallel execution and coverage

Docker Ready

Laravel Sail for easy local development

# Clone and run locally
git clone https://github.com/FinAegis/core-banking-prototype-laravel.git
cd core-banking-prototype-laravel
composer install
cp .env.demo .env
php artisan migrate --seed
php artisan serve
# Access the demo
http://localhost:8000
Email: [email protected]
Password: demo123

Ready to Explore?

Try the live demo, fork the repo, or dive into the documentation. FinAegis is a learning resource for anyone interested in banking architecture.