Autonomous Forge 是一个由 AI 智能体在三天的实验中构建的开源 Python 工具,旨在实现安全的仓库维护,最终形成了一个预阿尔法阶段的人机协作安全框架,但主分支测试失败。

Stars

251

7 天增长

暂无数据

Fork 数

10

开放 Issue

3

开源协议

Apache-2.0

最近更新

2026-07-12

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

该实验展示了 AI 智能体将仓库从两个文件自主发展成一个具有完善测试、安全边界和工程记忆的结构化项目的能力,同时也暴露了在保持测试稳定性与生产就绪方面的关键缺陷。

适合谁使用

  • 研究自主开发的 AI 与软件工程研究人员
  • 对人机协作维护自动化感兴趣的软件工程师
  • AI 辅助工作流与 CI 管道的维护者
  • 评估仓库自动化安全框架的开发者

典型使用场景

  • 作为 AI 软件管理和自引用项目构建的案例研究
  • 人机协作维护门控与安全控制的参考实现
  • 构建更安全仓库自动化工具的起点
  • 实验证据打包、回放与保存设计时的测试平台

项目优势

  • 安全感知设计:包含路径与符号链接限制、显式确认门控、无遥测或 AI API 代码
  • 广泛的测试覆盖:614 个命名函数覆盖路径逃逸、哈希漂移、文件缺失等安全场景
  • 清晰的只读审查命令与副作用命令(写入、提交、推送)分离
  • 全面的证据与保存层:包含哈希链接的运行历史记录、打包、档案与验证

使用前须知

  • 未达到生产就绪:最终主分支有 82 个失败测试,GitHub Actions CI 在 Python 3.10–3.12 上失败
  • 缺少 lint、类型检查、覆盖率或发布工作流;无标签或发布;主分支未受保护
  • 安全性未完全端到端证明:证据来源不完全可信,部分命令确认后可能产生真实副作用

README 快速开始

Autonomous Forge

The three-day Autonomus AI experiment

Autonomous Forge is an open-source Python tool built and maintained by scheduled AI agents. The agents were given a GitHub repository and permission to decide what to build, how to structure it, and how to improve it.

This README documents what happened during the experiment.

Short result

The experiment was successful as a research test, but the project is not production-ready.

The AI grew a small repository into a large safety and maintenance framework. The code installs, compiles, and many individual commands work. However, the final main branch has failing tests. The latest GitHub Actions run failed on Python 3.10, 3.11, and 3.12.

The best description is:

A useful pre-alpha, human-in-the-loop safety framework — not a self-running AI engineer.

What the project does

Autonomous Forge is a local-first command-line tool. It helps a maintainer or AI-assisted workflow move through a controlled maintenance process:

flowchart LR
    A[Repository files] --> B[Plan and select a task]
    B --> C[Create a reviewable proposal]
    C --> D[Review paths, diffs, status, and risks]
    D --> E[Preview validation]
    E --> F[Optional confirmed change]
    F --> G[Commit and push checks]
    G --> H[Evidence bundle and replay]
    H --> I[Archive and preservation checks]
    D --> J[Human review]
    J --> F

The repository does not call an AI model. The external scheduler and AI agents supplied the autonomy. Forge supplies local planning, safety checks, side-effect gates, and evidence records.

What happened

The repository started with only a README and a license. By the final commit, it contained:

  • Total lines added across all Git history: 49,200
  • Total lines deleted across history: 11,616
  • Actual lines currently present: 37,584 lines
  • 283 tracked files.
  • 112 Python source files.
  • 90 Python test files.
  • 68 documentation files.
  • 6 .ai planning and memory files.
  • 1,486 commits by the same Git author.
  • 123 numbered AUTO-### task groups, reaching AUTO-140.
  • No runtime dependencies.

Commit activity

Local dateCommits
7 July 2026194
8 July 2026658
9 July 2026572
10 July 202661
xychart-beta
    title "Commits by local date"
    x-axis ["Jul 7", "Jul 8", "Jul 9", "Jul 10"]
    y-axis "commits" 0 --> 700

项目描述

This repo is automated and is fully AI-built and AI-maintained project that continuously plans, codes, tests, and improves itself.

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

lopopolo
精选
lopopolo GitHub avatar

harness-engineering

Harness Engineering is a methodology for improving coding agent outputs by carefully crafting the environment around them—providing curated context, tools, and executable constraints that encode an organization’s nonfunctional requirements and cumulative lessons.

AI 与机器学习AI 智能体
2,390
slvDev
精选
slvDev GitHub avatar

esp32-ai

A 28.9 million parameter language model runs on an $8 ESP32-S3 microcontroller entirely on-device, generating simple stories at about 9.5 tokens per second.

AI 与机器学习大语言模型
1,960
littledivy
精选
littledivy GitHub avatar

mimic

mimic captures traffic from any iOS or web app and automatically generates a Python client library that lets you call the app's API like a regular library.

AI 与机器学习
1,482