Senior Android Engineer · Quality with AI

Quality Android apps, written with AI under control.

9+ years in native Android. Today I work on Polymarket's app and I have published Aura, my own app, end to end with AI: I decide the architecture and the product, and a quality harness makes sure every change respects them.

Valencia, Spain · open to senior/staff roles & consulting
9+
Years shipping
24/25
Correct answers from Aura's AI
3
Agents per feature
~/pedro — zsh
// senior android engineer · quality with AI
val pedro = Engineer(
    focus = "native Android · KMP · AI under control",
    years = 9,
    clients = listOf(
        "Polymarket",
        "Aura",
        "Banco Santander",
    ),
    shipping = true,
)

pedro.build() // → 2 apps live
Featured work

Two products, one way of working.

Aura, the app I build solo with AI, and Polymarket, where I look after the Android architecture and quality.

● Product · Solo-built · CrossFit & HYROX · Live on both stores

Aura: HYROX & WOD Timer

A full-stack training app for CrossFit & HYROX athletes — designed, built and shipped solo.

Aura turns a photo of your box's whiteboard into a workout you can train and log in seconds, tracks every PR and kilo, and shows who else trained it. I own the whole stack end to end — shared logic, the UI on both platforms, the AI, the backend, and even monetization, ASO and legal — shipped on Google Play and the App Store.

  • Architecture — Kotlin Multiplatform: shared MVI, Koin DI, SQLDelight cache, Ktor client.
  • AI harness — one agent writes the tests, another the code and a third reviews it; every change passes automatic checks and end-to-end tests.
  • UI — Compose Multiplatform: one UI codebase for Android and iOS.
  • Backend — Ktor + Exposed + PostgreSQL + Flyway, JWT auth.
  • AI vision — reads a photo of the box whiteboard into a structured, loggable workout.
  • AI coach — post-session insights and adaptive weekly planning.
  • The Whiteboard — a social layer showing who at your box trained the same WOD.
Kotlin Multiplatform Compose Multiplatform Ktor PostgreSQL SQLDelight Koin LLM Computer Vision RevenueCat
Aura new-session screen: import a WOD from a photo, a link or AI
Aura daily home screen
Aura Whiteboard: who at your box did today's WOD and their marks
● Android · Real-time trading and chat

Polymarket — Android

The Android app, at pixel-and-behaviour parity with iOS.

I work on Polymarket's mobile app (via The Left Bit). My focus is Android: keeping it at visual and behavioural parity with iOS across real-time chat, live trading and event detail, and tuning its Jetpack Compose performance — at consumer scale.

  • iOS ↔ Android parity — chat, reactions, live trade, event detail, sports.
  • Real-time — live chat and market/position updates.
  • Architecture and quality with AI — Clean Architecture with MVI and architecture tests so AI-written code stays in order.
  • Technical reference — code reviews, mentoring and quality standards.
Kotlin Jetpack Compose Coroutines · Flow Real-time
Client work — described at a high level, no proprietary detail or internal screenshots.
Real-time data markets · chat · positions iOS SwiftUI reference Android Jetpack Compose my focus parity same pixels · same behaviour
How I work with AI

I write code with AI, without losing control.

AI writes fast. My job is making sure what it writes stays good, and that I don't have to review all of it by hand.

1. I decide what gets builtstep 1
The only human stop

Every feature starts from acceptance criteria. I review and approve them myself: the test names come from them. Product and architecture decisions are mine.

2. One agent writes the testsstep 2
Tests first, in red

From those criteria, an agent writes the tests before the code. They have to fail: that's how I know they test something.

3. Another agent writes the codestep 3
Until they go green

A second agent writes the feature until the tests pass, following the code and architecture guides I've set.

4. Automatic checksstep 4
Nothing moves on without them

Architecture tests, static analysis, a minimum coverage on new code, and secrets and vulnerable-dependency scans. Mutation tests measure whether the new tests really catch faults.

5. End-to-end testingstep 5
On an emulator

The flows the change touches run on an emulator, and each one is recorded as passed or failed, with the step where it stopped.

6. A third agent reviewsstep 6
Without knowing the rest

A reviewer with a clean context looks for faults in the change, and it repeats until no serious ones are left. The result arrives as a PR with the evidence.

I use all of it on Aura, my own app. At Polymarket I've taken the same idea to the team: the architecture, the guides, the automatic checks and the architecture tests so that AI-written code stays in order.
Cases

Problems I've solved.

What matters is not the technology, but the problem and what changed.

Keeping AI-written code within the architecture
Polymarket · via The Left Bit

Problem. When a team works with AI, the code can drift away from the architecture without anyone noticing.

What I did. I proposed the app's architecture (Clean Architecture with MVI) and designed the guides, the automatic checks and the architecture tests that flag anyone stepping outside it. I also set up the continuous integration that builds and tests every change, and I look after the unit tests.

Making the whiteboard-reading AI get it right
Aura · own project

Problem. A model that turns a photo of a whiteboard into a workout can get it wrong without anyone knowing.

What I did. My own test bench with real cases and human review, and every change is measured against the same cases. Result of the latest review: 24 out of 25 correct.

Another account's data on the same phone
Aura · own project

Problem. After logging out and signing in with a different account on the same phone, the previous account's data was visible.

What I did. The cause sat in three layers at once: the token the HTTP client keeps in memory, the local cache, and the screens navigation holds on to. I fixed all three, taking care not to wipe the same user's not-yet-synced data.

Not losing a log made without signal
Aura · own project

Problem. An athlete logs a workout in a basement with no signal and can't lose what they wrote down.

What I did. The local database is the only source for the screens, and pending logs sync with retries, with a failure queue so one bad record doesn't block the rest.

Refactoring without breaking it for millions of users
Banco Santander

Problem. The main menu of an app with millions of users needed a structure that could be maintained.

What I did. A full architectural refactor and the CI/CD pipelines to ship releases. Before that, I built Santander Key (security and authorisation) and the Bizum payments integration, in the "Spain Squad".

A medical device that connects reliably
InsulCloud · Bluetooth LE

Problem. A smart insulin pen cap, used daily by patients, has to connect reliably.

What I did. The full GATT cycle with real hardware: scanning, connection and reconnection, services, characteristics and notifications.

Smooth video in a vertical feed
AgonUp

Problem. A TikTok-style video challenge app has to move from one video to the next without jumps or wasted resources.

What I did. Playback with ExoPlayer: swiping, play, pause and seek, with the player managed by the screen lifecycle.

Experience

Critical apps, from banking to hospitality.

Nine years as a technical reference on teams that ship to millions.

Senior Android Engineer & Consultant Freelance Oct 2020 — Present
Valencia, Spain · directly and through consultancies (The Left Bit, O2O, Fusuma)

Software architecture and mobile development for high-profile clients — greenfield builds, tech migrations and team leadership.

Banco Santander
Fintech · Banking

"Spain Squad": built Santander Key (security and authorisation) and Bizum payments; full refactor of the main menu for millions of users; CI/CD.

Polymarket
Trading · Real-time · via The Left Bit

Architecture (Clean with MVI) and the team's AI way of working, with continuous integration and tests. Android app in Jetpack Compose at visual parity with iOS. Technical reference and mentor; with The Left Bit, also Naturitas and Mediquo.

Hyatt Hotels
Luxury hospitality · via O2O

Lead architect of Hyatt's new global app — 100% Kotlin and Compose, MVVM + Clean Architecture, high test coverage. Also Correos, ONCE, Baleària.

AgonUp
Video · Challenges

Complete Android app: TikTok-style vertical video feed with ExoPlayer, managed by the screen lifecycle.

Públi.co
PropTech · Coworking · via Fusuma

Built the coworking management app from scratch — scalable modular architecture with real-time bookings.

InsulCloud
Health · Bluetooth LE

Full GATT cycle with real hardware for a smart insulin pen cap used daily by patients.

Mobile Developer Aiwin Jan 2019 — Oct 2020
Madrid, Spain

Corporate gamification ("MIGO") for interactive learning. Built complex offline-first data synchronization logic.

Software Developer Healix España Jul 2017 — Jan 2019
Madrid, Spain

Traveler-safety Android app (Kotlin, Dagger, RxJava) plus full-stack admin panels (Node.js, Vue.js).

Toolbox

What I build with.

Languages

Kotlin · expertJavaSwift

Mobile

Jetpack ComposeCompose MultiplatformKotlin MultiplatformSwiftUIAndroid SDK

Architecture

Clean ArchitectureMVVMMVISOLIDModularization

Backend & cross-platform

KtorPostgreSQLExposedNode.jsREST

DevOps & testing

GitGitHub ActionsJenkinsFirebaseAWSJUnitEspressoMockk

Applied AI

Claude CodeAI agentsAgent-driven TDDArchitecture tests (Konsist)detektKoverMaestroGemini API

Ways of working

Agile / ScrumMentoringCode reviewTech leadership
About

Senior engineer, founder's mindset.

I'm an Android engineer with 9+ years in native Android. Today I look after the architecture and quality of Polymarket's Android app, and before that I was the technical reference on teams at Banco Santander, mentoring developers and setting quality standards.

What sets me apart is how I work: I write code with AI, but under control. I decide the product and the architecture, and a quality harness (tests first, separate agents for the code and the review, automatic checks) makes every change respect them. I use all of it on Aura, my own app, where I do everything: architecture, backend, AI, monetisation and launch.

Right now I work on Polymarket's Android app while growing Aura, my own training app for CrossFit & HYROX athletes.

Education
B.Sc. Software Engineering2013—2017
Universidad Complutense de Madrid
Certifications
Jetpack ComposeAntonio Leiva · '22
Kotlin for Java DevsJetBrains · '21
Machine LearningCoursera · '18
Languages
SpanishNative
EnglishB1
Contact

Let's build something that ships.

Open to senior/staff Android & Kotlin Multiplatform roles, and to consulting engagements. The fastest way to reach me is email.