-
Notifications
You must be signed in to change notification settings - Fork 166
Expand file tree
/
Copy pathagentfield-package.yaml
More file actions
78 lines (74 loc) · 3.24 KB
/
Copy pathagentfield-package.yaml
File metadata and controls
78 lines (74 loc) · 3.24 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
config_version: v1 # manifest schema version (omit = legacy v0)
name: swe-planner
version: 0.1.0
description: SWE planning/execution agent node (plans and executes software-engineering tasks)
author: Agent-Field
# The Go node in go/ is the maintained SWE node: same reasoners, same
# interface, one static binary, and it ships the coding engine. Installing this
# repo installs that instead — so `af install https://github.com/Agent-Field/SWE-AF`
# is the one thing a user has to know, before and after the switch.
#
# go/ declares this same name deliberately, so the switch is a replacement in
# place: same node id, same triggers, node-scoped secrets kept. Only one of the
# two can be installed at a time, which is the point.
#
# This manifest stays here as the redirect, so the Python node is still what
# `python -m swe_af` and the Docker images run. The redirect is a git-install
# behaviour only: to install this node deliberately, clone the repo and install
# the checkout as a local path.
superseded_by: https://github.com/Agent-Field/SWE-AF//go
entrypoint:
start: python -m swe_af
healthcheck: /health
agent_node:
node_id: swe-planner
default_port: 8003
user_environment:
require_one_of:
# SWE-AF runs on Claude-compatible APIs or open models via OpenCode.
# Provide one. With only an OpenRouter key it auto-selects the open_code
# runtime and defaults to openrouter/deepseek/deepseek-v4-flash-0731.
- id: llm_provider
description: an LLM provider key
options:
- name: ANTHROPIC_API_KEY
description: Anthropic API key (Claude)
type: secret
scope: global
- name: OPENROUTER_API_KEY
description: OpenRouter API key (DeepSeek/Qwen/Llama/… — 200+ models)
type: secret
scope: global
optional:
# `gh`/`git` read this token for authentication (see prompts/github_pr.py).
# Optional so an LLM key is the only secret needed to get started: builds
# on local/public repos run without it; it is needed to clone private
# repos, push branches, and open pull requests.
- name: GH_TOKEN
description: GitHub token (repo scope) — needed to clone private repos, push branches, and open pull requests
type: secret
scope: global
- name: MINIMAX_API_KEY
description: MiniMax API key; also set SWE_DEFAULT_RUNTIME and SWE_DEFAULT_MODEL
type: secret
scope: global
- name: ANTHROPIC_AUTH_TOKEN
description: Anthropic-compatible token; also set ANTHROPIC_BASE_URL and runtime/model overrides
type: secret
scope: global
- name: SWE_DEFAULT_RUNTIME
description: Coding runtime for every role (claude_code | open_code | codex)
- name: SWE_DEFAULT_MODEL
description: Override the model id for every role (e.g. openrouter/deepseek/deepseek-v4-flash-0731)
- name: ANTHROPIC_BASE_URL
description: Anthropic-compatible base URL for OpenCode or Claude Code
- name: AGENTFIELD_SERVER
description: Control-plane URL
default: http://localhost:8080
- name: AGENTFIELD_API_KEY
description: Control-plane API key (if auth is enabled)
type: secret
scope: global
- name: NODE_ID
description: Identity this node registers under
default: swe-planner