-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.env.example
More file actions
87 lines (69 loc) · 3.26 KB
/
.env.example
File metadata and controls
87 lines (69 loc) · 3.26 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
# Aegis Memory Environment Configuration
# Copy this file to .env and fill in your values
# =============================================================================
# Required: OpenAI API Key for embeddings
# =============================================================================
OPENAI_API_KEY=sk-your-openai-api-key-here
# =============================================================================
# Required: Aegis API Authentication
# =============================================================================
AEGIS_API_KEY=your-secure-api-key-here
# =============================================================================
# Database Configuration
# =============================================================================
POSTGRES_PASSWORD=your-secure-db-password
# Optional: Connection pool settings
# DB_POOL_SIZE=20
# DB_MAX_OVERFLOW=10
# =============================================================================
# Optional: OpenAI Model Configuration
# =============================================================================
# OPENAI_EMBED_MODEL=text-embedding-3-small
# EMBEDDING_DIMENSIONS=1536
# OPENAI_CHAT_MODEL=gpt-4o-mini
# =============================================================================
# Optional: Rate Limiting
# =============================================================================
# RATE_LIMIT_PER_MINUTE=60
# RATE_LIMIT_PER_HOUR=1000
# RATE_LIMIT_BURST=10
# =============================================================================
# Optional: Redis for distributed rate limiting
# =============================================================================
# REDIS_URL=redis://redis:6379
# =============================================================================
# Optional: CORS
# =============================================================================
# Use explicit origins in production when sending Authorization/cookies.
# CORS_ORIGINS=https://app.example.com,https://admin.example.com
# Use wildcard only for public, non-credential APIs.
# CORS_ORIGINS=*
# =============================================================================
# Content Security (v2.0.0)
# =============================================================================
# HMAC signing key for memory integrity (falls back to AEGIS_API_KEY)
# AEGIS_INTEGRITY_KEY=your-integrity-signing-key
# Content length limit (default: 50000)
# CONTENT_MAX_LENGTH=50000
# Metadata nesting depth limit (default: 5)
# METADATA_MAX_DEPTH=5
# Metadata max keys (default: 50)
# METADATA_MAX_KEYS=50
# Content policy actions: reject | redact | flag | allow
# CONTENT_POLICY_PII=flag
# CONTENT_POLICY_SECRETS=reject
# CONTENT_POLICY_INJECTION=flag
# HMAC integrity signing on store/verify (default: true)
# ENABLE_INTEGRITY_CHECK=true
# Per-agent rate limiting (default: 30/min, 500/hr)
# PER_AGENT_RATE_LIMIT_PER_MINUTE=30
# PER_AGENT_RATE_LIMIT_PER_HOUR=500
# Max memories per agent per project (default: 10000)
# AGENT_MEMORY_LIMIT=10000
# Enable trust level enforcement (default: false)
# ENABLE_TRUST_LEVELS=false
# =============================================================================
# Dashboard Configuration
# =============================================================================
# AEGIS_API_URL=http://aegis:8000
# REFRESH_INTERVAL=5