Skip to content

Commit 68b0a90

Browse files
AbirAbbasclaude
andauthored
chore: add agentfield-package.yaml for af install (#83)
Declares this node's entrypoint, default port, and required/optional environment so it can be installed and started with `af install`/`af run` (see Agent-Field/agentfield#692). Secrets are prompted once and stored encrypted; nothing is committed in plaintext. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 8e79bc1 commit 68b0a90

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

‎agentfield-package.yaml‎

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: swe-planner
2+
version: 0.1.0
3+
description: SWE planning/execution agent node (plans and executes software-engineering tasks)
4+
author: Agent-Field
5+
6+
entrypoint:
7+
start: python -m swe_af
8+
healthcheck: /health
9+
10+
agent_node:
11+
node_id: swe-planner
12+
default_port: 8003
13+
14+
user_environment:
15+
required:
16+
- name: ANTHROPIC_API_KEY
17+
description: Anthropic API key used by the SWE harness
18+
type: secret
19+
scope: global
20+
optional:
21+
- name: AGENTFIELD_SERVER
22+
description: Control-plane URL
23+
default: http://localhost:8080
24+
- name: AGENTFIELD_API_KEY
25+
description: Control-plane API key (if auth is enabled)
26+
type: secret
27+
scope: global
28+
- name: GH_TOKEN
29+
description: GitHub token for cloning repos / opening PRs
30+
type: secret
31+
scope: global
32+
- name: NODE_ID
33+
description: Identity this node registers under
34+
default: swe-planner

0 commit comments

Comments
 (0)