.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
LANGSMITH_PROJECT
To separate your traces from other application
ANTHROPIC_API_KEY
secret
LLM choice:
FIREWORKS_API_KEY
secret
OPENAI_API_KEY
secret
ELASTICSEARCH_URL
Elastic cloud:
ELASTICSEARCH_API_KEY
secret
ELASTICSEARCH_URL
Elastic local:
ELASTICSEARCH_USER
ELASTICSEARCH_PASSWORD
secret
PINECONE_API_KEY
secret
Pinecone
PINECONE_INDEX_NAME
MONGODB_URI
secret
Mongo Atlas
brew install flyctl && fly launch --from https://github.com/langchain-ai/retrieval-agent-template
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/langchain-ai/retrieval-agent-template
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/langchain-ai/retrieval-agent-template