Skip to main content
This example demonstrates how to define custom scope mappings for your AgentOS endpoints, allowing you to create your own permission structure.
1

Create a Python file

custom_scope_mappings.py
2

Set up your virtual environment

3

Install dependencies

4

Export your OpenAI API key

5

Setup PostgreSQL Database

6

Run the AgentOS

7

Test Custom Scopes