My Agent Replaced a $20 Monthly Subscription in One Hour
I needed a reliable path for TradingView alerts to reach my cYpher.claw in under three seconds. My agent built one for an expected $4 to $6 a month.
One hour with my agent cut an expected $240 yearly software bill to $48 to $72.
I was about to pay ngrok $20 a month. Instead, my agent helped me build the exact software I needed for an expected $4 to $6 a month.
KB
The actual job
I did not need every feature ngrok sells.
I use my cYpher.claw in a paper-trading workflow for stocks and crypto based on TradingView alerts. I needed those alerts to reach the trading service running locally on my Mac without disappearing when the connection dropped or the Mac was temporarily unavailable.
This was not a toy automation. It was infrastructure meant to make that workflow more robust.
The relay does not decide what to trade or execute trades by itself. It delivers the TradingView alert to the local paper-trading system safely and reliably.
That is it.
The normal answer is a tunnel. Keep ngrok running on the Mac, give TradingView the public URL and pay for the plan that makes the setup stable enough to depend on.
That would have worked. It also would have made a general-purpose tunnel another permanent subscription in my stack.
So I asked my agent a different question: what is the smallest reliable system that does this one job?
Not “build me a cheaper ngrok.”
Replace the part I actually use.
The relay
The system we ended up with is simple:
TradingView -> Azure Container App -> Azure Storage Queue -> Mac -> localhost
TradingView sends a stock or crypto alert to an Azure Container App. The app puts the exact request into a storage queue. A small process on my Mac checks the queue and forwards the message to the local service my cYpher.claw uses at 127.0.0.1.
My Mac does not need a public inbound port. TradingView does not need to know where the Mac is. The Mac makes the outbound connection to Azure, gets the next alert and delivers it locally.
That is not an ngrok clone.
It is a replacement for my reason to use ngrok.
The first version failed
The first version used an Azure Function.
On paper, it was the cheapest option. In practice, cold starts pushed some requests past TradingView's three-second webhook limit. TradingView disconnected before the Function could accept and queue the alert.
We turned on an Always Ready instance. That raised the expected baseline to more than $21 a month, which was already more than ngrok, and the performance still was not reliable enough.
My cYpher.claw engineer suggested replacing the Function with the smallest always-running Azure Container App: 0.25 vCPU, 0.5GB of memory and one replica.
Thirty minutes later, it worked.
The endpoint stayed warm. The alerts cleared TradingView's deadline. The expected monthly cost dropped to roughly $4 to $6.
The first architecture looked cheaper. The measured architecture actually was.
Reliability mattered
A webhook that works most of the time is not enough for a trading alert.
The Container App only returns success after Queue Storage accepts the message. If the Mac is asleep or the local service is restarting, the alert waits in the queue instead of disappearing.
The consumer deletes the message only after localhost returns a successful response. Failed deliveries retry. After five failures, the message moves to a poison queue instead of retrying forever.
We added a short deduplication window so a retry does not immediately forward the same alert twice. Every message gets an event ID, receipt time and body hash. Old alerts are marked as delayed when they finally arrive.
The local consumer also refuses to forward anywhere except loopback.
Azure receives and stores the message. It does not interpret the trade and it cannot send the alert to an arbitrary external destination. The downstream system remains paper-only.
The boring controls are the product.
The bill
The architecture uses a small always-running Azure Container App, a storage queue and lightweight monitoring.
At my alert volume, I expect it to land between $4 and $6 a month. I also put a monthly budget on the resource group so I get warned if the estimate is wrong.
I have not run it for a full billing month yet, so I am not calling the estimate a receipt.
The comparison is still useful.
I was ready to spend $240 a year because buying the standard tool was easier than examining the job. An hour with an agent got the expected infrastructure cost down to roughly $48 to $72 a year.
That is an expected savings of $168 to $192 a year, or 70% to 80%, for this one narrow workflow.
The savings are not going to change my life.
The pattern might.
Software is getting unbundled
SaaS bundles a broad product around a recurring problem.
That made sense when custom software was expensive. Paying $20 every month was cheaper than paying an engineer to design, build, test and maintain a narrow alternative.
Agents change that math for small, specific jobs.
I described the outcome. The agent helped turn it into infrastructure, application code, tests, deployment scripts and a Mac service. It handled details I would not trust a one-shot code generator to remember: retries, idempotency, poison messages, secret handling, cost alerts and a safe local boundary.
I still had to make decisions.
What counts as delivered? What happens when the Mac is offline? How many retries are acceptable? Can the cloud component execute a trade? What should happen to an alert that arrives late?
The agent did not remove engineering. It compressed the time between those questions and a working implementation.
That is the part people miss when they reduce this to “AI can write code.”
Writing code was not the valuable result.
Replacing a recurring expense with infrastructure shaped around my exact workflow was.
My agent did not recommend another subscription. It helped me own the missing piece.
Build for the job
I am not canceling every SaaS subscription and rebuilding the internet.
The custom path now belongs to me. That means I own the maintenance, the security decisions and the failures. If ngrok saves a team hours every month, $20 is cheap. If the requirements are broad or the consequences are high, buying the mature product may still be the right call.
But a lot of software spending survives because custom alternatives used to cost too much to consider.
That assumption is getting old.
The useful question is no longer “Can my agent rebuild this company?”
It is “What exact job am I paying this company to do?”
Once I asked that, I did not need a cheaper tunnel.
I needed a queue and a small piece of software that knew where to deliver the next message.
Agentic & distributed systems, DeFi, and the compute economics. One email a week, no fluff.
Subscribe to the newsletter →About the author
Keenan Benning is the founder of cypher.camp, a platform that deploys AI agent teams for solo founders and small businesses. One person. Team-scale output. 60 seconds to deploy.
Other projects