mirror of
https://github.com/proffesor-for-testing/agentic-qe.git
synced 2026-09-19 08:45:47 +08:00
94 lines
2.7 KiB
Bash
94 lines
2.7 KiB
Bash
# Agentic Flow Environment Configuration
|
|
# Copy this file to ~/.bashrc or source it in your shell
|
|
|
|
# ============================================
|
|
# API Keys (Required)
|
|
# ============================================
|
|
export ANTHROPIC_API_KEY="your-anthropic-key-here"
|
|
export OPENROUTER_API_KEY="your-openrouter-key-here"
|
|
|
|
# Optional: Google Gemini (if using Gemini provider)
|
|
# export GOOGLE_GEMINI_API_KEY="your-gemini-key-here"
|
|
|
|
# ============================================
|
|
# Multi-Model Router Configuration
|
|
# ============================================
|
|
|
|
# Force OpenRouter usage (default: false)
|
|
export USE_OPENROUTER=true
|
|
|
|
# Default model for OpenRouter
|
|
# Options:
|
|
# - deepseek/deepseek-chat-v3.1:free (best free coding model)
|
|
# - meta-llama/llama-3.3-8b-instruct:free (fast and versatile)
|
|
# - deepseek/deepseek-r1-0528:free (reasoning tasks)
|
|
# - openai/gpt-4-turbo (premium quality)
|
|
export COMPLETION_MODEL="deepseek/deepseek-chat-v3.1:free"
|
|
|
|
# ============================================
|
|
# QUIC Transport Configuration
|
|
# ============================================
|
|
|
|
# Default transport layer
|
|
# Options: quic, http2, auto
|
|
export AGENTIC_FLOW_TRANSPORT=quic
|
|
|
|
# QUIC server port
|
|
export QUIC_PORT=4433
|
|
|
|
# Optional: Custom TLS certificates for QUIC
|
|
# export QUIC_CERT_PATH="./certs/cert.pem"
|
|
# export QUIC_KEY_PATH="./certs/key.pem"
|
|
|
|
# ============================================
|
|
# Agent Booster (Model Optimization)
|
|
# ============================================
|
|
|
|
# Enable optimization by default
|
|
export AGENTIC_FLOW_OPTIMIZE=true
|
|
|
|
# Default optimization priority
|
|
# Options: quality, balanced, cost, speed, privacy
|
|
export AGENTIC_FLOW_PRIORITY=balanced
|
|
|
|
# Optional: Maximum cost per task (in dollars)
|
|
# export AGENTIC_FLOW_MAX_COST=0.001
|
|
|
|
# ============================================
|
|
# Additional Configuration
|
|
# ============================================
|
|
|
|
# Custom agents directory
|
|
# export AGENTS_DIR=".claude/agents"
|
|
|
|
# Proxy server port (for Claude Code integration)
|
|
# export PROXY_PORT=3000
|
|
|
|
# Default provider
|
|
# Options: anthropic, openrouter, gemini, onnx
|
|
export PROVIDER=openrouter
|
|
|
|
# ============================================
|
|
# Usage Examples
|
|
# ============================================
|
|
|
|
# After sourcing this file, you can use:
|
|
#
|
|
# 1. Basic agent with OpenRouter:
|
|
# agentic-flow --agent coder --task "Write hello world"
|
|
#
|
|
# 2. With optimization:
|
|
# agentic-flow --agent coder --task "Write API" --optimize
|
|
#
|
|
# 3. With QUIC transport:
|
|
# agentic-flow --agent coder --task "Write API" --transport quic
|
|
#
|
|
# 4. All features combined:
|
|
# agentic-flow --agent coder --task "Write API" --optimize --transport quic
|
|
#
|
|
# 5. Start QUIC server:
|
|
# agentic-flow quic --port 4433
|
|
#
|
|
# 6. Start proxy for Claude Code:
|
|
# agentic-flow proxy --provider openrouter
|