Skip to content
View leodutra's full-sized avatar
🎯
Rust, SDD, SDLC, RAG, MCP, Omarchy, and beyond
🎯
Rust, SDD, SDLC, RAG, MCP, Omarchy, and beyond

Organizations

@Legalcloud

Block or report leodutra

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
leodutra/README.md

Leo Dutra

Software engineer · former CTO · AI engineering · Rust · Shopify Hydrogen
Rio de Janeiro, Brazil (UTC-3) · remote contractor for U.S. teams since 2018

Former CTO and Chief Software Architect with 20+ years building production systems across e-commerce, fintech, payments, SaaS, and gaming. These days I'm applying that systems background to AI engineering in Rust and Python: LLM agents, RAG, MCP, and local inference, through personal projects.

LinkedIn

Now

  • AI engineering: LLM agents, tool calling, MCP, RAG, embeddings, and vector search, including reranking
  • Rust: personal projects with Rig (LLM agents) and Candle and llama.cpp (local inference), plus developer tools with Rayon
  • Agentic SDLC: Claude Code, Codex, and Cursor with spec-driven workflows, skills, subagents, and parallel git worktrees. My setup is public in agent-skills

Selected work

Most of my professional work lives in private repositories. Highlights, mostly through X-Team:

  • SPANX · Lead Software Engineer: led the Tools & Platform team, owned the Shopify Hydrogen global localization system for the U.S. and Canada (including Quebec) with Global-E, worked with the Principal Engineer on cross-team architecture and web app security, cut average page load 18% (2.0s → 1.64s), and developed Rust tools for batched Sanity CMS data loading
  • SKIMS · Senior Software Engineer: spearheaded the storefront's internationalization end to end on Hydrogen/Remix, with Storefront and Admin API integrations in Node.js and Rust
  • Coinbase · Senior Software Engineer: built a GPT-4 agent with LangChain that automated translation and review of localization content
  • Fair / Shift · Senior Engineer: cut main-page load time ~40% and architected a white-label automotive commerce platform
  • Earlier: CTO at Legalcloud, Chief Software Architect at Crossover / Aurea, the multi-tenant credentialing system at Stone Payments (DDD, microservices), and tech lead at BRQ Digital Solutions
  • Litz Odontologia · Solo build: designed, built, and launched a dental clinic's website in 3 days with Claude Design and Claude Code in a spec-driven agentic workflow. It's a dependency-free static site scoring 100 in all four Lighthouse categories on mobile, with self-hosted fonts and AVIF/WebP images, no third-party scripts, and GitHub Actions deploys to GitHub Pages

Open source

Project What it is Usage
country-emoji Rust port of country-emoji: converts between country names, ISO 3166-1 codes, and flag emojis, with fuzzy name matching. Used by Railway's CLI crates.io
simpleflakes Zero-dependency, Snowflake-compatible 64-bit ID generation for Node.js and browsers, maintained since 2016 npm
game-servers Rust workspace: Leptos (WASM) status dashboard and game-server health checkers, running on a Raspberry Pi bananil.net
agent-skills My Claude Code skills, reference docs, and context-stack configuration
ed-galnet-scraper Rust collector for Elite Dangerous GalNet news articles
ed-tourist-beacon-scraper Rust + Tokio pipeline turning Tourist Beacon sheets into JSONL
arduino-joy-rs Proof of concept: an Arduino joystick as a Linux virtual input device (Rust, evdev/uinput)

I've also contributed to yoursvivek/imdb, a Rust library for IMDb data.

Stack

AI: LLM agents · RAG · MCP · LangChain · OpenAI API · Python
Rust: Tokio · Rayon · Axum · Rig
Web: TypeScript · React · Next.js · Remix · Node.js · GraphQL · gRPC
Commerce: Shopify Plus · Hydrogen · Oxygen · Storefront & Admin APIs · Global-E · Sanity
Cloud & data: AWS · Docker · PostgreSQL · MongoDB · DynamoDB

Guides & gists


Open to Staff and Senior remote contract roles in AI engineering, Rust, and headless commerce. The quickest way to reach me is LinkedIn.

Pinned Loading

  1. country-emoji country-emoji Public

    Converts between country names, ISO 3166-1 codes, and Unicode flag emojis.

    Rust 16 2

  2. simpleflakes simpleflakes Public

    Fast, lightweight, and reliable distributed 64-bit ID generation for Node.js and the web Zero dependencies

    JavaScript 41 2

  3. Install and Setup Windows Subsystem ... Install and Setup Windows Subsystem 2 for Linux, Hyper, ZSH + Oh My Zsh + Powerlevel9k + plugins, FNM + VSCode (+ext) and Nerd Font
    1
    # Setup Windows Subsystem 2 for Linux
    2
    
                  
    3
    **Windows Subsystem 2 for Linux, Hyper, ZSH + Oh My Zsh + Powerlevel9k + plugins, FNM + VSCode (+ext) and Nerd Font**
    4
    
                  
    5
    > To setup native Linux, [see this gist](https://gist.github.com/leodutra/d3b770377bb9188c105b21751bf47e75)
  4. Fast Int Math + Bitwise Hacks For Ja... Fast Int Math + Bitwise Hacks For JavaScript
    1
    /**
    2
     * Bitwise Mathematics Utilities
    3
     * 
    4
     * A collection of fast bitwise operations for integer mathematics.
    5
     * These functions prioritize performance over readability and should be used
  5. game-servers game-servers Public

    Rust

  6. litz-site litz-site Public

    Litz Odontologia: site (published from the private litz-site-src repo)

    HTML