Code

cookbook/tools/clickup_tools.py
from agno.agent import Agent
from agno.tools.clickup import ClickUpTools

agent = Agent(
    instructions=[
        "You are a ClickUp project management assistant",
        "Help users manage their tasks, projects, and workspaces",
        "Create, update, and organize tasks efficiently",
    ],
    tools=[ClickUpTools()],
    markdown=True,
)

agent.print_response("Create a new task called 'Review documentation' and list all current tasks")

Usage

1

Create a virtual environment

Open the Terminal and create a python virtual environment.
python3 -m venv .venv
source .venv/bin/activate
2

Set your API keys

export CLICKUP_API_KEY=your-clickup-api-key
export MASTER_SPACE_ID=your-space-id
export OPENAI_API_KEY=xxx
3

Install libraries

pip install -U requests openai agno
4

Run Agent

python cookbook/tools/clickup_tools.py