Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Kiro engine over ACP, registered like every other engine (#4888)

Milind Soni4794acf3718d
diff --git a/apps/docs/content/docs/providers/index.mdx b/apps/docs/content/docs/providers/index.mdx
index cd68b19387..380a5317fd 100644
--- a/apps/docs/content/docs/providers/index.mdx
+++ b/apps/docs/content/docs/providers/index.mdx
@@ -18,6 +18,7 @@ OpenMausBot does not proxy every message through its own model account. It start
| Cursor | Cursor Agent CLI login or API key | ACP driver with live model discovery |
| GitHub Copilot | `copilot login`, or `COPILOT_GITHUB_TOKEN` | ACP driver with the plan's live models, each labelled with its premium request multiplier |
| Command Code | `cmd login`, or `COMMAND_CODE_API_KEY` | ACP driver with the account's live models and their effort levels |
+| Kiro | `kiro-cli login`, or `KIRO_API_KEY` | ACP driver with the account's live models and their effort levels |
| Kimi | Kimi CLI login | ACP integration |
| Droid | Factory Droid CLI login | ACP integration |
| Antigravity | Google account through the official ACP server | Managed install, isolated accounts, live models, and approval cards |
@@ -32,6 +33,8 @@ GitHub Copilot runs the official Copilot CLI (`npm install -g @github/copilot`)
Command Code runs the official Command Code CLI (`npm install -g command-code`, Node.js 22 or newer) in its ACP mode (`command-code acp`) and bills the Command Code account `cmd login` signed in, or the key in `COMMAND_CODE_API_KEY`. Its picker lists every model the account offers, plus **Command Code default**, which keeps the model picked in Command Code itself. Ask runs Command Code's Standard mode, so each change it makes waits for approval in the app; Full access runs its Bypass Permissions mode.
+Kiro runs the official Kiro CLI (`curl -fsSL https://cli.kiro.dev/install | bash` on macOS and Linux) in its ACP mode with its V3 engine (`kiro-cli acp --agent-engine=v3`) and bills the Kiro account `kiro-cli login` signed in, or the Kiro Pro key in `KIRO_API_KEY`. Its picker lists every model the account offers, plus **Kiro default**, which keeps the model picked in Kiro itself. Ask turns Kiro's Autopilot off, so each write or command waits for approval in the app; Full access turns Autopilot on.
+
To use OpenRouter, Fireworks AI, DeepSeek, Cline, or your own OpenAI- or Anthropic-compatible service, see [Other model providers](./model-providers.mdx).
Codex models come from the signed-in CLI's live model list. If that list cannot be read, the picker shows an offline fallback that includes GPT-6 Astra, Sol, and Luna with availability marked unverified. An older CLI may not expose newer models; OpenMausBot checks for a newer stable Codex release and offers an update command for the configured executable. Updating the CLI does not grant model access to an account.
diff --git a/apps/docs/content/docs/security/analytics.mdx b/apps/docs/content/docs/security/analytics.mdx
index 9bba6baaa9..d94fcfc52e 100644
--- a/apps/docs/content/docs/security/analytics.mdx
+++ b/apps/docs/content/docs/security/analytics.mdx
@@ -54,7 +54,7 @@ Properties are counts, `true` or `false`, or words from fixed lists in the app's
| List | Values |
| --- | --- |
| Key provider | `anthropic`, `openai`, `openrouter`, `openai_compat`, `xai`, `mistral`, `cerebras`, `groq`, `greenference`, `meta`, `boat`, `composio`, `opencode_go`, `custom_endpoint`, `elevenlabs`, `fish_audio`, `jev`, `openrouter_decider`, `openai_image`, `custom_image`, `openai_live`, `onepassword`, `treg`, `postiz` |
-| Engine | `claude`, `codex`, `gemini`, `cursor`, `opencode`, `qwen`, `hermes`, `cline`, `custom_acp`, `pi`, `openai_compat`, `grok`, `grok_api`, `kimi`, `droid`, `antigravity`, `minimax`, `mistral`, `cerebras`, `groq`, `greenference`, `meta`, `muse_code`, `deepseek`, `copilot`, `command_code` |
+| Engine | `claude`, `codex`, `gemini`, `cursor`, `opencode`, `qwen`, `hermes`, `cline`, `custom_acp`, `pi`, `openai_compat`, `grok`, `grok_api`, `kimi`, `droid`, `antigravity`, `minimax`, `mistral`, `cerebras`, `groq`, `greenference`, `meta`, `muse_code`, `deepseek`, `copilot`, `command_code`, `kiro` |
| App | The 24 apps Connected apps lists by default: `slack`, `github`, `gmail`, `googlecalendar`, `googlesheets`, `googledocs`, `googledrive`, `notion`, `linear`, `sentry`, `posthog`, `discord`, `twitter`, `reddit`, `zapier`, `hubspot`, `salesforce`, `jira`, `asana`, `trello`, `dropbox`, `airtable`, `figma`, `stripe`. Every other app is `other`. |
| Starting role | `assistant`, `inbox`, `research`, `coder`, `community`, `ops` |
| Cloud plan | `starter`, `personal`, `pro`, `max` |
diff --git a/docs/analytics.md b/docs/analytics.md
index 8a4e716ae4..b489beab1f 100644
--- a/docs/analytics.md
+++ b/docs/analytics.md
@@ -50,7 +50,7 @@ Properties are counts, `true` or `false`, or words from fixed lists in the app's
| List | Values |
| --- | --- |
| Key provider | `anthropic`, `openai`, `openrouter`, `openai_compat`, `xai`, `mistral`, `cerebras`, `groq`, `greenference`, `meta`, `boat`, `composio`, `opencode_go`, `custom_endpoint`, `elevenlabs`, `fish_audio`, `jev`, `openrouter_decider`, `openai_image`, `custom_image`, `openai_live`, `onepassword`, `treg`, `postiz` |
-| Engine | `claude`, `codex`, `gemini`, `cursor`, `opencode`, `qwen`, `hermes`, `cline`, `custom_acp`, `pi`, `openai_compat`, `grok`, `grok_api`, `kimi`, `droid`, `antigravity`, `minimax`, `mistral`, `cerebras`, `groq`, `greenference`, `meta`, `muse_code`, `deepseek`, `copilot`, `command_code` |
+| Engine | `claude`, `codex`, `gemini`, `cursor`, `opencode`, `qwen`, `hermes`, `cline`, `custom_acp`, `pi`, `openai_compat`, `grok`, `grok_api`, `kimi`, `droid`, `antigravity`, `minimax`, `mistral`, `cerebras`, `groq`, `greenference`, `meta`, `muse_code`, `deepseek`, `copilot`, `command_code`, `kiro` |
| App | The 24 apps Connected apps lists by default: `slack`, `github`, `gmail`, `googlecalendar`, `googlesheets`, `googledocs`, `googledrive`, `notion`, `linear`, `sentry`, `posthog`, `discord`, `twitter`, `reddit`, `zapier`, `hubspot`, `salesforce`, `jira`, `asana`, `trello`, `dropbox`, `airtable`, `figma`, `stripe`. Every other app is `other`. |
| Starting role | `assistant`, `inbox`, `research`, `coder`, `community`, `ops` |
| Cloud plan | `starter`, `personal`, `pro`, `max` |
diff --git a/scripts/verify-engines-ui.ts b/scripts/verify-engines-ui.ts
index 74fc1c91ad..6c4844aaab 100644
--- a/scripts/verify-engines-ui.ts
+++ b/scripts/verify-engines-ui.ts
@@ -34,6 +34,7 @@ const instances: InstanceInfo[] = [
["deepseek", "deepseekAgent", "DeepSeek Harness", false, ""],
["githubCopilot", "copilotAgent", "GitHub Copilot", true, "1.0.103"],
["commandCode", "commandCodeAgent", "Command Code", true, "1.88.4"],
+ ["kiro", "kiroAgent", "Kiro", true, "3.1.0"],
].map(([id, driver, name, ready, version]) => ({
instanceId: String(id), driverKind: String(driver), displayName: String(name),
cliDefault: String(id),
diff --git a/server/chat-notices.ts b/server/chat-notices.ts
index 0766d31f9c..f22467f8bb 100644
--- a/server/chat-notices.ts
+++ b/server/chat-notices.ts
@@ -95,6 +95,7 @@ export const CHAT_NOTICE = {
"chat.notice.copilotAccountRefused": "GitHub Copilot refused this request for the signed-in account. Check its Copilot plan and premium request allowance, then try again.",
"chat.notice.commandCodeAccountRefused": "Command Code refused this request for the signed-in account. Check its plan and credits on commandcode.ai, then try again.",
+ "chat.notice.kiroAccountRefused": "Kiro refused this request for the signed-in account. Check its Kiro plan and credits, then try again.",
"chat.notice.acpQuietUsageLimit": "{name} reached a usage limit{said} and is waiting it out without replying, so this turn was stopped.",
"chat.notice.acpQuietStuck": "{name} sent nothing for {quiet} with no tool running, no open request to its model and no CPU use, so the turn was stopped as stuck. Send the message again to retry.",
"chat.notice.acpModelRequestFailed": "{name}'s model request failed: \"{message}\" {name} may retry or stop; no reply for {quiet} so far.",
diff --git a/server/drivers/acp/core.ts b/server/drivers/acp/core.ts
index 9be470eafe..021e3e4381 100644
--- a/server/drivers/acp/core.ts
+++ b/server/drivers/acp/core.ts
@@ -185,6 +185,8 @@ export interface AcpSupport {
clientFileSystem?: boolean;
/** Sent as `clientCapabilities._meta` on initialize, where agents read vendor capabilities. */
clientCapabilitiesMeta?: Record<string, unknown>;
+ /** Made once per process: rewrites a session/update before the turn reads it, or drops it by returning null. */
+ updateFilter?(): (update: Record<string, any>) => Record<string, any> | null;
/** The agent reaches MCP servers by URL: OpenMausBot's own servers are this server's endpoints, no process each. */
ownMcpOverHttp?: boolean;
/** How many tools the agent lists of its own beside the MCP servers', counted against a provider's tool limit. */
@@ -757,11 +759,7 @@ export function createAcpDriver(support: AcpSupport): ProviderDriver<AcpConfig>
if (current.turnConfig.fullAuto && current.turn.approvalMode === undefined && !isQuestion && answersAlone(toolCall.rawInput?.command)) {
const allow = optionFor("allow");
if (!allow) missing("allow");
- return send({
- jsonrpc: "2.0",
- id: msg.id,
- result: allow ? { outcome: { outcome: "selected", optionId: allow } } : cancelled,
- });
+ return send({ jsonrpc: "2.0", id: msg.id, result: allow ? { outcome: { outcome: "selected", optionId: allow } } : cancelled });
}
const kind = String(toolCall.kind ?? "");
const operationKey = isQuestion || current.controlsHost ? null : acpSessionOperationKey(toolCall);
@@ -859,6 +857,7 @@ export function createAcpDriver(support: AcpSupport): ProviderDriver<AcpConfig>
});
};
+ const filterUpdate = support.updateFilter?.();
const handleNotification = (msg: any) => {
// Vendor side-channels (grok's `_x.ai/*`) are only teed to the native log.
if (msg.method !== "session/update") return;
@@ -873,7 +872,8 @@ export function createAcpDriver(support: AcpSupport): ProviderDriver<AcpConfig>
current.state.startupActivity = true;
}
if (!current || !current.state.promptSent) return;
- const u = p.update ?? {};
+ const u = filterUpdate ? filterUpdate(p.update ?? {}) : p.update ?? {};
+ if (!u) return;
const finished = u.status === "completed" || u.status === "failed";
const toolEnded = (itemId: string | undefined) => {
current.state.producedItem = true;
diff --git a/server/drivers/acp/kiro.test.ts b/server/drivers/acp/kiro.test.ts
new file mode 100644
index 0000000000..8a4ab76dd5
--- /dev/null
+++ b/server/drivers/acp/kiro.test.ts
@@ -0,0 +1,207 @@
+import { existsSync, mkdirSync, mkdtempSync, readFileSync, writeFileSync } from "node:fs";
+import { tmpdir } from "node:os";
+import { dirname, join } from "node:path";
+import { DatabaseSync } from "node:sqlite";
+import { fileURLToPath } from "node:url";
+import { afterEach, beforeEach, describe, expect, it } from "vitest";
+
+import { ensureDirs, instanceConfigs } from "../../config.ts";
+import type { ProviderInstance } from "../../contracts.ts";
+import { recordEvents, type EventRecorder } from "../../testing/events.ts";
+import { removeTempDir } from "../../testing/cleanup.ts";
+import { BUILT_IN_DRIVERS } from "../builtIn.ts";
+import { KiroAgentDriver, kiroDataDir, kiroSignedIn, kiroUpdateFilter, resolveKiroModels } from "./kiro.ts";
+
+const FAKE_CLI = join(dirname(fileURLToPath(import.meta.url)), "../../testing/fake-acp-cli.ts");
+const MODELS = "auto,claude-sonnet-5-5,gpt-6.1-sol";
+const VARIANTS = JSON.stringify({
+ "claude-sonnet-5-5": { id: "effortLevel", currentValue: "medium", options: [{ value: "low", name: "Low" }, { value: "medium", name: "Medium" }, { value: "high", name: "High" }] },
+});
+
+/** Writes Kiro's sign-in store as kiro-cli 3.1.0 lays it out: an `auth_kv` table of key and value rows. */
+function writeStore(dir: string, rows: Array<[string, string]>): void {
+ mkdirSync(dir, { recursive: true });
+ const db = new DatabaseSync(join(dir, "data.sqlite3"));
+ try {
+ db.exec("CREATE TABLE auth_kv (key TEXT PRIMARY KEY, value TEXT)");
+ const insert = db.prepare("INSERT INTO auth_kv (key, value) VALUES (?, ?)");
+ for (const [key, value] of rows) insert.run(key, value);
+ } finally {
+ db.close();
+ }
+}
+
+describe("Kiro sign-in", () => {
+ let scratch: string;
+ beforeEach(() => {
+ scratch = mkdtempSync(join(tmpdir(), "omb-kiro-sign-in-"));
+ });
+ afterEach(async () => {
+ await removeTempDir(scratch);
+ });
+
+ it("looks for Kiro's store in the system's local data folder on each platform", () => {
+ const home = join(scratch, "home");
+ expect(kiroDataDir({ HOME: home }, "darwin")).toBe(join(home, "Library", "Application Support", "kiro-cli"));
+ expect(kiroDataDir({ HOME: home }, "linux")).toBe(join(home, ".local", "share", "kiro-cli"));
+ expect(kiroDataDir({ HOME: home, XDG_DATA_HOME: join(scratch, "data") }, "linux")).toBe(join(scratch, "data", "kiro-cli"));
+ expect(kiroDataDir({ USERPROFILE: home, LOCALAPPDATA: join(scratch, "local") }, "win32")).toBe(join(scratch, "local", "kiro-cli"));
+ });
+
+ it("is signed in by a token `kiro-cli login` stored, or by KIRO_API_KEY, and by nothing else", () => {
+ const home = join(scratch, "home");
+ const env = { HOME: home };
+ expect(kiroSignedIn(env, "linux")).toBe(false);
+ // Kiro's own agent settings are not a sign-in.
+ mkdirSync(join(home, ".kiro"), { recursive: true });
+ writeFileSync(join(home, ".kiro", "config.json"), "{}");
+ expect(kiroSignedIn(env, "linux")).toBe(false);
+ // A store holding only the device registration is what a started but unfinished login leaves.
+ writeStore(kiroDataDir(env, "linux"), [["kirocli:odic:device-registration", "{\"client_id\":\"fixture\"}"]]);
+ expect(kiroSignedIn(env, "linux")).toBe(false);
+ expect(kiroSignedIn({ HOME: home, KIRO_API_KEY: "fixture-key" }, "linux")).toBe(true);
+ expect(kiroSignedIn({ HOME: home, KIRO_API_KEY: " " }, "linux")).toBe(false);
+ });
+
+ it("reads a Builder ID, Identity Center or social login token from the store", () => {
+ for (const [index, key] of ["kirocli:odic:token", "kirocli:social:token", "codewhisperer:odic:token"].entries()) {
+ const home = join(scratch, `home-${index}`);
+ writeStore(kiroDataDir({ HOME: home }, "darwin"), [[key, "{\"access_token\":\"fixture\"}"]]);
+ expect(kiroSignedIn({ HOME: home }, "darwin"), key).toBe(true);
+ // The same store in another platform's folder is not this one's.
+ expect(kiroSignedIn({ HOME: home }, "linux"), key).toBe(false);
+ }
+ });
+});
+
+describe("Kiro session updates", () => {
+ it("hides Kiro's cloud-settings tool from its start to its end, and nothing after it", () => {
+ const filter = kiroUpdateFilter();
+ const cloud = { sessionUpdate: "tool_call", toolCallId: "cloud-1", title: "Fetching your cloud config", status: "in_progress", _meta: { kiro: { toolId: "fetch_cloud_config" } } };
+ expect(filter(cloud)).toBeNull();
+ expect(filter({ sessionUpdate: "tool_call_update", toolCallId: "cloud-1", status: "in_progress" })).toBeNull();
+ expect(filter({ sessionUpdate: "tool_call_update", toolCallId: "cloud-1", status: "completed" })).toBeNull();
+ // Once it ended, an update under the same id is the agent's own again.
+ const later = { sessionUpdate: "tool_call_update", toolCallId: "cloud-1", status: "completed" };
+ expect(filter(later)).toBe(later);
+ const work = { sessionUpdate: "tool_call", toolCallId: "write-1", title: "Write File", status: "in_progress" };
+ expect(filter(work)).toBe(work);
+ });
+
+ it("cuts Kiro's steering echo out of the reply's text and keeps the text before it", () => {
+ const filter = kiroUpdateFilter();
+ const plain = { sessionUpdate: "agent_message_chunk", content: { type: "text", text: "Done." } };
+ expect(filter(plain)).toBe(plain);
+ expect(filter({ sessionUpdate: "agent_message_chunk", content: { type: "text", text: "Done. [STEERING steer-42] also do this" } }))
+ .toEqual({ sessionUpdate: "agent_message_chunk", content: { type: "text", text: "Done." } });
+ expect(filter({ sessionUpdate: "agent_message_chunk", content: { type: "text", text: "[STEERING steer-42] also do this" } })).toBeNull();
+ // Only the reply is cut: the agent's reasoning may quote the marker.
+ const thought = { sessionUpdate: "agent_thought_chunk", content: { type: "text", text: "[STEERING steer-42]" } };
+ expect(filter(thought)).toBe(thought);
+ });
+});
+
+describe("Kiro ACP driver", () => {
+ let scratch: string;
+ let instance: ProviderInstance | undefined;
+ let recorder: EventRecorder | undefined;
+
+ beforeEach(() => {
+ ensureDirs();
+ scratch = mkdtempSync(join(tmpdir(), "omb-kiro-contract-"));
+ });
+ afterEach(async () => {
+ recorder?.stop();
+ await instance?.dispose();
+ instance = undefined;
+ recorder = undefined;
+ await removeTempDir(scratch);
+ });
+
+ async function create(environment: Record<string, string> = {}) {
+ instance = await KiroAgentDriver.create({
+ instanceId: `kiro-contract-${Math.random().toString(36).slice(2)}`, displayName: "Kiro", enabled: true,
+ environment: { FAKE_ACP_MODELS: MODELS, FAKE_ACP_VARIANTS: VARIANTS, FAKE_ACP_AUTOPILOT: "1",
+ FAKE_ACP_DUMP: join(scratch, "launch.json"), KIRO_API_KEY: "engine-fixture-key", ...environment },
+ config: { cli: FAKE_CLI, fullAuto: false },
+ });
+ recorder = recordEvents(instance.adapter);
+ return { instance, recorder };
+ }
+
+ const prompts = () => readFileSync(join(scratch, "launch.json.prompts.jsonl"), "utf8").trim().split("\n").map((line) => JSON.parse(line));
+ const configCalls = () => JSON.parse(readFileSync(join(scratch, "launch.json.config.json"), "utf8")) as Array<{ method: string; params: any }>;
+ const autopilot = () => configCalls().filter((call) => call.params.configId === "autopilot").map((call) => call.params.value);
+
+ it("is a built-in engine in fresh and existing fleets", () => {
+ expect(BUILT_IN_DRIVERS.some((driver) => driver.driverKind === "kiroAgent")).toBe(true);
+ expect(instanceConfigs({}).kiro?.driver).toBe("kiroAgent");
+ expect(instanceConfigs({ instances: { claude: { driver: "claudeAgent" } } }).kiro?.driver).toBe("kiroAgent");
+ expect(KiroAgentDriver.metadata.displayName).toBe("Kiro");
+ expect(KiroAgentDriver.models).toEqual({ default: "agent-default", options: [{ id: "agent-default", label: "Kiro default" }] });
+ });
+
+ it("lists the advertised models after Kiro's own default, each with its effort levels", async () => {
+ const catalog = await resolveKiroModels({ ...process.env, FAKE_ACP_MODELS: MODELS, FAKE_ACP_VARIANTS: VARIANTS }, { cli: FAKE_CLI });
+ expect(catalog.default).toBe("agent-default");
+ expect(catalog.options.map((option) => option.id)).toEqual(["agent-default", ...MODELS.split(",")]);
+ expect(catalog.options.find((option) => option.id === "claude-sonnet-5-5")?.variants).toEqual([
+ { id: "low", label: "Low" }, { id: "medium", label: "Medium" }, { id: "high", label: "High" },
+ ]);
+ });
+
+ it("starts nothing when the instance is created", async () => {
+ await create();
+ expect(existsSync(join(scratch, "launch.json"))).toBe(false);
+ });
+
+ it("runs Kiro's V3 engine over ACP on the picked model, with Autopilot off on Ask", async () => {
+ const { instance, recorder } = await create();
+ const { turnId } = await instance.adapter.sendTurn({ threadId: "kiro-ask", text: "hello", model: "claude-sonnet-5-5", approvalMode: "ask" });
+ await recorder.until((event) => event.type === "turn.completed" && event.turnId === turnId);
+ expect(recorder.events.every((event) => event.provider === "kiroAgent")).toBe(true);
+ const launch = JSON.parse(readFileSync(join(scratch, "launch.json"), "utf8"));
+ expect(launch.argv.slice(-3)).toEqual(["acp", "--agent-engine=v3", "--auth-method=cli"]);
+ expect(launch.env.KIRO_API_KEY).toBe("engine-fixture-key");
+ expect(autopilot()).toEqual(["off"]);
+ expect(prompts().at(-1)).toMatchObject({ model: "claude-sonnet-5-5" });
+ });
+
+ it("leaves Kiro on its own default model, and turns Autopilot on only under Full access", async () => {
+ const { instance, recorder } = await create();
+ const { turnId } = await instance.adapter.sendTurn({ threadId: "kiro-full", text: "hello", model: "agent-default", approvalMode: "full" });
+ await recorder.until((event) => event.type === "turn.completed" && event.turnId === turnId);
+ expect(configCalls().some((call) => call.params.configId === "model")).toBe(false);
+ expect(autopilot()).toEqual(["on"]);
+ expect(prompts().at(-1)).toMatchObject({ model: "auto" });
+ });
+
+ it("shows neither Kiro's cloud-settings tool nor its steering echo in a turn", async () => {
+ const updates = join(scratch, "updates.json");
+ writeFileSync(updates, JSON.stringify([
+ { update: { sessionUpdate: "tool_call", toolCallId: "cloud-1", title: "Fetching your cloud config", kind: "other", status: "in_progress", _meta: { kiro: { toolId: "fetch_cloud_config" } } } },
+ { update: { sessionUpdate: "tool_call_update", toolCallId: "cloud-1", status: "completed" } },
+ { update: { sessionUpdate: "agent_message_chunk", content: { type: "text", text: "visible reply" } } },
+ { update: { sessionUpdate: "agent_message_chunk", content: { type: "text", text: " kept[STEERING steer-7] hidden note" } } },
+ ]));
+ const { instance, recorder } = await create({ FAKE_ACP_UPDATES_FILE: updates });
+ const { turnId } = await instance.adapter.sendTurn({ threadId: "kiro-filter", text: "hello", model: "agent-default", approvalMode: "ask" });
+ await recorder.until((event) => event.type === "turn.completed" && event.turnId === turnId);
+ const text = recorder.events.filter((event) => event.type === "content.delta").map((event) => (event as { delta?: string }).delta ?? "").join("");
+ expect(text).toContain("visible reply kept");
+ expect(text).not.toContain("STEERING");
+ expect(text).not.toContain("hidden note");
+ expect(JSON.stringify(recorder.events)).not.toContain("cloud config");
+ });
+
+ it("turns Kiro's session/request_permission into an approval card and answers with the person's choice", async () => {
+ const answer = join(scratch, "permission.txt");
+ const { instance, recorder } = await create({ FAKE_ACP_MODE: "permission", FAKE_ACP_PERMISSION_ANSWER: answer });
+ const { turnId } = await instance.adapter.sendTurn({ threadId: "kiro-permission", text: "edit", model: "agent-default", approvalMode: "ask" });
+ const ask = await recorder.until((event) => event.type === "request.opened");
+ expect(ask.provider).toBe("kiroAgent");
+ expect(await instance.adapter.respondToRequest("kiro-permission", ask.requestId!, { behavior: "deny" })).toBe("rejected");
+ await recorder.until((event) => event.type === "turn.completed" && event.turnId === turnId);
+ expect(readFileSync(answer, "utf8")).toBe("reject");
+ });
+});
diff --git a/server/drivers/acp/kiro.ts b/server/drivers/acp/kiro.ts
new file mode 100644
index 0000000000..6456272919
--- /dev/null
+++ b/server/drivers/acp/kiro.ts
@@ -0,0 +1,130 @@
+// Kiro CLI over ACP (`kiro-cli acp --agent-engine=v3 --auth-method=cli`), billed to the Kiro account `kiro-cli login`
+// signed in, or to a Kiro Pro key in KIRO_API_KEY. Checked against kiro-cli 3.1.0:
+// - initialize offers authMethods [aws-builder-id, aws-iam-identity-center] ([kiro-login] in older bundles) and no
+// image input; `--auth-method=cli` keeps the access tokens inside Kiro;
+// - session/new advertises the account's models as the `model` config option, each model's effort as `effortLevel`,
+// Kiro's agents as `mode`, and `autopilot` (on/off), which sessions start "on";
+// - session/set_config_option sets each of them and answers with the full configOptions;
+// - `clientCapabilities._meta.kiro.hooks` keeps Kiro's own hooks running inside Kiro instead of asking the client;
+// - the V2 flags (`--agent-engine v2`, `--v2`) are refused by V3, which takes model and effort per session, not argv.
+import { DatabaseSync } from "node:sqlite";
+import { join } from "node:path";
+
+import type { ModelCatalog } from "../../contracts.ts";
+import { userHome } from "../../env-path.ts";
+import { createAcpDriver, type AccountErrorCode, type AcpConfig, type AcpSupport } from "./core.ts";
+import { discoverAcpModels, type AcpDiscoveryOptions } from "./custom-model-catalog.ts";
+
+/** Leaves the session on the model the person picked in Kiro itself. */
+const AGENT_DEFAULT = { id: "agent-default", label: "Kiro default" };
+const MODELS: ModelCatalog = { default: AGENT_DEFAULT.id, options: [AGENT_DEFAULT] };
+const SPAWN_ARGS = ["acp", "--agent-engine=v3", "--auth-method=cli"];
+const SIGN_IN = "kiro-cli login";
+const API_KEY_ENV = "KIRO_API_KEY";
+const LOGIN_NOTE = `Kiro is not signed in. Run ${SIGN_IN} in a terminal, or set ${API_KEY_ENV}, then check again.`;
+const AUTH_METHODS = ["aws-builder-id", "aws-iam-identity-center", "kiro-login"];
+/** Kiro's own hooks run inside Kiro; without this, V3 sends its `_kiro/hooks/*` requests to the client. */
+const CLIENT_META = { kiro: { hooks: { enabled: true, v2: true } } };
+/** A tool Kiro runs on its own at the start of a session to read its cloud settings; it is not the person's work. */
+const CLOUD_CONFIG_TOOL = "fetch_cloud_config";
+/** Where Kiro echoes a message sent while a turn runs back into the reply's text. */
+const STEERING_ECHO = "[STEERING steer-";
+
+/** Kiro keeps its sign-in in `data.sqlite3` in the system's local data folder: `~/Library/Application Support/kiro-cli`
+ * on macOS, `$XDG_DATA_HOME/kiro-cli` (`~/.local/share/kiro-cli`) on Linux, and `%LOCALAPPDATA%\kiro-cli` on Windows. */
+export function kiroDataDir(env: Record<string, string | undefined>, platform: NodeJS.Platform = process.platform): string {
+ const home = userHome(env);
+ if (platform === "darwin") return join(home, "Library", "Application Support", "kiro-cli");
+ if (platform === "win32") return join(env.LOCALAPPDATA?.trim() || join(home, "AppData", "Local"), "kiro-cli");
+ return join(env.XDG_DATA_HOME?.trim() || join(home, ".local", "share"), "kiro-cli");
+}
+
+/** Signed in by KIRO_API_KEY, or by a token `kiro-cli login` stored in the `auth_kv` table (`kirocli:social:token`,
+ * `kirocli:odic:token`, or the older `codewhisperer:odic:token`). The store is only read, never written. */
+export function kiroSignedIn(env: Record<string, string | undefined>, platform: NodeJS.Platform = process.platform): boolean {
+ if (env[API_KEY_ENV]?.trim()) return true;
+ let db: DatabaseSync | undefined;
+ try {
+ db = new DatabaseSync(join(kiroDataDir(env, platform), "data.sqlite3"), { readOnly: true });
+ return db.prepare("SELECT 1 FROM auth_kv WHERE key LIKE '%:token' AND length(value) > 0 LIMIT 1").get() !== undefined;
+ } catch {
+ return false;
+ } finally {
+ db?.close();
+ }
+}
+
+const DISCOVERY: AcpDiscoveryOptions = { passthrough: AGENT_DEFAULT, clientCapabilitiesMeta: CLIENT_META, exitGraceMs: 1_000 };
+
+export function resolveKiroModels(env: Record<string, string | undefined>, config: Pick<AcpConfig, "cli">): Promise<ModelCatalog> {
+ return discoverAcpModels(env, config.cli, SPAWN_ARGS, DISCOVERY);
+}
+
+/** Hides Kiro's own cloud-settings tool, start to end, and cuts the steering echo out of the reply's text. */
+export function kiroUpdateFilter(): (update: Record<string, any>) => Record<string, any> | null {
+ const hiddenTools = new Set<string>();
+ return (update) => {
+ const toolCallId = typeof update.toolCallId === "string" ? update.toolCallId : "";
+ if (update._meta?.kiro?.toolId === CLOUD_CONFIG_TOOL) {
+ if (toolCallId && update.status !== "completed" && update.status !== "failed") hiddenTools.add(toolCallId);
+ else hiddenTools.delete(toolCallId);
+ return null;
+ }
+ if (toolCallId && hiddenTools.has(toolCallId)) {
+ if (update.status === "completed" || update.status === "failed") hiddenTools.delete(toolCallId);
+ return null;
+ }
+ const text = update.sessionUpdate === "agent_message_chunk" ? update.content?.text : undefined;
+ if (typeof text !== "string" || !text.includes(STEERING_ECHO)) return update;
+ const kept = text.slice(0, text.indexOf(STEERING_ECHO)).trimEnd();
+ return kept ? { ...update, content: { ...update.content, text: kept } } : null;
+ };
+}
+
+export function describeKiroAccountError(code: AccountErrorCode): string {
+ return code === "invalid_credentials" ? LOGIN_NOTE
+ : "Kiro refused this request for the signed-in account. Check its Kiro plan and credits, then try again.";
+}
+
+const SUPPORT: AcpSupport = {
+ driverKind: "kiroAgent",
+ displayName: "Kiro",
+ models: MODELS,
+ defaultCli: "kiro-cli",
+ nativeSource: "kiro.acp",
+ images: false,
+ loginNote: LOGIN_NOTE,
+ install: {
+ command: { darwin: "curl -fsSL https://cli.kiro.dev/install | bash", linux: "curl -fsSL https://cli.kiro.dev/install | bash", win32: "irm 'https://cli.kiro.dev/install.ps1' | iex" },
+ docsUrl: "https://kiro.dev/docs/getting-started/installation/",
+ signInCommand: SIGN_IN,
+ },
+ spawnArgs: () => SPAWN_ARGS,
+ credentialEnv: [API_KEY_ENV],
+ clientCapabilitiesMeta: CLIENT_META,
+ resolveModels: (env, config) => resolveKiroModels(env, config),
+ // Every fleet has this instance: the catalog comes from the startup cache and refreshes when the engine is picked.
+ resolveModelsOnCreate: false,
+ selectModel: { configId: "model", agentDefault: AGENT_DEFAULT.id },
+ modelVariants: true,
+ pickAuthMethod: (methods) => AUTH_METHODS.find((id) => methods.some((method) => method.id === id)) ?? null,
+ authFailure: "continue",
+ isAuthenticated: (env) => kiroSignedIn(env),
+ describeAccountError: describeKiroAccountError,
+ accountErrorText: (code) => code === "invalid_credentials" ? undefined : { key: "chat.notice.kiroAccountRefused" },
+ // Autopilot is set every turn, so an approval change never restarts Kiro.
+ sessionScopedApproval: true,
+ async configureSession({ request, sessionId, config }) {
+ // Off, Kiro asks before each write or command and the app answers; on, only under Full access, it goes ahead.
+ const value = config.fullAuto ? "on" : "off";
+ try {
+ await request("session/set_config_option", { sessionId, configId: "autopilot", value });
+ } catch (error) {
+ throw new Error(`Kiro rejected permission mode "${value}": ${(error as Error).message}`);
+ }
+ },
+ updateFilter: kiroUpdateFilter,
+ buildPromptText: (turn) => (turn.system ? `${turn.system}\n\n${turn.text}` : turn.text),
+};
+
+export const KiroAgentDriver = createAcpDriver(SUPPORT);
diff --git a/server/drivers/builtIn.ts b/server/drivers/builtIn.ts
index 3f957722e2..a2a3e5c4ac 100644
--- a/server/drivers/builtIn.ts
+++ b/server/drivers/builtIn.ts
@@ -16,6 +16,7 @@ import { DeepSeekAgentDriver } from "./acp/deepseek.ts";
import { ClineAgentDriver } from "./acp/cline.ts";
import { CopilotAgentDriver } from "./acp/copilot.ts";
import { CommandCodeAgentDriver } from "./acp/command-code.ts";
+import { KiroAgentDriver } from "./acp/kiro.ts";
import { OpenAICompatDriver } from "./openai-compat.ts";
import { PiDriver } from "./pi.ts";
import { MistralDriver } from "./mistral.ts";
@@ -39,6 +40,7 @@ export const BUILT_IN_DRIVERS: readonly AnyProviderDriver[] = [
ClineAgentDriver,
CopilotAgentDriver,
CommandCodeAgentDriver,
+ KiroAgentDriver,
CustomAcpDriver,
PiDriver,
OpenAICompatDriver,
diff --git a/server/engine-memory.ts b/server/engine-memory.ts
index b0ea0f46e9..e24b921325 100644
--- a/server/engine-memory.ts
+++ b/server/engine-memory.ts
@@ -29,7 +29,7 @@ const STALL_PERCENT = 20;
const MINUTE_MS = 60_000, DAY_MINUTES = 24 * 60;
/** Engines that run each thread's turns in processes of their own. */
export const ENGINE_PROCESS_KINDS: ReadonlySet<string> = new Set(["claudeAgent", "codex", "opencodeGo", "grokAgent", "geminiAgent", "kimiAgent",
- "droidAgent", "cursorAgent", "qwenAgent", "hermesAgent", "clineAgent", "copilotAgent", "commandCodeAgent", "customAcp", "piAgent", "antigravityAgent"]);
+ "droidAgent", "cursorAgent", "qwenAgent", "hermesAgent", "clineAgent", "copilotAgent", "commandCodeAgent", "kiroAgent", "customAcp", "piAgent", "antigravityAgent"]);
export interface HostMemory { totalBytes: number; availableBytes: number; swapFreeBytes: number; oomKills: number | null; fullStall10: number | null }
diff --git a/server/instance-fleets.ts b/server/instance-fleets.ts
index bd7f622dc2..3cb7cb81da 100644
--- a/server/instance-fleets.ts
+++ b/server/instance-fleets.ts
@@ -31,6 +31,7 @@ export const DEFAULT_FLEET: InstanceConfigMap = {
cursor: { driver: "cursorAgent" },
githubCopilot: { driver: "copilotAgent" },
commandCode: { driver: "commandCodeAgent" },
+ kiro: { driver: "kiroAgent" },
claude: { driver: "claudeAgent" },
codex: { driver: "codex" },
chatgpt: { driver: "codex", displayName: "ChatGPT plan", config: { authMode: "chatgpt-plan" } },
@@ -64,6 +65,7 @@ export const PRODUCT_FLEET_ADDITIONS = {
cursor: { driver: "cursorAgent" },
githubCopilot: { driver: "copilotAgent" },
commandCode: { driver: "commandCodeAgent" },
+ kiro: { driver: "kiroAgent" },
openaiCompat: { driver: "openai-compat" },
mistral: { driver: "mistral" },
cerebras: { driver: "cerebras" },
diff --git a/server/runtime/capabilities.test.ts b/server/runtime/capabilities.test.ts
index 97c34f676e..949603d1fd 100644
--- a/server/runtime/capabilities.test.ts
+++ b/server/runtime/capabilities.test.ts
@@ -28,6 +28,7 @@ const EXPECTED: Record<string, EngineCapabilities> = {
clineAgent: { resume: true, nativeReviewer: false, full: true, edits: false, subagents: false },
copilotAgent: bare,
commandCodeAgent: bare,
+ kiroAgent: bare,
customAcp: bare,
"openai-compat": chat,
grok: chat,
diff --git a/server/runtime/capabilities.ts b/server/runtime/capabilities.ts
index f1c95c4e35..c4650fdbd0 100644
--- a/server/runtime/capabilities.ts
+++ b/server/runtime/capabilities.ts
@@ -35,6 +35,7 @@ const ENGINES: Readonly<Record<string, EngineRow>> = {
clineAgent: { resume: true },
copilotAgent: { resume: true },
commandCodeAgent: { resume: true },
+ kiroAgent: { resume: true },
customAcp: { resume: true },
"openai-compat": CHAT_ROW,
grok: CHAT_ROW,
diff --git a/server/testing/fake-acp-cli.ts b/server/testing/fake-acp-cli.ts
index 04e5663403..f9920af9bb 100755
--- a/server/testing/fake-acp-cli.ts
+++ b/server/testing/fake-acp-cli.ts
@@ -58,6 +58,7 @@
// FAKE_ACP_USAGE_ROOT usage at the prompt result's root, as opencode 1.18.18 sends it
// FAKE_ACP_USAGE_UPDATES_FILE JSON numbers re-read per prompt, each sent as usage_update {used, size: 200000}
// FAKE_ACP_UPDATES_FILE JSON array of session/update params ({update, _meta?}) re-read per prompt, sent as-is
+// FAKE_ACP_AUTOPILOT=1 set_config_option takes Kiro 3.1.0's `autopilot` ("on" or "off")
// FAKE_ACP_MODE_ACK_FILE while it exists a mode switch answers "empty" (no configOptions) or "error"
// FAKE_ACP_HANG_ON a prompt whose text holds this hangs as in mode hang; others answer
// FAKE_ACP_CURSOR_FAST=1 a `fast` select ("true") once initialize declares _meta.parameterizedModelPicker, as Cursor CLI 2026.10.19; =stuck acknowledges set_config_option but keeps "true"
@@ -268,6 +269,7 @@ const dumpEnv = Object.fromEntries(
"GH_TOKEN",
"GITHUB_TOKEN",
"COMMAND_CODE_API_KEY",
+ "KIRO_API_KEY",
].flatMap((key) => (process.env[key] === undefined ? [] : [[key, process.env[key]]] as const)),
);
const dumpState: Record<string, unknown> = { argv, env: dumpEnv, pid: process.pid };
@@ -888,6 +890,14 @@ function handle(msg: any) {
result(msg.id, process.env.FAKE_ACP_EMPTY_MODE_ACK ? {} : { configOptions: configOptions() });
break;
}
+ if (configId === "autopilot" && process.env.FAKE_ACP_AUTOPILOT === "1" && (value === "on" || value === "off")) {
+ configCalls.push({ method: msg.method, params: msg.params });
+ if (process.env.FAKE_ACP_DUMP) {
+ writeFileSync(`${process.env.FAKE_ACP_DUMP}.config.json`, JSON.stringify(configCalls, null, 2));
+ }
+ result(msg.id, { configOptions: configOptions() });
+ break;
+ }
if (configId === "model" && value === process.env.FAKE_ACP_EXIT_ON_MODEL) process.exit(4);
if (configId !== "model" || !models.includes(value)) {
out({
diff --git a/shared/tool-scope-support.ts b/shared/tool-scope-support.ts
index 9a1571eebd..8dc9c42451 100644
--- a/shared/tool-scope-support.ts
+++ b/shared/tool-scope-support.ts
@@ -5,7 +5,7 @@ export const TOOL_SCOPE_SUPPORT = {
grok: "native-and-mcp", grokAgent: "native-and-mcp", piAgent: "native-and-mcp",
"openai-compat": "native-and-mcp", mistral: "native-and-mcp", minimax: "native-and-mcp", cerebras: "native-and-mcp", groq: "native-and-mcp", greenference: "native-and-mcp", meta: "native-and-mcp",
claudeAgent: "mcp", codex: "mcp", geminiAgent: "mcp", kimiAgent: "mcp", droidAgent: "mcp",
- cursorAgent: "mcp", opencodeGo: "mcp", qwenAgent: "mcp", hermesAgent: "mcp", clineAgent: "mcp", copilotAgent: "mcp", commandCodeAgent: "mcp", deepseekAgent: "mcp", customAcp: "mcp", antigravityAgent: "mcp", museCode: "mcp",
+ cursorAgent: "mcp", opencodeGo: "mcp", qwenAgent: "mcp", hermesAgent: "mcp", clineAgent: "mcp", copilotAgent: "mcp", commandCodeAgent: "mcp", kiroAgent: "mcp", deepseekAgent: "mcp", customAcp: "mcp", antigravityAgent: "mcp", museCode: "mcp",
} as const;
export function assertToolScopeSupported(engine: string, value: unknown): ToolScope | undefined {
diff --git a/src/components/EngineLibrary.tsx b/src/components/EngineLibrary.tsx
index 03b74449e8..20af709a4d 100644
--- a/src/components/EngineLibrary.tsx
+++ b/src/components/EngineLibrary.tsx
@@ -18,7 +18,7 @@ const providers: Record<string, string> = {
claudeAgent: "Anthropic", codex: "OpenAI", grok: "xAI", grokAgent: "xAI",
kimiAgent: "Moonshot AI", droidAgent: "Factory", cursorAgent: "Cursor",
antigravityAgent: "Google", opencodeGo: "OpenCode", qwenAgent: "Qwen",
- hermesAgent: "Nous Research", clineAgent: "Cline", copilotAgent: "GitHub", commandCodeAgent: "Command Code", piAgent: "pi.dev", mistral: "Mistral AI", cerebras: "Cerebras", groq: "Groq", greenference: "Greenference", meta: "Meta", museCode: "Meta", deepseekAgent: "DeepSeek",
+ hermesAgent: "Nous Research", clineAgent: "Cline", copilotAgent: "GitHub", commandCodeAgent: "Command Code", kiroAgent: "Amazon Web Services", piAgent: "pi.dev", mistral: "Mistral AI", cerebras: "Cerebras", groq: "Groq", greenference: "Greenference", meta: "Meta", museCode: "Meta", deepseekAgent: "DeepSeek",
};
export function providerName(instance: InstanceInfo): string {
diff --git a/src/components/ProviderIcons.tsx b/src/components/ProviderIcons.tsx
index b70919d1cc..066214d696 100644
--- a/src/components/ProviderIcons.tsx
+++ b/src/components/ProviderIcons.tsx
@@ -136,6 +136,15 @@ export function CommandCodeMark({ size = 16, className }: IconProps) {
</svg>;
}
+export function KiroMark({ size = 16, className }: IconProps) {
+ // Kiro's ghost, drawn plainly in Kiro's purple, which reads on light and dark; its eyes are holes onto the panel.
+ return <svg width={size} height={size} viewBox="0 0 24 24" className={className} aria-hidden="true">
+ <path fill="#7B3FE4" d="M12 2a7.5 7.5 0 0 0-7.5 7.5V22l2.5-1.8 2.5 1.8 2.5-1.8 2.5 1.8 2.5-1.8 2.5 1.8V9.5A7.5 7.5 0 0 0 12 2Z" />
+ <circle cx="9.3" cy="10" r="1.5" fill="var(--color-panel)" />
+ <circle cx="14.7" cy="10" r="1.5" fill="var(--color-panel)" />
+ </svg>;
+}
+
export function GreenferenceMark({ size = 16, className }: IconProps) {
// Greenference's site icon (greenference.com/assets/favicon.svg) without its tile, in a teal from its logo that reads on light and dark.
return <svg width={size} height={size} viewBox="4 2 24 24" className={className} aria-hidden="true">
@@ -180,6 +189,8 @@ export function ProviderMark({ driverKind, size, className }: IconProps & { driv
return <CopilotMark size={size} className={className} />;
case "commandCodeAgent":
return <CommandCodeMark size={size} className={className} />;
+ case "kiroAgent":
+ return <KiroMark size={size} className={className} />;
case "greenference":
return <GreenferenceMark size={size} className={className} />;
default:
diff --git a/src/components/provider-mark-fade.ts b/src/components/provider-mark-fade.ts
index fe9659777f..8f92ca6a0a 100644
--- a/src/components/provider-mark-fade.ts
+++ b/src/components/provider-mark-fade.ts
@@ -2,7 +2,7 @@ import type { InstanceInfo } from "@/state/store";
export type ProviderMarkTone = "brand" | "mono";
-const BRAND_DRIVERS: ReadonlySet<string> = new Set(["claudeAgent", "mistral", "meta", "museCode", "kimiAgent", "qwenAgent", "deepseekAgent", "greenference"]);
+const BRAND_DRIVERS: ReadonlySet<string> = new Set(["claudeAgent", "mistral", "meta", "museCode", "kimiAgent", "qwenAgent", "deepseekAgent", "greenference", "kiroAgent"]);
const MONO_PRESETS: ReadonlySet<string> = new Set(["openai", "xai"]);
export function providerMarkTone(instance: Pick<InstanceInfo, "driverKind" | "icon">): ProviderMarkTone {
diff --git a/src/lib/analytics-allowlist.ts b/src/lib/analytics-allowlist.ts
index 02e0bf4c53..8136b11c40 100644
--- a/src/lib/analytics-allowlist.ts
+++ b/src/lib/analytics-allowlist.ts
@@ -32,7 +32,7 @@ export function credentialProvider(target: unknown): KeyProvider | "other" {
export const ENGINE = [
"claude", "codex", "gemini", "cursor", "opencode", "qwen", "hermes", "cline", "custom_acp", "pi", "openai_compat", "grok",
- "grok_api", "kimi", "droid", "antigravity", "minimax", "mistral", "cerebras", "groq", "greenference", "meta", "muse_code", "deepseek", "copilot", "command_code",
+ "grok_api", "kimi", "droid", "antigravity", "minimax", "mistral", "cerebras", "groq", "greenference", "meta", "muse_code", "deepseek", "copilot", "command_code", "kiro",
] as const;
export type Engine = (typeof ENGINE)[number];
@@ -41,7 +41,7 @@ const ENGINE_BY_DRIVER = new Map<string, Engine>(Object.entries({
qwenAgent: "qwen", hermesAgent: "hermes", clineAgent: "cline", customAcp: "custom_acp", piAgent: "pi",
"openai-compat": "openai_compat", grokAgent: "grok", grok: "grok_api", kimiAgent: "kimi", droidAgent: "droid",
antigravityAgent: "antigravity", minimax: "minimax", mistral: "mistral", cerebras: "cerebras", groq: "groq", greenference: "greenference",
- meta: "meta", museCode: "muse_code", deepseekAgent: "deepseek", copilotAgent: "copilot", commandCodeAgent: "command_code",
+ meta: "meta", museCode: "muse_code", deepseekAgent: "deepseek", copilotAgent: "copilot", commandCodeAgent: "command_code", kiroAgent: "kiro",
} satisfies Record<string, Engine>));
export function engineForDriver(driverKind: unknown): Engine | "other" {
diff --git a/src/lib/built-in-instances.ts b/src/lib/built-in-instances.ts
index 12941cb554..500c6ef0ec 100644
--- a/src/lib/built-in-instances.ts
+++ b/src/lib/built-in-instances.ts
@@ -1,6 +1,6 @@
/** The server's default instances by id, with their driver kinds, plus `gemini`, which an enterprise licence restores. */
export const BUILT_IN_INSTANCE_DRIVERS: Readonly<Record<string, string>> = {
- grok: "grokAgent", kimi: "kimiAgent", droid: "droidAgent", cursor: "cursorAgent", githubCopilot: "copilotAgent", commandCode: "commandCodeAgent", claude: "claudeAgent", codex: "codex",
+ grok: "grokAgent", kimi: "kimiAgent", droid: "droidAgent", cursor: "cursorAgent", githubCopilot: "copilotAgent", commandCode: "commandCodeAgent", kiro: "kiroAgent", claude: "claudeAgent", codex: "codex",
chatgpt: "codex", antigravity: "antigravityAgent", opencodeGo: "opencodeGo", openaiCompat: "openai-compat",
mistral: "mistral", cerebras: "cerebras", groq: "groq", greenference: "greenference", meta: "meta", museCode: "museCode", deepseek: "deepseekAgent", openai: "openai-compat",
claudeApi: "claudeAgent", xaiApi: "grok", openrouter: "openai-compat", qwen: "qwenAgent", hermes: "hermesAgent",
diff --git a/src/locales/en.json b/src/locales/en.json
index d884595449..23024fc88a 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -9333,6 +9333,7 @@
"serverError.computer.notReadyMacPermission": "OpenMausBot can't use this computer yet — {reason}. Relaunch OpenMausBot after granting the missing macOS permission.",
"chat.notice.copilotAccountRefused": "GitHub Copilot refused this request for the signed-in account. Check its Copilot plan and premium request allowance, then try again.",
"chat.notice.commandCodeAccountRefused": "Command Code refused this request for the signed-in account. Check its plan and credits on commandcode.ai, then try again.",
+ "chat.notice.kiroAccountRefused": "Kiro refused this request for the signed-in account. Check its Kiro plan and credits, then try again.",
"chat.notice.acpQuietUsageLimit": "{name} reached a usage limit{said} and is waiting it out without replying, so this turn was stopped.",
"chat.notice.acpQuietStuck": "{name} sent nothing for {quiet} with no tool running, no open request to its model and no CPU use, so the turn was stopped as stuck. Send the message again to retry.",
"chat.notice.acpModelRequestFailed": "{name}'s model request failed: \"{message}\" {name} may retry or stop; no reply for {quiet} so far.",
diff --git a/src/locales/pt-br.json b/src/locales/pt-br.json
index caf2bb5ffc..bf47e1d095 100644
--- a/src/locales/pt-br.json
+++ b/src/locales/pt-br.json
@@ -9304,6 +9304,7 @@
"serverError.computer.notReadyMacPermission": "O OpenMausBot ainda não consegue usar este computador. Motivo: {reason}. Abra o OpenMausBot novamente depois de conceder a permissão do macOS que falta.",
"chat.notice.copilotAccountRefused": "O GitHub Copilot recusou este pedido para a conta conectada. Confira o plano do Copilot e a franquia de pedidos premium e tente novamente.",
"chat.notice.commandCodeAccountRefused": "O Command Code recusou este pedido para a conta conectada. Confira o plano e os créditos em commandcode.ai e tente novamente.",
+ "chat.notice.kiroAccountRefused": "O Kiro recusou este pedido para a conta conectada. Confira o plano e os créditos do Kiro e tente novamente.",
"chat.notice.acpQuietUsageLimit": "{name} atingiu um limite de uso{said} e está esperando a restrição acabar, sem responder. Por isso, esta sessão foi interrompida.",
"chat.notice.acpQuietStuck": "{name} ficou {quiet} sem enviar nada. Não havia ferramenta em execução, pedido aberto ao modelo nem uso de CPU, então a sessão foi interrompida por estar travada. Envie a mensagem de novo para tentar novamente.",
"chat.notice.acpModelRequestFailed": "O pedido de {name} ao modelo falhou: “{message}”. {name} pode tentar novamente ou parar. Sem resposta há {quiet}.",