Skip to content

Oscar J. Hernandez . Data Scientist, Engineer, Builder

Agentic Systems Lab

Building intelligent systems that turn data into decisions, and decisions into action.

I explore how machine learning, scientific computing, and distributed systems can solve practical problems. From robots that reason about their surroundings to platforms designed for automated experimentation, these projects investigate what happens when intelligent software moves beyond generating answers and starts interacting with the world.

  • Python
  • SQL
  • Kafka
  • Flink
  • Kubernetes
  • PyTorch
Automated data science for self-improving software

Experimentation Factory

Experimentation Factory explores autonomous product improvement using a local AI model that analyzes customer behavior, proposes interventions, and learns from their results.

The platform simulates 100,000 customers, generating 730 GB of data per simulated year. Kafka, Dagster, dbt, and a semantic layer provide the data infrastructure.

A hidden statistical model simulates customer responses, forcing the AI to discover effective strategies through experimentation rather than knowing the answers.

The goal: Build software that continuously learns to improve business outcomes.

Data infrastructure is operational. Autonomous experimentation is under development.

  • Simulated customers 100,000
  • Volume per simulated year About 730 GB
  • Backfill In progress, over 1 year
  • Data infrastructure operational
  • Autonomous experimentation loop under development
Recorded pipeline demo
Recorded on the running lab: a live simulation, Kafka and Flink, and Trino queries on the lakehouse.
Robot navigation with an LLM planning layer

Sophy

Sophy is a walking robot that combines traditional robotics with local language-model reasoning. It uses SLAM to navigate its environment, while an AI planning layer interprets observations and proposes actions. Motion remains subject to supervision and independent safety checks. The system operates in simulation and on physical hardware.

Why it matters: Sophy explores how flexible AI reasoning can be integrated with reliable robotic control, bringing us closer to machines that can understand and execute complex tasks safely.

  • SLAM and navigation implemented
  • LLM planning on physical robot
  • Supervised motion
  • Unsupervised operation planned
Physical robot
Filmed on the physical robot, with the sound removed. The opening frame labels the sensors, servos, and onboard computer. The clip shows a dance calibrated on the hardware.
Simulation demo
Recorded in the MuJoCo simulation with no robot connected. The explorer maps a room, a local model takes a spoken request, and Sophy walks, expresses and dances.
RAG-powered exams and learning from textbooks

Apollo Lyceum

Apollo Lyceum transforms a collection of textbooks into a personalized problem-solving environment. Describe a topic, difficulty, or type of challenge, and a local language model uses hybrid retrieval to find relevant exercises and assemble targeted exams or learning paths, with references to the original material.

Why it matters: It makes specialized knowledge more accessible and helps learners spend less time searching for suitable exercises and more time developing genuine understanding.

  • Practice app deployed
  • Local model classification and retrieval implemented
  • Voice interviewer built, not deployed
Books exam demo
Recorded on a local instance. A request for a one hour statistical mechanics exam returns three textbook problems with sources. A language model gives a hint, and Open PDF shows the exam.
A coding game with an opponent that learns

Circuitwild

Circuitwild is a coding adventure where players explore a shared world while facing an adaptive AI opponent. Instead of relying entirely on predefined behavior, the opponent uses Bayesian inference to update its beliefs about players, resources, and events, and adjusts its decisions as the game evolves.

Why it matters: It demonstrates how probabilistic reasoning can create adaptive, explainable AI behavior, with applications in games, simulations, and intelligent decision-making systems.

  • Bayesian learning implemented
  • LLM chat implemented
  • Strategic advisor planned
Recorded gameplay demo
Recorded on a local instance. Two players share a world, a Python challenge captures a Robomon, the faction AI answers a chat message, and its developer console shows its beliefs.

Deployed Applications

Two applications run on the lab's Kubernetes cluster, each with a full deployment pipeline and a nightly usage export to the lakehouse.

A workspace for knitting and crochet

Knitter

Knitter brings patterns, progress tracking, row counters, and yarn inventories into a single workspace. Instead of juggling notes, spreadsheets, and separate tools, makers can organize their projects and focus on the creative work.

Why it matters: It simplifies a fragmented workflow, making complex projects easier to manage and complete.

  • Live
  • Deployed on the Kubernetes cluster
  • Nightly lakehouse export
Recommendations based on your preferences

RANK

RANK is a developing recommendation application that learns individual preferences through simple comparisons. Choose between two films or shows, and a personalized machine-learning model uses those choices to refine future recommendations across streaming services.

Why it matters: It explores recommendation systems built around individual tastes rather than popularity or platform-specific promotion, making content discovery more personal and relevant.

A per-user PyTorch model learns from each choice. MLflow tracks and versions the shared model.

  • In development
  • Deployed on the Kubernetes cluster
  • Custom ranking algorithms planned
Deployment platform
  • Pipeline GitHub Actions on self-hosted runners
  • Release Helm upgrade with tests and rollback
  • Runtime K3s cluster and PostgreSQL
  • Data Nightly export to the lakehouse
  • Access Cloudflare Tunnel

Engineering Infrastructure

Local inference and benchmarking

Local AI Inference

Using a GMKtec EVO-X2 with 128 GB of unified memory, I run and evaluate open-source language models locally. A benchmarking system measures inference performance, resource consumption, and energy usage to understand the practical limits of affordable, self-hosted AI.

Why it matters: Local inference offers greater control over data, deployment, and operating costs, making independent AI applications less dependent on commercial cloud providers.

  • Benchmark harness implemented
  • Numeric results stay in the benchmark repository
GMKtec EVO-X2 with a silver base, black front panel, and red illuminated grille.
Specifications
  • System Ubuntu
  • Processor AMD Ryzen AI MAX+ 395
  • Graphics Radeon 8060S
  • Memory 128 GB unified memory
  • Inference Ollama
Simulated customer data platform

Raspberry Pi Data Platform

A six-node Raspberry Pi cluster runs a streaming analytics platform built around Kafka, Flink, Spark, and a lakehouse. It processes simulated customer activity and provides a practical environment for exploring the behavior of distributed data systems under constrained resources.

Why it matters: It demonstrates how modern data architectures can be developed, tested, and understood without relying on expensive cloud infrastructure.

  • Simulated customer workload only
  • Event pipeline implemented
Angled view of the open tower with three front fans and six Raspberry Pi boards on horizontal trays.
Specifications
  • Distribution K3s
  • Nodes 6 (five Pi 5, one Pi 4)
  • Streaming Kafka on 3 nodes, Flink
  • Batch Airflow and Spark
  • Storage MinIO on a separate host
  • Delivery Flux GitOps
Self-hosted CI/CD and deployment

Kubernetes Application Platform

A self-hosted Kubernetes platform provides automated builds, testing, and application deployment. GitHub Actions runs jobs on ephemeral runners, while Helm manages releases to the cluster. The infrastructure supports the lab's applications and their deployment pipelines.

Why it matters: It demonstrates end-to-end software delivery, infrastructure automation, and the engineering practices needed to operate applications reliably.

  • Self-hosted CI runners implemented
  • Application deployments implemented
Three Lenovo ThinkCentre Tiny computers stacked with their front panels facing forward.
Specifications
  • Distribution K3s
  • Nodes 4 (1 server, 3 agents)
  • GPU 1 node with an RTX 2080 Max-Q
  • CI runners Actions Runner Controller
  • Monitoring Prometheus and Grafana
CI/CD and deployment flow
  1. Workflow GitHub Actions jobs
  2. Runner Controller Scales runners from zero
  3. Ephemeral Runners One pod per job
  4. Application Deployments Helm releases on the cluster
Runner pods exist only while a job runs. Cluster changes are applied by hand, with no GitOps controller. One server node runs the control plane.

Contact

Oscar J. Hernandez is a data scientist and data engineer based in Berlin. Connect on LinkedIn or visit his personal site for his background and contact details.