Urgent.News

What's breaking now, across thousands of outlets.

AI

TwoKeys: AI Agents Can Act, but Should They Decide?

I created this article for the purpose of entering the All Things Agentic Hackathon . An AI agent already has the API key. It can read the campaign, change its status, and call Google Ads. Technically, it has everything it needs to activate a €30,000 launch campaign. But did the company actually agree to do that? That is the gap I built TwoKeys to explore. Technical capability is not sufficient…

This article, created for the All Things Agentic Hackathon, explores the limitations of AI agents despite their ability to perform certain actions. TwoKeys, the proposed solution, ensures organizational consent is maintained by placing a decision boundary before consequential actions. The agent may propose an action, provide evidence, and even prepare the API request, but the actual execution requires approval from responsible individuals.

In the demo, a Revenue Agent proposes a €30,000 Google Ads campaign, which requires approval from Finance and the CEO. Each approval is bound to the action, evidence, policy, and version, ensuring that no executor call occurs without all required roles approving the same version. This approach prevents situations where different approvals lead to different realities.

The system treats every material change as a new immutable version, with each approval tied to the specific action, evidence, policy, and version. If someone adds a condition, the original approval becomes stale. The agent cannot choose its reviewers; instead, TwoKeys determines the required roles based on the material properties of the action using a deterministic policy.

If the action is routine, no human approval is needed; if it exceeds a certain threshold, Finance and the CEO are involved. The integration of the agent with TwoKeys is minimal, requiring the agent to propose an action and then await a decision. TwoKeys exposes this seam through HTTP, MCP, and a Google ADK adapter. Both Ana, from Finance, and Marco, the CEO, are presented with different interfaces tailored to their specific roles.

Finance focuses on affordability, downside, and remaining budget, while the CEO considers the right timing, potential reversibility, and what is given up by waiting. The system maintains a shared fact model across all components, but the presentation differs based on the user's role. One approved version results in one execution attempt, ensuring that once the permit is consumed, recovery requires reading the external state and reconciling any discrepancies.

By separating interpretation and determinism, the system allows models to focus on organizing evidence, explaining trade-offs, and presenting information to different roles, while deterministic code handles authorization and execution.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

Trump posts AI slop of Iran bombing

US President Donald Trump published a string of unhinged posts to his social media platform overnight Sunday and into Monday morning, including an artificial intelligence-generated video attempting to…

Connect an AgentCore Runtime hosted MCP server to Amazon Quick

In this post, you will learn how to deploy and host your MCP server in AgentCore Runtime and integrate it with Amazon Quick, along with the prerequisites. With this pattern, you promote reusability and avoid duplication of AI tools, so clients can reuse commonly used tools and agents exposed through an MCP server instead of authoring them…

More from Monday 31 August →