LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Agent
  • Middleware
  • Backends
  • Sandboxes
  • Skills
  • Subagents
  • Types
Modal
Daytona
Deno
Node VFS
Sandbox Standard Tests
  • Vitest
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

OverviewAgentMiddlewareBackendsSandboxesSkillsSubagentsTypes
Modal
Daytona
Deno
Node VFS
Sandbox Standard Tests
Vitest
Language
Theme
JavaScriptdeepagentsmiddlewareSkillsMiddleware
Type●Since v1.14

SkillsMiddleware

The middleware value returned by createSkillsMiddleware.

Exported so createDeepAgent can splice the skills state (skillsMetadata) into an agent's inferred state when the skills option is present, without the caller having to mount the middleware by hand.

Copy
SkillsMiddleware: ReturnType<typeof createSkillsMiddleware>
View source on GitHub