Ricardo Ortega Magaña, Ph.D.
AI Engineer • AI Technology Developer • Data Scientist
Birth: Apr 27, 1986 Status: Married
Phone / WhatsApp / Telegram: (+52) 331 138 0117
Location: Ocotlán, Jalisco, México (47800)
Address: Madero 174c, Centro
Updated: 26 Sep, 2025

Professional Summary

Experienced AI Technology Developer and Data Scientist with a Ph.D. in Information Technologies and 7+ years building AI/ML solutions. Specializes in Python, LangChain/LangGraph, LangSmith, LangFuse, and RAG-based architectures. Proven ability to design AI agents that connect with enterprise workflows, automate tool creation, and integrate across vector databases and orchestration systems.

  • Designs AI agents and POCs with LangChain, LangGraph, LangSmith, and LangFuse for document retrieval, workflow automation, evaluation, and observability.
  • Builds RAG pipelines to identify U.S. SAM.gov opportunities; manages embeddings across MariaDB (PGVector), Pinecone, and ChromaDB.
  • Implements code generation for tools, scrapers, and wrappers; integrates Playwright E2E tests and voice (TTS/STT) flows for agentic bots.
  • Connects n8n flows with LLMs via MCP Servers; augments enterprise automation by bridging Power Automate with n8n.
  • Hands-on with computer vision (OpenCV, YOLO), parallel processing (MPI, CUDA), and low-level device drivers (CCTalk, Serial, HID).

Work Experience

AI Engineer
Arroyo Consulting — Nashville, TN, USA (Remote)
Sep 2024 – Present
  • Designed and deployed AI agent architectures using LangChain, LangGraph, and LangSmith with LangFuse for tracing and evaluations.
  • Implemented RAG pipelines for continuous scanning/classification of SAM.gov procurement opportunities aligned with client domains.
  • Integrated n8n + MCP Servers + Power Automate to orchestrate cross-platform automations with LLM tool-calling.
  • Built Playwright-based E2E validation agents; added TTS/STT voice interfaces for internal support flows.
  • Optimized vector-store selection across MariaDB PGVector, Pinecone, and ChromaDB for latency and cost.
AI Technology Developer & Engineering Advisor
BEATT, USA
Jul 2017 - Sep 2024
  • Led research projects, prototyping, and technology selection for computer vision, data acquisition, and device control.
  • Developed two complete Ticket Vending Machine (TVM) software stacks: one integrated with ™Cubic transport API; another with full product catalog for South Shore Transportation Agency.
  • Implemented custom drivers and monitoring for: Coin validators (CCTalk), Bill validators (Serial), QR readers (Serial), RFiD readers (Serial), custom HID ticket printers (hopt-schuler.com), card dispensers, thermal receipt printers, and Ingenico Pinpad via ChipDNA.
  • Built TVM Manager (C# WinForms) for multi-server fleet configuration, status monitoring, and first-boot provisioning.
  • Hardened systems with tamper sensors, comms loss recovery, and robust error handling.
Independent Consultant / Research Developer
Various Clients & Academic Groups
2010 – 2017
  • Developed multiple Telegram bots (@TradingAlert_bot, @AdsVideoPlayer_bot, @ridesmx_bot, @bookServerbot) and Android/Unity3D apps with content sync and MD5 integrity checks.
  • Built GymOnline (POS & access control) across 5 gyms with Arduino-based turnstile control and WinForms migration.
  • Created VB.NET Basketball Scoreboard with hotkey-driven UX and dual-display support.
  • Implemented OpenCV/YOLO pipelines with Intel RealSense for pedestrian/vehicle detection and onboard people counting.

Recent AI Work

  • Documentation Retrieval (POC): Python PDF ingestion via langchain-community loaders to a local Chroma vector store; searchable through a Node.js web UI using AIEmbeddings tuned for technical docs.
  • E-Mail Reflection Agent: LangGraph + OpenAI (GPT-4o mini) to analyze threads and generate coherent, action-oriented replies; graph includes verification checkpoints for clarity and relevance.
  • Developer Documentation Agent: Doxygen site scraper → offline Chroma store; LangGraph answers from docs; fallback to Google via Tavily with sanity checks for coherence using GPT-4o mini.
  • SAM.gov Procurement Pipelines: Continuous ingest, classify, and alert; vector-store routing across PGVector/Pinecone/Chroma with cost/latency-aware policies.
  • Automation: n8n ↔ MCP Servers ↔ Power Automate orchestration; Playwright-based E2E testing; speech I/O for internal agentic assistants.

Selected Projects

  • Multiple Protein Sequence Alignment (C#, CUDA, C++): Guide-tree innovation using novel radial distance; repositories: PhdThesisAlign4
  • Icarus Softcore (VHDL, VB, Java): Softcore CPU for FPGAs; compiler emits tailored hardware to reduce device utilization.
  • Telegram Bots (PHP, MySQL, Web APIs): @TradingAlert_bot (Ichimoku signals), @AdsVideoPlayer_bot (remote playlist control), @ridesmx_bot (rides), @bookServerbot (67k+ titles; tagging/resume-based search).
  • GymOnline (PHP, MySQL, Embedded): POS & access control across 5 gyms; Arduino bridges PC↔turnstiles; later WinForms app w/ fingerprint & printing.
  • Basketball Scoreboard (VB.NET): Live scoring with dual display — demo: YouTube.
  • Computer Vision (OpenCV, YOLO): RealSense-based pedestrian/vehicle detection; object counting on public transport.
  • Ticket Vending Machines (TVM): Full stack incl. ChipDNA/Ingenico, QR tickets, coin/bill validators, RFID, printers; plus central control manager (C#).

Publications

  • Sequence Alignment by Radial Evaluation of Local Interactions. DOI: 10.2174/1574893613666180130143055. Proposed a novel radial distance metric to generate robust guide trees for MSA; demonstrated statistically superior SP/CS scores vs. MUSCLE/Clustal Omega guide trees on SABRE & PREFAB.
  • Modeling the Turning Speed and Car Following Behaviors of Autonomous Vehicles in a Virtual World. Ing. invest. y tecnol. (2015) 16(3):391–405. ISSN 1405-7743. (CARRILLO-GONZALEZ, ARAMBURO-LIZARRAGA, ORTEGA-MAGANA)
  • Design of a distributed-control serial bus architecture with dynamical connection among channels ("Zinbus"). Scientific figure & latency analysis: ResearchGate.
  • Scientific Computing in Gravitation. Proceedings of the 1st International Supercomputing Conference in México (ISUM 2010), Guadalajara — initial work with CACTUS on UdeG VIRGO cluster.
  • Electroencephalographic high-performance cloud data processing system. Proceedings of ISUM 2013, Guadalajara — online cluster processing platform for EEG datasets with significant runtime reductions vs. standalone execution.

Acquired Knowledge

Self-assessed proficiency across domains

Development & Programming
Technology Area Technologies & Tools Proficiency
Web Development PHP, MySQL, HTML, CSS, JavaScript Advanced
Modern Web Frameworks React, Node.js, Express Intermediate
Desktop Development C#, VB.NET, WinForms Advanced
Cross-Platform Development Java, C++ Intermediate
Data Science & AI
Technology Area Technologies & Tools Proficiency
AI/ML Development Python, Django, FastAPI, FastMCP Advanced
ML Frameworks & Tools TensorFlow, scikit-learn, NumPy, Pandas, Streamlit Intermediate
LLM & Agent Frameworks LangChain, LangGraph, Ollama Intermediate
Systems & Infrastructure
Technology Area Technologies & Tools Proficiency
Windows Systems Windows Server, Administration, Deployment Advanced
Linux Systems Ubuntu, CentOS, Shell Scripting Intermediate
MacOS Basic usage and development Basic
Cluster Management Beowulf, DHCP, SSH, FTP, RISP, MPI Intermediate
Specialized Technologies
Technology Area Technologies & Tools Proficiency
Computer Vision OpenCV, YOLO, Accord, Intel RealSense Intermediate
Parallel Processing MPI, OpenMP, CUDA Intermediate
Hardware Design VHDL, FPGA Development Intermediate
Rapid Prototyping Arduino, Raspberry Pi, ATMega, PIC MCUs Advanced
Game / Mobile Unity3D, Game Development Intermediate
Tools & Productivity
Technology Area Technologies & Tools Proficiency
Databases MariaDB, PostgreSQL, MongoDB, SQLite, Redis, Pinecone, ChromaDB Advanced
Versioning Git, GitHub, Version Control Advanced
Reporting MS Office Suite, Azure DevOps Advanced
Design Photoshop, Illustrator, AutoCAD, Fusion 360 Intermediate
Methodologies & Management
Technology Area Technologies & Tools Proficiency
Methods Agile, PRINCE2, Kanban, Scrum Advanced