A risky step by an AI agent runs only after a person approves it in a messaging app, on a screen the agent does not control.
A software agent acts on a person’s behalf, and someone has to say “yes” to the risky part of that
work — consent that is worth little if it is collected on the very screen the agent controls.
What it builds on
The scenario needs no separate protocol: confirming an action is the same transaction as
confirming a sign-in, only with a different purpose. A transaction with an explicit state and a
single outcome, a message in a trusted channel, the person’s answer and an entry in the audit
trail — all of it already exists in Veriqa’s core.For confirming an action rather than a sign-in, the product has:
Server-to-server creation of a confirmation transaction. The application calls
POST /api/transaction/confirmation, authenticating with client credentials — no OIDC request
and no user redirect. The response carries the entry point for the person: the channel’s deep link and
the same address as a QR image, with a “Powered by Veriqa” attribution strip under the code. The
application reads the outcome with
GET /api/transaction/{id}/result.
Concrete wording of the confirmation. The request names a declared action type
(action_type), and the person sees not “confirm sign-in” but that action’s message: which
action, over what, with which parameters.
A safe way to carry the action’s data. Free-form text from the application never reaches
the user’s message — that is a direct route to substituting the meaning of the confirmation. The
data travels in typed slots (slot_values) against the schema declared for the action type and
is validated before the transaction is created.
Available today: an agent whose tools you know
When you build the agent yourself and its tools are known in advance, nothing more is needed. The
approval goes where the tools are invoked, not into the prompt:
Each tool with consequences gets an approval policy in your code: which declared action type
asks the person, and which arguments of the call fill its slots.
The code that invokes tools checks the policy. For such a tool it creates the confirmation, shows
or sends its entry point, and waits for the outcome.
The tool runs only on confirmed. On declined or expired the harness returns a refusal as the
result of the call, the same way it reports any other failed call to the model.
Whatever the model decides to call, a tool with a policy does not run without a confirmed
transaction. The person reads the slot values of a declared action type, never text the agent wrote.The runnable example is samples/dotnet/inproc/agent-approval in the repository. A support agent
handles a refund ticket with three tools: lookup_order and send_customer_email run on their own,
while every refund_payment call waits for a person to approve it in Telegram. The run log records who
approved. For a single destructive action in an ordinary application — deleting a project, closing an
account — see samples/dotnet/inproc/step-up: there the backend also checks that the person who
confirmed is the owner of the account (expected_identities).
If you do not write the agent’s tools
The approval plugs into the agent platform’s extension point. In Claude Code, the extension point is hooks: see the
samples/claude-code sample and the Agent action approvals page. For
another platform or harness, you build the same integration and add the following around it:
a vocabulary of actions — one set of action types shared by your agents, so that “what are we
confirming” reads the same in every tool;
an approval step in the tool protocol — for example, the tool server itself declares which
calls require approval;
approval policies: what always requires a human, what only above a threshold, what can be
approved once and reused.
The video shows the Claude Code plugin holding git push until a person approves it in a messaging app:
What to keep in mind
As with the rest of Veriqa, confirmation rests on the person’s trusted channel and on the API of that
channel’s platform.
This is a strong and convenient step for scenarios where such trust is appropriate, but not
cryptographic proof of intent. Taking part in the scheme does not turn a messaging app into a
hardware security module. Where the risk model demands more, use stronger measures.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Veriqa Docs","description":"Cross-device sign-in and approval through trusted messaging apps — standard OpenID Connect for any stack.","colors":{"primary":"#e53837","light":"#ff5b5a","dark":"#c62a29"},"logo":{"light":"https://mintcdn.com/veriqa/qw6LDrivzjnIjrOq/logo/light.svg?fit=max\u0026auto=format\u0026n=qw6LDrivzjnIjrOq\u0026q=85\u0026s=9def38397d6be0d8f9207dfb5cd7b019","dark":"https://mintcdn.com/veriqa/qw6LDrivzjnIjrOq/logo/dark.svg?fit=max\u0026auto=format\u0026n=qw6LDrivzjnIjrOq\u0026q=85\u0026s=712ad308ac82f982b9c5c1211d5b90ea","href":"https://veriqa.app"},"favicon":"https://mintcdn.com/veriqa/xBhy2OnJr1Zv89lD/favicon.svg?fit=max\u0026auto=format\u0026n=xBhy2OnJr1Zv89lD\u0026q=85\u0026s=c92ea076d7372a48dcabe40f63923f6a","background":{"color":{"light":"#ffffff","dark":"#0d0e0f"}},"footer":{"socials":{"website":"https://veriqa.app"}},"contextual":{"options":["copy","view","claude","chatgpt","mcp","add-mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"ru","navbar":{"links":[{"href":"https://veriqa.app/source","label":"Репозиторий"}],"primary":{"type":"button","label":"Живое демо","href":"https://veriqa.app/demo"}},"href":"ru"},{"language":"en","default":true,"navbar":{"links":[{"href":"https://veriqa.app/source","label":"Repository"}],"primary":{"type":"button","label":"Live demo","href":"https://veriqa.app/demo?lang=en"}},"href":""}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"veriqa","hasAudioNarration":false,"actualSubdomain":"veriqa","customDomains":["veriqa.app"],"gitSource":{"type":"gitlab","owner":"veriqa","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"projectId":86464061,"mountPath":"","label":"","_id":"6b10f34a9ffae5051c4187e8"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b0689864d746179e790db26","clientVersion":"0.0.4453","searchFilterCounts":[{"language":"ru","tag":"Примеры","count":26},{"language":"en","tag":"Guides","count":25},{"language":"en","tag":"Samples","count":25},{"language":"ru","tag":"Руководства","count":25},{"language":"en","tag":"Get started","count":18},{"language":"en","tag":"Ready-made recipes","count":18},{"language":"ru","tag":"Начало работы","count":18},{"language":"ru","tag":"Готовые рецепты","count":18},{"language":"en","tag":"Use cases","count":17},{"language":"ru","tag":"Сценарии использования","count":17},{"language":"en","tag":"Releases","count":13},{"language":"ru","tag":"Релизы","count":13},{"language":"en","tag":"Previous","count":12},{"language":"ru","tag":"Предыдущие","count":12},{"language":"en","tag":"Videos","count":11},{"language":"ru","tag":"Видео","count":11},{"language":"en","tag":"Messaging apps and channels","count":8},{"language":"en","tag":"Installation and configuration","count":8},{"language":"ru","tag":"Мессенджеры и каналы","count":8},{"language":"ru","tag":"Установка и настройка","count":8}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"scenarios/agent-approvals","slug":"/scenarios/agent-approvals","pageMetadata":{"title":"Approving AI-agent actions","description":"A risky step by an AI agent runs only after a person approves it in a messaging app, on a screen the agent does not control.","href":"/scenarios/agent-approvals"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"A risky step by an AI agent runs only after a person approves it in a messaging app, on a screen the agent does not control.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`A software agent acts on a person’s behalf, and someone has to say “yes” to the risky part of that\nwork — consent that is worth little if it is collected on the very screen the agent controls.`}),`\n`,_jsx(Heading,{level:`2`,id:`what-it-builds-on`,children:`What it builds on`}),`\n`,_jsx(_components.p,{children:`The scenario needs no separate protocol: confirming an action is the same transaction as\nconfirming a sign-in, only with a different purpose. A transaction with an explicit state and a\nsingle outcome, a message in a trusted channel, the person’s answer and an entry in the audit\ntrail — all of it already exists in Veriqa’s core.`}),`\n`,_jsx(_components.p,{children:`For confirming an action rather than a sign-in, the product has:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Server-to-server creation of a confirmation transaction.`}),` The application calls\n`,_jsx(_components.code,{children:`POST /api/transaction/confirmation`}),`, authenticating with client credentials — no OIDC request\nand no user redirect. The response carries the entry point for the person: the channel’s deep link and\nthe same address as a QR image, with a “Powered by Veriqa” attribution strip under the code. The\napplication reads the outcome with\n`,_jsx(_components.code,{children:`GET /api/transaction/{id}/result`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Concrete wording of the confirmation.`}),` The request names a declared action type\n(`,_jsx(_components.code,{children:`action_type`}),`), and the person sees not “confirm sign-in” but that action’s message: which\naction, over what, with which parameters.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`A safe way to carry the action’s data.`}),` Free-form text from the application never reaches\nthe user’s message — that is a direct route to substituting the meaning of the confirmation. The\ndata travels in typed slots (`,_jsx(_components.code,{children:`slot_values`}),`) against the schema declared for the action type and\nis validated before the transaction is created.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`available-today-an-agent-whose-tools-you-know`,children:`Available today: an agent whose tools you know`}),`\n`,_jsx(_components.p,{children:`When you build the agent yourself and its tools are known in advance, nothing more is needed. The\napproval goes where the tools are invoked, not into the prompt:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Each tool with consequences gets an `,_jsx(_components.strong,{children:`approval policy`}),` in your code: which declared action type\nasks the person, and which arguments of the call fill its slots.`]}),`\n`,_jsx(_components.li,{children:`The code that invokes tools checks the policy. For such a tool it creates the confirmation, shows\nor sends its entry point, and waits for the outcome.`}),`\n`,_jsxs(_components.li,{children:[`The tool runs only on `,_jsx(_components.code,{children:`confirmed`}),`. On `,_jsx(_components.code,{children:`declined`}),` or `,_jsx(_components.code,{children:`expired`}),` the harness returns a refusal as the\nresult of the call, the same way it reports any other failed call to the model.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Whatever the model decides to call, a tool with a policy does not run without a confirmed\ntransaction. The person reads the slot values of a declared action type, never text the agent wrote.`}),`\n`,_jsxs(_components.p,{children:[`The runnable example is `,_jsx(_components.code,{children:`samples/dotnet/inproc/agent-approval`}),` in the repository. A support agent\nhandles a refund ticket with three tools: `,_jsx(_components.code,{children:`lookup_order`}),` and `,_jsx(_components.code,{children:`send_customer_email`}),` run on their own,\nwhile every `,_jsx(_components.code,{children:`refund_payment`}),` call waits for a person to approve it in Telegram. The run log records who\napproved. For a single destructive action in an ordinary application — deleting a project, closing an\naccount — see `,_jsx(_components.code,{children:`samples/dotnet/inproc/step-up`}),`: there the backend also checks that the person who\nconfirmed is the owner of the account (`,_jsx(_components.code,{children:`expected_identities`}),`).`]}),`\n`,_jsx(Heading,{level:`2`,id:`if-you-do-not-write-the-agent’s-tools`,children:`If you do not write the agent’s tools`}),`\n`,_jsxs(_components.p,{children:[`The approval plugs into the agent platform’s extension point. In Claude Code, the extension point is hooks: see the\n`,_jsx(_components.code,{children:`samples/claude-code`}),` sample and the `,_jsx(_components.a,{href:`/samples/showcase/claude-code`,children:`Agent action approvals`}),` page. For\nanother platform or harness, you build the same integration and add the following around it:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`a vocabulary of actions`}),` — one set of action types shared by your agents, so that “what are we\nconfirming” reads the same in every tool;`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`an approval step in the tool protocol`}),` — for example, the tool server itself declares which\ncalls require approval;`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`approval policies`}),`: what always requires a human, what only above a threshold, what can be\napproved once and reused.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The video shows the Claude Code plugin holding `,_jsx(_components.code,{children:`git push`}),` until a person approves it in a messaging app:`]}),`\n`,_jsx(`video`,{controls:true,playsInline:true,preload:`metadata`,className:`mint-w-full mint-aspect-video mint-rounded-xl`,src:`https://mintcdn.com/veriqa/hHA4aLbg85S2Cvz3/videos/claude-code-tool-call.mp4?fit=max\u0026auto=format\u0026n=hHA4aLbg85S2Cvz3\u0026q=85\u0026s=13e478fca143b08b6e8f1ba08a466aad`,\"data-path\":`videos/claude-code-tool-call.mp4`,children:_jsx(_components.p,{children:`Your browser cannot play this video.`})}),`\n`,_jsx(Heading,{level:`2`,id:`what-to-keep-in-mind`,children:`What to keep in mind`}),`\n`,_jsx(_components.p,{children:`As with the rest of Veriqa, confirmation rests on the person’s trusted channel and on the API of that\nchannel’s platform.`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`This is a strong and convenient step for scenarios where such trust is appropriate, but `,_jsx(_components.strong,{children:`not\ncryptographic proof of intent`}),`. Taking part in the scheme does not turn a messaging app into a\nhardware security module. Where the risk model demands more, use stronger measures.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Approving AI-agent actions","description":"A risky step by an AI agent runs only after a person approves it in a messaging app, on a screen the agent does not control.","href":"/scenarios/agent-approvals"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What it builds on","slug":"what-it-builds-on","depth":2,"children":[]},{"title":"Available today: an agent whose tools you know","slug":"available-today-an-agent-whose-tools-you-know","depth":2,"children":[]},{"title":"If you do not write the agent’s tools","slug":"if-you-do-not-write-the-agent’s-tools","depth":2,"children":[]},{"title":"What to keep in mind","slug":"what-to-keep-in-mind","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"dynamicCss":".mint-aspect-video {\n aspect-ratio: 16 / 9\n}\n.mint-w-full {\n width: 100%\n}\n.mint-rounded-xl {\n border-radius: 0.75rem\n}","subdomain":"veriqa","siteName":"Veriqa Docs","title":"Approving AI-agent actions - Veriqa Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"ru":{"href":"/ru/scenarios/agent-approvals","matchLevel":1},"en":{"href":"/scenarios/agent-approvals","matchLevel":0}}},"lastModified":"2026-11-03T21:48:51.291Z","originalFileLocation":"scenarios/agent-approvals.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"A risky step by an AI agent runs only after a person approves it in a messaging app, on a screen the agent does not control.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Veriqa Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/veriqa/bpcfdOhtXN3YPGR2/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/veriqa/bpcfdOhtXN3YPGR2/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/veriqa/bpcfdOhtXN3YPGR2/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/veriqa/bpcfdOhtXN3YPGR2/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/veriqa/bpcfdOhtXN3YPGR2/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/veriqa/bpcfdOhtXN3YPGR2/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/veriqa/bpcfdOhtXN3YPGR2/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/veriqa/bpcfdOhtXN3YPGR2/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/veriqa/bpcfdOhtXN3YPGR2/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Approving AI-agent actions - Veriqa Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"A risky step by an AI agent runs only after a person approves it in a messaging app, on a screen the agent does not control.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Veriqa Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://veriqa.app/docs/scenarios/agent-approvals\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://veriqa.mintlify.site/docs/_mintlify/api/og/v2?division=Use+cases\u0026amp;title=Approving+AI-agent+actions\u0026amp;description=A+risky+step+by+an+AI+agent+runs+only+after+a+person+approves+it+in+a+messaging+app%2C+on+a+screen+the+agent+does+not+control.\u0026amp;theme=205cfe5f80187946f34caccd\u0026amp;signature=6882a792e95c9728ecff8b20b041c2605125a410d951c0e5dc2255daafbc0305\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Approving AI-agent actions - Veriqa Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"A risky step by an AI agent runs only after a person approves it in a messaging app, on a screen the agent does not control.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://veriqa.mintlify.site/docs/_mintlify/api/og/v2?division=Use+cases\u0026amp;title=Approving+AI-agent+actions\u0026amp;description=A+risky+step+by+an+AI+agent+runs+only+after+a+person+approves+it+in+a+messaging+app%2C+on+a+screen+the+agent+does+not+control.\u0026amp;theme=205cfe5f80187946f34caccd\u0026amp;signature=6882a792e95c9728ecff8b20b041c2605125a410d951c0e5dc2255daafbc0305\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/veriqa/bpcfdOhtXN3YPGR2/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Veriqa Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#e53837\">\u003clink data-mint-head rel=\"canonical\" href=\"https://veriqa.app/docs/scenarios/agent-approvals\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/scenarios/agent-approvals.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://veriqa.app/docs/scenarios/agent-approvals\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ru\" href=\"https://veriqa.app/docs/ru/scenarios/agent-approvals\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://veriqa.app/docs/scenarios/agent-approvals\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://veriqa.app/#organization\",\"name\":\"Veriqa Docs\",\"url\":\"https://veriqa.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/veriqa/qw6LDrivzjnIjrOq/logo/light.svg?fit=max\u0026auto=format\u0026n=qw6LDrivzjnIjrOq\u0026q=85\u0026s=9def38397d6be0d8f9207dfb5cd7b019\"}},{\"@type\":\"WebSite\",\"@id\":\"https://veriqa.app/docs#website\",\"name\":\"Veriqa Docs\",\"url\":\"https://veriqa.app/docs\",\"publisher\":{\"@id\":\"https://veriqa.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://veriqa.app/docs/scenarios/agent-approvals#webpage\",\"url\":\"https://veriqa.app/docs/scenarios/agent-approvals\",\"name\":\"Approving AI-agent actions\",\"description\":\"A risky step by an AI agent runs only after a person approves it in a messaging app, on a screen the agent does not control.\",\"dateModified\":\"2026-11-03T21:48:51.291Z\",\"isPartOf\":{\"@id\":\"https://veriqa.app/docs#website\"},\"breadcrumb\":{\"@id\":\"https://veriqa.app/docs/scenarios/agent-approvals#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://veriqa.app/docs/scenarios/agent-approvals#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Use cases\",\"item\":\"https://veriqa.app/docs/scenarios/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Approving AI-agent actions\",\"item\":\"https://veriqa.app/docs/scenarios/agent-approvals\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://veriqa.app/docs/scenarios/agent-approvals#article\",\"headline\":\"Approving AI-agent actions\",\"name\":\"Approving AI-agent actions\",\"description\":\"A risky step by an AI agent runs only after a person approves it in a messaging app, on a screen the agent does not control.\",\"url\":\"https://veriqa.app/docs/scenarios/agent-approvals\",\"mainEntityOfPage\":{\"@id\":\"https://veriqa.app/docs/scenarios/agent-approvals#webpage\"},\"dateModified\":\"2026-11-03T21:48:51.291Z\",\"publisher\":{\"@id\":\"https://veriqa.app/#organization\"},\"isPartOf\":{\"@id\":\"https://veriqa.app/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Veriqa Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Veriqa Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/scenarios/agent-approvals.md","siteName":"Veriqa Docs","nav":{"global":null,"languages":[{"language":"ru","navbar":{"links":[{"href":"https://veriqa.app/source","label":"Репозиторий"}],"primary":{"type":"button","label":"Живое демо","href":"https://veriqa.app/demo"}},"pages":[{"title":"ru","href":"/ru/scenarios/agent-approvals"}]},{"language":"en","default":true,"navbar":{"links":[{"href":"https://veriqa.app/source","label":"Repository"}],"primary":{"type":"button","label":"Live demo","href":"https://veriqa.app/demo?lang=en"}},"groups":[{"group":"Get started","pages":[{"title":"Veriqa — an open-source project for passwordless authentication through popular messaging apps and email","sidebarTitle":"Veriqa","href":""},{"title":"Documentation contents","href":"/contents"},{"title":"Messaging apps, email and account services","href":"/messengers-and-accounts"},{"title":"Sign-in methods compared","href":"/concepts/sign-in-comparison"},{"title":"Basic scenarios","href":"/basic-scenarios"},{"title":"Getting the phone number and email","href":"/concepts/phone-and-email"},{"title":"Collecting extra claims","href":"/concepts/claim-enrichment"},{"title":"Design, texts and localization","href":"/design-texts-localization"},{"title":"Ready-made recipes","href":"/ready-made-recipes"},{"group":"Quickstart","pages":[{"title":".NET quickstart","href":"/quickstart/dotnet"},{"title":"Node.js quickstart","href":"/quickstart/node"},{"title":"Java quickstart","href":"/quickstart/java"},{"title":"Python quickstart","href":"/quickstart/python"},{"title":"Self-hosted quickstart","href":"/quickstart/self-hosted"},{"title":"Install as an OS service","href":"/quickstart/os-service"}]},{"title":"For AI agents","href":"/ai-agents"},{"title":"FAQ","href":"/faq"},{"title":"Veriqa, BCP 247 and the threat model","href":"/concepts/cross-device-security"}]},{"group":"Samples","pages":[{"title":"Live examples","href":"/samples/online"},{"group":"Gallery","root":{"title":"Gallery","href":"/samples/screenshots"},"pages":[{"title":"Telegram","href":"/samples/screenshots/telegram"},{"title":"WhatsApp","href":"/samples/screenshots/whatsapp"},{"title":"Messenger","href":"/samples/screenshots/messenger"},{"title":"Instagram","href":"/samples/screenshots/instagram"},{"title":"Google","href":"/samples/screenshots/google"},{"title":"Email","href":"/samples/screenshots/email"}]},{"group":"Videos","pages":[{"title":"Sign-in on a website","href":"/videos/web-sign-in"},{"title":"Sign-in on a 1C-Bitrix store","href":"/videos/bitrix-sign-in"},{"title":"Sign-in on a phone","href":"/videos/mobile-sign-in"},{"title":"Sign-in on a TV","href":"/videos/tv-sign-in"},{"title":"Step-up on a TV","href":"/videos/tv-step-up"},{"title":"Sign-in on a desktop","href":"/videos/desktop-sign-in"},{"title":"Step-up on a desktop","href":"/videos/desktop-step-up"},{"title":"Step-up on a phone","href":"/videos/mobile-step-up"},{"title":"Claude Code: a tool call","href":"/videos/claude-code-tool-call"},{"title":"Claude Code: a long command cycle","href":"/videos/claude-code-command-cycle"},{"title":"Claude Code: two approvers","href":"/videos/claude-code-two-approvers"}]},{"title":"Samples","href":"/samples"},{"title":"Sign-in on a website via a messaging app","href":"/samples/sign-in"},{"title":"Step-up, second factor, human-in-the-loop","href":"/samples/confirmation"},{"title":"Nova Stream sample — TV sign-in emulator","href":"/samples/showcase/streaming-tv"},{"title":"Helio sample — customer support","href":"/samples/showcase/support-desk"},{"title":"Agent action approvals","href":"/samples/showcase/claude-code"}]},{"group":"Guides","pages":[{"group":"Concepts","pages":[{"title":"How Veriqa differs","href":"/concepts/comparison"},{"title":"Architecture","href":"/concepts/architecture"},{"title":"How the auth flow works","href":"/concepts/auth-flow"},{"title":"Hop mode","href":"/concepts/hop-mode"},{"title":"OIDC + Veriqa explainer","href":"/concepts/oidc-explainer"},{"title":"Initiator context","href":"/concepts/initiator-context"},{"title":"How a sign-in completes","href":"/concepts/completion"}]},{"group":"Installation and configuration","pages":[{"title":"Configuration \u0026 customization","href":"/guides/customization"},{"title":"Declare your own configuration keys","href":"/guides/config-keys"},{"title":"Storage","href":"/guides/storage"},{"title":"Client compatibility","href":"/guides/client-compatibility"},{"title":"Behind a reverse proxy","href":"/guides/reverse-proxy"},{"title":"Preparing for production","href":"/guides/hardening"},{"title":"Rate limits for your traffic","href":"/guides/rate-limits"},{"title":"Security and data handling","href":"/guides/data-handling"}]},{"group":"Monitoring","pages":[{"title":"Observability","href":"/guides/observability"},{"title":"Troubleshooting","href":"/guides/troubleshooting"}]},{"group":"Messaging apps and channels","pages":[{"title":"Supported messaging apps","href":"/guides/supported-channels"},{"title":"Sign-in by email","sidebarTitle":"Email","href":"/guides/email"},{"title":"Sign-in with account services: Google, Apple and others","sidebarTitle":"Account services: Google, Apple and others","href":"/guides/account-services"},{"title":"Channel setup","href":"/guides/channels"},{"title":"Phone number","href":"/guides/phone-number"},{"title":"You already have a bot","href":"/guides/existing-bot"},{"title":"Build a channel in C#","href":"/guides/custom-channel-adapter"},{"title":"Build a channel in any language","href":"/guides/http-channel-adapter"}]}]},{"group":"Use cases","pages":[{"title":"All use cases","href":"/scenarios/overview"},{"title":"Passwordless sign-in and registration","href":"/scenarios/passwordless-login"},{"title":"Sign-in and channel linking in one action","href":"/scenarios/channel-linking"},{"title":"Second factor, step-up and action confirmations","href":"/scenarios/step-up"},{"title":"Replacing SMS codes","href":"/scenarios/sms-replacement"},{"title":"Leads and feedback without CAPTCHA","href":"/scenarios/lead-capture"},{"title":"Account recovery","href":"/scenarios/account-recovery"},{"title":"Sign-in surfaces","href":"/scenarios/surfaces"},{"title":"Sign in with a provider account, confirmed on the phone","href":"/scenarios/provider-account-sign-in"},{"title":"Smart TV and keyboard-free surfaces","href":"/scenarios/smart-tv"},{"title":"Place and identity","href":"/scenarios/place-and-identity"},{"title":"Passkeys alongside Veriqa","href":"/scenarios/passkey-with-veriqa"},{"title":"Sign-in from trusted networks","description":"Sign-ins to an internal application start only from your company's networks — the office and the VPN — so an outside attacker cannot start a sign-in and send its QR code to an employee to confirm.","href":"/scenarios/trusted-network"},{"title":"Approving AI-agent actions","href":"/scenarios/agent-approvals"},{"title":"Stronger sign-in with a chain of channels","description":"Users confirm each sign-in through several channels in a row, say Telegram and then Email: a stolen session in a single messaging app is no longer enough for an attacker.","href":"/scenarios/auth-chain"},{"title":"Resilience to a personal-data leak","href":"/scenarios/leak-resilience"},{"title":"Honest voting on any website","href":"/scenarios/honest-voting"}]},{"group":"Ready-made recipes","pages":[{"title":"Ready-made recipes","sidebarTitle":"List of ready-made recipes","href":"/recipes/overview"},{"title":"Passwordless sign-in for a Node.js, Python or Java web app","href":"/recipes/web-app-sign-in"},{"title":"Sign in with Telegram on a WordPress site","href":"/recipes/wordpress-telegram"},{"group":"Veriqa and CMS","pages":[{"title":"Veriqa in a CMS","href":"/integrations/overview"},{"title":"WordPress","href":"/integrations/wordpress"},{"title":"Drupal","href":"/integrations/drupal"},{"title":"1C-Bitrix","href":"/integrations/bitrix"},{"title":"TYPO3","href":"/integrations/typo3"},{"title":"Joomla","href":"/integrations/joomla"},{"title":"Shopify, Wix and other SaaS builders","href":"/integrations/saas-builders"}]},{"group":"Veriqa in business systems","pages":[{"title":"Veriqa in business systems","href":"/integrations/apps"},{"title":"Confirmed form submission","href":"/integrations/confirmed-form"}]},{"title":"Moving off SMS codes","href":"/recipes/replace-sms"},{"title":"Confirming a sensitive operation in a messaging app","href":"/recipes/confirm-operation"},{"title":"Team sign-in to GitLab, Grafana or Nextcloud","href":"/recipes/team-apps"},{"title":"A website form with a verified contact","href":"/recipes/lead-form"},{"title":"Sign-in on a Smart TV or a kiosk","href":"/recipes/smart-tv"},{"title":"Testing the integration locally","href":"/integrations/local-testing"}]},{"group":"Cloud","pages":[{"title":"Veriqa Cloud","href":"/cloud/overview"},{"title":"Connecting to the cloud","href":"/cloud/connect"},{"title":"Channel buttons on your own page","href":"/cloud/channel-buttons"},{"title":"Sign-in window settings (ui_config)","href":"/cloud/ui-config"}]},{"group":"Reference","pages":[{"title":"Configuration reference","href":"/reference/configuration"},{"title":"Server-to-server confirmation API","href":"/reference/confirmation-api"},{"title":"OIDC and OAuth 2.0 support","href":"/reference/oidc-capabilities"},{"title":"Known limitations","href":"/reference/limitations"}]},{"group":"Releases","pages":[{"title":"Coming next","sidebarTitle":"In the next release","href":"/releases/next"},{"group":"Previous","pages":[{"title":"0.7 — hop mode, channels in any language and four new built-in channels","href":"/releases/0.7"},{"title":"0.6.11 — sign-in with a provider account and a code from the email","href":"/releases/0.6.11"},{"title":"0.6.10 — sign-in and confirmation as one process","href":"/releases/0.6.10"},{"title":"0.6.9 — sign-in with a code and a ready-made server image","href":"/releases/0.6.9"},{"title":"0.6.8 — Messenger, WeChat and Viber","href":"/releases/0.6.8"},{"title":"0.6.7 — Instagram, markup in page texts and a path prefix","href":"/releases/0.6.7"},{"title":"0.6.6 — a cancel button, channel policies and email over IMAP","href":"/releases/0.6.6"},{"title":"0.6.5 — confirmation binding and your own sign-in page texts","href":"/releases/0.6.5"},{"title":"0.6.4 — claims completion and the phone number","href":"/releases/0.6.4"},{"title":"0.6.3 — a channel in any language over HTTP","href":"/releases/0.6.3"},{"title":"0.6.2 — hop mode","href":"/releases/0.6.2"},{"title":"0.6 — first public release","href":"/releases/0.6"}]}]}]}]},"basePath":"","title":"Approving AI-agent actions - Veriqa Docs","deploymentId":"dpl_2Ja9WRbxdgSB12oQLm2PJEkKFtyF","buildId":"dpl_2Ja9WRbxdgSB12oQLm2PJEkKFtyF","dynamics":[],"chunks":[]}