Initial API-Based Smolagents and Linear.app Integration Example

Large language models, like 70B parameter models, can often readily utilize tools such as add_comment or change_state, potentially handling multiple issues concurrently.

However, smaller models may require repeated calls to a tool or even fail to utilize it entirely.

Therefore, this initial example focuses on the get_todo_issue() tool.

Post-Duplication/Cloning Instructions

Need Linear.app acount and api key

change script team name to your team name,add "Reviewing" State in your linear.app team setting

comment out add_comment(),change_state_reviewing()

Issue

issue

Agent advice(Don't trust them completely)

agent result