剑庭安
首页
黑客安全首页全部安全栏目 黑客技术黑客技术、渗透测试、漏洞利用工具与教程 安全软件安全工具、扫描器、检测与审计软件 病毒分析恶意软件分析、样本、逆向与沙箱 CTF思路CTF 题目、writeup、解题思路与工具 防护思路防御技术、加固、检测响应与蓝队 红蓝攻防红队攻击模拟、蓝队对抗、攻防演练 漏洞知识库漏洞、CVE、PoC、EXP 与安全研究
逆向|反编译
PHP源码PHP 网站源码、程序、系统 APP源码安卓/iOS APP 源码 ASP源码ASP 网站源码与程序 NET源码.NET 网站源码与系统 小程序源码微信/支付宝小程序源码 Dedecms风格模板Dedecms 织梦风格模板 Empirecms风格模板EmpireCMS 帝国风格模板 Discuz商业模板/插件Discuz 商业模板与插件 WordPress主题/插件WordPress 主题与插件 其它源码、模板其它各类源码与模板 游戏源码游戏源码与引擎项目 加密货币源码加密货币、区块链、钱包、USDT/比特币相关源码与工具 手游源码手机游戏源码、服务端、客户端与引擎项目 传奇源码热血传奇、传奇世界、复古传奇等客户端/服务端/引擎源码 页游源码网页游戏、H5 游戏、浏览器游戏源码 端游源码电脑单机游戏、PC 网游客户端/服务端源码
最新万能免驱动支持所有型号打印机下载程序 日历天气老黄历 · 每天同步真实日期与天气
站长工具站长工具 自助开通会员浏览该分类 其他资源qtziy SEO工具SEO工具 站群源码站群源码 泛程序泛程序 蜘蛛模板蜘蛛模板 蜘蛛池蜘蛛池 外链工具外链工具
搜索 自助开通会员🔓 破甲 API
登录 注册
首页 分类列表 防护思路 YamX - YamX ~ A terminal-fir…
YamX - YamX ~ A terminal-first AI agent that runs, fixes, 防护思路 点击放大
作者:admin 发布:2026-10-06

YamX - YamX ~ A terminal-first AI agent that runs, fixes,

项目说明YamXYamX (yamx) is a terminal coding agent. It starts with no model, runs local commands immediately, and when a model is connected it writes code…
资源可下载 免费下载 0 条讨论
会员资源
开通会员后即可下载全部资源。
登录后开通会员
会员方案
362浏览量
0讨论
2下载链接
可下载资源状态
内容可验证
更新 2026-10-06
人工审核发布
评论区答疑

YamX - YamX ~ A terminal-first AI agent that runs, fixes,

项目说明

YamX

YamX (yamx) is a terminal coding agent. It starts with no model, runs local commands immediately, and when a model is connected it writes code, edits files, debugs failures, and applies fixes from a local picture of the project.

1.0.30. Node.js 18+.

The prompt is >. A pixel YamX mark plays on startup, then a card shows the folder, local · offline (or the connected model), the session, and the .

Start

From this repository:

npm run dev starts without a separate build. npm link puts yamx on your PATH.

YamX opens even when no API key is set. The card reads local · offline. Shell lines such as git status run on this machine. On Windows, ip runs as ipconfig and ps runs as tasklist. Dangerous commands still ask before they run.

Connect a model with /connect or yamx --onboard. Enter the base URL, API key, and any model name for an OpenAI-compatible chat endpoint (usually a URL ending in /v1).

YamX stores those fields, plus optional extra headers, as pro.custom in ~/.yamx/config.json. Leave the API key blank later to keep the saved key.

Coding architecture

A write, fix, or debug turn reads the project from disk first. That brief is what the model and its sub-agents use. Greetings and bare shell lines do not take this path.

The brief always includes the absolute project path, working directory, OS, shell, package manager, the test / lint / build scripts that exist, git branch and dirty state, entry files, and any files named in the error you pasted.

If no model is connected, YamX saves the brief and asks you to /connect. The next coding turn sends that brief with the request. The model does not invent paths or commands that are not in the brief or a tool result.

Sub-agents:

| Role | What it does |
| --- | --- |
| explorer | Read, grep, and map the repo. Runs in parallel with other explorers and the re. |
| implementer | Reads, then edits with edit_file, multi_edit, patch_file, or write_file. |
| debugger | Reproduces the failure, edits, then reruns the same command. |
| re | Reads git status and git diff. Does not edit. |

Only one writer runs at a time, and it locks the paths it names. Each child returns a short report (files changed, commands, first error, whether passed). The parent does not redo those edits. /explore, /plan, /review, and /agent use the same runner.

After a real file edit, the same test or build command is allowed to run again. An unchanged rerun is skipped.

settings.subagents.maxParallel defaults to 3. settings.subagents.maxIterations defaults to 12.

Two binaries

| Binary | What it is |
| --- | --- |
| yamx | The coding REPL. Sessions, 33 tools, project brief, sub-agents, and any connected model. |
| ymax | The offline router. One local expert handles a command. No API key. |

In-session commands

| Command | |
| --- | --- |
| /help | List commands |
| /connect | Set base URL, API key, and model name |
| /model | Provider and model in use |
| /explore /plan /review | Read-only sub-agents |
| /agent <name> <task> | Run a built-in or custom sub-agent |
| /agents | List sub-agents |
| /scan [quick\|deep] | Offline project scan to .yamx/project-summary.md |
| /tools | List tools |
| /diff /status | Git diff and session snapshot |
| /undo | Revert the last file edits from this turn |
| /stop | Stop the current turn |
| /exit | Save and quit |

Custom sub-agents are markdown files in .yamx/agents/ or ~/.yamx/agents/.

Built-in tools (33)

  • Files: read_file, read_files, write_file, write_files, edit_file, list_files, search_files, delete_file

  • Edits and search: multi_edit, copy_file, mo, file_info, grep_search, directory_tree, patch_file, find_references

  • Shell: run_command, run_command_background, shell_diagnostics, task_list, task_tail, task_stop

  • Git: git_status, git_diff, git_commit, git_log, git_branch, git_stash

  • Web and intel: fetch_url, project_intel, codebase_analysis, log_inspect

  • Crew: delegate
  • Destructi and deletes still ask for approval.

    Connect

    /connect, yamx --onboard, and the web Settings → Model page use the same fields: base URL, API key, model name, and optional extra headers. They are stored as pro.custom.

    En o: YAMX_CUSTOM_BASE_URL, YAMX_CUSTOM_API_KEY, YAMX_CUSTOM_MODEL.

    A sa, OpenAI, or other named provider in an older config does not start. With no base URL, YamX stays offline.

    Configuration

    ~/.yamx/config.json holds pro and settings. Sessions live in ~/.yamx/sessions/. Project memory lives in .yamx/.

    Settings that matter for coding:

  • permissionMode — default, ask, read-only, or auto-safe

  • autoApprove, allowedShellCommands, deniedShellPatterns

  • subagents.enabled, subagents.maxParallel, subagents.maxIterations

  • preflightRuntimeProbes — local probes before install and diagnose turns

  • streamOutput, maxTokens, temperature

  • contextBudgetChars, maxToolResultChars, maxAssistantMarkdownChars
  • Remo data:

    Web UI

    The ser to loopback. --allow-dangerous permits risky commands from the browser. The page can chat, switch sessions, and set a model under Settings, Model.

    Useful routes: GET /api/state, GET /api/sessions, POST /api/chat, POST /api/command, GET /api/tools.

    CLI reference

  • -m, --model — model name sent to the sa

  • -t, --temperature

  • --max-tokens

  • --auto-approve

  • --no-stream

  • --new-chat, --resume <id>, --history, --clear-chat, --delete-chat <id>

  • --onboard, --reset-config, --diagnose
  • Subcommands: yamx config, yamx web.

    Develop

    On Windows, npm.cmd is the script runner if PowerShell blocks npm.

    Troubleshooting

    yamx is not on PATH: the npm global bin directory must be on PATH. Open a new terminal after install.

    No model yet: that is the normal start. Use /connect. Coding asks wait there until a model is connected. Shell lines still run.

    Curl setup rejected: the URL must be http or https and end in /v1 or /chat/completions.

    A command was rewritten badly: short names and shell keywords are not typo-fixed (ip stays a network command, not if). /fix previews a correction. /translate shows the nati for this OS.

    Build fails with EPERM on dist: another yamx or node dist/index.js still has those files open. Stop it, then build again.

    License

    ISC — Yamin

    项目信息

    开发语言:TypeScript

    Star 数:1

    技术要点

    该项目属于防护思路方向的开源资源,代码结构清晰,适合安全研究人员学习参考。项目围绕YamX ~ A terminal-first AI agent that runs, fixes, and automates coding, DevOps, networking, and defensive security tasks from the command line.展开,提供了可运行的实现,对理解相关安全机制、工具原理与攻防技术具有较高的研究价值。

    从技术实现角度看,此类项目的核心在于对底层原理的深入理解与工程化落地。开发者在研究过程中可以结合官方文档与社区讨论,梳理项目的初始化流程、核心模块职责与数据流转,逐步掌握其中的技术细节与设计思路。

    使用与学习建议

    1. 下载源码压缩包,解压到本地环境。

    2. 根据项目类型准备对应的运行环境与依赖。

    3. 按照 README 中的步骤完成配置与部署。

    4. 在隔离的测试环境中运行验证,避免影响生产系统。

    免责声明

    本资源来源于开源社区,仅供安全研究、技术学习与合法授权范围内的攻防演练使用,请勿用于任何非法或侵害他人权益的用途。使用本项目产生的一切后果由使用者自行承担。

    资源标题YamX - YamX ~ A terminal-first AI agent that runs, fixes,
    所属分类防护思路
    发布作者admin
    发布时间2026-10-06 00:30:57
    下载权限 免费下载
    附件数量2 个下载链接
    浏览次数362
    讨论数量0
    主题状态正常讨论中

    本资源免费,登录后即可在本页「下载链接」区域获取全部附件。

    请在评论区留言说明具体链接,或联系作者补档。楼主更新后本页会同步最新的下载地址。

    请先阅读正文中的授权说明;未注明的默认仅限站内学习交流,禁止直接搬运到其他站点二次售卖。
    还没有讨论,快来抢沙发~
    登录 后才能参与讨论
    下载链接
    会员才能下载
    登录后开通会员
    同分类推荐
    暂无同类资源
    免费登录即可下载
    查看会员
    放大预览

    © 2026 剑庭安 - 网站开发定制 SEO 优化蜘蛛池代做 在线看手相算命. 保留所有权利。

    Powered by 酷像SEOv3.0

    网站地图 Sitemap.xml
    首页 全部分类 黑客安全 逆向|反编译 精品源码 站长工具自助开通会员其他资源SEO工具站群源码泛程序蜘蛛模板蜘蛛池外链工具创意乐园 搜索 会员服务 登录 注册