AI代理镜像 是 AI Skill Hub 本期精选Agent工作流之一。综合评分 8.0 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
AI代理镜像 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
AI代理镜像 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 克隆仓库 git clone https://github.com/nothingnesses/agent-images cd agent-images # 查看安装说明 cat README.md # 按 README 完成环境依赖安装后即可使用
# 查看帮助 agent-images --help # 基本运行 agent-images [options] <input> # 详细使用说明请查阅文档 # https://github.com/nothingnesses/agent-images
# agent-images 配置说明 # 查看配置选项 agent-images --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export AGENT_IMAGES_CONFIG="/path/to/config.yml"
Sandboxed OCI container images for AI coding agents, built reproducibly with Nix.
Consumes agent packages from llm-agents.nix and produces images usable with agent-box or standalone Podman/Docker.
llm-agents.nix (packages) -> agent-images (images) -> agent-box (orchestration)
nix search . ^
The default experimental features are nix-command and flakes. Override with nixExperimentalFeatures:
mkAgentImage {
name = "my-agent";
agent = my-agent-package;
entrypoint = [ "my-agent" ];
withNix = true;
nixExperimentalFeatures = [ "nix-command" "flakes" "pipe-operators" ];
};
All other dependencies (including agent packages from llm-agents.nix) are resolved automatically by the Nix flake. NixOS users should also follow the rootless Podman setup steps below.
macOS: Images are Linux-only. On macOS, specify the target system explicitly and ensure you have a Linux remote builder configured (e.g. via Docker Desktop or nix-darwin's linux-builder):
```bash nix build .#packages.x86_64-linux.<agent>
NixOS requires extra configuration for rootless Podman to work with these images. Add the following to your configuration.nix:
virtualisation = {
containers.enable = true;
podman = {
enable = true;
dockerCompat = true;
};
};
users.users.<USERNAME> = {
extraGroups = [ "podman" ];
subUidRanges = [{ startUid = 100000; count = 65536; }];
subGidRanges = [{ startGid = 100000; count = 65536; }];
};
Then rebuild: sudo nixos-rebuild switch
Note: The sudo commands and podman load/podman system reset commands below must be run from your own terminal. Sandboxed environments (such as AI coding agents running inside containers) cannot execute sudo or access /etc/subuid due to the "no new privileges" flag.
You also need a container trust policy. Create ~/.config/containers/policy.json:
{
"default": [{ "type": "insecureAcceptAnything" }]
}
```bash
Pass the API key for your chosen provider:
```bash
Create ~/.agent-box.toml:
```toml workspace_dir = "~/.local/agent-box/workspaces" base_repo_dir = "~/path/to/your/projects"
[runtime] backend = "podman"
direnv is not included by default but can be added via extraPackages:
mkAgentImage {
name = "my-agent";
agent = my-agent-package;
entrypoint = [ "my-agent" ];
withNix = true;
extraPackages = [ pkgs.direnv pkgs.nix-direnv ];
};
You will also need to wire up the shell hook. Add an extraEnv entry or configure .bashrc in the container's home directory to run eval "$(direnv hook bash)".
By default, images include a standard set of CLI tools (bash, coreutils, git, etc.). Pass basePackages to replace them entirely:
mkAgentImage {
name = "my-minimal-agent";
agent = my-agent-package;
entrypoint = [ "my-agent" ];
basePackages = with pkgs; [ bashInteractive coreutils git cacert ];
}
Corrupted storage after failed load. If podman load fails (e.g. because /etc/subuid was missing), Podman's storage may be corrupted. Fix with:
podman system reset --force
podman load < result
newuidmap: Too many levels of symbolic links. This happens when /etc/subuid is a symlink (e.g. from environment.etc entries). NixOS setuid wrappers cannot follow symlinks. Remove any environment.etc entries for subuid/subgid and rely solely on subUidRanges/subGidRanges, which create real files. Rebuild and then reset Podman storage.
提供可复现的AI编码代理容器镜像,提高工作流效率
该工具使用 BlueOak-1.0.0 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
📄 BlueOak-1.0.0 — 请查阅原始协议条款了解具体使用限制。
经综合评估,AI代理镜像 在Agent工作流赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | agent-images |
| 原始描述 | 开源AI工作流:Sandboxed OCI container images for AI coding agents, built reproducibly with Nix。⭐17 · Shell |
| Topics | aiagentcontainershell |
| GitHub | https://github.com/nothingnesses/agent-images |
| License | BlueOak-1.0.0 |
| 语言 | Shell |
收录时间:2026-06-21 · 更新时间:2026-06-21 · License:BlueOak-1.0.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端