I’m working with LangGraph and have completed my app. Now, I’m trying to deploy it without using any of the services listed below. This is just a prototype to demonstrate LangGraph’s capabilities, and I don’t want to send data back and forth to external services. Is this possible?
-
LANGSMITH_API_KEY
: LangSmith API key.
-
LANGGRAPH_CLOUD_LICENSE_KEY
: (if using Enterprise) LangGraph Platform license key. This will be used to authenticate ONCE at server start up.
-
LANGSMITH_ENDPOINT
: To send traces to a self-hosted LangSmith instance, set LANGSMITH_ENDPOINT
to the hostname of the self-hosted LangSmith instance.
-
Egress to https://beacon.langchain.com
from your network. This is required for license verification and usage reporting if not running in air-gapped mode. See the Egress documentation for more details.
Locally, you can use langgraph dev to spin up LangGraph Studio. You’ll be able to send requests to the API spun up, just like with the full deployment.
Given that this is a prototype, if it needed to be accessible externally, you could also use something like ngrok for experimentation
we have done that for one of our project use case to demonstrate the capability of multi-agent design pattern. We have developed an Express app and use LangGraphJS to build our agents. Deployed the express app in an internal nodejs container.
It is not possible to deploy LangGraph api without getting any subscription.. I saw some video where they created a server.js file and use some middle where after the all the LangGraph api expose similar to the langgraph dev and they used fast api… like this https://youtu.be/d3uoLbfBPkw?si=MEVnUxXSayKWsisf?20:40