New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

agent-debug

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

agent-debug

Pluggable visual debugger for LangGraph-based agents.

latest
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

Agent Debug

Pluggable langraph studio like debugger as a npm package.

Installation

npm install agent-debug

Usage

import { debug } from 'agent-debug';

import { StateGraph, MessagesAnnotation, START, END } from "@langchain/langgraph";
import { ChatOpenAI } from "@langchain/openai";

// define langgraph agent
const model = new ChatOpenAI({
  modelName: "gpt-4o",
  temperature: 0.7,
});

const callModel = async (state) => {
  const response = await model.invoke(state.messages);
  return { messages: [response] };
};

const workflow = new StateGraph(MessagesAnnotation)
  .addNode("llm_node", callModel)
  .addEdge(START, "llm_node")
  .addEdge("llm_node", END);

const agent = workflow.compile();

// spin-up agent debug server on port 3001 ( port 8888 by default )
debug(agent, 3001)

UI

UI

Local development

git clone --recursive git@github.com:sebps/agent-debug-workspace.git

Keywords

langgraph

FAQs

Package last updated on 29 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts