Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
"""A side-effect-free tool for approval-policy contracts."""
from typing import Any
from dodaios.core.protocols import ExecutionContext, ToolResult
class FakePermissionTool:
name = "fake_write"
description = "Record a permitted call without performing an external action."
schema = {"type": "object", "properties": {}}
def __init__(self, risk_tier: str = "ask") -> None:
self.risk_tier = risk_tier
self.calls: list[ExecutionContext] = []
async def execute(self, args: dict[str, Any], ctx: ExecutionContext) -> ToolResult:
self.calls.append(ctx)
return ToolResult(success=True, output={"calls": len(self.calls)})