# \#self-hosted

**URL:** https://forum.langchain.com/tag/self-hosted/1.md?match_all_tags=true&page=2&tags%5B%5D=self-hosted

[Latest](https://forum.langchain.com/latest.md) · [Categories](https://forum.langchain.com/categories.md) · [Tags](https://forum.langchain.com/tags.md)

**Page:** 3

---

## [How to pass runtime to dynamically bind tools?](https://forum.langchain.com/t/how-to-pass-runtime-to-dynamically-bind-tools/3178)

<div class="topic-metadata">

**Author:** [@yury](https://forum.langchain.com/u/yury)\
**Replies:** 3\
**Last updated:** [March 23, 2026, 12:57pm UTC](https://forum.langchain.com/t/how-to-pass-runtime-to-dynamically-bind-tools/3178 "2026-03-23T12:57:11Z")

</div>

Hi All, I’m implementing a custom graph with dynamic tool binding. To implement ReAct loop, I’m handing messages from LLM in a separate node to execute tool calls. The related code looks like the following: class Sessi…

---

## [Create\_stuff\_documents\_chain is not working with latest version of langchain(Version: 1.0.3)](https://forum.langchain.com/t/create-stuff-documents-chain-is-not-working-with-latest-version-of-langchain-version-1-0-3/2092)

<div class="topic-metadata">

**Author:** [@PallaviPadav](https://forum.langchain.com/u/PallaviPadav)\
**Replies:** 4\
**Last updated:** [February 27, 2026, 8:35pm UTC](https://forum.langchain.com/t/create-stuff-documents-chain-is-not-working-with-latest-version-of-langchain-version-1-0-3/2092 "2026-02-27T20:35:45Z")

</div>

When I tried to import create\_stuff\_documents\_chain, I’m getting the error ModuleNotFoundError: No module named ‘langchain.chains’. Please help me to resolve. I’m using the latest version of langchain (Version: 1.0.3) N…

---

## [Files in Agent Chat](https://forum.langchain.com/t/files-in-agent-chat/849)

<div class="topic-metadata">

**Author:** [@sven09](https://forum.langchain.com/u/sven09)\
**Replies:** 3\
**Last updated:** [February 19, 2026, 7:07pm UTC](https://forum.langchain.com/t/files-in-agent-chat/849 "2026-02-19T19:07:16Z")

</div>

Hey, I’m looking for an approach for storing file meta data (title, s3-url of file) to an agent chat and save it to the message and store it by memorysaver or something similar: Langgraph chat and state is running and …

---

## [Stopping endpoint for deep agents](https://forum.langchain.com/t/stopping-endpoint-for-deep-agents/2538)

<div class="topic-metadata">

**Author:** [@chinu0609](https://forum.langchain.com/u/chinu0609)\
**Replies:** 5\
**Last updated:** [February 12, 2026, 11:03am UTC](https://forum.langchain.com/t/stopping-endpoint-for-deep-agents/2538 "2026-02-12T11:03:37Z")

</div>

Hi I am using Fast API and Langgraph deep agents in my application I want to implement a stop button in UI that will stop the execution need guidance to implement it how can it be done i am directlly using create\_deep\_ag…

---

## [Thoughts on preserving timestamps & speaker metadata in LangChain audio transcripts?](https://forum.langchain.com/t/thoughts-on-preserving-timestamps-speaker-metadata-in-langchain-audio-transcripts/2901)

<div class="topic-metadata">

**Author:** [@Cosmos-Atom](https://forum.langchain.com/u/Cosmos-Atom)\
**Replies:** 1\
**Last updated:** [February 7, 2026, 9:17pm UTC](https://forum.langchain.com/t/thoughts-on-preserving-timestamps-speaker-metadata-in-langchain-audio-transcripts/2901 "2026-02-07T21:17:26Z")

</div>

Hey all :waving\_hand: While playing with LangChain’s local Whisper audio parser, I noticed that timestamps (and any speaker info) don’t really survive once audio becomes Documents everything ends up flattened into text. …

---

## [Does the Postgres Checkpointer Serialize Concurrent FastAPI Requests?](https://forum.langchain.com/t/does-the-postgres-checkpointer-serialize-concurrent-fastapi-requests/2882)

<div class="topic-metadata">

**Author:** [@Hanus](https://forum.langchain.com/u/Hanus)\
**Replies:** 4\
**Last updated:** [February 5, 2026, 10:28pm UTC](https://forum.langchain.com/t/does-the-postgres-checkpointer-serialize-concurrent-fastapi-requests/2882 "2026-02-05T22:28:50Z")

</div>

Description I am planning to integrate the LangGraph PostgreSQL checkpointer into a FastAPI application where endpoints execute LangGraph agents. The application will handle concurrent API requests, each associated with…

---

## [Native Support for A2A Protocol](https://forum.langchain.com/t/native-support-for-a2a-protocol/1302)

<div class="topic-metadata">

**Author:** [@malay](https://forum.langchain.com/u/malay)\
**Replies:** 3\
**Last updated:** [February 5, 2026, 5:56pm UTC](https://forum.langchain.com/t/native-support-for-a2a-protocol/1302 "2026-02-05T17:56:19Z")

</div>

hello there! what’s the plan from langchain to support a2a protocol natively? Agent2Agent (A2A) Protocol langchain supports MCP adaptors with GitHub - langchain-ai/langchain-mcp-adapters: LangChain 🔌 MCP which translat…

---

## [Feature Request: Support Lazy Evaluation in interrupt via Callables](https://forum.langchain.com/t/feature-request-support-lazy-evaluation-in-interrupt-via-callables/2837)

<div class="topic-metadata">

**Author:** [@alonahmias](https://forum.langchain.com/u/alonahmias)\
**Replies:** 7\
**Last updated:** [February 4, 2026, 9:02am UTC](https://forum.langchain.com/t/feature-request-support-lazy-evaluation-in-interrupt-via-callables/2837 "2026-02-04T09:02:32Z")

</div>

Description Currently, the interrupt function requires the value to be passed directly. This value is surfaced to the client when a GraphInterrupt is raised. I propose extending interrupt (and adding/updating async\_inte…

---

## [Error message with latest docker image](https://forum.langchain.com/t/error-message-with-latest-docker-image/2769)

<div class="topic-metadata">

**Author:** [@alexk](https://forum.langchain.com/u/alexk)\
**Replies:** 6\
**Last updated:** [January 29, 2026, 5:38pm UTC](https://forum.langchain.com/t/error-message-with-latest-docker-image/2769 "2026-01-29T17:38:10Z")

</div>

My Dockerfile pulls the latest Wolfi image like so: FROM langchain/langgraph-api:3.13-wolfi Building it again yesterday, my app won’t start due to error messages: 2026-01-21T11:02:34.752553+00:00 app\[web.1\]: 2026-01-2…

---

## [Built a tamper-evident audit log for LangChain agents (early users welcome)](https://forum.langchain.com/t/built-a-tamper-evident-audit-log-for-langchain-agents-early-users-welcome/2788)

<div class="topic-metadata">

**Author:** [@Jreamr](https://forum.langchain.com/u/Jreamr)\
**Replies:** 0\
**Last updated:** [January 22, 2026, 3:24pm UTC](https://forum.langchain.com/t/built-a-tamper-evident-audit-log-for-langchain-agents-early-users-welcome/2788 "2026-01-22T15:24:21Z")

</div>

Hi all — I wanted to share a tool I just finished building that may be useful for folks running LangChain agents in production. AI Action Ledger is a tamper-evident, append-only audit log for AI agent actions. It lets …

---

## [Langgraph FastAPI Example to use with Agent Chat Ui](https://forum.langchain.com/t/langgraph-fastapi-example-to-use-with-agent-chat-ui/2670)

<div class="topic-metadata">

**Author:** [@RollsChris](https://forum.langchain.com/u/RollsChris)\
**Replies:** 2\
**Last updated:** [January 9, 2026, 9:24pm UTC](https://forum.langchain.com/t/langgraph-fastapi-example-to-use-with-agent-chat-ui/2670 "2026-01-09T21:24:59Z")

</div>

Hi, I’m looking for an example to create a FastApi server to serve my graph. One that would work with the Agent Chat UI repo here: langchain-ai/agent-chat-ui: :parrot::speech\_balloon: Web app for interacting with any La…

---

## [LangSmith Studio can't connect to self-hosted LangGraph server on Railway - "origin is not allowed"](https://forum.langchain.com/t/langsmith-studio-cant-connect-to-self-hosted-langgraph-server-on-railway-origin-is-not-allowed/2530)

<div class="topic-metadata">

**Author:** [@paddyfink](https://forum.langchain.com/u/paddyfink)\
**Replies:** 5\
**Last updated:** [January 1, 2026, 3:50pm UTC](https://forum.langchain.com/t/langsmith-studio-cant-connect-to-self-hosted-langgraph-server-on-railway-origin-is-not-allowed/2530 "2026-01-01T15:50:14Z")

</div>

I have a LangGraph server deployed on Railway that was working fine with LangSmith Studio until a few days ago. Now I’m getting this error: Error: Failed to connect to Agent Server because the origin is not allowed. Co…

---

## [Best practice for mapping LangGraph threads to users (multi-tenant / production)](https://forum.langchain.com/t/best-practice-for-mapping-langgraph-threads-to-users-multi-tenant-production/2617)

<div class="topic-metadata">

**Author:** [@eight](https://forum.langchain.com/u/eight)\
**Replies:** 4\
**Last updated:** [December 29, 2025, 9:25pm UTC](https://forum.langchain.com/t/best-practice-for-mapping-langgraph-threads-to-users-multi-tenant-production/2617 "2025-12-29T21:25:20Z")

</div>

I’m building a production chat app with multiple users, and I’m trying to understand the recommended way to associate LangGraph threads (or LangSmith Threads) with a user\_id. I used this tutorial to put something togethe…

---

## [Unplanned triggering of “PII detection” when launching the agent in self-hosted](https://forum.langchain.com/t/unplanned-triggering-of-pii-detection-when-launching-the-agent-in-self-hosted/2598)

<div class="topic-metadata">

**Author:** [@Andrey\_P](https://forum.langchain.com/u/Andrey_P)\
**Replies:** 3\
**Last updated:** [December 25, 2025, 8:33am UTC](https://forum.langchain.com/t/unplanned-triggering-of-pii-detection-when-launching-the-agent-in-self-hosted/2598 "2025-12-25T08:33:00Z")

</div>

Hi! Please help me figure this out. I don’t have “PII detection” enabled. When the agent runs in LangSmit Studio, it works as it should. When I run it in self-hosted, “PII detection” is triggered.

---

## [Dynamic subgraphs?](https://forum.langchain.com/t/dynamic-subgraphs/2555)

<div class="topic-metadata">

**Author:** [@sudokpr](https://forum.langchain.com/u/sudokpr)\
**Replies:** 6\
**Last updated:** [December 24, 2025, 10:52am UTC](https://forum.langchain.com/t/dynamic-subgraphs/2555 "2025-12-24T10:52:58Z")

</div>

I was looking at the documentation for subgraphs. The referenced link contains an example snippet with a subgraph being invoked in the parent node. I was wondering if it’s advisable to compile the subgraph dynamicall…

---

## [Question about the license](https://forum.langchain.com/t/question-about-the-license/2242)

<div class="topic-metadata">

**Author:** [@PlaeryinBol](https://forum.langchain.com/u/PlaeryinBol)\
**Replies:** 6\
**Last updated:** [December 21, 2025, 5:17am UTC](https://forum.langchain.com/t/question-about-the-license/2242 "2025-12-21T05:17:45Z")

</div>

Our application is currently failing to deploy in Kubernetes due license verification fail. I want to make sure I understand the licensing correctly: based on my investigation of the langgraph-api source code, I found th…

---

## [Has anyone implemented Deepagents with a longterm memory like postgres?](https://forum.langchain.com/t/has-anyone-implemented-deepagents-with-a-longterm-memory-like-postgres/2551)

<div class="topic-metadata">

**Author:** [@Yellowflash2791](https://forum.langchain.com/u/Yellowflash2791)\
**Replies:** 1\
**Last updated:** [December 20, 2025, 4:04pm UTC](https://forum.langchain.com/t/has-anyone-implemented-deepagents-with-a-longterm-memory-like-postgres/2551 "2025-12-20T16:04:43Z")

</div>

This is the code below i’m currently running: I dont see any entries in the postgres db import os from deepagents import create\_deep\_agent from deepagents.backends import CompositeBackend, StateBackend, StoreBackend f…

---

## [How to Prune Old Messages and Blobs with PostgresSaver to Manage Database Size? Hi team, I have a question regarding the intended usage of PostgresSaver in LangGraph, specifically around managing the size of the checkpointing database when implementing st](https://forum.langchain.com/t/how-to-prune-old-messages-and-blobs-with-postgressaver-to-manage-database-size-hi-team-i-have-a-question-regarding-the-intended-usage-of-postgressaver-in-langgraph-specifically-around-managing-the-size-of-the-checkpointing-database-when-implementing-st/1598)

<div class="topic-metadata">

**Author:** [@pwli0755](https://forum.langchain.com/u/pwli0755)\
**Replies:** 3\
**Last updated:** [December 19, 2025, 6:47pm UTC](https://forum.langchain.com/t/how-to-prune-old-messages-and-blobs-with-postgressaver-to-manage-database-size-hi-team-i-have-a-question-regarding-the-intended-usage-of-postgressaver-in-langgraph-specifically-around-managing-the-size-of-the-checkpointing-database-when-implementing-st/1598 "2025-12-19T18:47:51Z")

</div>

I’m looking for a reliable method to permanently prune older parts of the state from my PostgreSQL database. This seems like a common requirement for long-running, stateful applications, and I would appreciate any offici…

---

## [Vector-migrations for changed embeddings for long-running agents](https://forum.langchain.com/t/vector-migrations-for-changed-embeddings-for-long-running-agents/2537)

<div class="topic-metadata">

**Author:** [@philipp](https://forum.langchain.com/u/philipp)\
**Replies:** 0\
**Last updated:** [December 17, 2025, 9:22am UTC](https://forum.langchain.com/t/vector-migrations-for-changed-embeddings-for-long-running-agents/2537 "2025-12-17T09:22:47Z")

</div>

i got an agent as a fast-api-server using the langgraph postgres backend. I changed the embedding model and its dimensions, now i get errors… I looked in the code of PostgresBaseStore and the Migrations and i see no migr…

---

## [Jinja prompt template](https://forum.langchain.com/t/jinja-prompt-template/2381)

<div class="topic-metadata">

**Author:** [@solomontessema](https://forum.langchain.com/u/solomontessema)\
**Replies:** 1\
**Last updated:** [November 30, 2025, 11:51am UTC](https://forum.langchain.com/t/jinja-prompt-template/2381 "2025-11-30T11:51:54Z")

</div>

Hi all, I was trying to create a branching prompt template. But for some reason, I could not make it work. I would be very grateful if someone could tell me why it is wrong. from langchain\_openai import ChatOpenAI from …

---

## [WinError 10013 when running langgraph dev](https://forum.langchain.com/t/winerror-10013-when-running-langgraph-dev/2255)

<div class="topic-metadata">

**Author:** [@septemberlemon](https://forum.langchain.com/u/septemberlemon)\
**Replies:** 2\
**Last updated:** [November 24, 2025, 3:59am UTC](https://forum.langchain.com/t/winerror-10013-when-running-langgraph-dev/2255 "2025-11-24T03:59:58Z")

</div>

I’m trying start a local server as the official doc, and after I running langgraph dev, an error appeared like: (.venv) PS D:\\Code\\langchain\\agent\\app\> langgraph dev INFO:langgraph\_api.cli: Welcome to ╦ ┌─┐┌┐…

---

## [Migrating to Langchain V1](https://forum.langchain.com/t/migrating-to-langchain-v1/2218)

<div class="topic-metadata">

**Author:** [@Fir121](https://forum.langchain.com/u/Fir121)\
**Replies:** 2\
**Last updated:** [November 18, 2025, 4:12pm UTC](https://forum.langchain.com/t/migrating-to-langchain-v1/2218 "2025-11-18T16:12:01Z")

</div>

Hi All! Was looking into langchain V1 in comparison with a current codebase (application is self hosted on azure been in production for a year now) I maintain (was on langchain 0.3.X) . Our main agent is a create\_openai…

---

## [Can't add custom route in langgraph-api deployment](https://forum.langchain.com/t/cant-add-custom-route-in-langgraph-api-deployment/1625)

<div class="topic-metadata">

**Author:** [@li199-code](https://forum.langchain.com/u/li199-code)\
**Replies:** 4\
**Last updated:** [November 11, 2025, 4:58pm UTC](https://forum.langchain.com/t/cant-add-custom-route-in-langgraph-api-deployment/1625 "2025-11-11T16:58:41Z")

</div>

my langgraph.json: { "node\_version": "20", "dependencies": \["."\], "graphs": { "agent": "./chatbi\_agent.ts:deepResearcher" }, "env": ".env", "http": { "app": "./app.ts:app" } } The custom routes in…

---

## [Behaviour of checkpointer with create\_agent and subagents](https://forum.langchain.com/t/behaviour-of-checkpointer-with-create-agent-and-subagents/2165)

<div class="topic-metadata">

**Author:** [@rhlarora84](https://forum.langchain.com/u/rhlarora84)\
**Replies:** 0\
**Last updated:** [November 11, 2025, 3:38am UTC](https://forum.langchain.com/t/behaviour-of-checkpointer-with-create-agent-and-subagents/2165 "2025-11-11T03:38:28Z")

</div>

Please take a look at this example (example taken from another thread from this forum). Has a Supervisor Agent which has 2 tools , and each tool has an agent Scenario 1: InMemorySaver checkpointer defined on Supervi…

---

## [Version 1.0.2 runs slower than version 0.6.7](https://forum.langchain.com/t/version-1-0-2-runs-slower-than-version-0-6-7/2043)

<div class="topic-metadata">

**Author:** [@lorerave85](https://forum.langchain.com/u/lorerave85)\
**Replies:** 4\
**Last updated:** [November 9, 2025, 8:42pm UTC](https://forum.langchain.com/t/version-1-0-2-runs-slower-than-version-0-6-7/2043 "2025-11-09T20:42:28Z")

</div>

I upgraded my Langgraph-based multiagent from version 0.6.7 to 1.0.2. This multiagent works like a chatbot, and I can easily ask the same question multiple times. Comparing the agent’s resolution times for the same que…

---

## [Feedback request: LangGraph + Laravel workflow to auto-fill form fields from a PDF diagram](https://forum.langchain.com/t/feedback-request-langgraph-laravel-workflow-to-auto-fill-form-fields-from-a-pdf-diagram/2029)

<div class="topic-metadata">

**Author:** [@PabloBotinGP](https://forum.langchain.com/u/PabloBotinGP)\
**Replies:** 0\
**Last updated:** [October 30, 2025, 11:09pm UTC](https://forum.langchain.com/t/feedback-request-langgraph-laravel-workflow-to-auto-fill-form-fields-from-a-pdf-diagram/2029 "2025-10-30T23:09:04Z")

</div>

Context I’m building an AI plugin to autofill fields from a web form. When clicked, we call an LLM pipeline that reads the user’s uploaded electric diagram (PDF) and suggests a value for that field. I’ve attached a of …

---

## [Migrating from AsyncShallowPostgresSaver](https://forum.langchain.com/t/migrating-from-asyncshallowpostgressaver/1634)

<div class="topic-metadata">

**Author:** [@kapis](https://forum.langchain.com/u/kapis)\
**Replies:** 5\
**Last updated:** [October 30, 2025, 2:08pm UTC](https://forum.langchain.com/t/migrating-from-asyncshallowpostgressaver/1634 "2025-10-30T14:08:26Z")

</div>

Hi, as far as I can see, the AsyncShallowPostgresSaver will be depretiated in the future versions, with a recommendations to: \>“Use AsyncPostgresSaver instead, and invoke the graph with await graph.ainvoke(..., durabili…

---

## [Can we resume from the checkpoint and continue running at the interruption point instead of starting from the first node?](https://forum.langchain.com/t/can-we-resume-from-the-checkpoint-and-continue-running-at-the-interruption-point-instead-of-starting-from-the-first-node/1240)

<div class="topic-metadata">

**Author:** [@chgjin](https://forum.langchain.com/u/chgjin)\
**Replies:** 5\
**Last updated:** [October 29, 2025, 8:47pm UTC](https://forum.langchain.com/t/can-we-resume-from-the-checkpoint-and-continue-running-at-the-interruption-point-instead-of-starting-from-the-first-node/1240 "2025-10-29T20:47:57Z")

</div>

My graph is: A → B → C → D → E ⬆️ error in C my code snippets global task async with AsyncSqliteSaver.from\_conn\_string("checkpoints.db") as memory: checkpoint\_tuple =await memo…

---

## [Local server setup failed](https://forum.langchain.com/t/local-server-setup-failed/1997)

<div class="topic-metadata">

**Author:** [@Charonxin](https://forum.langchain.com/u/Charonxin)\
**Replies:** 0\
**Last updated:** [October 29, 2025, 8:18am UTC](https://forum.langchain.com/t/local-server-setup-failed/1997 "2025-10-29T08:18:57Z")

</div>

I’m new here, following the article: Run a local server - Docs by LangChain to set up a develop environment. But when i ran \`langgraph dev\`, it occurred some error as belows. ➜ agent-test source .venv/bin/activate (.v…

---

## [Can i deploy a langgraph agent myself on a VPS or AWS?](https://forum.langchain.com/t/can-i-deploy-a-langgraph-agent-myself-on-a-vps-or-aws/1950)

<div class="topic-metadata">

**Author:** [@lokeswaran-aj](https://forum.langchain.com/u/lokeswaran-aj)\
**Replies:** 2\
**Last updated:** [October 27, 2025, 4:36pm UTC](https://forum.langchain.com/t/can-i-deploy-a-langgraph-agent-myself-on-a-vps-or-aws/1950 "2025-10-27T16:36:37Z")

</div>

Can someone share a GitHub repo link where they have used Langgraph agents with FastAPI and built it with a web app where it streams the AI response with Vercel’s AI SDK or something?

[Previous page](https://forum.langchain.com/tag/self-hosted/1.md?match_all_tags=true&page=1&tags%5B%5D=self-hosted)

[Next page](https://forum.langchain.com/tag/self-hosted/1.md?match_all_tags=true&page=3&tags%5B%5D=self-hosted)
