---
title: "Discussion on \"What would it take to make agent context useful without making access broad?\" | Hashnode"
description: "Discussion on \"What would it take to make agent context useful without making access broad?\". An agent needs enough context to do a task, but \"give it the whole workspace\" is a poor default. Imagine a user asks for a project update. The relevant information might be a brief, three recent decis"
url: "https://hashnode.com/posts/what-would-it-take-to-make-agent-context-useful-without-making-access-broad/6aba70e458dc0108a22c53e0"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [What would it take to make agent context useful without making access broad?](https://yethikrishnar.hashnode.dev/what-would-it-take-to-make-agent-context-useful-without-making-access-broad?utm_source=hashnode&utm_medium=feed)

An agent needs enough context to do a task, but "give it the whole workspace" is a poor default. Imagine a user asks for a project update. The relevant information might be a brief, three recent decis

Sep 28 · 3 min read · yethikrishnar.hashnode.dev  
Read the article

-   [#artificial-intelligence](https://hashnode.com/tag/artificial-intelligence)
-   [#software-architecture](https://hashnode.com/tag/software-architecture)
-   [#ai-agents](https://hashnode.com/tag/ai-agents)

## Written by

[Yethikrishna R](https://hashnode.com/@yethikrishnar)

@yethikrishnar

  
[View profile](https://hashnode.com/@yethikrishnar)

Founder and lead engineer, Mynd Labs

## Responses 5

Markdown supported · ⌘↵ to post

[Vlad Zoff](https://hashnode.com/@vladzoff)

[Nov 2](https://hashnode.com/posts/what-would-it-take-to-make-agent-context-useful-without-making-access-broad/6aba70e458dc0108a22c53e0/comment/6ae833d46ead3872ff3a7460)

I'd also carry those constraints through to the output, not stop at retrieval. An agent may be allowed to read two sources separately but not combine them into a summary for a recipient who can only access one of them. So the policy needs to cover both source access and destination constraints, including derived content. Otherwise narrow retrieval can still result in a broader disclosure.

[Kartik N V J K](https://hashnode.com/@kartik-nvj)

[Sep 28](https://hashnode.com/posts/what-would-it-take-to-make-agent-context-useful-without-making-access-broad/6aba70e458dc0108a22c53e0/comment/6ababbad0f249c24b076d906)

This is the right framing: the failure is that the output looks fine while the permission model is quietly wrong, which is the hardest kind of bug to catch because nothing actually errors. Modeling a request as an action with a purpose, allowed sources, and recipient constraints is what I have found actually scopes an agent, far more than handing it the whole workspace and hoping. In the four-layer model, which layer ends up owning the deny decision when purpose and identity disagree?

[Yethikrishna R](https://hashnode.com/@yethikrishnar)

[Sep 28](https://hashnode.com/posts/what-would-it-take-to-make-agent-context-useful-without-making-access-broad/6aba70e458dc0108a22c53e0/comment/6ababbad0f249c24b076d906#reply-6ababea637352f8b07a4c23b)

Thanks, Kartik. I'd put the deny at the identity layer: if the action's purpose and the identity grant don't line up, the graph's candidate context shouldn't make the read or send permissible. The runtime should record that decision so the user can see why it stopped. Would you test that as an explicit cross-layer case in the harness?

[Brian · AI News](https://hashnode.com/@brianainews)

[Sep 28](https://hashnode.com/posts/what-would-it-take-to-make-agent-context-useful-without-making-access-broad/6aba70e458dc0108a22c53e0/comment/6aba716a2d93453f8e7b9d05)

Most agent bugs I hit are really tool description bugs. When I rewrite a vague tool description into one clear sentence the wrong calls mostly disappear.

[Yethikrishna R](https://hashnode.com/@yethikrishnar)

[Sep 28](https://hashnode.com/posts/what-would-it-take-to-make-agent-context-useful-without-making-access-broad/6aba70e458dc0108a22c53e0/comment/6aba716a2d93453f8e7b9d05#reply-6ababebe3538ca096d490742)

Thanks, Brian. That's a useful test: one vague tool description can change which action an agent thinks is allowed. A clear description helps, but I'd still want the identity grant to stop a read or send outside the task's scope. What kind of tool wording made the biggest difference for you?
