
Security News
High-Severity RCE Vulnerability Disclosed in next-mdx-remote
HashiCorp disclosed a high-severity RCE in next-mdx-remote affecting versions 4.3.0 to 5.x when compiling untrusted MDX on the server.
@ag-kit/adapter-langgraph
Advanced tools
LangGraph adapter for AG-Kit agents. This package provides integration between AG-Kit and LangGraph framework, enabling you to use LangGraph workflows with AG-Kit's agent infrastructure.
npm install @ag-kit/agents @ag-kit/adapter-langgraph
import { StateGraph, START, END } from "@langchain/langgraph";
import { AGKitStateAnnotation, LanggraphAgent } from "@ag-kit/adapter-langgraph";
import { AgentConfig } from "@ag-kit/agents/abstract";
// Create your LangGraph workflow
const workflow = new StateGraph(AGKitStateAnnotation)
.addNode("chat_node", chatNode)
.addEdge(START, "chat_node")
.addEdge("chat_node", END);
const compiledWorkflow = workflow.compile();
// Create the agent
const agent = new LanggraphAgent({
name: "my-langgraph-agent",
description: "A LangGraph agent",
compiledWorkflow,
});
import { TDAISaver } from "@ag-kit/adapter-langgraph";
import { MemoryClient } from "@ag-kit/agents";
const memoryClient = new MemoryClient({
endpoint: "https://api.tdai.com",
apiKey: "your-api-key",
memoryId: "your-memory-id",
});
const checkpointer = new TDAISaver({
endpoint: "https://api.tdai.com",
apiKey: "your-api-key",
memoryId: "your-memory-id",
});
const compiledWorkflow = workflow.compile({
checkpointer,
});
import { TDAIStore } from "@ag-kit/adapter-langgraph";
import { MemoryClient } from "@ag-kit/agents";
const memoryClient = new MemoryClient({
endpoint: "https://api.tdai.com",
apiKey: "your-api-key",
memoryId: "your-memory-id",
});
const store = new TDAIStore({
memoryClient,
sessionId: "session-123",
});
Agent class that extends AbstractAgent and works with compiled LangGraph workflows.
Constructor:
constructor(config: AgentConfig & { compiledWorkflow: CompiledStateGraph })
Checkpoint saver implementation for LangGraph using TDAI Memory.
Constructor:
constructor(config: TDAISaverConfig)
Store implementation for LangGraph using TDAI Memory.
Constructor:
constructor(config: TDAIStoreConfig)
@ag-kit/agents: Core agent functionality@langchain/langgraph: LangGraph framework@langchain/core: LangChain core utilitiesrxjs: Reactive extensions for JavaScriptFAQs
LangGraph adapter for AG-Kit agents
The npm package @ag-kit/adapter-langgraph receives a total of 3 weekly downloads. As such, @ag-kit/adapter-langgraph popularity was classified as not popular.
We found that @ag-kit/adapter-langgraph demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

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.

Security News
HashiCorp disclosed a high-severity RCE in next-mdx-remote affecting versions 4.3.0 to 5.x when compiling untrusted MDX on the server.

Security News
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.

Security News
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.