diff --git a/README.md b/README.md index 7a49659..83d1690 100644 --- a/README.md +++ b/README.md @@ -81,18 +81,26 @@ Going beyond traditional human-in-the-loop systems, EvoScientist introduces an A ## 📦 Installation -> [!NOTE] -> Requires **Python 3.11+**. A virtual environment is strongly recommended — EvoScientist experiments may install ML libraries (PyTorch, transformers, etc.) that can conflict with your system packages. We recommend [**uv**](https://docs.astral.sh/uv/) for fast, reliable dependency management — it handles Python versions, virtual environments, and packages in a single tool. +> [!TIP] +> Requires **Python 3.11+**. We recommend [**uv**](https://docs.astral.sh/uv/) or **conda** for dependency management and virtual environments. -### Install uv (if you don't have it) +
+ 🪛 Install uv (if you don't have it) ```bash -# Always review scripts before piping to shell: https://astral.sh/uv/install.sh curl -LsSf https://astral.sh/uv/install.sh | sh ``` +
+ ### Quick Install +```bash +uv tool install EvoScientist +``` + +Or install into the current environment instead: + ```bash uv pip install EvoScientist ``` @@ -106,7 +114,7 @@ uv sync --dev ```
-Using conda + Using conda ```bash conda create -n EvoSci python=3.11 -y @@ -117,7 +125,7 @@ pip install -e ".[dev]"
-Using pip + Using PyPi ```bash pip install EvoScientist # quick install @@ -127,16 +135,7 @@ pip install -e ".[dev]" # development install
-Upgrade to latest - -```bash -git pull && uv sync --dev -``` - -
- -
-Optional: Channel dependencies + Optional: Channel dependencies Messaging channel integrations require extra dependencies. Install only what you need: @@ -151,6 +150,15 @@ uv pip install "EvoScientist[all-channels]" # everything
+
+ Upgrade to the latest code base + +```bash +git pull && uv sync --dev +``` + +
+

🔝Back to top

## 🔑 Configuration @@ -164,7 +172,7 @@ EvoSci onboard It walks you through provider selection, key validation, model choice, and workspace setup.
-Manual configuration via environment variables + 📟 Manual configuration via environment variables Set at least one LLM provider key and (optionally) a search key: @@ -187,8 +195,7 @@ Alternatively, copy the example `.env` file for project-level configuration: cp .env.example .env # then fill in your keys ``` -> [!WARNING] -> Never commit `.env` files with real keys. It is already in `.gitignore`. +> ⚠️ Never commit `.env` files with real keys. It is already in `.gitignore`.
@@ -271,7 +278,7 @@ EvoSci mcp add [-- args...] EvoSci mcp add sequential-thinking npx -- -y @modelcontextprotocol/server-sequential-thinking ``` -> [!NOTE] +> [!TIP] > For command options, config fields, tool routing, wildcard filtering, and troubleshooting, see the **[MCP Integration Guide](https://github.com/EvoScientist/EvoScientist/tree/main/EvoScientist/mcp#model-context-protocol-integration)**.

🔝Back to top

@@ -296,7 +303,7 @@ channel_enabled: "telegram,discord,slack" The channel can also be started interactively with `/channel` in the CLI session. -> [!NOTE] +> [!TIP] > For per-channel setup guides, capability matrix, architecture details, and troubleshooting, see the **[Channel Integration Guide](https://github.com/EvoScientist/EvoScientist/tree/main/EvoScientist/channels#channels)**.

🔝Back to top

diff --git a/README.zh-cn.md b/README.zh-cn.md index 97a1855..186d5e3 100644 --- a/README.zh-cn.md +++ b/README.zh-cn.md @@ -91,18 +91,26 @@ EvoScientist 超越了传统的人在回路(Human-in-the-Loop)模式,引 ## 📦 安装 -> [!NOTE] -> 需要 **Python 3.11+**。强烈建议使用虚拟环境——EvoScientist 的实验过程可能会安装 ML 相关库(PyTorch、transformers 等),可能与系统包产生冲突。推荐使用 [**uv**](https://docs.astral.sh/uv/) 进行快速、可靠的依赖管理——它集 Python 版本管理、虚拟环境和包管理于一体。 +> [!TIP] +> 需要 **Python 3.11+**。推荐使用 [**uv**](https://docs.astral.sh/uv/) 或 **conda** 进行依赖管理和虚拟环境管理。 -### 安装 uv(如果尚未安装) +
+🪛 安装 uv(如果尚未安装) ```bash -# 运行前请先审查脚本内容:https://astral.sh/uv/install.sh curl -LsSf https://astral.sh/uv/install.sh | sh ``` +
+ ### 快速安装 +```bash +uv tool install EvoScientist +``` + +或安装到当前环境: + ```bash uv pip install EvoScientist ``` @@ -116,7 +124,7 @@ uv sync --dev ```
-使用 conda + 使用 conda ```bash conda create -n EvoSci python=3.11 -y @@ -127,26 +135,17 @@ pip install -e ".[dev]"
-使用 pip + 使用 PyPi ```bash -pip install EvoScientist # 快速安装 -pip install -e ".[dev]" # 开发安装 +pip install EvoScientist # quick install +pip install -e ".[dev]" # development install ```
-升级到最新版 - -```bash -git pull && uv sync --dev -``` - -
- -
-可选:渠道依赖 + 可选:渠道依赖 消息渠道集成需要额外依赖,按需安装即可: @@ -154,9 +153,18 @@ git pull && uv sync --dev uv pip install "EvoScientist[telegram]" # Telegram uv pip install "EvoScientist[discord]" # Discord uv pip install "EvoScientist[slack]" # Slack -uv pip install "EvoScientist[wechat]" # 微信 +uv pip install "EvoScientist[wechat]" # WeChat uv pip install "EvoScientist[qq]" # QQ -uv pip install "EvoScientist[all-channels]" # 全部渠道 +uv pip install "EvoScientist[all-channels]" # everything +``` + +
+ +
+ 升级到最新代码库 + +```bash +git pull && uv sync --dev ```
@@ -174,7 +182,7 @@ EvoSci onboard 向导将引导你完成供应商选择、密钥验证、模型选择和工作区设置。
-通过环境变量手动配置 + 📟 通过环境变量手动配置 至少设置一个 LLM 供应商密钥,搜索密钥为可选项: @@ -197,8 +205,7 @@ export TAVILY_API_KEY="tvly-..." # app.tavily.com cp .env.example .env # 填入你的密钥 ``` -> [!WARNING] -> 切勿将包含真实密钥的 `.env` 文件提交到版本库。该文件已在 `.gitignore` 中。 +> ⚠️ 切勿将包含真实密钥的 `.env` 文件提交到版本库。该文件已在 `.gitignore` 中。
@@ -281,7 +288,7 @@ EvoSci mcp add [-- args...] EvoSci mcp add sequential-thinking npx -- -y @modelcontextprotocol/server-sequential-thinking ``` -> [!NOTE] +> [!TIP] > 关于命令选项、配置字段、工具路由、通配符过滤和故障排查,请参阅 **[MCP 集成指南](https://github.com/EvoScientist/EvoScientist/tree/main/EvoScientist/mcp#model-context-protocol-integration)**。

🔝回到顶部

@@ -306,7 +313,7 @@ channel_enabled: "telegram,discord,slack" 也可以在 CLI 会话中通过 `/channel` 交互式启动渠道。 -> [!NOTE] +> [!TIP] > 关于各渠道设置指南、功能矩阵、架构详情和故障排查,请参阅 **[渠道集成指南](https://github.com/EvoScientist/EvoScientist/tree/main/EvoScientist/channels#channels)**。

🔝回到顶部