eva

by useprVerified

单文件智能体

386
Stars
50
Forks
Python
Language
8/23/2026
Added
View on GitHubDownload ZIP

⚠️ Third-Party Software Notice

This skill is third-party open-source software developed and hosted independently on GitHub. SkillTip is an informational directory and does not control or maintain the underlying repository. Any security checks displayed are automated and limited in scope. Review the source code before installing.

Read the Terms of Service

Installation

Add to your Claude Code skills directory:

# Add to your Claude Code skills
git clone https://github.com/usepr/eva

Getting Started

Guides for using skills like eva.

Security Report

Verified

Last scanned: —

{
  "status": "PASSED",
  "issues": []
}

README.md

简介

EVA是个麻雀虽小、五脏俱全的Agent智能体,相当于低配版Claude Code,能帮你写脚本、写测试案例、执行shell、分析数据等。我自己就是EVA的重度用户,日常使用频率非常高。

各种好玩案例见当前仓库的 showcase 🦖🦖🦖

特性

  • 本地化:可以接入本地部署的OpenAI接口模型,如vLLM,或者是外网模型

  • 极致轻量化:单文件,仅一个eva.py,有python就能运行

  • 目录级Session:下次同样目录启动会延续之前对话

  • 安全审查:默认只执行读命令,其他命令需要安全确认

  • 移植性:很容易将EVA接入你现有的自动化流程,例如:eva -au '计算100w以内所有素数和并写到/tmp/result.txt'。当前就借助-asu选项将EVA接入了微信Bot

快速开始

直接创建一个eva.py并复制本仓库的eva.py文本内容粘贴进去(docker环境、运维环境等也很容易粘贴代码,无需复杂安装,Just Paste and Go)。当然,你也可以git clone本仓库

在终端执行export EVA_API_KEY=你的deepseek API key(Windows系统则是set命令)

EVA支持OpenAI接口形式的LLM,可以是Ollma、vLLM拉起的本地模型,也可以是DeepSeek、OpenAI等官网API。切换方法是设置EVA_BASE_URL, EVA_MODEL_NAME, EVA_API_KEY这三个环境变量。

Linux设置方法:

export EVA_BASE_URL=http://xxxxxxxxx/v1
export EVA_MODEL_NAME=xxxxx
export EVA_API_KEY=sk-xxxxx

macOS 设置方法(zsh,如需在 macOS 上长期生效,可以将上述 export 配置写入~/.zshrc。):

export EVA_BASE_URL=http://xxxxxxxxx/v1
export EVA_MODEL_NAME=xxxxx
export EVA_API_KEY=sk-xxxxx

Windows 命令行设置方法:

set EVA_BASE_URL=http://xxxxxxxxx/v1
set EVA_MODEL_NAME=xxxxx
set EVA_API_KEY=sk-xxxxx

Windows PowerShell设置方法:

$env:EVA_BASE_URL="http://xxxxxxxxx/v1"
$env:EVA_MODEL_NAME="xxxxx"
$env:EVA_API_KEY="sk-xxxxx"
  • 运行python3 eva.py。首次运行会生成eva脚本,Linux 下执行source ~/.bashrc让脚本生效;macOS 下执行source ~/.zshrc让脚本生效。后续直接输入命令eva即可

输入增强说明:

  • 如果环境里安装了prompt_toolkit,EVA会自动开启多行输入:Enter提交,Ctrl+N换行;如果终端支持,也可以用Alt+Enter换行

输出增强说明:

  • 如果环境里安装了rich,EVA会自动开启rich美化输出
eva支持的选项:
usage: eva.py [-h] [-a] [-l] [-c] [-u USER_ASK] [-s] [-g]

options:
  -h, --help            show this help message and exit
  -a, --allow-all       允许所有命令无需用户确认即可执行
  -l, --list-session    列出所有session
  -c, --clear-session   清除当前目录session
  -u USER_ASK, --user-ask USER_ASK
                        独立地针对一条用户提问执行EVA
  -s, --with-session    搭配-u使用,载入并保存session
  -g, --goal            goal模式,循环直到达成目标

绝大部分同学都带上-a来启动eva,虽然很方便,但要对eva行为多加关注下。

EVA退出说明(按Ctrl + C)

1、EVA运行过程可以随时打断,无论是打断LLM推理、打断工具执行、还是退出EVA,都是按 Ctrl + C

2、打断是个很有用的行为,比如某个命令超时时间太久你不想再等待,或者你想起有个背景忘记向EVA澄清需要补充说明,或者你发现前面对话有错别字想做修正说明 —— 注意,无论何时你都可以 Ctrl + C 打断EVA,无论何时 🎯🎯

关于 EVA.md

.eva/EVA.md是EVA的设定,通过它你可以对EVA进行各种设定、甚至赋予它各种技能。除了手动编辑EVA.md,你可以在eva启动时让它“分析下xxx/xxx/skills目录中的可用技能,提炼线索到EVA.md中” 或者 “分析下skillhub上的xxx技能,提炼线索到EVA.md中”,然后重启eva即可 —— EVA的事情EVA自己做 🤖🤖

贡献者 ✨

Frequently Asked Questions

What is eva?

eva is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by usepr. 单文件智能体. It has 386 GitHub stars.

Is eva safe to use?

Yes. eva passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install eva?

Clone the repository with "git clone https://github.com/usepr/eva" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is eva written in?

eva is primarily written in Python. It is open-source under usepr on GitHub, so you can review or fork the full source.

Are there alternatives to eva?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh eva against similar tools.

Comments (0)

No comments yet. Be the first to share your thoughts!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI Agents
View details

Developers Also Liked

Based on votes and bookmarks from developers who liked this skill

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP Serversapisai-tools
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details