zendesk_tools.py
Run the Example
1
Set up your virtual environment
2
Install dependencies
3
Export environment variables
4
Run the example
Save the code above as
zendesk_tools.py, then run:Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Answer support questions by searching Zendesk help center articles with ZendeskTools.
"""
Zendesk Tools
=============================
Demonstrates zendesk tools.
"""
from agno.agent import Agent
from agno.tools.zendesk import ZendeskTools
# ---------------------------------------------------------------------------
# Create Agent
# ---------------------------------------------------------------------------
agent = Agent(tools=[ZendeskTools()])
# ---------------------------------------------------------------------------
# Run Agent
# ---------------------------------------------------------------------------
if __name__ == "__main__":
agent.print_response("How do I login?", markdown=True)
Set up your virtual environment
uv venv --python 3.12
source .venv/bin/activate
uv venv --python 3.12
.venv\Scripts\activate
Install dependencies
uv pip install -U agno openai requests
Export environment variables
export OPENAI_API_KEY="your_openai_api_key_here"
export ZENDESK_COMPANY_NAME="your_zendesk_company_name_here"
export ZENDESK_PASSWORD="your_zendesk_password_here"
export ZENDESK_USERNAME="your_zendesk_username_here"
$Env:OPENAI_API_KEY="your_openai_api_key_here"
$Env:ZENDESK_COMPANY_NAME="your_zendesk_company_name_here"
$Env:ZENDESK_PASSWORD="your_zendesk_password_here"
$Env:ZENDESK_USERNAME="your_zendesk_username_here"
Run the example
zendesk_tools.py, then run:python zendesk_tools.py
Was this page helpful?