Jev's Approach: Typed Decisions and Scoped Authority as a Governance Framework for AI Agents

Typed decisions and scoped authority bring verifiable, controllable structure to AI Agent autonomy.
This article examines the core governance challenge of deploying AI Agents in production, and introduces two engineering solutions proposed by Jev. "Typed decisions" constrain every agent output to a predefined structured schema — replacing free-form text to gain verifiability, traceability, and composability. "Scoped authority" draws on OS permission models and cloud IAM principles to assign explicit, limited permission boundaries to each agent or decision, containing the blast radius of any misjudgment. Together, they form a complete governance framework: the former constrains how actions are taken, the latter constrains what actions are permitted — converting AI uncertainty into structured problems familiar to software engineers.
Introduction: The Governance Challenge of Deploying AI Agents
As AI Agents begin taking on real decision-making tasks in production environments, a core question emerges: how do you keep an agent's "autonomy" powerful enough to be useful, yet constrained enough to remain safe? The concepts of typed decisions and scoped authority, as proposed by Jev, offer an engineering-oriented answer to this tension.
The original article sparked discussion on Hacker News — modest in reach (11 points, 3 comments), but squarely addressing a recurring pain point in AI engineering practice: how to design an execution framework for automated decision systems that is both structured and secure.
What Are Typed Decisions?
Traditional AI decision-making tends to produce free-form text or unstructured output — which looks flexible in demos but creates serious reliability problems in production. The core idea behind typed decisions is to constrain every decision to a clearly defined schema.
Rather than "freely generating a response," an agent must select from a set of pre-defined, structured decision options. Each decision has explicit input types, output types, and allowable value ranges. The immediate benefits include:
- Verifiability: The system can validate the legality of a decision at generation time, rather than discovering problems at execution time.
- Traceability: Typed decisions carry inherent structure, making them easy to log, audit, and replay.
- Composability: Structured decisions are far easier for downstream systems to consume, without relying on brittle text parsing.
Type systems have long been proven in software engineering as a powerful tool for managing complexity and reducing runtime errors. Jev's insight is essentially to bring the concept of type safety from programming languages into the AI decision layer.
In engineering practice, typed decisions are typically defined using JSON Schema, Pydantic models, or OpenAPI specifications. OpenAI's Function Calling and Structured Outputs features are a prime example: developers declare a schema with field names, data types, and enum values, and the model's output is forced to align with that structure — it cannot produce anything outside the schema. This effectively inserts a "type gate" between the reasoning layer and the execution layer. Similarly, tools like LangChain's Output Parser and the Instructor library tackle the same problem: transforming LLM output from free text into structured objects that machines can consume directly. The trade-off is some loss of expressive flexibility, but in production environments this is usually worthwhile — predictable output formats matter far more than the occasional burst of creative free-form reasoning.
Scoped Authority: Drawing Boundaries Around Agents
If typed decisions address how a decision is produced, scoped authority addresses how much a decision can do.
The core principle of scoped authority is that each agent — or each individual decision — is granted an explicit and limited set of permissions. What resources it can access, what operations it can trigger, and what system state it can affect are all constrained in advance. This mirrors the permission models in operating systems and the IAM (Identity and Access Management) frameworks in cloud services.
This design is especially critical in AI Agent scenarios. When an autonomous agent might make a sequence of multi-step decisions, unconstrained authority means a single misjudgment can cascade into systemic risk. By scoping authority, even if a decision goes wrong, the blast radius is firmly contained within predefined limits.
This also speaks directly to the industry's broader concerns about AI safety: rather than trying to make a model "never make mistakes," scoped authority ensures at the architectural level that even mistakes don't lead to uncontrollable consequences.
IAM (Identity and Access Management) is a mature permission-control framework from cloud computing — AWS IAM being the canonical example — where each principal (user, service, or role) is granted only the minimum set of permissions needed to complete a specific task: the Principle of Least Privilege. This translates directly to AI Agent design: an agent responsible for reading order data should have no write permissions; an agent that sends emails should have no access to financial systems. Common technical approaches for implementing scoped authority include: injecting purpose-specific restricted tokens when calling tools or APIs, maintaining a "capability manifest" at agent runtime with pre-execution interception checks, and decomposing multi-step tasks so that each step only holds the permissions required for that step. This approach pushes AI security boundaries down from the model layer into the infrastructure layer, making safety guarantees independent of the model's own "self-discipline."
The Engineering Value of Combining Both
Typed decisions and scoped authority are not two isolated concepts — their combination forms a complete governance framework.
Typed decisions ensure that every action has a clear, verifiable form; scoped authority ensures that every action has a controlled, bounded impact. The former constrains how something is done; the latter constrains what can be done at all. Together, they provide AI Agents with an execution paradigm that maintains automation efficiency while meeting production-grade reliability requirements.
For teams exploring Agent deployment in practice, the real-world value of this approach lies in how it transforms AI's inherent uncertainty into a structured problem manageable with traditional engineering tools. Types and permissions are both concepts software engineers already know well — which dramatically lowers the barrier to integrating Agents into existing system governance frameworks.
Conclusion: From "Works" to "Trustworthy"
AI Agent development is at a critical inflection point — moving from "can we get it to run" to "do we trust it enough to ship to production." The typed decisions and scoped authority advocated by Jev represent a pragmatic engineering philosophy: rather than chasing a model that can do everything, use explicit type constraints and permission boundaries to make AI autonomy predictable, auditable, and trustworthy.
A note on scope: this article is synthesized from a brief Hacker News discussion, and the original material contains limited implementation detail and empirical data. Readers looking to apply these ideas in depth are encouraged to consult Jev's original documentation for complete technical specifics.
Related articles

Workbuddy for Absolute Beginners: How a Desktop AI Agent Fits Into Real Workflows
A beginner's guide to the Workbuddy desktop AI agent: installation, claiming credits, file management, and building automated workflows—compared with CodeX for fit and cost, helping professionals shift from AI question-askers to AI managers.

OpenAI's New Agent Stack: Computer Use, Decisions API, and Ultra-Fast Workflows
OpenAI Dev Day unveiled a new agent stack: Computer Use outperforms humans, Decisions API delivers ultra-low-latency classification via Luna, Agents API opens the same Computer Use capabilities, and GPT-6.1 Sol costs only one-seventh of Astra. Core updates, benchmark data, and developer insights.

Liang Wenfeng Open-Sources DeepInfo Inference Framework, Takes On U.S. Ban
DeepSeek open-sources its DeepInfo inference framework after its models, featuring GPU/CPU cross-pipelining, small-model prediction with large-model verification, and full Huawei Ascend and NVIDIA chip support—facing the U.S. federal ban head-on. This article analyzes its significance for AI deployment and open-source strategy.