Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Linear 7 min read Case study mediumAdept

Our approach to building the Agent Interaction SDK

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.

Assumes: OAuth scopeswebhooks

Related posts

  • How we built Linear Agent

    Linear mediumAdept

    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. Because the agent has many shallow product tools rather than a few deep ones like a coding agent, capabilities are packaged as "system skills" (metadata, prompt fragment, tools) that are preloaded from context or loaded on demand to keep context small. Linear deliberately avoided exposing the SDK, CLI or GraphQL API, trading breadth for predictability. A custom harness on a durable workflow engine supports dynamic tool injection that preserves the provider prefix cache, contextual tool-call approval, and suspending a parent agent while sub-agents run asynchronously.

  • Connections: managed credentials and per-caller identity for Managed Deep Agents

    LangChain mediumAdept

    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()`. Each connection has an owner (agent or caller) and a credential type (static secret or OAuth grant), chosen independently. Agent-owned secrets suit shared capabilities like web search and can be rotated without redeploying. User-owned OAuth connections resolve per caller, so actions such as filing a GitHub issue carry the requesting user's identity. When grants are missing, the platform pauses the run with a single interrupt, so the project needs no callback route, token store or refresh logic, and MCP servers with dynamic client registration need only a URL.

  • Agentic Platform: Open-Sourcing the Agentic Identity Broker

    Zalando Engineering hardMaster

    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. Running on Kubernetes alongside kagent and agentgateway, the broker records grants of admin-defined permission sets from users to agents, holds encrypted per-user provider sessions, and performs RFC 8693-style token exchange at the gateway so OAuth ceremonies stay out of agents and MCP servers. Effective access is the intersection of user and agent permissions, and per-tool-call authorization is layered on via OPA through agentgateway's ExtProc. Planned additions include central tool approvals, CIBA for high-risk actions, and SPIFFE to separate agent attestation from user identity and avoid per-hop STS latency.

  • Managed Deep Agents v0.10: Browser Use and Async Subagents

    LangChain mediumAdept

    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. The browser runs in a LangSmith sandbox scoped per thread or per user. It exposes snapshot, run, screenshot and handoff tools, and the handoff tool gives a person control of the window for logins so credentials never enter model messages or traces. Async subagents notify the orchestrator instead of being polled: results arrive mid-run, wake an idle agent, or wait behind a pending approval. Other changes include thread-origin records for replying in Slack, a Stop button, Slack event handlers, resolveUser identity mapping, and breaking changes to how MCP connectors are declared.

  • What's New in Managed Deep Agents: schedules, per-run configuration, and Slack reactions

    LangChain mediumAdept

    Managed Deep Agents v0.9 adds three features: a Schedules SDK, per-run agent configuration, and Slack reactions. With the Schedules SDK, agents can create cron or one-time schedules mid-conversation; these run with the requesting user's permissions and post results back to the originating channel. Per-run configuration makes the agent a callable that reads the run context and returns a define_deep_agent definition, so one deployment can choose its model, skills, MCP servers and sandbox per team or repo before the model runs, which keeps context small and acts as access control. Slack reactions acknowledge incoming messages with a configurable emoji, including one picked per message by a function. The release is in public beta.

The quest for software engineering knowledge.

Look:
Layout: