1+ # Symbiont OSS Environment Configuration
2+ # Copy this file to .env and replace with actual values
3+
4+ # ==============================================================================
5+ # API KEYS (REQUIRED)
6+ # ==============================================================================
7+
8+ # OpenRouter API Key - Get from https://openrouter.ai/keys
9+ OPENROUTER_API_KEY = your_openrouter_api_key_here
10+
11+ # OpenAI API Key - Required for RAG functionality (leave empty if using local models)
12+ OPENAI_API_KEY = your_openai_api_key_here
13+
14+ # OpenAI API Base URL - Use for OpenAI-compatible endpoints like Ollama
15+ # Examples:
16+ # OpenAI: https://api.openai.com/v1
17+ # Ollama: http://localhost:11434/v1
18+ # LocalAI: http://localhost:8080/v1
19+ OPENAI_API_BASE_URL = https://api.openai.com/v1
20+
21+ # ==============================================================================
22+ # LLM & EMBEDDING MODEL CONFIGURATION
23+ # ==============================================================================
24+
25+ # Chat model for general AI operations
26+ # Examples:
27+ # OpenAI: gpt-4, gpt-3.5-turbo
28+ # Ollama: llama2, codellama, mistral
29+ # LocalAI: your-model-name
30+ CHAT_MODEL = gpt-3.5-turbo
31+
32+ # Embedding model for RAG functionality
33+ # Examples:
34+ # OpenAI: text-embedding-ada-002, text-embedding-3-small
35+ # Ollama: nomic-embed-text, all-minilm
36+ # LocalAI: your-embedding-model
37+ EMBEDDING_MODEL = text-embedding-ada-002
38+
39+ # Embedding API Base URL (can be different from chat API)
40+ # Leave empty to use same as OPENAI_API_BASE_URL
41+ EMBEDDING_API_BASE_URL =
42+
43+ # Embedding API Key (can be different from OpenAI API key)
44+ # Leave empty to use OPENAI_API_KEY
45+ EMBEDDING_API_KEY =
46+
47+ # ==============================================================================
48+ # DATABASE CONFIGURATION
49+ # ==============================================================================
50+
51+ # PostgreSQL connection string for main database
52+ DATABASE_URL = postgresql://symbiont:password@localhost:5432/symbiont
53+
54+ # Redis connection string for caching and session management
55+ REDIS_URL = redis://localhost:6379
56+
57+ # Qdrant vector database URL for RAG functionality
58+ QDRANT_URL = http://localhost:6333
59+
60+ # ==============================================================================
61+ # APPLICATION CONFIGURATION
62+ # ==============================================================================
63+
64+ # Logging level: error, warn, info, debug, trace
65+ LOG_LEVEL = info
66+
67+ # API server port
68+ API_PORT = 8080
69+
70+ # Application environment: development, staging, production
71+ ENVIRONMENT = development
72+
73+ # ==============================================================================
74+ # STORAGE PATHS
75+ # ==============================================================================
76+
77+ # Directory for agent context and knowledge storage
78+ CONTEXT_STORAGE_PATH = ./agent_storage
79+
80+ # Git repository clone base path
81+ GIT_CLONE_BASE_PATH = ./temp_repos
82+
83+ # Backup directory for workflow operations
84+ BACKUP_DIRECTORY = ./backups
85+
86+ # ==============================================================================
87+ # OPTIONAL CONFIGURATION OVERRIDES
88+ # ==============================================================================
89+
90+ # Qdrant collection name for vector storage
91+ QDRANT_COLLECTION_NAME = agent_knowledge
92+
93+ # Vector dimension for embeddings (typically 1536 for OpenAI)
94+ VECTOR_DIMENSION = 1536
95+
96+ # Maximum context size in MB
97+ MAX_CONTEXT_SIZE_MB = 100
98+
99+ # API request timeout in seconds
100+ API_TIMEOUT_SECONDS = 60
101+
102+ # Maximum tokens for AI responses
103+ MAX_TOKENS = 4000
104+
105+ # AI model temperature (0.0-1.0)
106+ TEMPERATURE = 0.1
107+
108+ # Default AI model for OpenRouter
109+ OPENROUTER_MODEL = anthropic/claude-3.5-sonnet
110+
111+ # Enable/disable basic features (true/false)
112+ ENABLE_COMPRESSION = true
113+ ENABLE_BACKUPS = true
114+ ENABLE_SAFETY_CHECKS = true
0 commit comments