Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AI Access Control Example #1212

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft

Add AI Access Control Example #1212

wants to merge 8 commits into from

Conversation

gemanor
Copy link

@gemanor gemanor commented Mar 22, 2025

This PR contains an example of utilizing tools and structured prompts for adding access control to AI agents

The code uses Permit.io's fine-grained authorization service to model and enforce the policies.

Copy link
Contributor

hyperlint-ai bot commented Mar 22, 2025

PR Change Summary

Added an example demonstrating AI access control using Permit.io and PydanticAI.

  • Introduced an AI Access Control example for financial advisors
  • Implemented structured prompts for permission checks
  • Provided setup instructions for Permit.io API and local microservice
  • Included demo and further reading resources on AI access control

Added Files

  • docs/examples/ai-access-control.md

How can I customize these reviews?

Check out the Hyperlint AI Reviewer docs for more information on how to customize the review.

If you just want to ignore it on this PR, you can add the hyperlint-ignore label to the PR. Future changes won't trigger a Hyperlint review.

Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add hyperlint-ignore to the PR to ignore the link check for this PR.

What is Hyperlint?

Hyperlint is an AI agent that helps you write, edit, and maintain your documentation.

Learn more about the Hyperlint AI reviewer and the checks that we can run on your documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant