> ## Documentation Index
> Fetch the complete documentation index at: https://phidatainc-agui.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Linear

> Use Linear with Agno agents.

Enable Agno agents with Linear capabilities:

* Issue management
* Triage
* Workflow automation
* Project insights

```python theme={null}

from agno.agent import Agent
from agno.tools.linear import LinearTools

# ---------------------------------------------------------------------------
# Create Agent
# ---------------------------------------------------------------------------

agent = Agent(
    name="Linear Tool Agent",
    tools=[LinearTools()],
    markdown=True,
)

user_id = "69069"
issue_id = "6969"
team_id = "73"
new_title = "updated title for issue"
new_issue_title = "title for new issue"
desc = "issue description"

# ---------------------------------------------------------------------------
# Run Agent
# ---------------------------------------------------------------------------
if __name__ == "__main__":
    agent.print_response("Get all the details of current user")
    agent.print_response(f"Show the issue with the issue id: {issue_id}")
    agent.print_response(
        f"Create a new issue with the title: {new_issue_title} with description: {desc} and team id: {team_id}"
    )
    agent.print_response(
        f"Update the issue with the issue id: {issue_id} with new title: {new_title}"
    )
    agent.print_response(f"Show all the issues assigned to user id: {user_id}")
    agent.print_response("Show all the high priority issues")
```

## Run the Example

```bash theme={null}
# Clone and setup repo
git clone https://github.com/agno-agi/agno.git
cd agno/cookbook/91_tools

# Create and activate virtual environment
./scripts/demo_setup.sh
source .venvs/demo/bin/activate

python linear_tools.py
```

For details, see [Linear cookbook](https://github.com/agno-agi/agno/blob/main/cookbook/91_tools/linear_tools.py).
