Claude Managed Agents Demo
Description
Example for connecting Linear Agents SDK with Claude Managed Agents
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Claude + Linear Agent Bridge
**_This is an example project not meant for production use._**
A bridge server that connects [Claude Managed Agents](https://platform.claude.com/docs/en/managed-agents/overview) to [Linear's Agent Platform](https://linear.app/developers/agents). When users @mention or assign the agent in Linear, the server forwards the request to a Claude Managed Agent session and streams the response back as Linear agent activities.
How it works
- A user @mentions your agent in a Linear issue or comment
- Linear sends an
AgentSessionEventwebhook to your server - The server acknowledges with a "thinking" activity (required within 10s)
- A Claude Managed Agent session is created with the issue context
- Claude's streamed response is relayed back to Linear as agent activities
Prerequisites
- Bun runtime
- An Anthropic API key
- A Claude Managed Agent (agent ID and environment ID)
- A Linear workspace with admin access
Setup
1. Install dependencies
bun install
2. Create a Linear OAuth Application
Go to [Linear API Settings](https://linear.app/settings/api/applications) and create a new application:
- Redirect URL:
/oauth/callback - Webhook URL:
/webhook - Webhook events: Subscribe to Agent session events
Copy the **Client ID**, **Client Secret**, and **Webhook Signing Secret**.
3. Configure environment
cp .env.example .env.local
Fill in your credentials in `.env.local`:
| Variable | Description |
|---|---|
ANTHROPIC_API_KEY |
Your Anthropic API key |
CLAUDE_AGENT_ID |
Claude Managed Agent ID |
CLAUDE_ENVIRONMENT_ID |
Claude environment ID |
LINEAR_CLIENT_ID |
From Linear OAuth app settings |
LINEAR_CLIENT_SECRET |
From Linear OAuth app settings |
LINEAR_WEBHOOK_SIGNING_SECRET |
From Linear OAuth app settings |
PORT |
Server port |
Related Skills
Awesome Go
A curated list of awesome Go frameworks, libraries and software
Development next.js
| The React Framework | 138360 | 1503 | 1 |
Development sharing-skills
skill for guidance.
Development root-cause-tracing
Use when errors occur deep in execution and you need to trace back to find the original trigger.
Development Template Skill
Minimal skeleton for a new skill project structure.
Development Third-party Notices
THE FOLLOWING SETS FORTH ATTRIBUTION NOTICES FOR THIRD PARTY SOFTWARE THAT MAY BE CONTAINED IN PORTIONS OF THI
Development