@@ -13,6 +13,7 @@
1313 "@langchain/ollama": "^1.2.0",
1414 "class-variance-authority": "^0.7.1",
1515 "clsx": "^2.1.1",
16+ "langchain": "^1.2.8",
1617 "lucide-react": "^0.562.0",
1718 "next": "16.1.1",
1819 "next-themes": "^0.4.6",
@@ -21,7 +22,8 @@
2122 "react-dom": "19.2.3",
2223 "shadcn": "^3.6.3",
2324 "tailwind-merge": "^3.4.0",
24- "tw-animate-css": "^1.4.0"
25+ "tw-animate-css": "^1.4.0",
26+ "zod": "^4.3.5"
2527 },
2628 "devDependencies": {
2729 "@biomejs/biome": "2.2.0",
@@ -1583,6 +1585,119 @@
15831585 "url": "https://github.com/chalk/ansi-styles?sponsor=1"
15841586 }
15851587 },
1588+ "node_modules/@langchain/langgraph": {
1589+ "version": "1.0.15",
1590+ "resolved": "https://registry.npmjs.org/@langchain/langgraph/-/langgraph-1.0.15.tgz",
1591+ "integrity": "sha512-l7/f255sPilanhyY+lbX+VDXQSnytFwJ4FVoEl4OBpjDoCHuDyHUL5yrb568apBSHgQA7aKsYac0mBEqIR5Bjg==",
1592+ "license": "MIT",
1593+ "dependencies": {
1594+ "@langchain/langgraph-checkpoint": "^1.0.0",
1595+ "@langchain/langgraph-sdk": "~1.5.0",
1596+ "uuid": "^10.0.0"
1597+ },
1598+ "engines": {
1599+ "node": ">=18"
1600+ },
1601+ "peerDependencies": {
1602+ "@langchain/core": "^1.0.1",
1603+ "zod": "^3.25.32 || ^4.1.0",
1604+ "zod-to-json-schema": "^3.x"
1605+ },
1606+ "peerDependenciesMeta": {
1607+ "zod-to-json-schema": {
1608+ "optional": true
1609+ }
1610+ }
1611+ },
1612+ "node_modules/@langchain/langgraph-checkpoint": {
1613+ "version": "1.0.0",
1614+ "resolved": "https://registry.npmjs.org/@langchain/langgraph-checkpoint/-/langgraph-checkpoint-1.0.0.tgz",
1615+ "integrity": "sha512-xrclBGvNCXDmi0Nz28t3vjpxSH6UYx6w5XAXSiiB1WEdc2xD2iY/a913I3x3a31XpInUW/GGfXXfePfaghV54A==",
1616+ "license": "MIT",
1617+ "dependencies": {
1618+ "uuid": "^10.0.0"
1619+ },
1620+ "engines": {
1621+ "node": ">=18"
1622+ },
1623+ "peerDependencies": {
1624+ "@langchain/core": "^1.0.1"
1625+ }
1626+ },
1627+ "node_modules/@langchain/langgraph-sdk": {
1628+ "version": "1.5.3",
1629+ "resolved": "https://registry.npmjs.org/@langchain/langgraph-sdk/-/langgraph-sdk-1.5.3.tgz",
1630+ "integrity": "sha512-8ycRjOGsBafxvCpHyCGaWhd3s7UEXEYIEPO/vipebEzQuYaeF+E9MxS9uFSVaX1ZcNuqQNTosnBJG4ZUtirzuw==",
1631+ "license": "MIT",
1632+ "dependencies": {
1633+ "p-queue": "^9.0.1",
1634+ "p-retry": "^7.1.1",
1635+ "uuid": "^13.0.0"
1636+ },
1637+ "peerDependencies": {
1638+ "@langchain/core": "^1.0.1",
1639+ "react": "^18 || ^19",
1640+ "react-dom": "^18 || ^19"
1641+ },
1642+ "peerDependenciesMeta": {
1643+ "@langchain/core": {
1644+ "optional": true
1645+ },
1646+ "react": {
1647+ "optional": true
1648+ },
1649+ "react-dom": {
1650+ "optional": true
1651+ }
1652+ }
1653+ },
1654+ "node_modules/@langchain/langgraph-sdk/node_modules/eventemitter3": {
1655+ "version": "5.0.1",
1656+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz",
1657+ "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==",
1658+ "license": "MIT"
1659+ },
1660+ "node_modules/@langchain/langgraph-sdk/node_modules/p-queue": {
1661+ "version": "9.1.0",
1662+ "resolved": "https://registry.npmjs.org/p-queue/-/p-queue-9.1.0.tgz",
1663+ "integrity": "sha512-O/ZPaXuQV29uSLbxWBGGZO1mCQXV2BLIwUr59JUU9SoH76mnYvtms7aafH/isNSNGwuEfP6W/4xD0/TJXxrizw==",
1664+ "license": "MIT",
1665+ "dependencies": {
1666+ "eventemitter3": "^5.0.1",
1667+ "p-timeout": "^7.0.0"
1668+ },
1669+ "engines": {
1670+ "node": ">=20"
1671+ },
1672+ "funding": {
1673+ "url": "https://github.com/sponsors/sindresorhus"
1674+ }
1675+ },
1676+ "node_modules/@langchain/langgraph-sdk/node_modules/p-timeout": {
1677+ "version": "7.0.1",
1678+ "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-7.0.1.tgz",
1679+ "integrity": "sha512-AxTM2wDGORHGEkPCt8yqxOTMgpfbEHqF51f/5fJCmwFC3C/zNcGT63SymH2ttOAaiIws2zVg4+izQCjrakcwHg==",
1680+ "license": "MIT",
1681+ "engines": {
1682+ "node": ">=20"
1683+ },
1684+ "funding": {
1685+ "url": "https://github.com/sponsors/sindresorhus"
1686+ }
1687+ },
1688+ "node_modules/@langchain/langgraph-sdk/node_modules/uuid": {
1689+ "version": "13.0.0",
1690+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-13.0.0.tgz",
1691+ "integrity": "sha512-XQegIaBTVUjSHliKqcnFqYypAd4S+WCYt5NIeRs6w/UAry7z8Y9j5ZwRRL4kzq9U3sD6v+85er9FvkEaBpji2w==",
1692+ "funding": [
1693+ "https://github.com/sponsors/broofa",
1694+ "https://github.com/sponsors/ctavan"
1695+ ],
1696+ "license": "MIT",
1697+ "bin": {
1698+ "uuid": "dist-node/bin/uuid"
1699+ }
1700+ },
15861701 "node_modules/@langchain/ollama": {
15871702 "version": "1.2.0",
15881703 "resolved": "https://registry.npmjs.org/@langchain/ollama/-/ollama-1.2.0.tgz",
@@ -5376,6 +5491,18 @@
53765491 "url": "https://github.com/sponsors/sindresorhus"
53775492 }
53785493 },
5494+ "node_modules/is-network-error": {
5495+ "version": "1.3.0",
5496+ "resolved": "https://registry.npmjs.org/is-network-error/-/is-network-error-1.3.0.tgz",
5497+ "integrity": "sha512-6oIwpsgRfnDiyEDLMay/GqCl3HoAtH5+RUKW29gYkL0QA+ipzpDLA16yQs7/RHCSu+BwgbJaOUqa4A99qNVQVw==",
5498+ "license": "MIT",
5499+ "engines": {
5500+ "node": ">=16"
5501+ },
5502+ "funding": {
5503+ "url": "https://github.com/sponsors/sindresorhus"
5504+ }
5505+ },
53795506 "node_modules/is-node-process": {
53805507 "version": "1.2.0",
53815508 "resolved": "https://registry.npmjs.org/is-node-process/-/is-node-process-1.2.0.tgz",
@@ -5590,6 +5717,25 @@
55905717 "node": ">=6"
55915718 }
55925719 },
5720+ "node_modules/langchain": {
5721+ "version": "1.2.8",
5722+ "resolved": "https://registry.npmjs.org/langchain/-/langchain-1.2.8.tgz",
5723+ "integrity": "sha512-d2WYSVBUK7d3rX1pfYoDBLANWpqgKlTPbc1zjQmJj1zsLPV5rUlF0jZXdy+fdxiqtG7vSaVuaX8H3cp26pWR5w==",
5724+ "license": "MIT",
5725+ "dependencies": {
5726+ "@langchain/langgraph": "^1.0.0",
5727+ "@langchain/langgraph-checkpoint": "^1.0.0",
5728+ "langsmith": ">=0.4.0 <1.0.0",
5729+ "uuid": "^10.0.0",
5730+ "zod": "^3.25.76 || ^4"
5731+ },
5732+ "engines": {
5733+ "node": ">=20"
5734+ },
5735+ "peerDependencies": {
5736+ "@langchain/core": "1.1.13"
5737+ }
5738+ },
55935739 "node_modules/langsmith": {
55945740 "version": "0.4.5",
55955741 "resolved": "https://registry.npmjs.org/langsmith/-/langsmith-0.4.5.tgz",
@@ -6523,6 +6669,21 @@
65236669 "url": "https://github.com/sponsors/sindresorhus"
65246670 }
65256671 },
6672+ "node_modules/p-retry": {
6673+ "version": "7.1.1",
6674+ "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-7.1.1.tgz",
6675+ "integrity": "sha512-J5ApzjyRkkf601HpEeykoiCvzHQjWxPAHhyjFcEUP2SWq0+35NKh8TLhpLw+Dkq5TZBFvUM6UigdE9hIVYTl5w==",
6676+ "license": "MIT",
6677+ "dependencies": {
6678+ "is-network-error": "^1.1.0"
6679+ },
6680+ "engines": {
6681+ "node": ">=20"
6682+ },
6683+ "funding": {
6684+ "url": "https://github.com/sponsors/sindresorhus"
6685+ }
6686+ },
65266687 "node_modules/p-timeout": {
65276688 "version": "3.2.0",
65286689 "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz",
@@ -7231,6 +7392,15 @@
72317392 "shadcn": "dist/index.js"
72327393 }
72337394 },
7395+ "node_modules/shadcn/node_modules/zod": {
7396+ "version": "3.25.76",
7397+ "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz",
7398+ "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==",
7399+ "license": "MIT",
7400+ "funding": {
7401+ "url": "https://github.com/sponsors/colinhacks"
7402+ }
7403+ },
72347404 "node_modules/sharp": {
72357405 "version": "0.34.5",
72367406 "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.34.5.tgz",
@@ -8120,9 +8290,9 @@
81208290 }
81218291 },
81228292 "node_modules/zod": {
8123- "version": "3.25.76",
8124- "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz",
8125- "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==",
8293+ "version": "4.3.5",
8294+ "resolved": "https://registry.npmjs.org/zod/-/zod-4.3.5.tgz",
8295+ "integrity": "sha512-k7Nwx6vuWx1IJ9Bjuf4Zt1PEllcwe7cls3VNzm4CQ1/hgtFUK2bRNG3rvnpPUhFjmqJKAKtjV576KnUkHocg/g==",
81268296 "license": "MIT",
81278297 "funding": {
81288298 "url": "https://github.com/sponsors/colinhacks"