← 返回日报
精读 预计 1 分钟

Show HN: Agent Joe – a Rust only coding agent with no shell access

摘要

Agent Joe是一款开源的Rust专用编程工具,核心特点是不允许LLM执行任意终端命令,仅提供特定于Rust的操作以降低安全风险。它采用TUI界面并强制使用Vim键位,支持OpenAI、Codex及本地模型,提供多代理和单代理两种模式,目前在提示词优化和任务规划方面仍有提升空间。

荐读理由

在开发 AI 编程工具时,你可以参考其「无 Shell 访问」的设计思路来规避 LLM 执行任意命令的安全风险,并借鉴其通过限制语言领域(仅限 Rust)来精简 Agent 动作空间、提升任务成功率的工程实践。

原文

Agent Joe

An open source TUI-based coding tool that only works with rust and does not have access to the shell.

Why

I just hate the fact that cli tools with connections to llm providers can execute any arbitrary command on my terminal.

With the rust only requirement, I can also reduce the number of possible actions to just rust specific ones, lowering the total tool count.

And this is a fun project to work on.

State

Works pretty well currently, still doesn't do as good of a job as codex, I think the main reason being the prompts not being as good and not having a plan mode.

Flags

The tui supports some flags

Flag Description
--debug Adds significantly more logging and prints out thinking tokens.
--simple Multi-agent mode will be disabled, will work just like codex

Supported llm providers

Provider Support
OpenAI Fully supported
Codex Fully supported
Claude Should work, haven't tested it in a minute due to cost
OpenRouter Does not support web_search but everything should work
Local Response api fully supported

Build & Run

cargo run --relase

Keybindings

The TUI is similar to claude code and codex with one major difference. Vim bindings are foced upon you.

Tools

TBD

Hacker News · 项目/工具 · 1 赞 · 0 评 讨论 → 阅读原文 →

这条对你有帮助吗?