{"repo":"akveo/ai-cookbook","free":true,"listed":false,"github":"https://github.com/akveo/ai-cookbook","clone":"git clone https://github.com/akveo/ai-cookbook.git","description":"Set of use cases demonstrating how to build AI-featured applications.","language":"TypeScript","stars":87,"topics":["agents","ai","langgraph","nextjs"],"license":"MIT","category":"ai-agents","readme_excerpt":"AI cookbook This repository contains a set of use cases demonstrating how to build AI-featured applications. - LangGraph + Next.js - MCP (Model Context Protocol) LangGraph + Next.js This demo shows how to create a simple AI agent using LangGraph and integrate it into a Next.js application. LangGraph is a robust framework for building agent and multi-agent workflows. It provides flexibility to build complex logic and has great tooling for debugging (LangGraph Studio) and monitoring (LangSmith). Next.js is a popular framework for building web applications. The demo includes the following capabilities: Capabilities - Streaming . Agent streams LLM tokens to the client application. - Generative UI . Renders components based on agent state. For example, weather widget. - Human in the loop . Agent can ask users for clarification to proceed with tasks. For example, reminder creation confirmation. - Persistence . LangGraph has a built-in persistence layer. It can be used to persist agent state between sessions. In the demo app, state is persisted in memory. See LangGraph Persistence for how to use PostgreSQL or MongoDB. - Reply and Fork . Agent can be replied to or forked from any checkpoint. - Agent state replication . Agent state is fully replicated on the client side based on the graph checkpoints. - Error handling . The app displays global agent errors, such as when an agent is not accessible, as well as errors that occur at the graph node level. - Stop agent . Agent execution can","default_branch":null,"files":null,"tree":[],"storefront":"/r/akveo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/akveo/ai-cookbook/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}