A sandbox for showcasing different use cases of LangChain's createAgent with various agent scenarios and capabilities.
This is a Next.js application that demonstrates various LangChain agent patterns and capabilities, including tool use, human-in-the-loop, context management, and more.
The application includes the following agent scenarios:
First, install dependencies:
pnpm install
Then, run the development server:
pnpm dev
Open http://localhost:3000 with your browser to see the result.
You'll need an Anthropic API key to use the application. Enter it in the sidebar when prompted.
For the Cloudflare MCP Agent, you can optionally provide a Cloudflare API token for authenticated access to Cloudflare's MCP servers.
For the Content Moderation Agent, you have to provide additionally an OPENAI_API_KEY environment variable with your OpenAI API key.
To learn more about Next.js, take a look at the following resources:
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.
$ claude mcp add langchat \
-- python -m otcore.mcp_server <graph>