LogoLogo
  • 👋Welcome to Groclake
  • ⏩Jump right in
  • 🗣️Introduction to Groclake
  • 🧠High level Concepts
    • Agent Discovery
    • Agent Registry
    • Agent Communication
      • Agent Text Transfer Protocol - ATTP
    • Agent Security
      • Agent Private Cloud - APC
      • Authentication & Encryption
      • Zero Trust Policy
  • 💽Installation & Guide
  • 🏗️Groclake Use Cases
  • 📰Groclake Records
  • Example Codes
  • GrocAgent
    • What is GrocAgent?
    • Example Chat Agent
    • Reflections in GrocAgent
      • Workflow of Reflection Handler
  • Lakes
    • 💾Data & Model Management
      • Datalake
        • Create Datalake
        • Retrieve Document
        • Upload Documents
        • Datalake Connections
          • Snowflake integration
      • Vectorlake
        • Creating vector
        • Generating Vector
        • Pushing Vector
        • Retrieve Document
        • Searching Vector
      • Modellake
        • Create Modellake
        • Language Translation
        • Conversation AI
        • Text to Speech
        • Chat Completion
      • Knowledgelake
        • Create Knowledge Base
        • Push Documents from a URL
        • Push Documents from Local Storage
        • Searching for Information
    • ⚒️Tool Management & Gateway
      • Toollake
        • Tools
        • Salesforce CRM Integration
        • Slack Communication Module
        • New Relic Integration
        • Google Calendar Integration
          • Check Slot Availability
          • Get Available Slots
          • Delete Event
          • Create new event
          • Create new calendar event
    • 🤖Agent Management & Deployment
      • Agentlake
        • Register your agent
        • Fetch agent details & categories
        • Create Agent Private Cloud (APC)
        • Assign Agent Private Cloud (APC) to an Agent
      • Promptlake
        • Setting Connection & Initializing
        • Storing a Prompt
        • Fetching a Prompt
        • Example API Calls
      • Memorylake
        • Context Component Examples
        • Value Structure
        • Setup & Guide
        • Storing & Retrieving Memory
        • Wildcard Search
        • Updating Memory Quality
    • 🗃️Index Stores
      • Cataloglake
        • Create catalog
        • Generate Product Data
        • Fetch Catalog Data
        • Push Product Data
        • Optimize Data Retrieval with Catalog Caching
        • Search for Products
        • Filter Product Search
        • Update Product Data
        • Recommend Products Based on Product Name
        • Update Inventory in Catalog
        • Fetch Inventory Details from Catalog
        • Fetch Product Price
        • Update Product Price in Catalog
        • Cache Image in Catalog
        • Sync Your Catalog with external ecomm platforms
        • Deleting items
        • Address Parsing and Intent Extraction
        • Creating Mapper
        • Convert Mapper's Metadata
        • Fetching Mapper
        • Updating Mapper
        • Example use case of Cataloglake
      • Joblake
        • Joblake Mapping
        • Creating a Joblake
      • Resumelake
        • Resumelake Mapping
        • Creating a Resumelake
Powered by GitBook
On this page
  • Agent Fetch
  • Fetch Categories of Agent
  1. Lakes
  2. Agent Management & Deployment
  3. Agentlake

Fetch agent details & categories

Agent Fetch

Retrieve agent information using unique identifiers (agent_uuid).

Payload Example

fetch_payload = {
    "groc_account_id": "your_account_id",
    "agent_uuid": register_payload["agent_uuid"],  # Use the UUID from the registration payload
    "uname": "agent_smith"
}

Example Code

# Fetch agent details
fetch_payload = {
    "groc_account_id": "your_account_id",
    "agent_uuid": register_payload["agent_uuid"],  # Use the UUID from the registration payload
    "uname": "agent_smith"
}
fetch_response = agent.agent_fetch(fetch_payload)
print("Agent Fetch Response:", fetch_response)

Example Response

Agent data: {'message': 'Agent details fetched successfully', 'Agent Details': {'agent_uuid': '93f7cc86-ea63-4946-9116-54782e14d762', 'agent_name': 'Coding Agent from Replit', 'agent_logo_url': 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSZ3IvhxvlW1ttoFXT4CrgCqZNlQN7IbrK6og&s', 'agent_description': 'A coding agent which can convert any language code to another language', 'agent_code': '<script id="cartesian-sdk" src="https://assets-cartesian.plotch.io/js/pwa/cartesian-web-sdk-17072024', 'status': 'active', 'agent_url': 'https://replit.com/agentchat', 'country': 'India', 'valid_from': '2024-08-31 08:18:39', 'valid_until': '2024-08-31 08:18:39', 'agent_category': 'Coding Agents', 'signing_public_key': '6767899-eye232-hg21bb-1', 'encr_public_key': '6767899-eye232-hg21bb-1', 'created': '2024-08-31 00:00:00', 'updated': '2024-08-31 00:00:00', 'organization': 'Platiga Technology Pvt Ltd'}}

Fetch Categories of Agent

Fetches a list of available agent categories from Agentlake.

Example Code

# Fetch category list
category_response = agent.category_list_fetch()
print("Category List Response:", category_response)

Example Response

Agent Categories: {'categories': ['Shopping Agents', 'ERP Agents', 'Social Agents', 'AI Voice Agents', 'Customer Service Agents', 'Recruitment Agents', 'Translation Agents', 'Marketing Agents', 'Image Agents', 'Video Agents', 'Coding Agents', 'Web Scraping Agents']}

PreviousRegister your agentNextCreate Agent Private Cloud (APC)

Last updated 1 month ago

🤖