mirror of
https://github.com/langchain-ai/react-agent-js.git
synced 2026-07-01 20:14:02 -04:00
33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
# LangChain Agent Environment Variables
|
|
# Copy this file to .env and fill in your API keys
|
|
|
|
# ============================================
|
|
# Model Provider API Keys (at least one required)
|
|
# ============================================
|
|
|
|
# Anthropic API Key (for Claude models)
|
|
# Get your key at: https://console.anthropic.com/
|
|
ANTHROPIC_API_KEY=your-anthropic-api-key-here
|
|
|
|
# OpenAI API Key (for GPT models)
|
|
# Get your key at: https://platform.openai.com/api-keys
|
|
OPENAI_API_KEY=your-openai-api-key-here
|
|
|
|
# ============================================
|
|
# Optional: LangSmith for Tracing & Debugging
|
|
# ============================================
|
|
|
|
# Enable LangSmith tracing (recommended for development)
|
|
# Sign up at: https://smith.langchain.com/
|
|
LANGSMITH_API_KEY=your-langsmith-api-key-here
|
|
LANGSMITH_TRACING=true
|
|
LANGSMITH_PROJECT=langchain-agent-starter
|
|
|
|
# ============================================
|
|
# Optional: Additional Tool API Keys
|
|
# ============================================
|
|
|
|
# Tavily API Key (for web search tool)
|
|
# Get your key at: https://app.tavily.com/
|
|
# TAVILY_API_KEY=your-tavily-api-key-here
|