LangSmith Studio

Status: ACTIVE (pulled from docs.langchain.com) Source: https://docs.langchain.com/oss/python/langgraph/studio Timestamp: 2026-05-11

Studio is a free visual interface for developing and testing LangChain agents from your local machine. It connects to your locally running agent to show each step: prompts, tool calls, results, and final output.

Prerequisites

Setup

1. Install CLI

pip install --upgrade "langgraph-cli[inmem]"

2. Prepare Your Agent

```python title="agent.py" from langchain.agents import create_agent

def send_email(to: str, subject: str, body: str): """Send an email""" return f"Email sent to {to}"

agent = create_agent( "gpt-5.4", tools=[send_email], system_prompt="You are an email assistant. Always use the send_email tool.", )

### 3. Create langgraph.json

```json
{
  "dependencies": ["."],
  "graphs": {
    "agent": "./src/agent.py:agent"
  },
  "env": ".env"
}

4. Install Dependencies

pip install langchain langchain-openai

5. Launch Studio

langgraph dev

Studio is accessible at: https://smith.langchain.com/studio/?baseUrl=http://127.0.0.1:2024

Key Features

Safari Note

Safari blocks localhost connections to Studio. Use --tunnel to access via secure tunnel.