LangChain overview - Docs by LangChain (original) (raw)

Agent = Model + Harness. LangChain provides create_agent: a minimal, highly configurable harness. The harness is everything around the model loop: the prompt, the tools, and any middleware that shapes behavior. Start with the primitives and compose exactly what your use case needs. Supports OpenAI, Anthropic, Google, and more.

Create an agent

This example demonstrates how to create a simple LangChain agent with a custom tool:

See the Installation instructions and Quickstart guide to get started building your own agents and applications with LangChain.

Core benefits