Home / Blog / Presentation: Beyond the Prototype: Scaling Framework…
Tech News

Presentation: Beyond the Prototype: Scaling Framework Agnostic AI Agent

Apple engineers at QCon AI said a FastAPI trip-planner on standard Kubernetes hits scaling limits as a stateful multi-turn agent, then turned to Ray.

By Dillip Chowdary • Oct 20, 2026 • Source: InfoQ

Presentation: Beyond the Prototype: Scaling Framework Agnostic AI Agent
Illustration · Pexels

At a glance

Duration
46 min 53 sec
Speakers
Chandramouli and Thakkar, both at Apple
Framework
Ray, open-source distributed computing
Worked example
Trip-planner: destination search, weather, itinerary
Audience
Local Python to FastAPI and Kubernetes
Production topics
RayCluster topology, stateful memory, auto-scaling

Deepak Mohanakumar Chandramouli and Bhumik Vinodkumar Thakkar presented "Beyond the Prototype: Scaling Framework Agnostic AI Agent Infrastructure with Ray" in a 46-minute, 53-second QCon AI session. InfoQ's report records the talk. Chandramouli, Senior ML Engineering Leader at Apple with over 20 years in distributed systems and scalable data, compute, and ML infrastructure, said the focus is building an agent and running it at scale with Ray, an open-source distributed computing framework for training, fine-tuning, and inference. Thakkar, Senior Software Engineer at Apple, is an expert in artificial intelligence and large-scale distributed systems.

Engineers moving an agent from local Python to FastAPI and Kubernetes are the audience. The session covers the building blocks, a trip-planner, the lifecycle locally and remotely, the same lifecycle on Ray, and the production learnings that follow. QCon AI is a practitioner-led event on scaling these workloads safely, with direct access to architectural playbooks and failure metrics that peer organizations use in production.

01What actually changed

The baseline composes tools, stitches a graph from the LLM to those tools, and adds a checkpointer for memory. That compiled graph is the agent inside FastAPI. A test starts the server, sends a RESTful request, and reads the trails as tools run, so the builders can course-correct the agent.

The baseline composes tools, stitches a graph from the LLM to those tools, and adds a checkpointer for memory. That compiled graph is the agent inside FastAPI. A test starts the server, sends a RESTful request, and reads the trails as tools run, so the builders can course-correct the agent.

For a multi-turn agent that keeps state at scale and orchestrates many tool calls, the same pattern hits the ceiling. Thakkar said, "That was a quick ride to prod for the agent, but we are not done yet." Before the trip-planner accepts real user queries, enough capacity must be provisioned and scheduling decisions for that particular agent must be made. A bunch of things are still missing.

For a multi-turn agent that keeps state at scale and orchestrates many tool calls, the same pattern hits the ceiling. Thakkar said, "That was a quick ride to prod for the agent, but we are not done yet." Before the trip-planner accepts real user queries, enough capacity must be provisioned and scheduling decisions for that particular agent must be made. A bunch of things are still missing.

02How it works

Four blocks make up the agentic runtime Chandramouli described. The LLM drives each request and controls planning, tool calls, summarizing, and guardrails.

Tools access resources and take actions. Memory personalizes the user experience and seeds knowledge.

The prompt sets a persona, as in "you're Claude, do this," passes the user's intent, and carries directives: guidelines, rules, and what to do and what not to do. Those directives control orchestration.

Traces show the reasoning loop and the controls. Guardrails cover the incoming request, planning, orchestration, and the summarized result.

The worked example is a trip-planner. Search finds destinations from seasonal parameters, a weather tool looks up conditions for a city, and a synthesizer writes a day-to-day itinerary.

The model may then fetch weather, synthesize, and answer the user. A static graph is more deterministic, and an LLM-chosen plan is more non-deterministic. Chandramouli said each approach has its own pros and cons.

The model may then fetch weather, synthesize, and answer the user. A static graph is more deterministic, and an LLM-chosen plan is more non-deterministic. Chandramouli said each approach has its own pros and cons.

Advertisement

Tech Pulse Daily

Get tomorrow's pulse first

Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.

03Why it matters now

He called that set table stakes for multi-turn, long-context agent interactions. Async flows matter when tool calls run in parallel and many agents multiply the load in production. A standard Kubernetes deployment then shows a lot of scaling limitations, because the multi-turn agent stays stateful and orchestrates many tool calls.

He called that set table stakes for multi-turn, long-context agent interactions. Async flows matter when tool calls run in parallel and many agents multiply the load in production. A standard Kubernetes deployment then shows a lot of scaling limitations, because the multi-turn agent stays stateful and orchestrates many tool calls.

Guardrails apply when the user request arrives, during planning, during orchestration, and when results are summarized. Thakkar said enough capacity has to be provisioned, and scheduling decisions for this agent have to be made, before the trip-planner accepts real user queries. Those items still have to be accounted for in production.

Guardrails apply when the user request arrives, during planning, during orchestration, and when results are summarized. Thakkar said enough capacity has to be provisioned, and scheduling decisions for this agent have to be made, before the trip-planner accepts real user queries. Those items still have to be accounted for in production.

04Who is affected

It includes teams that containerize that server as a standard Kubernetes deployment. That deployment meets the scaling limitations once the agent is multi-turn, stateful, and busy with tool calls. He described Ray through training, fine-tuning, and inference.

It includes teams that containerize that server as a standard Kubernetes deployment. That deployment meets the scaling limitations once the agent is multi-turn, stateful, and busy with tool calls. He described Ray through training, fine-tuning, and inference.

The trip-planner is the shared workload. Beside the LLM, it searches destinations by season, checks weather for a city, and synthesizes a day-to-day plan.

Memory owners personalize the experience and seed knowledge through the checkpointer. Capacity owners face the provisioning and scheduling Thakkar placed before real queries. Both speakers work at Apple.

Memory owners personalize the experience and seed knowledge through the checkpointer. Capacity owners face the provisioning and scheduling Thakkar placed before real queries. Both speakers work at Apple.

05What to watch

The production list the speakers share is concrete. It covers RayCluster topology, stateful memory handling, auto-scaling on dynamic traffic, and robust control plane designs.

Static graphs remain the more deterministic option. An LLM-chosen plan remains the more non-deterministic option. He said the two have their own pros and cons.

Static graphs remain the more deterministic option. An LLM-chosen plan remains the more non-deterministic option. He said the two have their own pros and cons.

Trails from those RESTful requests show the reasoning loop and let builders course-correct the agent. Guardrails stay on the incoming request, planning, orchestration, and the summary. The checkpointer on the compiled graph manages memory in that vanilla build.

Trails from those RESTful requests show the reasoning loop and let builders course-correct the agent. Guardrails stay on the incoming request, planning, orchestration, and the summary. The checkpointer on the compiled graph manages memory in that vanilla build.

Frequently asked questions

Who presented the Ray agent session at QCon AI?

Deepak Mohanakumar Chandramouli, Senior ML Engineering Leader at Apple, and Bhumik Vinodkumar Thakkar, Senior Software Engineer at Apple. The session runs 46 minutes and 53 seconds. Chandramouli has over 20 years in distributed systems and scalable data, compute, and ML infrastructure.

What is Ray, according to the talk?

Chandramouli called Ray an open-source distributed computing framework specializing in machine learning workloads such as training, fine-tuning, and running inference. The session's focus is building an agent and running it at scale with Ray.

What does the trip-planner do with a three-day winter trip request?

The LLM plans, looks at its tools, and issues an execution. Search can find destinations from seasonal parameters, a weather tool checks a city, and a synthesizer builds a day-to-day itinerary. Results come back so the model can fetch weather, synthesize, and answer the user.

Why does a standard Kubernetes deployment hit a ceiling for this agent?

Chandramouli said a containerized FastAPI app on a standard Kubernetes spec works well as a classic RESTful service. The same pattern hits scaling limits when a multi-turn agent keeps state at scale and orchestrates many tool calls.

What has to be ready before real user queries reach the trip-planner?

Thakkar said enough capacity must be provisioned and scheduling decisions for that particular agent must be made. He called the earlier Kubernetes path a quick ride to prod and said a bunch of things are still missing.

Sources

Dillip Chowdary

Author

Dillip Chowdary

Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.

Related on Tech Bytes

Advertisement

5-min tech signal

Weekday briefing for engineers who skip the noise.

No spam · Unsubscribe anytime

Advertisement

✈️ CareerPilot

Your AI job-search copilot

Match your resume against live Ashby, Greenhouse & Lever openings — fit scores, job-specific resume optimization and email alerts.

Find matching jobs →

Free Tools

Browse all tools →