Ask Your Agent for Any App. If It Doesn't Have It, It Gets It Safely.
The app your agent needs this week usually isn't the one it was built with. Here's what it actually takes to let an agent reach for a new integration on demand, without turning every request into a security incident.
Key takeaways
- -An agent's usefulness is capped by the fixed set of integrations someone remembered to wire in ahead of time.
- -The real request isn't 'add more integrations' — it's 'let the agent get one it doesn't have yet, safely, right now.'
- -Doing this safely means separating 'can this capability exist' from 'is this specific call allowed,' checked every time.
- -Without that separation, on-demand app access just means on-demand unchecked access, which is a bigger risk, not a convenience.
- -Swytchcode lets an agent request a new capability on demand while policy and verification still apply to every call.
The app your agent needs this week is rarely the one it was built with. Someone wires in the obvious integrations at launch, and every integration after that waits on an engineer's backlog — which means the agent's actual usefulness is capped by what somebody remembered to anticipate months ago.
TL;DR
- An agent's usefulness is capped by whichever integrations someone wired in ahead of time — everything else waits on a backlog.
- The actual need isn't more pre-wired integrations — it's the ability to reach for a new one the moment it's needed, without an engineering cycle in between.
- Doing that safely requires separating whether a capability can exist from whether a specific call is allowed — checked on every call, not just at setup.
- Skip that separation and on-demand access just means on-demand unchecked access, which trades a slow problem for a dangerous one.
- Swytchcode lets an agent request a new capability on demand while policy and verification still apply to every single call it makes.
"Can it also post to Linear?" "Not yet. Give us two sprints."
A support agent handles Zendesk tickets well. A team lead asks if it can also file a Linear issue when a bug report comes in. The honest answer, in most agent stacks, is: not until someone writes and ships a Linear integration, reviews it, and deploys it — a two-sprint wait for what the team experiences as a simple request. The agent's architecture is fine. The gap is that every new capability is a planned engineering event instead of something the agent can reach for the moment it's asked.
Why "just pre-wire more integrations" doesn't actually solve it
The instinct is to wire in more integrations up front — cover Linear, Jira, Notion, and a dozen others before anyone asks. That buys time, but it doesn't solve the actual shape of the problem: the next request will be for an app that isn't on this quarter's list either, because the set of tools teams use is larger and changes faster than any roadmap can anticipate. The fix isn't a longer pre-wired list. It's removing the requirement that the list be decided in advance at all.
The part that makes "on demand" genuinely risky if you skip it
An agent that can add any integration on the fly, with no check beyond "the integration exists," is a bigger risk than one with a slow backlog — it just moves the risk from "the feature isn't ready" to "the feature is ready and nobody verified what it's allowed to do." The thing that makes on-demand access safe isn't skipping the check, it's moving the check from a one-time human review at integration time to an automatic one at the moment of every call.
Two separate questions that usually get collapsed into one
"Can this capability exist for this agent" and "is this specific call allowed right now" are different questions, and most integration setups only ever ask the first one, once, at wiring time. Separating them means a new app can be reachable immediately, while the policy governing what it's actually allowed to do — which records, which actions, which limits — is still evaluated fresh on every single call, exactly like an integration that's been in place for a year.
Three fixes, and how Swytchcode enforces each one
- Let the agent discover and request a new capability without an engineering cycle. Swytchcode's discovery layer can surface a new tool the moment it's needed, instead of waiting for someone to wire it in ahead of time.
- Keep policy evaluation identical for a brand-new capability and a year-old one. A freshly added integration doesn't get a grace period — every call it makes is checked against policy exactly like any established one.
- Log the new capability's calls with the same execution record as everything else. Nothing about being new exempts a capability from the same request/response record every other tool call produces, so there's no blind spot for the thing you added yesterday.
To see what requesting and checking a brand-new capability actually looks like:
swytchcode exec linear.issue.create --explain # see what would run, no HTTP call
swytchcode exec linear.issue.create --dry-run # see the planned request
swytchcode exec linear.issue.create --demo # simulated run, no credentialsDiscovery and policy details are in the Swytchcode docs. If the new capability needs its own OAuth connection, the companion post on why OAuth isn't simple for self-hosted agents covers that half of the setup.
FAQ
Does "on demand" mean the agent can add any app without a human ever looking at it? No — discovery can be fast without approval being skipped. The policy for what a new capability is allowed to do is still set deliberately; what changes is how quickly the capability itself becomes available to request against that policy.
What stops an agent from requesting a capability it shouldn't have? The same policy layer that governs every other call. Requesting that a capability exist is separate from being allowed to use it in a given way, and the second check doesn't relax just because the first one was fast.
Does this replace the need for a human to ever review a new integration? It replaces the need for that review to block the agent before anything can happen. A human can still set and adjust the policy a new capability operates under at any point.
What if the app the agent wants genuinely doesn't have an integration anywhere yet? That's a real limit — discovery surfaces what's reachable, it doesn't invent an integration for an app nobody has built a connector for at all.
Try it
If the next "can it also do X" request is going to sit in a backlog for two sprints, that's the exact gap this closes.
Install the Swytchcode CLI, read the discovery docs, and request a capability your agent doesn't have yet to see the policy check run live. One command, no SDK setup.
Related reading: Installing a Skill and Wiring an MCP Server Are the Same Broken Experience and The Real Reason 'Just Add OAuth' Isn't Simple for a Self-Hosted Agent.
More content
Reward Hacking in Production AI Agents: What It Looks Like and How to Catch It
Reward hacking sounds like a training-time research problem. In production it looks like an agent reporting a task done that it never did. Here is how to verify it before it costs you.
Scheduled AI Agent Jobs Fail Silently: Why Outcome Logs Are the Fix
A cron-triggered agent that fails at 3am doesn't page anyone. It just quietly doesn't do the thing. Here's why scheduled agent jobs fail silently, and what an outcome log actually needs to contain.
Why AI Agents Are Not Production Ready, and How to Fix It
Every agent demo works. The gap shows up in production: unverified actions, silent failures, and no record of what actually happened. Here's what's actually missing and how to close it.
