Content

Measure time to the first working agent integration

Time a clean machine from install through a passing dry run, and write down each command. Publish the log you measured, with the provider and CLI version.

EngineeringOct 30, 2026

Key takeaways

  • -The finish line is a passing swy exec --dry-run on one method copied from swy list methods. A dry run never sends anything.
  • -Record wall time, exit code, provider name, and the CLI version for each step. A live call and OAuth consent belong on a separate clock.
  • -If swy search returns nothing for your provider, stop and write that down. Don't invent a method ID just to finish the table.
  • -A number without the machine, date, and provider named next to it can't be compared to next quarter's run.

A vendor slide says you can connect an agent to your stack in an afternoon. Your platform team hears that as a promise, and the next planning meeting asks for the number. Nobody has a stopwatch log. The figure in the slide came from a demo that was already authenticated, on a laptop that already had the bundle sitting on it.

This post is a benchmark you can actually rerun. It defines the finish line, lists the commands, and tells you to write down the times you really get, rather than inventing a minute count.

Define the finish line before you start the clock

“First working integration” means all of these are true:

  • The CLI prints a version.
  • swy init has created the project files.
  • swy get has downloaded one provider bundle you named.
  • swy add has enabled one method ID copied from swy list methods.
  • swy exec with --dry-run on that ID completes without actually sending the call.

A live call is a separate measurement entirely. It brings in provider latency, OAuth consent, and whatever mood the provider happens to be in that day. Mix that into the first number and you can no longer compare two laptops against each other. A dry run doesn’t count as a live command, which is exactly why it makes a clean finish line for the setup clock.

Write the definition at the top of your log before you install anything. Change it mid-run and you’ve quietly started measuring a different benchmark.

Keep later work off this clock entirely. Policy as code and a call log matter the week after the dry run passes, and they’re really their own project. Time them inside the first number, and a long review ends up looking like a slow install.

The commands, in order, with a blank time column

Install with one of these. Time whichever one you actually use, and don’t add the other two into the total just because they’re listed here.

npm install -g swytchcode
irm https://cli.swytchcode.com/install.ps1 | iex
curl -fsSL https://cli.swytchcode.com/install.sh | sh

Then run this sequence. The CLI getting started guide covers the same path in prose, and the command reference is there if any flag surprises you along the way.

swy --version
swy init
swy search <provider>
swy get <name from search>
swy list methods
swy add <canonical_id from swy list methods>
swy exec <canonical_id from swy list methods> --dry-run

Copy the ID straight from swy list methods. If search comes back empty, stop the clock and record “not in the registry.” That result is a finding in its own right, so don’t invent an ID just to keep the timer moving.

There’s no .env file in this project. Swytchcode keeps credentials in its own local store and reads them when a call runs. swy auth connect sits outside this clock unless your finish line is actually a live call. If you add it in, time it as its own separate row, since consent screens aren’t really CLI time.

What you record

Use a table with one row per command: wall time, exit code, and a note if you ended up waiting on a browser.

StepWall timeExitNote
Install
swy --version
swy init
swy search
swy get
swy list methods
swy add
swy exec --dry-run

The total is the sum of whichever rows you included. Say which install you used and the date you ran it. A number without that note can’t really be compared to next quarter’s run.

Leave out time spent reading docs, arguing about which provider to pick, and fighting a corporate proxy. Those are all real costs, but they belong in a second total labeled “calendar time.” The command total is the one you can rerun tomorrow and trust.

How to talk about the result

Say “on this machine, on this date, with this provider, dry run passed in X.” Don’t say “Swytchcode takes X” as if the provider, the network, and the install path all happened to be irrelevant. If search missed the provider entirely, the honest result is that the first working integration is blocked on a missing bundle. The timer didn’t fail; you stopped because the bundle genuinely wasn’t there.

Two runs on the same day can still differ because the package cache was cold the first time. Note that on the install row. Rerun once the cache is warm if that’s the number you plan to quote, but keep both rows in the log rather than throwing the first one away.

Rerun the whole log whenever the CLI version changes or you switch providers, and keep the old row alongside the new one. The point of a reproducible benchmark is the difference between runs, not a single number pulled from a slide.

Run the eight commands on a clean machine, fill in the table, and keep the log next to the version you printed with swy --version.

FAQ

Why is the finish line a dry run and not a live call?

A live call depends on the provider and on consent, neither of which you control. A dry run checks that the method is local and the call shape validates, without sending anything, which means you can actually compare dry runs across machines. Live calls deserve their own row.

What if swy search does not list the provider?

Stop and record that. Business and Enterprise can bring their own provider, but that work isn’t part of this clock. Don’t invent a method ID just to finish the table.

Only in a second total. Consent involves a person and a browser, so the command clock ends at a passing dry run unless you stated a different finish line before you started the stopwatch.

Can two teams compare their tables?

Yes, as long as both used the same finish line, named the provider, and printed swy --version. Different providers and different install paths are, honestly, different benchmarks.

Use Swytchcode so this doesn't happen to you

Use Swytchcode and you won't have to take a vendor's word for how long a first integration takes. Run the same eight commands yourself, on your own machine, and a passing dry run gives you a real number instead of a demo slide.

Swytchcode is an execution kernel that sits between your AI agents and the APIs they call. It resolves the right method, injects auth, checks policy, retries safely with idempotency, and logs every call locally.

Start with the MCP quickstart, or browse the docs for the full reference. Free is 100 live commands a month forever; see pricing for Pro and Business.

More content