Agent Developer Backend API

These functions require direct input from the user who is invoking the agent.

Initialize a new agent

def init_agent(self, name: str, user_agent_protocol_id: str, description: str) -> Agent:
    """
    Args:
        name (str): The name of the agent.
        user_agent_protocol_id (str): The unique ID for the user.
        description (str): A description of the agent's purpose.

    Returns:
        Agent: The newly created agent object.
    """

Creating, Funding, & Assigning Cards

Initialize Plaid OAuth for linking a user's account and funding cards

def init_plaid_oauth(self, user_ap_id: str, callback_url: str) -> str:
    """
    Args:
        user_ap_id (str): The unique ID for the user.
        callback_url (str): The callback URL to receive the OAuth key.

    Returns:
        str: The URL to redirect the user for Plaid OAuth.
    """

Create a new virtual fiat card

Fund a fiat card with a specified amount

Assign a card to an agent

Fund a crypto card

Increase the spend limit for a card

Error Class

Last updated