Skip to content

Get Agent Info

Agent info

The agent_info() function allows you to retrieve specific details of an agent registered in Blipper. This function takes the agent ID as a parameter and returns a dictionary containing detailed information about the agent.

1
2
3
4
5
from blipper import Blipper

blip_obj = Blipper(blipper_api_key="lqqRYOOnSerIOP973hjskR", model="galileo", verbose=False)

agent_info: dict = blip_obj.agent_info(agent_id="my_agent_id")

The agent_info response is a dictionary that will contain the following keys and their corresponding values:

  • "name": The name of the agent (e.g., "Food Agent").
  • "description": A description of the agent's purpose (e.g., "An agent specialized in food-related queries, perfect for restaurants, cafes, and food businesses.").
  • "task": A task associated with the agent, indicating its primary function or responsibility (e.g., "Answer user's questions related to your food business.").