-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathenv.example
More file actions
126 lines (99 loc) Β· 5.53 KB
/
env.example
File metadata and controls
126 lines (99 loc) Β· 5.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# =============================================================================
# AgentShip β Environment Configuration
# Copy this file to `.env` and fill in values. Lines starting with `#` are
# comments. Uncomment optional sections to enable them.
# =============================================================================
# -----------------------------------------------------------------------------
# Application Runtime
# -----------------------------------------------------------------------------
LOG_LEVEL=INFO
ENVIRONMENT=development
# -----------------------------------------------------------------------------
# Agent Discovery
# -----------------------------------------------------------------------------
# Comma-separated list of directories to scan for agents.
# For open-source-only deployments, narrow this to specific patterns, e.g.:
# src/all_agents/orchestrator_pattern,src/all_agents/single_agent_pattern,src/all_agents/tool_pattern
AGENT_DIRECTORIES=src/all_agents
# -----------------------------------------------------------------------------
# LLM Provider Keys (at least one required)
# -----------------------------------------------------------------------------
OPENAI_API_KEY=your-openai-api-key-here
ANTHROPIC_API_KEY=your-anthropic-api-key-here
GOOGLE_API_KEY=your-google-api-key-here
# GEMINI_API_KEY is an accepted alias for GOOGLE_API_KEY β either works.
# Optional providers β uncomment whichever block you need.
# --- Groq (fast cloud inference) --------------------------------------------
# GROQ_API_KEY=your-groq-api-key-here
# --- OpenRouter (unified API for many models β https://openrouter.ai) -------
# OPENROUTER_API_KEY=your-openrouter-api-key-here
# --- DeepSeek (DeepSeek V3 / R1) --------------------------------------------
# DEEPSEEK_API_KEY=your-deepseek-api-key-here
# --- Azure OpenAI (your own Azure-hosted GPT deployments) -------------------
# AZURE_API_KEY=your-azure-api-key-here
# AZURE_API_BASE=https://your-resource-name.openai.azure.com/
# AZURE_API_VERSION=2024-08-01-preview
# --- vLLM (self-hosted OpenAI-compatible server) ----------------------------
# VLLM_API_BASE=http://localhost:8000 # URL of your vLLM server
# VLLM_API_KEY=EMPTY # API key if your server requires auth
# -----------------------------------------------------------------------------
# Short-Term Memory (per-session conversation history)
# -----------------------------------------------------------------------------
# Storage backend for the LangGraph checkpointer / ADK session adapter.
# Values: Database | InMemory
AGENT_SHORT_TERM_MEMORY=Database
AGENT_SESSION_STORE_URI=postgresql://ai_agents_user:ai_agents_password@localhost:5432/ai_agents_session_store
# -----------------------------------------------------------------------------
# Long-Term Memory (cross-session recall, scoped by user_id)
# -----------------------------------------------------------------------------
# Spec: agent-ship/.spec-dev/agentship-long-term-memory/design.md
#
# Two layers of configuration:
# 1. Agent YAML β turns memory on and selects a backend. Example:
# memory:
# enabled: true
# backend: mem0_platform
# recall: { top_k: 6, threshold: 0.7 }
# write: { enabled: true, async: true }
#
# 2. Env vars (below) β connection details, model choices, secrets for
# the selected backend.
#
# Currently supported backend: mem0_platform (Mem0 hosted SaaS).
# Additional backends (Mem0 OSS, Vertex AI Memory Bank, native pgvector)
# will be added to this section as their adapters ship.
# --- mem0_platform (Mem0 hosted SaaS) --------------------------------------
# AGENT_LTM_MEM0_PLATFORM_API_KEY=your-mem0-api-key
# AGENT_LTM_MEM0_PLATFORM_API_URL= # optional; override for self-hosted Mem0
# -----------------------------------------------------------------------------
# Observability (Opik)
# -----------------------------------------------------------------------------
OBS_ENABLED=true
OPIK_API_KEY=your-api-key
OPIK_WORKSPACE=your-opik-workspace-name
OPIK_PROJECT_NAME=your-opik-project-name
OPIK_URL_OVERRIDE=https://www.comet.com/opik/api
# Debug logging
OPIK_FILE_LOGGING_LEVEL=DEBUG
OPIK_LOG_LEVEL=DEBUG
# -----------------------------------------------------------------------------
# Azure Storage (optional β used by PDF / document analysis agents)
# -----------------------------------------------------------------------------
AZURE_STORAGE_CONNECTION_STRING=
AZURE_STORAGE_ACCOUNT_NAME=your-azure-storage-account-name
AZURE_STORAGE_ACCOUNT_KEY=your-azure-storage-account-access-key
# -----------------------------------------------------------------------------
# Backend Service Integration (for tools that call back to the platform API)
# -----------------------------------------------------------------------------
# Local (no Docker): http://localhost:5001
# Docker: docker-compose.yml auto-overrides to host.docker.internal:5001
BACKEND_URL=http://localhost:5001
# Must match AI_BACKEND_COMMUNICATION_KEY in the backend's .env
AI_BACKEND_COMMUNICATION_KEY=your_ai_backend_communication_key_here
# -----------------------------------------------------------------------------
# Heroku Deployment
# -----------------------------------------------------------------------------
# Heroku app name (must be globally unique; leave empty for auto-generated).
APP_NAME=your-heroku-app-name
# PostgreSQL session-store add-on name (must be globally unique; leave empty for auto-generated).
SESSION_STORE_NAME=your-session-store-name