themarceloribeiro.com

Marcelo Sousa Ribeiro.

AI / LLM Engineer · Senior Full-Stack (15+ years)United Kingdom

AI/LLM engineer with 15+ years building and scaling production web platforms. I build agentic systems and the infrastructure around them — LLM orchestration and tool-calling (LangChain, Composio, MCP, multi-model routing via OpenRouter), retrieval over vector databases, and the production plumbing that keeps autonomous agents reliable and within budget. That AI work sits on a deep full-stack and systems foundation: Python, TypeScript, Ruby, and Go across FastAPI, Next.js, and Rails on AWS, with a track record of scaling platforms to millions of users. I pair frontier AI engineering with the systems judgment to actually run it in production.

01Where I've worked

Experience

Founding EngineerFlooxAI

Oct 2025 — Present

London, UK

Building an agentic AI platform that connects LLMs to the business tools people already use (HubSpot, Salesforce, Gmail) and to third-party MCP servers, so an agent can carry out real multi-step work.

  • Built the agentic core connecting LLMs to business tools and connectors via LangChain and Composio, including third-party MCP servers.
  • Designed credit-based agent workflows for multi-step tasks: analyzing analytics and graphical data, preparing events, and drafting OKRs.
  • Wired multi-model LLM access through OpenRouter with vector-database retrieval and agentic orchestration.
  • Shipped the full stack end to end — backend, frontend, and mobile.

Senior Software EngineerCanary Technologies

Mar 2024 — Oct 2025

One of the lead developers on the hotel guest journey, building the in-hotel digital compendium (amenities, room service, upgrades) across frontend and backend, deployed to tens of thousands of hotels.

  • Built a significant part of the compendium across frontend and backend (Stripe, Python, TypeScript).
  • Built and launched Apple Wallet / Google Wallet mobile keys, integrating Apple PassKit, Vostio, and Dormakaba SDKs.
  • Built the tipping and feedback service, integrated with Google and TripAdvisor.

Lead Full-Stack EngineerTPXImpact

Jul 2022 — Feb 2024

Led full-stack development of tools for UK local governments to manage council homes, tenants, and tenant–council communication, built to GOV.UK standards and accessibility requirements (Ruby on Rails, JavaScript, AWS).

  • Led a team of 3 building and optimizing council-management tools.
  • Built systems for benefits and payment collection from council homes.
  • Brought UX and UI to GOV.UK accessibility standards, driving meaningful gains in tool adoption.
  • Planned and executed deployment strategies that streamlined production releases and cut downtime.

Senior Full-Stack EngineerDeliveroo

Jun 2020 — Jul 2022

Worked across the platform for the UK's leading food-delivery service, focused on database performance and a large-scale, multi-market sharding effort (Ruby on Rails, PostgreSQL, AWS).

  • Drove the data-sharding effort — migrated a large monolithic database to UUID keys and split it across market areas (UK, EU, Emirates).
  • Designed a migration strategy that broke a monolithic database into 20+ shards to handle major growth in user traffic.
  • Optimized heavy queries through denormalization and index improvements, substantially improving load times.

Senior Software EngineerBarkBox

Oct 2017 — Nov 2020

Owned payments end to end and was a key developer in warehouse management and fulfillment, supporting a subscription business that grew past 2 million subscribers (Ruby on Rails, JavaScript, TypeScript, Vue.js, AWS).

  • Owned the payments system end to end — recurring and gift subscriptions, gift cards, and multiple recurrence models, integrated with Recurly.
  • Built the assignment logic determining which products shipped for each subscription chosen.
  • Developed backend payment endpoints and optimized checkout flows.
  • Contributed to warehouse management and fulfillment, integrating Pitney Bowes.

Lead Software EngineerCrystalCommerce

Oct 2015 — Oct 2017

Led a team of 6 on a high-traffic marketplace for the game and hobby industry — 1,200+ online stores, ~2M orders/month, 5M monthly active users.

  • Built an Elasticsearch cluster with geocode search over hundreds of millions of records, cutting unified search from 20+ seconds to ~1 second.
  • Added frontend caching and a JSON layer to keep the high-traffic platform fast.
  • Led a datacenter migration of 40+ servers/instances — DNS, PostgreSQL, MySQL, EC2, and S3.
02Public work

Open Source

Turnstilesession-layer circuit breaker for LLM / agent traffic

github.com/marceloribeiro/turnstile

A transparent streaming proxy that sits between an app and any LLM provider, meters every agent session in real time, and trips a circuit breaker the instant one session goes rogue (a runaway agent loop or a blown budget) — without taking down the rest of the app. Drop-in (swap one base URL, no SDK changes), session-precise, microsecond-scale added latency, fail-open.

  • Go data plane — proxy, provider adapters, session resolution, metering/pricing, and enforcement — proven live end to end; FastAPI control plane and Next.js dashboard.
  • OpenRouter adapter live; direct OpenAI (incl. Responses API) and Anthropic adapters in progress.
03Capabilities

What I build

/Backends & APIs

FastAPI services

Production APIs with JWT auth, SQLAlchemy 2 + Alembic migrations, PostgreSQL, REST + WebSocket — deployed behind nginx + systemd.

Event-driven microservices

Several small services around an Events API hub with webhook dispatch and a JWT authority — for when one monolith isn't the right shape.

Background jobs

Celery + Redis for long-running and scheduled work: enrichment pipelines, async LLM calls, and fan-out tasks.

/Web, Mobile & TypeScript

Next.js web apps

App Router + React 19, TypeScript, Tailwind, shadcn. Typed API clients, zod validation, and HTTP + WebSocket against the backend.

React Native mobile

Cross-platform apps with HTTP + WebSocket + FCM push, deep links, and App Store / Play Store releases via fastlane.

Typed end to end

TypeScript from the API contract through the client — domain types mirror the backend models so the whole stack stays honest.

/AI & Agents

Agentic apps with LangChain

Persistent LLM chat where the model calls tools wired to real services and the database, with replies streaming token-by-token over WebSocket.

Tool-calling on real data

LangChain @tool wrappers over service operations, context-injected user + DB session — the model acts on real records, never raw SQL or secrets.

Third-party tools via Composio

Web search, Gmail, Slack and more as fallback tools alongside native ones, enabled per-deployment from a DB-backed admin registry.

/Product surfaces

Visual page / storefront builder

Composable page components with a drag-and-drop admin canvas and a public renderer — non-devs compose pages from typed blocks.

Ecommerce + Stripe

Product catalog, cart, checkout, and orders — with Stripe payments, saved cards, and subscriptions.

Organizations & multi-tenancy

Orgs, members, roles, and invitations — the backbone for B2B and team-based products.

Media, tags & domains

Org-scoped media on S3, polymorphic tagging, and in-app domain registration + DNS through a registrar API.

/Ship & operate

Domain → production, end to end

Register a domain, deploy API + frontend to a server, wire DNS, and serve over HTTPS — automated. (This very site shipped that way.)

Operations & reliability

CI/CD, health checks, CORS, staging/rollback, backups, Sentry, transactional email, security headers, and rate limits.

Infra & storage

Docker Compose sidecars (Postgres, Redis, Elasticsearch), S3 public/private buckets, nginx + systemd, and Let's Encrypt TLS.

Tested in real browsers

Playwright end-to-end suites with page objects, auth fixtures, and CI integration.

04Toolkit

Skills

AI / LLM

Agentic systemsLLM orchestration & tool-calling (LangChain, Composio, MCP)Multi-model routing (OpenRouter)RAG / vector databasesStreaming LLM proxying & metering

Languages

PythonTypeScriptJavaScriptRubyGo

Frameworks

FastAPINext.jsReactRuby on RailsVue.js

Architecture & Data

PostgreSQLElasticsearchMicroservicesAPI designSystem scaling

Cloud & DevOps

AWSDocker
05Education

Education

Y Combinator

Startup School

2019

University of São Paulo

BSc, Physics with Scientific Software Programming · São Paulo, Brazil

2008
06Currently building

vibeworkin

AI tools for productivity — my YouTube channel. Latest videos below.

Watch on YouTube
07Get in touch

Let's talk