Skip to the case study
Cérebro AmigoCérebroAmigo
BUILDERPatrick Arinelli

FULL-STACK AI · CLINICAL SYSTEMS

I build full-stack AI systems that know where autonomy must stop.

A production-shaped psychiatry platform spanning product, cloud, data and AI—built with explicit human authority.

CREATORPatrick Arinelli

DEPLOYMENT / VERIFIED SCOPE

Current portfolio runtime

Frontend
Vercel
Backend
Azure Container Apps
Database
Azure PostgreSQL
Region
eastus2 · United States
Fictional demo data only.

This public environment is not an active medical service and makes no Brazilian data-residency claim. AWS appears only as previous or reference architecture and is outside the current public request path.

SYSTEM GOVERNANCE · CONTINUOUS TRACE

Governance spans the full stack.

From edge to review, every interaction is traceable, controllable and built for clinical safety.

AUTH & ACCESS

httpOnly sessions, explicit tenant filters and database RLS.

DATA GOVERNANCE

Encryption, immutable audit trails and fictional demo data.

AI GOVERNANCE

Provider boundaries, redacted traces and fixed crisis behavior.

OBSERVABILITY

Health gates, structured logs and inspectable decisions.

ARCHITECTURE CASE STUDY

The boundaries are the architecture.

Cérebro Amigo works between psychiatric consultations. That makes ownership, isolation and failure behavior part of the product—not backend trivia.

01

PRODUCT → PLATFORM

One signal. Explicit owners.

The patient experience, BFF, transactional API, AI orchestration and data layer each keep a narrow contract. The architecture is complex because the responsibilities are real—not because the diagram needs more boxes.
Next.js BFF → .NET gateway → Python AI services → PostgreSQL
02

AUTOMATION → AUTHORITY

The boundary is part of the product.

AI can organize, summarize and flag. It cannot diagnose, prescribe or change a dose. High-risk paths stop at fixed safeguards and physician review.
ADR-035 · ADR-041 · ADR-063
03

CODE → OPERATIONS

The stack is real. The tour is resilient.

The authenticated product uses the Azure portfolio stack. The public recruiter tour is a read-only snapshot of the same fictional seed, so a cold backend never blocks inspection.
ADR-080 · infra/seed/portfolio.sql · apps/web/app/demo

IMPLEMENTED, NOT MOCKED

One repository. Explicit service boundaries.

Next.js 16 .NET 10 Python AI PostgreSQL Azure Human review