From iOS Developer to AI Agent Engineer: A Practical Roadmap

I've shipped iOS apps for years, including one that runs Claude in production. Now I'm deliberately retraining as an agent engineer and documenting the whole path. This is the roadmap, written for mobile developers who see the same shift coming.

Series: Becoming an Agent Engineer

  1. From iOS developer to AI agent engineer (this post)
  2. Tool use from scratch in Swift
  3. Building an MCP server in Swift (coming)
  4. Hand-rolled agent loop vs. the Claude Agent SDK (coming)
  5. Evals and cost control for agents in production (coming)

Why a mobile developer is retraining, publicly

I started as an iOS developer, and iOS is still what I ship every week. Along the way the work grew sideways into Android apps and Vue.js front ends, but mobile has always been the center of gravity. One of our apps, Second Brain, has been calling the Claude API from production Swift code since launch: model routing between Haiku and Sonnet, streaming over URLSession, on-device classification with Apple Foundation Models. (I wrote about that integration here.)

An AI agent engineer builds systems where a model plans, calls tools, observes the results, and iterates until a task is complete — as opposed to an app developer who integrates single model calls into a product. I'm not starting from zero, but there is an honest gap between calling a model and engineering an agent, and the industry is moving to the far side of it. Closing that gap is a different skill set than shipping app features.

This post is the map I'm following, and the first post in a series: each phase of the roadmap below becomes its own deep-dive article when I've actually done the work — real code, real costs, real mistakes. A learning log, not a content calendar. If you're a mobile developer watching the same shift, this series is written for you.

What transfers from mobile development to agent engineering

The biggest surprise when I scoped this transition: mobile developers are better positioned than most of the "learn AI engineering" content assumes. That content is written for web and backend people. Consider what you already know:

What mobile development doesn't teach you about AI agents

Transferable skills are comfortable to list. The uncomfortable list is what mobile development didn't teach me, and it is the actual transition:

  1. Non-determinism is the contract, not a bug. Every API I've built against was supposed to be deterministic: same input, same output, and any deviation was a bug a test could catch. Models invert that contract — the same request can produce a different answer tomorrow. The replacement discipline is evals: curated test sets, scored runs, regression tracking. Evals are to agent engineering what unit tests are to app development, except the industry is still figuring out how to write them.
  2. Tool use is the atom. An agent is a model that decides which of your functions to call and with what arguments, in a loop, until it decides it's done. Everything else (orchestration, sub-agents, planning) is built from this one primitive. Understanding it deeply matters more than any framework.
  3. Context engineering. The model only knows what's in its context window. Deciding what goes in — retrieved documents, tool results, memory summaries, in what order and format — is an engineering discipline in its own right, and it has no mobile equivalent.
  4. A new security model. Prompt injection rhymes with SQL injection: data that smuggles in instructions. Except there's no equivalent of parameterized queries, and no reliable way to escape it. If your agent reads emails or web pages and can also send emails or write files, you have an attack surface mobile never prepared you for. You design around it with least privilege and human approval gates, not sanitization.

The four-phase roadmap from iOS developer to AI agent engineer

This is the path I've committed to. Each phase has a concrete deliverable: something that runs, not something I've read about. Timeboxes are realistic for someone doing this alongside a day job of shipping apps. In total, expect roughly two to three months of part-time work to reach a first production-grade agent — and Phase 4 never really ends.

PhaseFocusTimeDeliverable
1Raw API fluency in TypeScript1–2 weeksStreaming CLI client
2Tool use + MCP3–4 weeksAn MCP server I use daily
3Agent loops & orchestration4–6 weeksAn agent that does a real recurring chore
4Production disciplineOngoingEvals, tracing, cost control

Phase 1 — Raw API fluency (1–2 weeks)

Call Claude directly from TypeScript: multi-turn conversations, streaming, structured output, system prompts. I've done all of this in Swift already, so this phase doubles as my TypeScript ramp-up.

Deliverable: a small CLI tool that streams Claude responses, ported from my Swift client.
Key resources: the Anthropic API documentation and the official TypeScript SDK. If you're coming from Swift like me, the request shape is identical to what I documented in the Swift integration post; only the language changes.

Phase 2 — Tool use and MCP (3–4 weeks)

This is the phase that makes you an agent developer rather than an API consumer. First, hand-write the tool-use loop: define functions, let the model choose them, execute, feed results back. No framework yet — you need to see the raw wire format at least once. Then build a real MCP server. (MCP, the Model Context Protocol, is the open standard for connecting agents to tools and data, now supported across essentially every major AI platform.)

Deliverable: an MCP server I use every day in my own development workflow. The test of a real tool is whether its author keeps using it.
Key resources: Anthropic's tool-use documentation, the MCP quickstart, and Anthropic's Building Effective Agents — the single best conceptual grounding I've found. Read it before writing any orchestration code.

Phase 3 — Agent loops and orchestration (4–6 weeks)

Build a complete agent: task decomposition, a plan-act-observe loop, sub-agents with separate contexts, failure recovery, and knowing when to stop. Build one version by hand. Then rebuild it on the Claude Agent SDK, which is less a framework than the entire Claude Code harness (built-in tools, context management, sub-agents, permissions) exposed as a library. The comparison teaches you what a full harness buys, not just what a loop abstraction hides.

Deliverable: an agent that performs a real recurring chore for me end-to-end. Mine will likely be a four-language content-consistency checker for this very website: it has to compare structure and copy across English, Chinese, Spanish, and Japanese page variants, which is exactly the kind of tedious, judgment-adjacent work agents are for.

Phase 4 — Production discipline (ongoing)

Everything that separates a demo from a product: eval suites and regression testing, tracing and observability (we already run zero-SDK observability in our apps; agents raise that bar considerably), cost and latency budgets, prompt-injection defenses, and permission sandboxing. This is where my production-app instincts should compound. It's also where public, from-the-trenches content is scarcest, so the most useful posts in this series will come from here.

Why mobile developers have an advantage in AI agent engineering

The strategic case for mobile developers isn't leaving mobile for AI. It's extending mobile into it.

Agents need interfaces, and increasingly they'll live where users already are: on phones. The interesting architecture questions of the next few years are hybrid ones — on-device models for private, instant, free inference; cloud agents for heavy reasoning. I've shipped one half of this pattern in production (Apple Foundation Models classifying, Claude synthesizing, in Second Brain). I haven't found much written by people who've shipped both halves, which is one reason this series exists.

There's also an underexplored niche: MCP has an official Swift SDK, and few people are writing about connecting iOS apps to agents from shipped-app experience. One of the upcoming posts in this series builds an MCP server in Swift for that reason.

The endgame isn't becoming a backend engineer who happens to use LLMs. It's becoming the person who can build both the agent and the product around it: the on-device layer, the interface, the sync, the economics.

FAQ: becoming an AI agent engineer

Do I need a machine learning background?

No. Agent engineering happens above the model: you consume models through an API and build the system around them — tool interfaces, orchestration, evals, cost control. It's closer to systems and product engineering than to ML research. A statistics background helps with evals, but shipping software is the prerequisite skill.

How long does the transition take?

Following the roadmap above, roughly two to three months of part-time work to ship a first real agent. Production discipline (evals, observability, cost control) is ongoing after that, the same way "knowing how to ship apps" never stops being refined.

TypeScript or Python?

Both are first-class; every major agent SDK ships in both. Coming from Swift or Kotlin, TypeScript is the faster on-ramp, and it's the natural choice if your agents need real interfaces. Python has the edge in data and eval tooling. Pick whichever sits closer to your existing stack; the concepts transfer completely.

Is "AI agent engineer" a real job title?

The title is young and varies — AI engineer, agent engineer, applied AI engineer — but the role is real: companies shipping agent products need engineers who can design tools, manage context, write evals, and keep non-deterministic systems reliable in production.

The series, and a note on timelines

Planned posts, in learning order:

  1. From iOS developer to AI agent engineer — this post
  2. Tool use from scratch in Swift — the raw loop, no frameworks: the wire format, five pitfalls, and a prompt-caching measurement
  3. Building an MCP server in Swift — connecting the two worlds
  4. Hand-rolled agent loop vs. the Claude Agent SDK — what a harness actually buys you
  5. Evals and cost control for agents in production — with real numbers, continuing the cost analysis I did for AI iOS apps

Realistically, that's a post every three to six weeks.

One caveat to end on: "agent engineer" is a young title, and some of today's tooling will look dated in two years. The durable skills — tool design, context management, evals, failure handling for non-deterministic systems — will outlive whichever framework wins, and they're what this roadmap is built around. The frameworks are just this year's syntax.