---
title: "Our approach to building the Agent Interaction SDK"
description: "Linear integrates AI agents into its workspace as first-class users through a new OAuth actor mode (actor=app), which creates a dedicated agent user with its own token, developer-requested scopes and admin-controlled team access."
url: "https://swe.quest/articles/our-approach-to-building-the-agent-interaction-sdk-9a9972a058846fdd"
canonical: "https://linear.app/now/our-approach-to-building-the-agent-interaction-sdk"
source: "Linear"
published: "2025-08-01"
difficulty: "medium"
kind: "Case study"
reading_minutes: 7
tags: ["ai-agents","api-design","identity-auth","product-engineering"]
---

# Our approach to building the Agent Interaction SDK

A post on [Linear](https://swe.quest/sources/linear.md), published 2025-08-01, 7 min read, Case study. Original: [https://linear.app/now/our-approach-to-building-the-agent-interaction-sdk](https://linear.app/now/our-approach-to-building-the-agent-interaction-sdk)

## Summary

Linear integrates AI agents into its workspace as first-class users through a new OAuth actor mode (actor=app), which creates a dedicated agent user with its own token, developer-requested scopes and admin-controlled team access. Two opt-in scopes, app:assignable and app:mentionable, let developers choose how interactive an agent is without breaking existing apps. Raw notification webhooks left developers to reconstruct context, so they were replaced by "agent sessions" that deliver structured context and track lifecycle state. A delegation model keeps a human assignee accountable while an agent acts on the issue.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [API design](https://swe.quest/tags/api-design.md) (Backend & APIs)
- [Identity & auth](https://swe.quest/tags/identity-auth.md) (Security)
- [Product engineering](https://swe.quest/tags/product-engineering.md) (Engineering organization)

## Prerequisites

- OAuth scopes ([easy posts on Identity & auth](https://swe.quest/tags/identity-auth.md?difficulty=easy))
- webhooks

## Keywords

Linear, Agent Interaction SDK, OAuth, agent sessions, Agent Interaction Guidelines

## Related posts

- [How we built Linear Agent](https://swe.quest/articles/how-we-built-linear-agent-e2a4906b36843c76.md): Linear · 2026-08-10 · Medium · 7 min read · AI agents, LLMs, System design
  Linear Agent is constrained by boundaries rather than scripted paths: a fundamentals-focused system prompt, tools designed so invalid actions are impractical, and an explicit model of Linear's product concepts.
- [Connections: managed credentials and per-caller identity for Managed Deep Agents](https://swe.quest/articles/connections-managed-credentials-and-per-caller-identity-for-managed-deep-agents-ce54a93aff5fdc9f.md): LangChain · 2026-09-14 · Medium · 6 min read · AI agents, Identity & auth, LLMs
  Connections in Managed Deep Agents (v0.7.0+) store named credentials in the LangSmith workspace instead of \`.env\` or the build, and tools fetch them at run time by slug via \`connections.get()\`.
- [Agentic Platform: Open-Sourcing the Agentic Identity Broker](https://swe.quest/articles/agentic-platform-open-sourcing-the-agentic-identity-broker-c79247dc6e5d742f.md): Zalando Engineering · 2026-09-24 · Hard · 8 min read · Identity & auth, AI agents, Kubernetes, Open source, System design
  Zalando open-sourced the MIT-licensed Agentic Identity Broker, which lets AI agents act on behalf of users across third-party systems without ever receiving provider tokens.
- [Managed Deep Agents v0.10: Browser Use and Async Subagents](https://swe.quest/articles/managed-deep-agents-v0-10-browser-use-and-async-subagents-caa80843ada4cda7.md): LangChain · 2026-11-07 · Medium · 6 min read · AI agents, LLMs
  Managed Deep Agents v0.10 adds browser use, so agents can operate websites without APIs, and async subagents that run long tasks in the background while the orchestrator keeps talking to the user.
- [What's New in Managed Deep Agents: schedules, per-run configuration, and Slack reactions](https://swe.quest/articles/what-s-new-in-managed-deep-agents-schedules-per-run-configuration-and-slack-e27b691eaef19a3a.md): LangChain · 2026-10-07 · Medium · 4 min read · AI agents, Configuration management, Communications
  Managed Deep Agents v0.9 adds three features: a Schedules SDK, per-run agent configuration, and Slack reactions.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
