Langgraph/chains User Permissions #1034
levi-katarok
started this conversation in
Ideas
Replies: 3 comments 4 replies
-
off top of head, i would:
|
Beta Was this translation helpful? Give feedback.
4 replies
-
ok thanks Levi
…On Fri, Aug 2, 2024 at 7:19 PM Levi ***@***.***> wrote:
Hi yes, what I did was store sub agent to user permissions in a db. When I
initialize my main agent runnable with a prompt and tools l only bind the
the tools (actually sub agents) to the main assistant in which the user has
permissions.
Hope that helps!
—
Reply to this email directly, view it on GitHub
<#1034 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABNGYOVS22QKEATQVJXVT23ZPOE6LAVCNFSM6AAAAABK63NU7KVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMRSGQYDSNY>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
--
*Deeps,*
*Reality is a story and we can choose our story. So why not pick "the
better story"*
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Is there a boiler plate code that you can post Levi?
…On Fri, Aug 2, 2024 at 7:19 PM Levi ***@***.***> wrote:
Hi yes, what I did was store sub agent to user permissions in a db. When I
initialize my main agent runnable with a prompt and tools l only bind the
the tools (actually sub agents) to the main assistant in which the user has
permissions.
Hope that helps!
—
Reply to this email directly, view it on GitHub
<#1034 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABNGYOVS22QKEATQVJXVT23ZPOE6LAVCNFSM6AAAAABK63NU7KVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMRSGQYDSNY>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
--
*Deeps,*
*Reality is a story and we can choose our story. So why not pick "the
better story"*
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All! I'm trying to work on implementing a network of agents that could ideally scale to hundreds of agents. These agents need to be tied to specific user permissions. There are two primary challenges I'm facing:
Managing Hundreds of Agents:
My initial idea is to decompose the network into multiple subgraphs, each with a primary assistant planner. This planner would then delegate tasks to cohorts of agents based on the use case. I'm curious if anyone has experience with this approach or can suggest a better strategy for managing a large number of agents.
Accessing User Permissions:
Users should have access to specific agents based on their permissions. For instance, one user may have access to the flight booking agent but not the marketing agent, while another user has access to both.
I'm thinking that either the permission check occur at the invocation of each agent, or it could be the primary assistant agent filter and manage available agents based on user permissions. Ideally, I plan to manage user permissions in a database. Any insights on best practices for integrating user permissions with agent access would be helpful.
Has anyone approached a similar challenge? I think we're getting to a point where to be useful for companies deploying flexible user systems will be key.
Beta Was this translation helpful? Give feedback.
All reactions