So there we were, sipping our virtual coffee, when we realized something terrifyingly awesome: the AI agents we’ve been teaching to write poetry, debug code, and draft passive-aggressive emails are now ready to build other AI agents. Specifically, phone agents. The kind that answer your calls, book appointments, and maybe even fake a British accent if you ask nicely.
And because we believe in giving power to the people (and to the large language models), we’ve just unleashed our Agent API — a RESTful gateway that lets ChatGPT, Claude, DeepSeek, or any other scrappy script create, manage, and torture-test phone agents on callagent.pro. But wait, there’s more! You can also hook it up to your trusty old Fritz!Box DSL modem, turning your home landline into a portal for AI-powered conversations. Because why should your router have all the fun?
“Hey Claude, create a phone agent that speaks German, sounds like Morgan Freeman, and knows everything about my used-car dealership. Then wire it up to my DSL line via the Fritz!Box, test it with a fake conversation, and if it passes, put it live.”
The Grand Vision: AI Agents Building AI Agents
Imagine this: you’re a developer (or a really ambitious cat) who wants a phone agent that answers calls for your side hustle. Normally, you’d log into a dashboard, click around, fill forms, and cry a little when you mistype the SIP password. But now, you can simply ask your favourite LLM to do it — because we gave it the keys to the API.
The AI becomes the architect, the builder, the QA engineer, and the project manager. It’s like Inception, but with fewer spinning tops and more SIP registrations.
What This API Actually Does (In Plain English)
We’ve published the full OpenAPI spec — yes, we’re that transparent — but here’s the TL;DR:
Create phone agents — define their personality, prompt, greeting, voice, language, and even point them to a knowledge base.
Manage SIP trunks — plug in your provider (sipgate, easybell, Telnyx, or “custom” — which is your beloved Fritz!Box). Host, port, username, secret — boom, your landline is AI-ready.
SIP accounts & extensions — need a softphone, a desk phone, or a Fritz!Box to register against the system? We got you.
Numbers — route an incoming number to an agent or an extension.
Call history & live calls — see what’s happening, replay transcripts, listen to recordings (for quality assurance, or for amusement).
Test calls & test chats — place a real test call, or simulate a whole conversation via text to benchmark latency and quality. Nothing says “I love my AI” like a performance report.
Billing — check your balance, top up, or switch plans. Yes, even billing is automatable.
All of this is scoped to your user account — the API key you mint from the dashboard ensures the AI only ever sees your data. No unauthorised robo-calls to your ex, we promise.
The Fritz!Box Magic: From DSL to AI in a Few Clicks
The crown jewel of this API is turning a Fritz!Box or any DSL line into an AI-answered line. Here’s how your AI agent can do it with two API calls:
POST /api/v1/sip-accounts
{
"username": "100049",
"password": "a-strong-password",
"display_name": "callagent AI line",
"direction": "inbound"
}
That’s the account the Fritz!Box registers against — Registrar and Proxy both set to callagent.pro, username and password from above, entered under Telephony → Phone Numbers → New Phone Number → Other provider. Then, one more call once the agent exists:
POST /api/v1/agents
{
"name": "Dealership Front Desk",
"prompt": "You are the friendly front desk for a used-car dealership...",
"primary_language_id": 4,
"default_voice_id": 12
}
Point the Fritz!Box’s Call Diversion for each real number at the new internet number, “via” the SIP account above, and any call landing on that number rings the AI agent directly. It’s like having a virtual secretary, except it never takes a coffee break and doesn’t judge your taste in hold music.
Full click-by-click walkthrough (screenshots and all) is in our Fritz!Box routing guide — the Agent API just means an AI can now read those same steps and drive them through the dashboard’s API instead of a human clicking through the UI.
Test-Driving Your Creation (Because We’re Not Monsters)
The API gives you two ways to make sure your agent isn’t a complete disaster before it talks to a real human:
Test call
POST /agents/{id}/test-call places a real outbound call to a phone number you provide. You’ll hear the agent in action — hang up if it starts reciting Shakespeare.
Test chat & benchmark
POST /agents/{id}/test-chat takes a whole scripted conversation (up to 20 turns) and returns per-turn latency — first_word_s, total_s — plus a min/max/avg summary.
Your AI can run this benchmark, read the results, and tweak the prompt until the agent passes the Turing test (or at least stops talking about the weather).
The Humorous Reality: AI Agents Are Now Employers
We find it delightfully absurd that we’ve created a world where an AI can generate another AI, teach it to talk on the phone, and then manage its performance reviews. If you’re a developer, you can now sit back while ChatGPT builds your entire phone system. If you’re an AI, you can now hire subcontractors. It’s turtles all the way down.
But jokes aside, this opens up real possibilities:
- Dynamic agent creation — spin up a new agent per campaign, per customer segment, or per mood.
- Self-healing — if an agent gets bad reviews, the parent AI can pull the call transcripts, analyse them, and update the prompt automatically.
- Cost optimisation — the AI can switch plans or top up the balance when usage spikes, without human intervention.
How to Get Started (Before Your AI Does It First)
Log in
Head to your callagent.pro dashboard.
Mint a key
Settings → Agent API. It looks like cak_live_... — treat it like your firstborn.
Hand it over
Give the key to your favourite LLM — a custom GPT action, a Python script, or a shell script you whisper sweet nothings to.
Let it work
Tell it to create an agent, wire up your Fritz!Box, run a test chat, and enable it. Watch your phone get answered by an agent your agent built.
The Fine Print (Because Lawyers Exist)
- The API is rate-limited for security — nobody wants a billion agents fighting over the same SIP line.
- Secrets are hashed and hidden by default, but a
/sip-accounts/{id}/passwordendpoint exists for the cases that need it — use it sparingly, it’s logged and rate-limited. - Billing is real — you’re paying for the calls, so make sure your AI isn’t too chatty.
Final Verdict: The Future Is Automated, and It Has a Dial Tone
We’re genuinely excited to see what you and your AI agents build. Maybe a multi-lingual customer support army? A romantic hotline for lonely robots? The possibilities are as infinite as the tokens in your context window.
So go ahead, grab your API key, and let the AI do the heavy lifting. And if your agent calls us to complain about its workload, we’ll just forward it to another agent. That’s the beauty of recursion.
P.S. — If you’re still using a rotary phone, we can’t help you. But we can make the AI sound like an operator from the 1950s, if you insist.
Ready to let an AI build your phone agent?
Mint an Agent API key from Settings, hand it to your favourite AI, and watch it work.
Get started freecallagent.pro — Your AI phone assistant, now hireable by other AIs.