Skip to content
Petra Vlk

Dec 6, 202614 min read

Kiro CLI is a command-line agent you sign in to and run in your terminal, and, so anyone hoping to call it from a workflow tool such as Activepieces has nothing to point at.

Figures here come from kiro.dev's docs, pricing page and changelog, checked on 2026-12-06.

Kiro CLI as a terminal agent

What Kiro CLI does

Run it and you get a chat session in your terminal where an agent reads your project, proposes changes and runs tools on your behalf.

Kiro hosts the models behind it, and your signed-in account grants access to them.

Expect the tool to move under you. The x-1.dev Release Calendar counts 16 releases in February, 5 in March, 7 in April, 9 in May, 7 in June and 16 in July.

Kiro CLI release counts swing from month to month

Any script you write should pin to a version you tested, and you should read the changelog before upgrading.

Install on macOS, Linux and Windows

You will find an installer for each of the three platforms on kiro.dev. I'm not pasting a command here, because installers change between releases and a copy goes stale.

Take the command for your platform from Kiro's install page, run it, then start the CLI and sign in with your Kiro account when it prompts you.

Is there a Kiro CLI API or key?

No. The docs describe signing in with an account and say nothing about issuing an API key or exposing a model endpoint. That's a statement about the docs, not every future release.

Activepieces workflow builder showing a Skyvern agent task step with API configuration fields and failure handling options.

Illustration placeholder boundary: the signed-in terminal reaches Kiro's hosted models, while the key-and-endpoint box has no documented connection.

So treat Kiro CLI as the thing you script, not the thing you call. Run it from your own shell scripts or scheduled jobs, and hand it tools through MCP, the protocol agents use to reach outside apps, from servers such as Activepieces.

If you need a raw model API with keys and per-token billing, you need a different product. If you plan to build on Kiro, confirm each limit and price on kiro.dev the day you commit.

This takes minutes, not a project: automate it in Activepieces free.

Kiro CLI sign-in and plan selection

Sign in with your Kiro account first. Then pick the plan whose monthly credits survive your heaviest model, because the credit pool, not the install, is what stops a scripted job.

Login methods and the login command

You sign in to an account here; you do not paste a model API key into an environment variable. That matters for automation: a scheduled job runs as a signed-in identity, so it draws on that account's credits.

If you plan a CI runner around headless login, verify the current sign-in options in the docs first, because the pages cited here document none.

Monthly credits included with each Kiro plan

Kiro CLI free tier versus paid plans

50 credits a month is all the Free plan gives, so one afternoon of agent work can empty it and the next prompt simply fails.

The table below shows how far each tier lifts that ceiling, with the page each figure came from and when it was checked. Read the overage column first, since budgets break there.

Plan Price Monthly credits Overage price Docs page, checked
Free $0 50 Unpublished in pages checked kiro.dev/docs/billing, 2026-12-06
Pro $20 1,000 Unpublished in pages checked kiro.dev/docs/billing, 2026-12-06
Pro+ $40 2,000 Unpublished in pages checked kiro.dev/docs/billing, 2026-12-06
Pro Max $100 5,000 Unpublished in pages checked kiro.dev/docs/billing, 2026-12-06
Power $200 10,000 Unpublished in pages checked kiro.dev/docs/billing, 2026-12-06

Go by Kiro's billing page here: Pro's 1,000 credits are twenty times Free's, and Power's 10,000 is ten times Pro's. Add-on credits cost $0.04 each, so budget for hitting the cap and decide whether to buy them.

Pick the model carefully, because models spend credits at different rates. LeanOps Tech measures each model against Auto, Kiro's own model picker, as a cost multiple:

  • Haiku costs 0.4 times Auto, so the same credits stretch two and a half times as far.
  • Auto is the baseline at 1 times.
  • Sonnet costs 1.3 times Auto, so a Pro plan's 1,000 credits cover about 770 Auto-equivalents.
  • Opus costs 2.2 times Auto, which leaves roughly 455 Auto-equivalents on that same plan.

Three coin stacks of differing heights representing model credit costs

How fast each Kiro model choice uses credits

Pin a scheduled job to Opus and the Free plan's 50 credits cover about 23 Auto-equivalents. These multiples come from a third party, not Kiro, so confirm them on kiro.dev before you commit.

Ten Kiro CLI commands with working examples

Every command below is one the Kiro CLI reference documents. The same caution applies, though: a flag that exists in the docs may not exist in the build on your machine, so run kiro-cli --help on your installed version.

Start a chat and run one prompt

Run kiro-cli login once before anything else; it signs you in through the browser. After that, kiro-cli chat opens an interactive session in the current directory, and the agent can read the files there.

Terminal chat session beside a browser sign-in window and a folder of files

For scripts, pass the prompt on the command line and add --no-interactive:

kiro-cli chat --no-interactive "Summarise the failing tests in this repo"

Without that flag, a job waits for a human at a prompt that nobody is watching.

--trust-all-tools skips those questions. Use it only in a throwaway checkout, since it lets the agent run anything it chooses.

Kiro CLI sessions, context and agents

Inside a session, slash commands do the housekeeping:

  • /help lists what your version supports, which is the fastest check against this article.
  • /context shows and edits the files loaded into the conversation, so you can see what the agent is actually reading.
  • /model switches the model for the session.
  • /tools shows which tools the agent may use and which it trusts.
  • /compact summarises a long conversation to free room.
  • /quit ends the session.

Outside a session, kiro-cli chat --resume picks up the previous conversation in that directory. kiro-cli doctor diagnoses installation and login problems. Run it first when a command fails for no visible reason.

To keep a scheduled job's permissions narrow, use custom agents, which bundle a prompt, tools and context under one name. You select one when you start a chat.

Kiro CLI configuration files and environment variables

Look for a .kiro directory at two levels, because Kiro reads its settings from both. The one in your home directory applies everywhere.

The one inside a project applies there, and you can commit it so a team shares the same agents, steering files and MCP server definitions.

Those MCP server definitions are where a team's apps enter a session, and an automation platform that serves integrations as MCP tools can fill them without a second integration effort.

It has 751 integrations in an MIT-licensed core, and an integration connected there is served to an agent as an MCP tool.

The action that runs as a step in a flow is the same code exposed as the tool, which you can confirm in packages/pieces in the open source repo, where each integration is defined once as a integration, and in the Integrations Framework and MCP Server documentation, which describes that one definition serving both.

I'm not listing environment variable names here. Setting one that the reference doesn't document fails silently.

Take the names from the docs, and set them in the job's secret store rather than in a file.

You can follow the rest of this with the builder open. Start free, no card.

Kiro CLI production errors and limits

Five things fail in production. The five are login that never completes, a session that expires mid-job, credits that run out, throttling, and a permission prompt nobody's there to answer.

Authentication and session failures

On a server, a login failure is usually a browser problem. Kiro signs in through an interactive flow, and a headless runner has no browser to finish it.

Sign in on a machine that has one, then check Kiro's docs for the credential method it supports for non-interactive environments. Don't assume a token copied from your laptop will behave the same in a container.

When the job worked yesterday and fails today with an authentication error, that is an expired session.

Treat the sign-in as something that lapses: run a cheap authenticated command at the start of every job, and fail loudly there. A job that dies at its first step is cheaper to diagnose than one that dies at step nine.

Person testing the first stepping stone before crossing

Kiro CLI quota, throttling and overage

When credits are exhausted, Kiro pauses usage, so a scheduled job can stall and produce nothing. The cause is a plan allowance consumed faster than planned, since agent tasks that read many files cost more than short prompts.

When credits are exhausted, the agent stops doing work, and a scheduled job can keep "running" while producing nothing.

Check your plan's usage and overage terms in Kiro's docs, and set an alert on usage, not on job failure.

Even when credits remain, requests can be rejected or slowed. That is throttling, a separate failure. Per-tier rate limits are unpublished, so no figure in this article, or in anyone's blog post, can tell you where yours sits.

Measure it: run your real workload at the concurrency you intend to use, log the errors with timestamps, and add retries with backoff.

Unattended runs stalling on approvals

By default the agent asks before running tools that change things. In a terminal that's a safeguard. In a scheduled job it's a hang: the prompt waits for a keypress that never comes until the runner's timeout kills it.

Pre-approve only the specific tools the job needs, using the trust options in Kiro's docs, and never blanket-approve everything to make the hang disappear. Set a job timeout regardless.

Kiro CLI in CI and apps

For an unattended Kiro CLI job to work, it must sign in without a browser, have its tools approved in advance, and keep its credential out of the repository.

Do the steps in this order:

  1. Store the credential as a CI secret, never in the repo or the job's logs.
  2. Authenticate headlessly, using whichever method Kiro's docs describe for non-browser sign-in.
  3. Add the automation platform's MCP entry to Kiro's MCP config.
  4. Pre-approve the tools the job needs, and only those.
  5. Run non-interactively, using the invocation Kiro's docs give for it.

Non-interactive and scheduled runs

Leave scheduling to your CI system, not Kiro. Use the runner's cron trigger and call Kiro the same way you would any other command.

Take the non-interactive invocation and the tool-approval options from Kiro's CLI reference rather than from a blog post, because flags change between versions.

Add MCP servers to Kiro CLI

When an agent needs tools it doesn't have built in, MCP (Model Context Protocol) is the standard way to hand them over. Kiro reads its MCP servers from a JSON config file.

OpenAI provider configuration showing selectable AI models with pricing and capabilities filtering

Check Kiro's MCP docs for the current file locations, which are normally one for your user and one for the workspace, and for the fields a server entry accepts.

Commit the workspace file only if it holds no secrets. If a server needs a token, reference it from the CI secret you stored in step one instead of pasting it into the file.

Give Kiro your apps through Activepieces MCP

Through Activepieces, an automation platform, integrations for your team's apps can be served to an agent as MCP tools. It offers this on its cloud service and on a self-hosted install, and the endpoint and setup are described at https://www.activepieces.com/mcp.

For Kiro, you add one server entry to the MCP config from the previous subsection. That entry holds the server's address and the credential Activepieces issues, taken from the CI secret.

The entry's exact shape comes from Kiro's MCP docs, and the address and credential come from Activepieces.

Once connected, Kiro can call those apps as tools. They're still tools, so each one needs the same explicit pre-approval, or the unattended run will stall on a permission prompt. Self-hosting changes where your data travels, so choose it deliberately rather than by default.

Frequently asked questions

Choosing deliberately means checking., so treat each as a pointer to the page you should read, not a quotation from it.

Use the table to see where each answer should come from and its verification status. Every row still needs a reader's check before you build on it.

Question Short answer kiro.dev docs page Confirmed 2026-12-06
Is Kiro CLI free to use? A free tier has existed, but its allowance can change Pricing page No
Can I call it from a script or CI job? Yes in principle, but unattended sign-in needs checking CLI documentation No
Which models does it use? Selection is documented in the tool and its docs CLI documentation No
Does it work on Windows? Depends on the current install instructions Installation page No
How do I check remaining usage? Through your account, not a guess Account or billing pages No

How to read the "No" column

Treat each "No" as a task for you, not a flaw in the answer. The prose below says what to look for.

Cost of the free tier

Is Kiro CLI free to use? Kiro has offered a free tier, but its allowance is the part most likely to move.

Read the pricing page on the day you commit, because a script that quietly exhausts a free allowance fails at the worst moment: mid-job, with an error rather than a warning.

Scripts and CI

Can you call Kiro CLI from a script or CI job? Yes, that's the article's premise: it's a terminal agent you sign in to and script.

The open question is how a machine with no browser signs in. Look in the docs for the non-interactive authentication route before wiring it into a pipeline, since an interactive login prompt in CI simply hangs.

Models and platform support

Which models does Kiro CLI use? You don't choose a model through an API the way you would with a raw model provider.

Kiro decides what is available to your plan, and the tool's own model selection and the docs are the authority. Don't copy a model name from a blog post, including this one.

Does Kiro CLI work on Windows? Check the install page for your operating system. Platform support is exactly the kind of claim that changes between releases, and the docs list the supported install route for each system.

Checking remaining usage

How do you check your remaining usage? Use the usage view in your Kiro account or inside the tool, whichever the docs name. Don't infer it from how many requests you remember making.

Check it before a scheduled job runs, so an exhausted allowance shows up as a decision you made rather than a failure you debug later.

Share

Build it

Set this up in minutes.

No code required. Connect your accounts, and Activepieces runs it from there.

Start free Talk to sales