Introduction to Entities

  • Each unique user is represented by a unique entity id.
  • If you have two users, Jessica and Melissa, they will have unique entity ids.

Introduction to Connected Accounts

  • When a user connects their account, a connected_account object is created.
  • This object securely stores authentication data such as access tokens and refresh tokens.

Connect an account for an entity

Get All Connected accounts

Execute Agent and perform tasks on behalf of an entity

Now, let’s get all the actions that can be performed on the entity on GitHub.

Now, let’s call our agent for this entity to perform the task on Github on behalf of the user.

You can use the above pattern to make agents at a user level to perform tasks on their behalf.