Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ HARNESS_PROVIDER=aforge
# AForge headless command the SDK runs: `exec` (default) or `do`.
# Read by agentfield>=0.1.130; any other value fails the harness call.
AGENTFIELD_AFORGE_COMMAND=exec
HARNESS_MODEL=openrouter/moonshotai/kimi-k2.5
AI_MODEL=openrouter/moonshotai/kimi-k2.5
HARNESS_MODEL=deepseek/deepseek-v4-flash-0731
AI_MODEL=deepseek/deepseek-v4-flash-0731
# SEC_AF_AFORGE_BIN=/absolute/path/to/aforge

# Build-time only: where `docker compose build` fetches the AForge CLI from.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -493,8 +493,8 @@ jobs:
|---|---|---|---|
| `AGENTFIELD_SERVER` | Yes | `http://localhost:8080` | Control plane URL |
| `OPENROUTER_API_KEY` | Yes | - | LLM provider credential |
| `HARNESS_MODEL` | No | `moonshotai/kimi-k2.5` | Model for deep `.harness()` analysis |
| `AI_MODEL` | No | `moonshotai/kimi-k2.5` | Model for fast `.ai()` gates and verdicts |
| `HARNESS_MODEL` | No | `deepseek/deepseek-v4-flash-0731` | Model for deep `.harness()` analysis |
| `AI_MODEL` | No | `deepseek/deepseek-v4-flash-0731` | Model for fast `.ai()` gates and verdicts |
| `SEC_AF_MAX_TURNS` | No | `50` | Max harness turns per call |
| `AGENTFIELD_API_KEY` | No | unset | API key for secured environments |
| `SEC_AF_WORKSPACES_DIR` | No | `/workspaces` | Directory for cloned repos (falls back to `~/.sec-af/workspaces` if not writable) |
Expand Down
4 changes: 2 additions & 2 deletions agentfield-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ user_environment:
description: Optional path to the AForge binary (defaults to aforge on PATH)
- name: HARNESS_MODEL
description: Model the harness uses
default: openrouter/moonshotai/kimi-k2.5
default: deepseek/deepseek-v4-flash-0731
- name: AI_MODEL
description: Model for direct AI calls
default: openrouter/moonshotai/kimi-k2.5
default: deepseek/deepseek-v4-flash-0731
- name: SEC_AF_WORKSPACES_DIR
description: Directory where repos to scan are cloned (falls back to ~/.sec-af/workspaces if not writable)
default: /workspaces
4 changes: 2 additions & 2 deletions docker-compose.go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ services:
- AGENT_CALLBACK_URL=http://sec-af-go:8013
- HARNESS_PROVIDER=${HARNESS_PROVIDER:-aforge}
- AGENTFIELD_AFORGE_COMMAND=${AGENTFIELD_AFORGE_COMMAND:-exec}
- HARNESS_MODEL=${HARNESS_MODEL:-openrouter/moonshotai/kimi-k2.5}
- AI_MODEL=${AI_MODEL:-openrouter/moonshotai/kimi-k2.5}
- HARNESS_MODEL=${HARNESS_MODEL:-deepseek/deepseek-v4-flash-0731}
- AI_MODEL=${AI_MODEL:-deepseek/deepseek-v4-flash-0731}
# SEC_AF_AFORGE_BIN is deliberately NOT forwarded, exactly as the Python
# sec-af service does not forward it (docker-compose.yml). Compose loads
# the repo-root .env for BOTH stacks and .env.example documents
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ services:
- AGENT_CALLBACK_URL=http://sec-af:8003
- HARNESS_PROVIDER=${HARNESS_PROVIDER:-aforge}
- AGENTFIELD_AFORGE_COMMAND=${AGENTFIELD_AFORGE_COMMAND:-exec}
- HARNESS_MODEL=${HARNESS_MODEL:-openrouter/moonshotai/kimi-k2.5}
- AI_MODEL=${AI_MODEL:-openrouter/moonshotai/kimi-k2.5}
- HARNESS_MODEL=${HARNESS_MODEL:-deepseek/deepseek-v4-flash-0731}
- AI_MODEL=${AI_MODEL:-deepseek/deepseek-v4-flash-0731}
- OPENROUTER_API_KEY=${OPENROUTER_API_KEY}
volumes:
- workspaces:/workspaces
Expand Down
2 changes: 1 addition & 1 deletion go/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ mirrors the Python node's corresponding artifact):
| --- | --- | --- |
| Code (`internal/config`, `src/sec_af/config.py`) | `minimax/minimax-m2.5` | Bare slug; the fallback when nothing is set. |
| Docker image (`go/Dockerfile`, root `Dockerfile`) | `openrouter/minimax/minimax-m2.5` | Same model, `openrouter/`-prefixed for the harness router. |
| Compose, `.env.example`, `agentfield-package.yaml` | `openrouter/moonshotai/kimi-k2.5` | A different model — the one an installed or composed node runs. |
| Compose, `.env.example`, `agentfield-package.yaml` | `deepseek/deepseek-v4-flash-0731` | A different model — the one an installed or composed node runs. |

`SEC_AF_MODEL` / `SEC_AF_AI_MODEL` win over `HARNESS_MODEL` / `AI_MODEL`, and
either env var wins over every default above.
Expand Down
4 changes: 2 additions & 2 deletions go/agentfield-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ user_environment:
description: Optional path to the AForge binary (defaults to aforge on PATH)
- name: HARNESS_MODEL
description: Model the harness uses
default: openrouter/moonshotai/kimi-k2.5
default: deepseek/deepseek-v4-flash-0731
- name: AI_MODEL
description: Model for direct AI calls
default: openrouter/moonshotai/kimi-k2.5
default: deepseek/deepseek-v4-flash-0731
- name: SEC_AF_WORKSPACES_DIR
description: Directory where repos to scan are cloned (falls back to ~/.sec-af/workspaces if not writable)
default: /workspaces
Loading