├── agent ├── README.md ├── app │ ├── __init__.py │ ├── agent │ │ ├── __init__.py │ │ └── graph.py │ ├── utils.py │ └── server.py ├── .env.example ├── .gitignore ├── langgraph.json └── pyproject.toml ├── mcp-servers ├── calendar-mcp │ ├── .python-version │ ├── pyproject.toml │ ├── README.md │ ├── calendar-mcp-server.py │ └── uv.lock └── booking-mcp │ ├── package.json │ ├── src │ ├── stdio-server.ts │ ├── booking-mcp-server.ts │ └── sse-server.ts │ ├── .gitignore │ ├── README.md │ ├── tsconfig.json │ └── bun.lock ├── client ├── .env ├── app │ ├── favicon.ico │ ├── chat │ │ ├── page.tsx │ │ └── [id] │ │ │ ├── agent-types.ts │ │ │ ├── components │ │ │ ├── node-card.tsx │ │ │ ├── weather │ │ │ │ ├── weather-node.tsx │ │ │ │ ├── cloudy.tsx │ │ │ │ ├── sunny.tsx │ │ │ │ ├── rainy.tsx │ │ │ │ └── snowy.tsx │ │ │ ├── reminder.tsx │ │ │ ├── checkpoint-card.tsx │ │ │ └── chatbot-node.tsx │ │ │ └── page.tsx │ ├── layout.tsx │ ├── api │ │ └── agent │ │ │ └── route.ts │ ├── globals.css │ └── page.tsx ├── public │ ├── vercel.svg │ ├── file.svg │ ├── window.svg │ ├── globe.svg │ └── next.svg ├── next.config.ts ├── postcss.config.mjs ├── lib │ └── utils.ts ├── components │ ├── ui │ │ ├── skeleton.tsx │ │ ├── textarea.tsx │ │ ├── input.tsx │ │ ├── separator.tsx │ │ ├── checkbox.tsx │ │ ├── badge.tsx │ │ ├── tooltip.tsx │ │ ├── popover.tsx │ │ ├── button.tsx │ │ ├── card.tsx │ │ ├── sheet.tsx │ │ └── sidebar.tsx │ ├── theme-provider.tsx │ ├── theme-switcher.tsx │ └── app-sidebar.tsx ├── eslint.config.mjs ├── components.json ├── stores │ └── chat-store.tsx ├── hooks │ ├── use-mobile.tsx │ └── useLangGraphAgent │ │ ├── actions.ts │ │ ├── api.ts │ │ ├── ascii-tree.ts │ │ ├── types.ts │ │ └── useLangGraphAgent.tsx ├── .gitignore ├── tsconfig.json ├── package.json ├── README.md └── tailwind.config.ts ├── images ├── header.jpeg └── langgraph-nextjs.jpeg ├── .gitignore ├── LICENSE └── README.md /agent/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /agent/app/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /agent/app/agent/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /agent/.env.example: -------------------------------------------------------------------------------- 1 | OPENAI_API_KEY=your_openai_api_key -------------------------------------------------------------------------------- /mcp-servers/calendar-mcp/.python-version: -------------------------------------------------------------------------------- 1 | 3.13 2 | -------------------------------------------------------------------------------- /client/.env: -------------------------------------------------------------------------------- 1 | NEXT_PUBLIC_AGENT_URL=http://localhost:8000 -------------------------------------------------------------------------------- /agent/.gitignore: -------------------------------------------------------------------------------- 1 | __pycache__/ 2 | *.pyc 3 | 4 | .env 5 | 6 | .DS_Store 7 | **/.DS_Store 8 | -------------------------------------------------------------------------------- /images/header.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akveo/ai-cookbook/HEAD/images/header.jpeg -------------------------------------------------------------------------------- /client/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akveo/ai-cookbook/HEAD/client/app/favicon.ico -------------------------------------------------------------------------------- /images/langgraph-nextjs.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/akveo/ai-cookbook/HEAD/images/langgraph-nextjs.jpeg -------------------------------------------------------------------------------- /client/app/chat/page.tsx: -------------------------------------------------------------------------------- 1 | export default function ChatsPage() { 2 | return ( 3 |
Are u sure you want to create a reminder?
30 |Today's Forecast
22 |Today's Forecast
47 |29 | This demo showcases how to seamlessly integrate LangGraph agents into a Next.js 15 application. 30 |
31 |{description}
68 |Today's Forecast
23 |{children}
, 55 | code: ({ children, className }) => { 56 | const isInline = !className?.includes('language-'); 57 | return ( 58 |
62 | {children}
63 |
64 | );
65 | },
66 | pre: ({ children }) => {children},
67 | ul: ({ children }) => Today's Forecast
23 |