Code

cookbook/agent_concepts/tools/linear_tools.py
from agno.agent import Agent
from agno.tools.linear import LinearTools

agent = Agent(
    tools=[LinearTools()],
    show_tool_calls=True,
    markdown=True,
)

agent.print_response("Show me all active issues")
agent.print_response("Create a new high priority task for the engineering team")

Usage

1

Create a virtual environment

Open the Terminal and create a python virtual environment.

2

Set your Linear API key

export LINEAR_API_KEY=xxx
3

Install libraries

pip install -U linear-sdk agno
4

Run Agent