linear.app · Free post · Building AI products · Execution, roadmaps & process

Our approach to building the Agent Interaction SDK

LinearAug 1, 20256 min
Sourcelinear.app
KindFree post
PublishedAug 1, 2025
Originallinear.app ↗
N:

Linear built an Agent Interaction SDK to enable AI agents to work natively within their platform as first-class users. Rather than forcing agents into existing third-party app patterns, they introduced flexible primitives—agent identities with OAuth tokens, scoped permissions (assignable/mentionable), agent sessions for structured interactions, and delegation models that preserve human accountability. The approach balances structure with flexibility, providing guardrails that guide agent behavior without limiting future possibilities.

01Key takeaways

  • Treat agents as first-class platform citizens with identities, tokens, and permissions—not as background integrations.
  • Use opt-in scopes to let developers incrementally adopt agent capabilities without rebuilding or breaking existing functionality.
  • Structure core interactions (sessions, state tracking) while staying flexible about how agents respond and what they build.
  • Preserve human accountability by delegating to agents rather than assigning work; humans remain the issue owner.
  • Make agent behavior transparent—always disclose agent identity and surface reasoning so humans can review and trust outputs.
  • Design for unknown futures; avoid over-specifying agent behavior patterns too early in the technology's evolution.

02Key sections

Agents as first-class users
Linear created dedicated user identities for agents through a new OAuth actor mode, allowing them to be assigned work, mentioned in threads, and tracked like human team members. Agents are visibly marked as non-human to maintain transparency about who is performing actions.
Scoping agents' work
Two opt-in OAuth scopes—app:assignable and app:mentionable—let developers control whether agents can receive assignments or respond to mentions. This design allows incremental feature adoption without breaking existing apps or forcing unnecessary permissions.
How agents listen
Agent sessions abstract the interaction lifecycle between agents and the workspace, delivering structured webhook context and tracking state (waiting, working, completed, errored). This reduces developer complexity while providing users visibility into agent progress and reasoning.
Delegating responsibility
Issues are assigned to humans but delegated to agents, preserving human accountability while clarifying the agent's role. This taxonomy prevents confusion about who owns outcomes and makes it clear who to contact if disagreements arise.
Future evolution
Linear plans to add structured activity types (tool calls, thoughts, elicitations) so agents can surface their reasoning and explain complex work. The SDK will continue evolving with the same core principles: native primitives and flexibility for unknown future use cases.
“Instead of spending most of their time writing code, product teams were poised to reorient themselves around managing context and reviewing outputs.”Linear · linear.app
“We wanted to see what agents actually needed in the wild before codifying any abstractions.”Linear · linear.app

03Frameworks mentioned

Summary and takeaways written by PM Atlas; quotes are short excerpts. © the original author.