← 开源
strongdm

leash

Leash by StrongDM - take your AI agents for a walk

InfrastructureObservabilityMake world agent-readyGo
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
592
Star
46
Fork
+0
本周
7
贡献者
创建于 2025-10-21 · 更新于 2026-10-03 · 今日第 16428 名
主要开发者
jaytaylornavanchauhanjmccarthy

strongdm/leash 排名第 16,428,有 592 个星标。

同类别比较

strongdm/leash 排名第 16,428,此处有 8 个同类条目;thunder-id/thunderid 排名第 16,446。

同类别比较
名称排名指标
grimoire/mmdetection-to-tensorrt16,370
语言:
Python
星标数:
596
分叉数:
83
简介:
convert mmdetection model to tensorrt, support fp16, int8, batch input, dynamic shape etc.
lucienhuangfu/eLLM16,392
语言:
Rust
星标数:
595
分叉数:
56
简介:
eLLM: Run Long-Horizon Inference Faster on CPUs Than on GPUs
VictoriaMetrics/operator16,398
语言:
Go
星标数:
594
分叉数:
239
简介:
Kubernetes operator for Victoria Metrics
Trans-N-ai/swama16,407
语言:
Swift
星标数:
593
分叉数:
31
简介:
High-performance MLX-based LLM inference engine for macOS with native Swift implementation
thunder-id/thunderid16,446
语言:
Go
星标数:
591
分叉数:
394
简介:
ThunderID is a high-performance, open-source identity stack designed for developers to secure and manage access for humans, AI agents, and machines through fully composable identity flows.
gzzhongqi/geminicli2api16,457
语言:
Python
星标数:
590
分叉数:
627
keldenl/gpt-llama.cpp16,458
语言:
JavaScript
星标数:
590
分叉数:
66
简介:
A llama.cpp drop-in replacement for OpenAI's GPT endpoints, allowing GPT-powered apps to run off local llama.cpp models instead of OpenAI.
openxla/xprof16,460
语言:
C++
星标数:
590
分叉数:
100
简介:
A profiling and performance analysis tool for machine learning
关键参数与规格
关键参数与规格
参数值
语言Go
类别Infrastructure
子类别Observability,Make world agent-ready
关键词Agent sandbox, DevOps, Guardrails
星标数592
分叉数46
贡献者7
创建日期2025-10-21
更新日期2026-10-03
1 天星标数0
7 天星标数0
排名16,428
上次排名16,219
排名变化-209
7 天星标排名15,527
上次 7 天星标排名15,538
7 天星标排名变化11
总星标排名16,956
上次总星标排名16,933
总星标排名变化-23
国家USA
README 摘录

Leash Leash wraps AI coding agents in containers and monitors their activity. You define policies in Cedar; Leash enforces them instantly. Requirements Docker, Podman, or OrbStack macOS or Linux (WSL, too! ) Installation Recommended method is via npm: Alternative ways follow: Download the latest pre-built release binary from the releases page. or if you're on macOS: **macOS Note 1:** This installs a helper app that enables experimental native mode on macOS and also installs the leash formula. **macOS Note 2

:** If you download Leash from the releases page, you'll need to run after extracting it Refer to MACOS. md to learn more about the additional native macOS capabilities. Run your first Leash command AI agents , , , , and are shipped in the default image. On first use Leash will prompt to mount the host's coder-agent config directory (for example ) into the container. Choose whether to remember that decision globally, for the current project, or just this once; persistent choices are stored

at . Key Concepts **Full monitoring** captures every filesystem access and network connection initiated by the agent so Cedar policies and audit trails operate on complete telemetry. **Agent container** runs your command with the current directory bind-mounted, so tools see the same file tree they would on the host. **Leash container** monitors system calls, applies Cedar policies, and exposes the Control UI at (use to launch it automatically). **Mount prompts** remember whether to forward host agent credentials (see CONFIG. **Environment

forwarding** maps common API keys automatically: for , for , for , and for . MCP Integration Leash includes a Model Context Protocol (MCP) observer that inspects, records, and enforces MCP tool calls made by the agent. Requests flowing through supported MCP transports are correlated with filesystem and network telemetry, enabling Cedar policies to govern tool use alongside core runtime activity. Using Leash Images and Dependencies Keep the default image for a ready-to-run AI tooling environment. coder with project packages, then point

Leash at the new image. Reuse an existing project image by adding and configuring Leash to launch it. | | | , or flag | | | Target container base | | Auto-sanitized from the current directory when unset. | | Leash manager image | , | Override when testing custom manager builds. | | Cedar policy file | , | Mount a specific Cedar policy. | | Control UI bind address | , | Blank value binds to default 127. 1:18080 | | Extra bind mount | | Repeatable for multiple mounts. | | Environment variables | | Forwarded into both containers. | Run for a complete list of flags

and environment variables. Manual Volumes and Environment Variables Choose your own project-specific mounts and set additional environment variables as needed: Deep Dives Dive deeper with CEDAR. Troubleshooting & Next Steps Reset mount decisions or inspect config behavior with the tips in CONFIG. Explore the development process in DEVELOPMENT.

常见问题

记录了多少星标和分叉?

strongdm/leash 有 592 个星标和 46 个分叉。

仓库排名是多少?

strongdm/leash 排名第 16,428。

记录的语言和类别是什么?

strongdm/leash 有 592 个星标,语言为 Go,类别为 Infrastructure。

哪个仓库排名最接近?

strongdm/leash 与 thunder-id/thunderid 比较,后者排名第 16,446,有 591 个星标。

README

Leash

Leash wraps AI coding agents in containers and monitors their activity. You define policies in Cedar; Leash enforces them instantly.

Requirements

  • Docker, Podman, or OrbStack
  • macOS or Linux (WSL, too!)

Installation

Recommended method is via npm:

npm install -g @strongdm/leash

Alternative ways follow:

Download the latest pre-built release binary from the releases page.

or if you're on macOS:

brew tap strongdm/tap
brew install --cask leash-app

macOS Note 1: This installs a helper app that enables experimental native mode on macOS and also installs the leash formula.

macOS Note 2: If you download Leash from the releases page, you'll need to run xattr -d com.apple.quarantine leash after extracting it

Refer to MACOS.md to learn more about the additional native macOS capabilities.

Run your first Leash command

# Launch codex with the Control UI and pop open the web browser automatically
leash --open claude

leash --open codex

# Inspect available options
leash --help

AI agents claude, codex, gemini, qwen, and opencode are shipped in the default coder image.

On first use Leash will prompt to mount the host's coder-agent config directory (for example ~/.claude) into the container.

Choose whether to remember that decision globally, for the current project, or just this once; persistent choices are stored at ~/.config/leash/config.toml.

Key Concepts

  • Full monitoring captures every filesystem access and network connection initiated by the agent so Cedar policies and audit trails operate on complete telemetry.

  • Agent container runs your command with the current directory bind-mounted, so tools see the same file tree they would on the host.

  • Leash container monitors system calls, applies Cedar policies, and exposes the Control UI at http://localhost:18080 (use --open to launch it automatically).

  • Mount prompts remember whether to forward host agent credentials (see CONFIG.md).

  • Environment forwarding maps common API keys automatically: ANTHROPIC_API_KEY for claude, OPENAI_API_KEY for codex, GEMINI_API_KEY for gemini, and DASHSCOPE_API_KEY for qwen.

MCP Integration

Leash includes a Model Context Protocol (MCP) observer that inspects, records, and enforces MCP tool calls made by the agent. Requests flowing through supported MCP transports are correlated with filesystem and network telemetry, enabling Cedar policies to govern tool use alongside core runtime activity.

Using Leash

Images and Dependencies

  • Keep the default public.ecr.aws/s5i7k8t3/strongdm/coder image for a ready-to-run AI tooling environment.
  • Extend Dockerfile.coder with project packages, then point Leash at the new image.
  • Reuse an existing project image by adding ca-certificates and configuring Leash to launch it.

Configure alternative images through TOML, CLI flags, or environment variables:

[leash]
codex = true

[projects."/absolute/path/to/project"]
target_image = "ghcr.io/example/dev:latest"

[projects."/absolute/path/to/project".volumes]
"~/devtools" = "/workspace/devtools:rw"
Configure Use Notes
Target image target_image in config.toml, Defaults to public.ecr.aws/s5i7k8t3/strongdm/coder.
LEASH_TARGET_IMAGE, or --image flag
Target container base TARGET_CONTAINER Auto-sanitized from the current directory when unset.
Leash manager image --leash-image, LEASH_IMAGE Override when testing custom manager builds.
Cedar policy file --policy, LEASH_POLICY_FILE Mount a specific Cedar policy.
Control UI bind address --listen, LEASH_LISTEN Blank value binds to default 127.0.0.1:18080
Extra bind mount -v src:dst[:ro] Repeatable for multiple mounts.
Environment variables -e KEY=value Forwarded into both containers.

Run ./bin/leash --help for a complete list of flags and environment variables.

See CONFIG.md and CUSTOM-DOCKER-IMAGES.md for more information.

Manual Volumes and Environment Variables

Choose your own project-specific mounts and set additional environment variables as needed:

leash -v ~/.myconfig:/root/.myconfig claude bash
leash -e MY_VAR=value codex bash

Deep Dives

Dive deeper with CEDAR.md for ready-to-adapt snippets.

Troubleshooting & Next Steps

排名相邻
同类项目