.env
file in the root of your project and fill in the necessary API keys. We’ll need to set the LANGSMITH_API_KEY
environment variable to the API key you get from LangSmith.
.env
to version control systems such as Git!langgraph.json
:
create_agent()
automatically returns a compiled LangGraph graph that we can pass to the graphs
key in our configuration file.
localhost
connections to Studio. To work around this, run the above command with --tunnel
to access Studio via a secure tunnel.http://127.0.0.1:2024
) and the Studio UI https://smith.langchain.com/studio/?baseUrl=http://127.0.0.1:2024
: