Skip to content
usepr

usepr/eva

CLI

一个极简的单python文件智能体,无第三方依赖、随处运行。 <A minimalist AI agent in a single Python file – no third‑party dependencies, runs anywhere.>

单文件智能体

387 83 since joining 52PythonPush 6d agoListed 2mo ago2 open issuesMIT
agentaiai-agentautomationclilocal-aipythonshell
  • Python100.0%
View on GitHub

Report a problem

1 Review

114634550211463455021mo ago
TypeScriptPythonShell

EVA’s appeal is its simplicity: a capable command-line agent in a single Python file, with no required third-party dependency and support for OpenAI-compatible local or remote models. Directory-scoped sessions, Ctrl-C interruption, configurable EVA.md, one-shot automation, goal mode, and confirmation for non-read commands create a surprisingly complete workflow. The design is easy to copy, inspect, and embed in constrained servers, containers, or operations environments.

Shell access still creates substantial risk, especially when users enable unrestricted execution. EVA would benefit from a compact threat model and an exact table of which commands are allowed, blocked, or confirmed. A dry-run mode, path sandbox, environment-variable redaction, structured audit log, and allowlist policy could improve safety without sacrificing portability. Tests against prompt injection, shell escaping, and malicious working-directory content are more important than adding many tools. EVA is best for experienced Python and shell users who want a transparent local agent they can understand quickly; it should not run unrestricted in sensitive directories without additional containment.