mirror of
https://github.com/GH05TCREW/pentestagent.git
synced 2026-05-13 23:53:30 +00:00
48 lines
1.9 KiB
Plaintext
48 lines
1.9 KiB
Plaintext
# PentestAgent configuration — copy to .env and fill in your values.
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Model (required)
|
|
# Any LiteLLM-supported model string. Set at least one provider API key below.
|
|
#
|
|
# Examples:
|
|
# claude-sonnet-4-20250514 (Anthropic)
|
|
# gpt-5 (OpenAI)
|
|
# gemini/gemini-2.5-flash (Google — note the gemini/ prefix)
|
|
# ollama/qwen2.5:7b-instruct (local Ollama)
|
|
PENTESTAGENT_MODEL=gpt-5
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Provider API keys — set the one(s) you need
|
|
ANTHROPIC_API_KEY=
|
|
OPENAI_API_KEY=
|
|
GEMINI_API_KEY=
|
|
|
|
# Web search tool (optional — requires Tavily account)
|
|
TAVILY_API_KEY=
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Ollama (only needed when using an ollama/... model)
|
|
# OLLAMA_BASE_URL=http://127.0.0.1:11434
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Embeddings for the RAG knowledge base
|
|
# Options: openai, local
|
|
# Default: openai if OPENAI_API_KEY is set, otherwise local (sentence-transformers)
|
|
# PENTESTAGENT_EMBEDDINGS=local
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Token usage diagnostics (/token command)
|
|
# Pricing in USD per 1 million tokens — adjust to match your provider plan.
|
|
# INPUT_COST_PER_MILLION=3.00
|
|
# OUTPUT_COST_PER_MILLION=15.00
|
|
# COST_PER_MILLION=14.00 # unified override (replaces input/output above)
|
|
# DAILY_TOKEN_LIMIT=1000000 # soft daily cap shown in /token panel
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Agent limits (optional — defaults shown)
|
|
# PENTESTAGENT_AGENT_MAX_ITERATIONS=30
|
|
# PENTESTAGENT_ORCHESTRATOR_MAX_ITERATIONS=50
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Debug logging
|
|
# PENTESTAGENT_DEBUG=false |