-
Notifications
You must be signed in to change notification settings - Fork 159
Expand file tree
/
Copy pathagentfield-package.yaml
More file actions
52 lines (49 loc) · 1.88 KB
/
Copy pathagentfield-package.yaml
File metadata and controls
52 lines (49 loc) · 1.88 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
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
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 either Claude (Anthropic) or open models via OpenRouter.
# Provide one. With only an OpenRouter key it auto-selects the open_code
# runtime and defaults to openrouter/deepseek/deepseek-v4-flash.
- 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
required:
# SWE-AF's core loop clones a repo, pushes a branch, and opens a pull
# request — all of which need GitHub write access. `gh`/`git` read this
# token for authentication (see prompts/github_pr.py). Required so setup
# prompts for it up front rather than failing partway through a build.
- name: GH_TOKEN
description: GitHub token (repo scope) for cloning repos and opening pull requests
type: secret
scope: global
optional:
- name: SWE_DEFAULT_MODEL
description: Override the model id for every role (e.g. openrouter/deepseek/deepseek-v4-flash)
- 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