Skip to main content

Airbyte Linear Connector for AI platforms

Project description

Linear

The Linear agent connector is a Python package that equips AI agents to interact with Linear through strongly typed, well-documented tools. It's ready to use directly in your Python app, in an agent framework, or exposed through an MCP.

Linear is a modern issue tracking and project management tool built for software development teams. This connector provides access to issues, projects, and teams for sprint planning, backlog management, and development workflow analysis.

Example questions

The Linear connector is optimized to handle prompts like these.

  • Show me the open issues assigned to my team this week
  • List out all projects I'm currently involved in
  • List all users in my Linear workspace
  • Who is assigned to the most recently updated issue?
  • Create a new issue titled 'Fix login bug'
  • Update the priority of a recent issue to urgent
  • Change the title of a recent issue to 'Updated feature request'
  • Add a comment to a recent issue saying 'This is ready for review'
  • Update my most recent comment to say 'Revised feedback after testing'
  • Create a high priority issue about API performance
  • Assign a recent issue to a teammate
  • Unassign the current assignee from a recent issue
  • Reassign a recent issue from one teammate to another
  • Create a new issue in the 'Backend Improvements' project
  • Add a recent issue to a specific project
  • Move an issue to a different project
  • Analyze the workload distribution across my development team
  • What are the top priority issues in our current sprint?
  • Identify the most active projects in our organization right now
  • Summarize the recent issues for {team_member} in the last two weeks
  • Compare the issue complexity across different teams
  • Which projects have the most unresolved issues?
  • Give me an overview of my team's current project backlog

Unsupported questions

The Linear connector isn't currently able to handle prompts like these.

  • Delete an outdated project from our workspace
  • Schedule a sprint planning meeting
  • Delete this issue
  • Remove a comment from an issue

Installation

uv pip install airbyte-agent-linear

Usage

Connectors can run in open source or hosted mode.

Open source

In open source mode, you provide API credentials directly to the connector.

from airbyte_agent_linear import LinearConnector
from airbyte_agent_linear.models import LinearAuthConfig

connector = LinearConnector(
    auth_config=LinearAuthConfig(
        api_key="<Your Linear API key from Settings > API > Personal API keys>"
    )
)

@agent.tool_plain # assumes you're using Pydantic AI
@LinearConnector.tool_utils
async def linear_execute(entity: str, action: str, params: dict | None = None):
    return await connector.execute(entity, action, params or {})

Hosted

In hosted mode, API credentials are stored securely in Airbyte Cloud. You provide your Airbyte credentials instead. If your Airbyte client can access multiple organizations, also set organization_id.

This example assumes you've already authenticated your connector with Airbyte. See Authentication to learn more about authenticating. If you need a step-by-step guide, see the hosted execution tutorial.

from airbyte_agent_linear import LinearConnector, AirbyteAuthConfig

connector = LinearConnector(
    auth_config=AirbyteAuthConfig(
        customer_name="<your_customer_name>",
        organization_id="<your_organization_id>",  # Optional for multi-org clients
        airbyte_client_id="<your-client-id>",
        airbyte_client_secret="<your-client-secret>"
    )
)

@agent.tool_plain # assumes you're using Pydantic AI
@LinearConnector.tool_utils
async def linear_execute(entity: str, action: str, params: dict | None = None):
    return await connector.execute(entity, action, params or {})

Full documentation

Entities and actions

This connector supports the following entities and actions. For more details, see this connector's full reference documentation.

Entity Actions
Issues List, Get, Create, Update, Context Store Search
Projects List, Get, Context Store Search
Teams List, Get, Context Store Search
Workflow States List, Context Store Search
Users List, Get, Context Store Search
Comments List, Get, Create, Update, Context Store Search

Authentication

For all authentication options, see the connector's authentication documentation.

Linear API docs

See the official Linear API reference.

Version information

  • Package version: 0.19.133
  • Connector version: 0.1.19
  • Generated with Connector SDK commit SHA: 6bf360a546d577c9f76e8a6b8abf9ffc4dbfcf3a
  • Changelog: View changelog

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

airbyte_agent_linear-0.19.133.tar.gz (172.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

airbyte_agent_linear-0.19.133-py3-none-any.whl (195.9 kB view details)

Uploaded Python 3

File details

Details for the file airbyte_agent_linear-0.19.133.tar.gz.

File metadata

  • Download URL: airbyte_agent_linear-0.19.133.tar.gz
  • Upload date:
  • Size: 172.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for airbyte_agent_linear-0.19.133.tar.gz
Algorithm Hash digest
SHA256 b90039b4b2e3f9c703fb975aafdf791a0873979cd9e611887c1252e871395b8f
MD5 83a5699e7cec6ebaf617f4f3b4134c59
BLAKE2b-256 8e3ab414e5130c41d85c65f503f12804bbc7198b753d80c0ed378fea252564e7

See more details on using hashes here.

File details

Details for the file airbyte_agent_linear-0.19.133-py3-none-any.whl.

File metadata

File hashes

Hashes for airbyte_agent_linear-0.19.133-py3-none-any.whl
Algorithm Hash digest
SHA256 b9aa4c8313f335ae0672e2441ada34135e26661a92fd906037d48830767a1dda
MD5 bb13c9807597cd7ad78a66e29f31b8ee
BLAKE2b-256 0dc8da371818ec95c98f12ba7511aea8b0f7f0a6b4bdd4b9ee10468d108a1d62

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page