16 min read

The Man in the Machine: How SPRY built an AI-powered services business with software margins

In 1770, a Hungarian inventor named Wolfgang von Kempelen unveiled a machine at the court of Empress Maria Theresa in Vienna.

It was a wooden cabinet, with a life-sized figure in Ottoman robes seated behind it.

And it played chess.

The Mechanical Turk, as it came to be known, toured Europe and America for decades.

It is said to have beaten Napoleon Bonaparte and Benjamin Franklin.

Audiences were astonished. A machine that could think!

It couldn’t, of course.

Inside the cabinet, hidden behind sliding panels and dummy gears, sat a human chess master.

The machine was a man in a box.

Why should a 250-year-old hoax matter in 2026?

Because a large part of our services industry is built like the Turk.

Minus the hoax.

The customer sees an insurance system. Claims go in, money comes out.

Open the cabinet and you find people.

Rows of them, logging into portals, checking statuses, chasing insurers.

More customers, more people.

It is an honest business. It is also one that grows only as fast as it can hire.

Now turn the Turk inside out.

Picture a business that looks, from the outside, like a team of people doing your work.

Open the cabinet, and most of what you find is a machine.

That is what SPRY has spent the past year building.

SPRY was founded in 2022 by Brijraj Bhuptani and Riyaz Rehman. Bhuptani earlier founded Ridlr, a public transport app that Ola acquired.

The company builds from India and sells to physical therapy clinics in the US. It started with an EMR, the electronic medical record software in which a clinic schedules, documents and bills.

It has raised about $25 million from investors including Flourish Ventures, Eight Roads, F-Prime Capital and Together Fund.

Then came the past year.

Gross margin went from 49% to 77%. The business more than doubled, while burning less cash with a smaller team.

Average annual contract value was about $20,000 a year ago. Today, roughly half of revenue comes from contracts worth more than $100,000 a year.

A 28-point jump in gross margin would be notable at a software company.

SPRY managed it while adding services.

That is not supposed to happen. Conventional wisdom is that adding services to a product should reduce margins.

How did it then happen?

Built for the practice, not the feature

SPRY began with a familiar but hard-earned belief: Healthcare software had lost sight of its purpose.

Clinics had digitized their workflows, yet clinicians were spending more time on admin and operating costs kept rising.

The next generation of healthcare software, Bhuptani felt, had to be designed around what providers were actually trying to achieve.

For SPRY, that meant three things. Better patient care. More revenue for the practice. More profit.

So SPRY put scheduling, patient engagement, clinical notes, insurance checks, authorizations and billing on one platform.

Each of these affects the others.

A patient who can’t get a timely authorization may miss treatment. An incomplete clinical record can lead to a denied claim.

Where the software could not reliably finish the job, SPRY’s own services teams did it.

That was by design. SPRY wanted to take responsibility for results, even where technology alone couldn’t deliver them.

Alongside the EMR, SPRY runs a revenue cycle management (RCM) business, which is the work of getting insurers to pay a clinic what it is owed.

A year ago, the appointment volumes flowing through the two were roughly equal.

Today, RCM processes about 1.5 times the volume of the EMR.

Customers were sending more of their work to the half of SPRY that did the work for them.

But there’s a catch.

Take over enough of a customer’s work and you become a traditional services business, the kind that scales through headcount.

A Turk, in other words.

Historically, taking on more of the work meant adding more people. AI is what lets SPRY break that link.

Agents execute the routine work. Domain experts handle the exceptions. The software supplies the context that connects them.

SPRY describes this as connecting a system of record with a system of action.

“We didn’t discover the value of outcomes because of AI,” Bhuptani told us. “We built SPRY around that belief from the beginning.”

What SPRY stopped doing

We asked Bhuptani what the company had to give up.

Three things, it turns out.

Building wider. For years, enterprise software grew by adding modules, features and integrations. Each one gave customers something else to pay for.

SPRY stopped expanding into some adjacent software categories, and ended a project to integrate third-party point solutions.

The reason is the agent. An agent responsible for getting a claim paid needs to understand the patient’s visit, the clinical documentation, the payer’s requirements, previous interactions and the history of that claim.

Connecting several independent applications doesn’t automatically give you that understanding.

Judging features by usability. A new feature may make the product easier to use. The question SPRY now asks is whether it changes an outcome the customer cares about.

So every investment now faces the same test. Does it help the clinic treat more patients? Reduce preventable denials? Improve collections or remove admin work?

A team for every client. Traditional billing services give each client its own team. Volume goes up, people get added.

The result is duplicated expertise, uneven workloads and costs that rise with headcount.

SPRY moved to shared execution. Agents handle the routine work, specialists sit in issue-based pods, and each clinic keeps a clear point of accountability.

The margin that shouldn’t exist

Let’s go back to that jump from 49% to 77%.

Services businesses usually grow by adding people, which is why they rarely enjoy the leverage of software.

Bhuptani credits two changes for breaking that rule.

The first is cost. SPRY’s product used to include several smaller tools bought from other vendors.

It has built more of them in-house, including home exercise programs for patients. That cut its technology costs and gave it more control over how the pieces fit together.

The second, and more transformative, change is productivity.

SPRY redesigned onboarding, customer success and billing. It says those teams now run at up to five times conventional industry benchmarks.

Agents run about 80% of the prior authorization workflows SPRY supports.

Prior authorization is the permission an insurer must give before certain treatment begins. It is paperwork of the most repetitive kind.

According to the company, each billing employee handles close to 200 claims a day. Bhuptani puts the industry average at 40 to 50.

But the agents did not do it alone.

“We had to redesign the workflows and the organization around what the technology could execute,” he said. “Simply adding agents to our previous operating structure wouldn’t have produced the same results.”

This brings us to the (quiet) third factor. Pricing.

SPRY’s EMR is sold by subscription. Its billing services are generally priced as a percentage of collections. Enterprise agreements combine software, implementation and operational services.

Bhuptani doesn’t count pricing among his two drivers. But the arithmetic speaks for itself.

The price is tied to what the clinic collects. The cost used to be tied to the people doing the collecting.

Take the people out of the routine work and the price stays where it was.

When the clinic collects more, so does SPRY.

Bhuptani expects that link to spread, to the point where most of SPRY’s revenue is tied to business outcomes.

But he is careful to add that in healthcare, not every outcome can be guaranteed.

The hard part was not the agent

You would think the difficult bit is building an agent that can file a claim.

Not quite.

The harder change was in what SPRY expects of its people.

One of SPRY’s biggest changes was redefining what makes a good billing specialist.

Consider a claim denied because of a payer-specific rule.

In a traditional billing operation, a specialist investigates, corrects the claim and moves on to the next one.

At SPRY, that is only part of the job.

The specialist is expected to find the underlying issue, work out which instruction or setting needs to change, and fix the system so similar claims go through next time.

“An experienced billing specialist shouldn’t have to personally resolve the same problem a thousand times,” he said. “Their knowledge should help the system solve that problem correctly for the next thousand transactions.”

The scorecard changed too.

The measure is no longer how many claims a person processes. It is clean-claim rates, fewer denials and faster reimbursement.

None of this came easily.

It took a real change in mindset. People who spent years doing the work are now asked to define how it should be done, check the agents’ decisions and keep improving the process.

The team is smaller than a year ago, even as the business has grown, though Bhuptani is careful not to credit every staffing change to AI.

An agent that knows when to stop

Healthcare is a hard place to automate.

Payer requirements change. Information conflicts. Some decisions need clinical expertise.

We asked for one example of an agent mistake.

When SPRY first deployed agents for claim submission, some claims could not be processed because patient information was missing.

For years, the billing team had fixed this by hand. Spot the gap, contact the clinic, correct the record, carry on.

The agent just stopped.

At first, that looked like a weakness in the agent. It wasn’t.

“We had allowed incomplete information to travel downstream because humans had always compensated for it,” Bhuptani said.

The people in the cabinet had been hiding the flaw.

SPRY fixed the product instead, improving its task dashboard so clinics could spot incomplete records before they held up a claim.

The goal was never to teach the agent every manual workaround. It was to remove the reason the workaround existed.

Some calls should never be the agent’s.

Whether a patient needs treatment is a therapist’s judgement. An agent can gather the information and flag what is missing, but it should never substitute its own judgement for the clinician’s.

SPRY is building checks so that every action an agent proposes must be backed by evidence from the source.

If the evidence is thin or contradictory, the system stops and calls in a person.

The agent does not get to guess.

Then there is the subtler failure.

An agent checks with an insurer whether a treatment needs prior authorization. The insurer says it doesn’t. So no authorization is submitted.

Later, the claim is denied for an authorization reason.

Who made the mistake?

A system that only counts completed tasks would call the first check a success. The clinic, meanwhile, has a denied claim.

SPRY is building the ability to connect later outcomes to earlier decisions.

Patterns show up.

The fix might be a change to the clinic’s billing settings, stronger evidence of when authorization is needed, or a rule that holds claims until authorization comes through.

Domain experts approve those changes first. “We aren’t comfortable with consequential decisions being changed by an unsupervised, self-learning agent,” he said.

“An agent should be evaluated on the outcome of its work, not merely whether it completed an individual task.”

For founders, that sentence is worth printing out as a large poster and pinning to a wall.

An agent graded on tasks completed will look excellent right up to the denial.

Who pays when the agent is wrong?

We asked this question directly.

The answer came in two parts.

The first part was firm. “An AI agent cannot become an excuse for a lack of ownership when something goes wrong.”

SPRY wants to be able to reconstruct what an agent did, what information it had, which instructions it followed and why it acted.

Without that, nobody can tell an agent’s error from an outdated payer rule, missing clinical information or a mistake somewhere else in the workflow.

The second part was less specific.

Financial responsibility, he said, depends on the contract and the circumstances.

A technology company can take responsibility for following its processes accurately. It cannot guarantee what an insurer decides.

So there is no blanket guarantee.

What there is, is the pricing.

Because billing services are generally priced as a percentage of collections, SPRY earns less when the clinic collects less.

That is alignment. It is not the same thing as a guarantee, and we should keep the two apart.

SPRY expects the pressure to grow. Customers will hand real work to AI only when they know what the system is doing, what it is allowed to do and who answers for it when something goes wrong.

Any founder selling outcomes will be asked this question in every enterprise negotiation.

Better to have the answer written down before the customer’s lawyer asks.

From $20,000 to $100,000

A year ago, SPRY’s average annual contract value was about $20,000.

Today, roughly half its revenue comes from contracts worth more than $100,000 a year, and it has won multi-million-dollar enterprise engagements.

What do big customers want that small clinics don’t?

More features, you might guess?

The company says no. A large healthcare organization needs technology that fits how its business already runs.

That means much more control over configuration, integrations, permissions and operational processes.

Take Luna, for instance.

Luna delivers rehabilitation in patients’ homes through a large network of therapists, and is expanding from physical therapy into occupational and speech therapy.

Its clinicians are mobile. Scheduling, documentation and communication have to work around a day spent moving between houses.

A desktop EMR built for a conventional clinic does not fit.

The technology has to adapt to the care model, Bhuptani says, not the other way round.

Big customers want the same control over agents. Which systems an agent can access. What it can do. What it must consider. When a person has to approve.

A six-figure agreement can include the core platform, implementation, configuration, integrations and operational services.

What makes those deals possible is SPRY’s ability to serve more complex organizations while making delivery cheaper.

The inverted Turk again.

Bigger customers, same cabinet.

Arbitrage with a better pitch deck?

A cynic might be tempted to say all this is the old offshore model with a fresh coat of AI.

We put the question to Bhuptani. Which part of this depends on being built in India?

He did not pretend India is irrelevant. It lets SPRY put deep technical skill and operational know-how under one roof.

But healthcare admin has been offshored for decades, he points out. Moving a process to another country may make it cheaper. It doesn’t make it better.

The much harder problem is turning operational knowledge into technology that does the work reliably.

A billing specialist knows how a particular payer reads a requirement, and which documentation gaps lead to denials. A clinician knows how care is actually delivered.

Engineers have to turn both into instructions that agents can execute.

SPRY has all three working together.

Billing experts shape the agent workflows. US clinicians, clinic owners and a clinical advisory board shape how the product behaves in real care settings. Engineers build the machinery underneath.

Could an American competitor copy it?

“Certainly,” Bhuptani said.

The models are widely available. Building an individual agent is getting easier.

What is harder to copy, he argued, is the operating knowledge built up from every authorization, claim, payer interaction and exception.

This is the part Indian founders should sit with.

For thirty years, India’s edge in services was the cost of the person in the cabinet.

“India helps us build that capability efficiently,” Bhuptani said, “but the capability itself is what matters.”

Where to start

We asked what a founder running a services team today should hand to AI first.

Bhuptani starts by separating work from toil.

For a physical therapist, the work is evaluating patients, exercising clinical judgment and helping people recover.

The toil is checking payer portals, copying information between systems and chasing missing documentation.

AI’s job is to cut the toil, so people can focus on the work.

His advice is to begin with a high-volume workflow where the outcome is measurable and the administrative burden is heavy.

For SPRY, that was prior authorization.

At one customer, Renew Physiotherapy, improvements to authorization workflows helped cut related denials by about 95%.

His method is short.

Define the business outcome and establish the baseline.

Redesign the workflow around what agents can execute, where evidence is required and when a person must step in.

Then reorganize the team around the new model.

And the mistake to avoid?

Automating individual steps without redesigning the workflow around them.

You can make every step faster and still keep the same handoffs, duplicated checks and bottlenecks.

The goal is to eliminate unnecessary work, not just do it faster.

Leave the cabinet open

Bhuptani’s largest claim is not about healthcare at all.

He believes enterprise software companies are about to be judged on something different.

The winners, in his view, will be the ones that take responsibility for outcomes that used to need a lot of human coordination.

SPRY’s numbers suggest customers want that.

Today, the majority of its clinics use the EMR and billing together, and more than $200 million in annual clinic revenue flows through the platform.

Kempelen opened the Turk’s cabinet doors before every game.

The audience saw gears. They never saw the part that mattered. They couldn’t.

SPRY’s version only works if the customer sees all of it.

A clinic that hands over its revenue has to be able to open the cabinet and see what the agent did, which instructions it followed and where a person stepped in.

“Trust will become as important a part of the product as the underlying automation,” Bhuptani said.

Vertical software, he believes, will be judged less by how many tools it sells and more by what happens inside its customers’ businesses.

The old Turk hid a man inside a machine.

The next generation of Indian services companies will put a machine where the people used to sit.

The ones that last will leave the door open.

Last year, when we wrote about SPRY, we had ended the piece by saying that the company had shown the playbook and the rest was execution.

A year on, the lesson for Indian founders who run services teams is that the work itself, done by agents and organized around results, can now earn software margins.

Stay close to the frontier.

New programs, founder stories, and signals from India's AI layer — in your inbox when there's something worth reading.

No noise. Unsubscribe any time.