Providers
langchain
Wrap any LangChain.js `ChatModel` as an AgentsKit adapter.
import { langchain } from '@agentskit/adapters'
import { ChatAnthropic } from '@langchain/anthropic'
const adapter = langchain({
model: new ChatAnthropic({ model: 'claude-sonnet-4-6' }),
})#Options
| Option | Type | Default |
|---|---|---|
model | ChatModel | required |
#Why langchain
- Reuse LangChain model instances in AgentsKit runtimes.
- Migrate incrementally β swap one layer at a time.
#Related
Explore nearby
- PeerProviders
25 native chat and embedder adapters, plus higher-order adapters that compose candidates. Separate from the 140-provider models catalog.
- PeerChoosing an adapter
Capability decision table and rules of thumb for picking a chat adapter.
- PeerHosted chat adapters
17 managed-LLM adapters. Same contract; swap by changing one import.