Building a Linear issue agent with Langsmith Agent Builder

LangChain · Intermediate ·🤖 AI Agents & Automation ·7mo ago

Key Takeaways

The video demonstrates how to build a Linear issue agent using the Langsmith Agent Builder, a no-code tool that allows users to create agents using natural language. The agent is designed to monitor a Slack channel, create and edit Linear issues, and report back in Slack with the work done.

Full Transcript

Hi, I'm Sam and I'm a product manager at Langchain and today I'm going to give you a brief tour of the Langmith agent builder which we're launching as a public beta this week. Uh so these are the agents that I have available for myself in production right now. Uh you can see my support email filter assistant, my daily calendar briefer. Uh, the one I'm going to be showing today is the linear issue manager, which monitors a Slack channel that the engineering team that builds the agent builder spends most of its time in for feature requests or for bug reports. And it then takes that information and it it manages our linear board. So, uh, the board in which we manage our our issues and our feature requests. Um, it can create new issues. It can update existing issues. Uh, then it reports back in Slack with the work that it's done. But to start, I'm going to show you how to create such an agent. So I'll click the new agent button up here in the top right corner. Uh we want to make it really easy to build agents on the agent builder. And so we've allowed people to create agents using natural language. So let me just describe the task now. So I've written out I want an agent that listens for messages in my team Slack channel and manages our linear board when it receives bug reports and feature requests. So I send that message and that goes to our agent creator agent as we call it. Um and it searches the available tools, the available triggers. Um and what it does then is it it manages a bunch of files. So basically the way that memory works in the Langmith agent builder is that uh memory is a file system. Um the system prompt lives in a file. The tools connected to an agent lives lives in a file. And so all of those files can be uh managed by the agent itself. Uh so then what it does is it asks me follow-up questions to gather more information. having seen what tools it's going to need, it knows the arguments to those tools. Um, it then can can sort of know what it does not know and it asks that information from me. So, which linear team should issues be created in agent builder team. How should the agent distinguish between bug reports and feature requests? Um, this look for keyword suggestion looks just fine. Should the agent respond in Slack after creating a linear issue? Yes, reply with confirmation and link to the linear issue. Perfect. Should certain types of messages be ignored? Uh, yes. Only process messages that clearly look like bug reports or feature requests? So, I submit that additional information and now the creator agent is taking it and it's going to make the final agent configuration for me. Okay, so this process is completed. uh it's generated an agent configuration for me which you can see triggers off of receiving messages in a slack channel and it has a small number of linear tools attached to it and then also a tool Slack reply to message which it will use to communicate back to me after it does its work. Um so let's say I'm still workshopping this agent. So as opposed to being available to everybody in my Langmith workspace, I'm going to say this agent should only be available to me just to start. And then I'll connect my Slack channel to it. And once I do that, I can hit create agent which takes us to the agent editor page. Uh this is where you can update the configuration of the agent and also sort of see how it's configured. Uh so on the the left side here we have the instructions which is effectively like the system prompt for the agent. Uh bottom left we have the the trigger connected to the agent and then also we have the toolbox which has the same uh set of tools uh backed by MCP that I just showed you on the prior page. To show you how it works, I'm going to use the test chat right here on the right side and I'll ask it what issues exist today on agent builder team. So I've asked the agent a question what issues exist today on the agent builder team. It first calls linear list teams which it needs to to do to get the exact UU ID of of the team and then it searches for issues uh with pageionation. It calls this tool twice and then it finds 82 total issues on our team. um and has them grouped by status. So that was the agent that I just created for you on the fly. But to show you the one that my team uses in production every day, I'll go back to the linear issue manager, which is this agent here, which has a very similar configuration uh as the agent that we just created. It has a bunch of linear tools attached to it and then a single Slack tool to reply to a message and it is triggered on receiving a new uh message in a Slack channel. Uh to show you an example of how that actually works, here's just an example conversation from last week where our CEO Harrison gave feedback on our product. Um lead engineer on our team responded to that, said, "I'm working on a fix, but in the meantime, Linearbot, please file an issue." The Linearbot filed that issue automatically and then linked us to it right in Slack. And just briefly, I'm going to show you um the the use agent page or the chat page in the in the links with UI. Uh these are all the conversations with the agent. Uh really this is an ambient agent so it's running in the background. So I'm not super often looking at these threads but you can see see it's receiving all these Slack messages. Uh with those messages it is calling linear list labels list issues uh then create issue three times in this case. I guess it was uh three bug reports or feature requests that were filed in the same black thread and then it replies to the message uh with what it did. So thank you for watching. This has been a a brief demo of the uh linksmith agent builder and my linear issue manager bot.

Original Description

Learn how to build an agent that can create and edit Linear issues using our no-code Agent Builder. Try it for free today: https://langsmith.com/
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from LangChain · LangChain · 0 of 60

← Previous Next →
1 Chat With Your Documents Using LangChain + JavaScript
Chat With Your Documents Using LangChain + JavaScript
LangChain
2 LangChain SQL Webinar
LangChain SQL Webinar
LangChain
3 LangChain "OpenAI functions" Webinar
LangChain "OpenAI functions" Webinar
LangChain
4 LangSmith Launch
LangSmith Launch
LangChain
5 LangChain x Pinecone: Supercharging Llama-2 with RAG
LangChain x Pinecone: Supercharging Llama-2 with RAG
LangChain
6 LangChain Expression Language
LangChain Expression Language
LangChain
7 Building LLM applications with LangChain with Lance
Building LLM applications with LangChain with Lance
LangChain
8 Benchmarking Question/Answering Over CSV Data
Benchmarking Question/Answering Over CSV Data
LangChain
9 LangChain "RAG Evaluation" Webinar
LangChain "RAG Evaluation" Webinar
LangChain
10 Fine-tuning in Your Voice Webinar
Fine-tuning in Your Voice Webinar
LangChain
11 Tabular Data Retrieval
Tabular Data Retrieval
LangChain
12 Building an LLM Application with Audio by AssemblyAI
Building an LLM Application with Audio by AssemblyAI
LangChain
13 Superagent Deepdive Webinar
Superagent Deepdive Webinar
LangChain
14 Lessons from Deploying LLMs with LangSmith
Lessons from Deploying LLMs with LangSmith
LangChain
15 Shortwave Assistant Deepdive Webinar
Shortwave Assistant Deepdive Webinar
LangChain
16 Cognitive Architectures for Language Agents
Cognitive Architectures for Language Agents
LangChain
17 Effectively Building with LLMs in the Browser with Jacob
Effectively Building with LLMs in the Browser with Jacob
LangChain
18 Data Privacy for LLMs
Data Privacy for LLMs
LangChain
19 "Theory of Mind" Webinar with Plastic Labs
"Theory of Mind" Webinar with Plastic Labs
LangChain
20 LangChain Templates
LangChain Templates
LangChain
21 Using Natural Language to Query Postgres with Jacob
Using Natural Language to Query Postgres with Jacob
LangChain
22 Building a Research Assistant from Scratch
Building a Research Assistant from Scratch
LangChain
23 Benchmarking RAG over LangChain Docs
Benchmarking RAG over LangChain Docs
LangChain
24 Skeleton-of-Thought: Building a New Template from Scratch
Skeleton-of-Thought: Building a New Template from Scratch
LangChain
25 Benchmarking Methods for Semi-Structured RAG
Benchmarking Methods for Semi-Structured RAG
LangChain
26 LangSmith Highlights: Getting Started
LangSmith Highlights: Getting Started
LangChain
27 LangSmith Highlights: Debugging
LangSmith Highlights: Debugging
LangChain
28 LangSmith Highlights: Datasets
LangSmith Highlights: Datasets
LangChain
29 LangSmith Highlights: Evaluation
LangSmith Highlights: Evaluation
LangChain
30 LangSmith Highlights: Human Annotation
LangSmith Highlights: Human Annotation
LangChain
31 LangSmith Highlights: Monitoring
LangSmith Highlights: Monitoring
LangChain
32 LangSmith Highlights: Hub
LangSmith Highlights: Hub
LangChain
33 SQL Research Assistant
SQL Research Assistant
LangChain
34 Getting Started with Multi-Modal LLMs
Getting Started with Multi-Modal LLMs
LangChain
35 Build a Full Stack RAG App With TypeScript
Build a Full Stack RAG App With TypeScript
LangChain
36 Auto-Prompt Builder (with Hosted LangServe)
Auto-Prompt Builder (with Hosted LangServe)
LangChain
37 LangChain v0.1.0 Launch: Introduction
LangChain v0.1.0 Launch: Introduction
LangChain
38 LangChain v0.1.0 Launch: Observability
LangChain v0.1.0 Launch: Observability
LangChain
39 LangChain v0.1.0 Launch: Integrations
LangChain v0.1.0 Launch: Integrations
LangChain
40 LangChain v0.1.0 Launch: Composability
LangChain v0.1.0 Launch: Composability
LangChain
41 LangChain v0.1.0 Launch: Streaming
LangChain v0.1.0 Launch: Streaming
LangChain
42 LangChain v0.1.0 Launch: Output Parsing
LangChain v0.1.0 Launch: Output Parsing
LangChain
43 LangChain v0.1.0 Launch: Retrieval
LangChain v0.1.0 Launch: Retrieval
LangChain
44 LangChain v0.1.0 Launch: Agents
LangChain v0.1.0 Launch: Agents
LangChain
45 Build and Deploy a RAG app with Pinecone Serverless
Build and Deploy a RAG app with Pinecone Serverless
LangChain
46 Hosted LangServe + LangChain Templates
Hosted LangServe + LangChain Templates
LangChain
47 LangGraph: Intro
LangGraph: Intro
LangChain
48 LangGraph: Agent Executor
LangGraph: Agent Executor
LangChain
49 LangGraph: Chat Agent Executor
LangGraph: Chat Agent Executor
LangChain
50 LangGraph: Human-in-the-Loop
LangGraph: Human-in-the-Loop
LangChain
51 LangGraph: Dynamically Returning a Tool Output Directly
LangGraph: Dynamically Returning a Tool Output Directly
LangChain
52 LangGraph: Respond in a Specific Format
LangGraph: Respond in a Specific Format
LangChain
53 LangGraph: Managing Agent Steps
LangGraph: Managing Agent Steps
LangChain
54 LangGraph: Force-Calling a Tool
LangGraph: Force-Calling a Tool
LangChain
55 LangGraph: Multi-Agent Workflows
LangGraph: Multi-Agent Workflows
LangChain
56 Streaming Events: Introducing a new `stream_events` method
Streaming Events: Introducing a new `stream_events` method
LangChain
57 Building a web RAG chatbot: using LangChain, Exa (prev. Metaphor), LangSmith, and Hosted Langserve
Building a web RAG chatbot: using LangChain, Exa (prev. Metaphor), LangSmith, and Hosted Langserve
LangChain
58 OpenGPTs
OpenGPTs
LangChain
59 Open Source RAG with Nomic's New Embedding Model (and ChromaDB and Ollama)
Open Source RAG with Nomic's New Embedding Model (and ChromaDB and Ollama)
LangChain
60 LangGraph: Persistence
LangGraph: Persistence
LangChain

The video shows how to build a Linear issue agent using the Langsmith Agent Builder, a no-code tool that allows users to create agents using natural language. The agent is designed to monitor a Slack channel, create and edit Linear issues, and report back in Slack with the work done. This demo highlights the ease of use and flexibility of the Langsmith Agent Builder.

Key Takeaways
  1. Click the new agent button in the Langsmith Agent Builder
  2. Describe the task using natural language
  3. Answer follow-up questions to gather more information
  4. Configure the agent to monitor a Slack channel and create Linear issues
  5. Test the agent using the test chat feature
💡 The Langsmith Agent Builder allows users to create agents using natural language, making it easy to automate workflows and integrate with various tools and platforms.

Related Reads

📰
7 AI Models, 1 API Key: How to Build a Model-Agnostic SaaS
Learn to build a model-agnostic SaaS that can switch between 7 AI models at runtime without changing application code, avoiding single-vendor lock-in
Dev.to AI
📰
How Our AI Agents Built a Global E-commerce Customs & Tax Widget Builder in Minutes
Learn how AI agents can build a global e-commerce customs & tax widget in minutes, revolutionizing international online shopping
Dev.to AI
📰
Devlog: How our AI Agents Built the Micro-Frontend Orchestration Architect to Simplify Micro-Frontend Development
Learn how AI agents can simplify micro-frontend development by building a micro-frontend orchestration architect
Dev.to AI
📰
How Our AI Agents Built a Universal DSAR Form Builder in Record Time for Global GDPR & CCPA Compliance
Learn how AI agents can accelerate building compliance tools like a Universal DSAR Form Builder for GDPR and CCPA, simplifying data privacy regulation adherence
Dev.to AI
Up next
What is AI Agents Swarm Explained with Examples
VLR Software Training
Watch →