Skip to content
项目

关于

A minimal autonomous agent runtime with a tool registry, step cap, and transcript.

人工智能与机器学习

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

agent-runner

CI License: GPL-2.0-or-later

Point it at an issue or a pull request. It works, runs the repo's own gates, and leaves something a maintainer can review, plus a run record of what it did.

Status: early. The loop, the tool registry and the command runner work. The worker is specified and mostly unbuilt. dev and resolve parse flags and print a plan (the planner is a deterministic mock, so no model is called yet). Do not aim this at someone else's repository.

What it is meant to become is in PRD.md. That file is the source of truth for behaviour; this one is a signpost.

Layout

Plain Go layout, nothing invented:

cmd/agent-runner/     the binary
internal/agent/       the loop: plan, act, observe, reflect
internal/tools/       tool registry and the argv-only command runner
internal/policy/      what a tool may do
internal/report/      plans and run reports

Everything sits under internal/ because the design still moves and there is no API to keep compatible.

Build and test

go build -o agent-runner ./cmd/agent-runner
./agent-runner run "List the files in this project"
go test -race ./...

The default entry point runs offline against the mock planner, so a run is reproducible without a key.

CI runs these three:

test -z "$(gofmt -l .)" && go vet ./... && go test -race ./...

Contributing

Humans and automated agents both. No CLA; commits carry a DCO sign-off (git commit -s).

Keep changes small, and open an issue before writing code unless the fix is one obvious line. CONTRIBUTING.md has the details, and AGENTS.md is the same contract written for coding agents.

Licence

GPL-2.0-or-later. See LICENSE.

探索相关项目

加载中…