ai-agent-book 精选快照(<2MB 代码与文档,来自 github.com/bojieli/ai-agent-book)
Build latest book artifacts / build (push) Canceled after 0s
dependency resolution / resolve (3.11) (push) Canceled after 0s
dependency resolution / resolve (3.13) (push) Canceled after 0s
deploy-pages / build (push) Canceled after 0s
deploy-pages / deploy (push) Canceled after 0s
i18n consistency check / check (push) Canceled after 0s
provider adoption tests / test (chapter2/context-compression) (push) Canceled after 0s
provider adoption tests / test (chapter2/prompt-injection) (push) Canceled after 0s
provider adoption tests / test (chapter2/system-hint) (push) Canceled after 0s
provider adoption tests / test (chapter3/log-sanitization) (push) Canceled after 0s
web-search-agent tests / test (push) Canceled after 0s
web-search-agent tests / agentbook (push) Canceled after 0s

This commit is contained in:
2026-08-20 13:12:50 +00:00
commit b119135836
10275 changed files with 3284984 additions and 0 deletions
+62
View File
@@ -0,0 +1,62 @@
# GAIA Experience Learning System Environment Configuration
# Copy this file to .env and fill in your actual values
# ========================================
# LLM Configuration
# ========================================
# Provider: openai, anthropic, or custom
LLM_PROVIDER=openai
# Model name
LLM_MODEL_NAME=gpt-5.6
# API Key (required)
LLM_API_KEY=your_api_key_here
OPENAI_API_KEY=your_api_key_here
# Base URL (optional, for custom endpoints)
# LLM_BASE_URL=https://api.openai.com/v1
# 统一兜底:若上面 LLM_API_KEY / OPENAI_API_KEY 都缺失,但设置了 OPENROUTER_API_KEY
# 则自动改走 OpenRouter,并把模型名映射到 openai/gpt-5.6-luna 等(见 llm_env.resolve_llm)。
# OPENROUTER_API_KEY=your-openrouter-api-key
# Temperature for generation (0.0 - 1.0)
LLM_TEMPERATURE=0.0
# ========================================
# Dataset Configuration
# ========================================
# Path to GAIA dataset
GAIA_DATASET_PATH=./AWorld/examples/gaia/GAIA
# Workspace directory for logs and outputs
AWORLD_WORKSPACE=./workspace
# ========================================
# Experience Learning Configuration
# ========================================
# Path to store learned experiences
EXPERIENCE_DB_PATH=./experiences/learned_experiences.json
# Path to knowledge base index
KB_INDEX_PATH=./kb_index
# ========================================
# Optional: Alternative Model Providers
# ========================================
# For trajectory summarization (optional)
# SUMMARY_LLM_PROVIDER=openai
# SUMMARY_LLM_MODEL=gpt-4o-mini
# SUMMARY_LLM_API_KEY=your_api_key_here
# ========================================
# MCP Server Configuration (if using)
# ========================================
# MCP_SERVER_URL=http://localhost:4242
# MCP_SERVER_TOKEN=your_token_here