Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
Python agent-contextagent-memoryagent-pluginsagentic-ragcontext-databasedsh-pluginknowledge-basememorymemory-managementself-evolvingvector-database
docs: update docs and github workflows python version, python>=3.10 (#118)
chuanbao666240040362a74
diff --git a/.github/workflows/_build.yml b/.github/workflows/_build.ymlindex c41e033f7..55c7c5378 100644--- a/.github/workflows/_build.yml+++ b/.github/workflows/_build.yml@@ -12,7 +12,7 @@ on:description: 'JSON string of Python versions'required: falsetype: string- default: '["3.9", "3.10", "3.11", "3.12"]'+ default: '["3.10", "3.11", "3.12", "3.13"]'build_sdist:description: 'Whether to build source distribution'required: false@@ -42,7 +42,7 @@ on:python_json:description: 'JSON string of Python versions'required: false- default: '["3.9", "3.10", "3.11", "3.12"]'+ default: '["3.10", "3.11", "3.12", "3.13"]'jobs:build-sdist:diff --git a/.github/workflows/_test_full.yml b/.github/workflows/_test_full.ymlindex 2e091f14b..f9f84f89f 100644--- a/.github/workflows/_test_full.yml+++ b/.github/workflows/_test_full.yml@@ -12,7 +12,7 @@ on:description: 'JSON string of Python versions'required: falsetype: string- default: '["3.9", "3.10", "3.11", "3.12"]'+ default: '["3.10", "3.11", "3.12", "3.13"]'workflow_dispatch:inputs:os_json:@@ -22,7 +22,7 @@ on:python_json:description: 'JSON string of Python versions'required: false- default: '["3.9", "3.10", "3.11", "3.12"]'+ default: '["3.10", "3.11", "3.12", "3.13"]'jobs:test:@@ -32,7 +32,7 @@ jobs:fail-fast: falsematrix:os: ${{ fromJson(inputs.os_json || '["ubuntu-latest", "macos-latest", "windows-latest"]') }}- python-version: ${{ fromJson(inputs.python_json || '["3.9", "3.10", "3.11", "3.12"]') }}+ python-version: ${{ fromJson(inputs.python_json || '["3.10", "3.11", "3.12", "3.13"]') }}steps:- uses: actions/checkout@v6diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 34ff52288..4049f53d0 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -34,7 +34,7 @@ on:description: 'JSON string of Python versions (Manual only)'required: falsetype: string- default: '["3.9", "3.10", "3.11", "3.12"]'+ default: '["3.10", "3.11", "3.12", "3.13"]'permissions:contents: write@@ -46,7 +46,7 @@ jobs:uses: ./.github/workflows/_build.ymlwith:os_json: ${{ inputs.os_json || '["ubuntu-latest", "macos-latest", "macos-15-intel", "windows-latest"]' }}- python_json: ${{ inputs.python_json || '["3.9", "3.10", "3.11", "3.12"]' }}+ python_json: ${{ inputs.python_json || '["3.10", "3.11", "3.12", "3.13"]' }}build_sdist: ${{ github.event_name == 'release' || inputs.build_sdist != false }}build_wheels: ${{ github.event_name == 'release' || inputs.build_wheels != false }}diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 1c2a9e545..baf685bb3 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -13,7 +13,7 @@ Thank you for your interest in OpenViking! We welcome contributions of all kinds### Prerequisites-- **Python**: 3.9++- **Python**: 3.10+- **Go**: 1.25.1+ (Required for building AGFS components)- **C++ Compiler**: GCC 9+ or Clang 11+ (Required for building core extensions, must support C++17)- **CMake**: 3.12+@@ -367,7 +367,7 @@ We use **GitHub Actions** for Continuous Integration and Continuous Deployment.| Event | Workflow | Description ||-------|----------|-------------|| **Pull Request** | `pr.yml` | Runs **Lint** (Ruff, Mypy) and **Test Lite** (Integration tests on Linux + Python 3.10). Provides fast feedback for contributors. (Displayed as **01. Pull Request Checks**) |-| **Push to Main** | `ci.yml` | Runs **Test Full** (All OS: Linux/Win/Mac, All Py versions: 3.9-3.12) and **CodeQL** (Security scan). Ensures main branch stability. (Displayed as **02. Main Branch Checks**) |+| **Push to Main** | `ci.yml` | Runs **Test Full** (All OS: Linux/Win/Mac, All Py versions: 3.10-3.13) and **CodeQL** (Security scan). Ensures main branch stability. (Displayed as **02. Main Branch Checks**) || **Release Published** | `release.yml` | Triggered when you create a Release on GitHub. Automatically builds source distribution and wheels, determines version from Git Tag, and publishes to **PyPI**. (Displayed as **03. Release**) || **Weekly Cron** | `schedule.yml` | Runs **CodeQL** security scan every Sunday. (Displayed as **04. Weekly Security Scan**) |@@ -388,11 +388,11 @@ Runs fast integration tests, supports custom matrix configuration.* `python_json`: JSON string array of Python versions (e.g., `["3.10"]`).#### C. Test Suite (Full) (`13. _Test Suite (Full)`)-Runs the full test suite on all supported platforms (Linux/Mac/Win) and Python versions (3.9-3.12). Supports custom matrix configuration when triggered manually.+Runs the full test suite on all supported platforms (Linux/Mac/Win) and Python versions (3.10-3.13). Supports custom matrix configuration when triggered manually.* **Inputs**:* `os_json`: List of OS to run on (Default: `["ubuntu-latest", "macos-latest", "windows-latest"]`).- * `python_json`: List of Python versions (Default: `["3.9", "3.10", "3.11", "3.12"]`).+ * `python_json`: List of Python versions (Default: `["3.10", "3.11", "3.12", "3.13"]`).#### D. Security Scan (`14. _CodeQL Scan`)Runs CodeQL security analysis. No arguments required.@@ -402,7 +402,7 @@ Builds Python wheel packages only, does not publish.* **Inputs**:* `os_json`: List of OS to build on (Default: `["ubuntu-latest", "macos-latest", "macos-15-intel", "windows-latest"]`).- * `python_json`: List of Python versions (Default: `["3.9", "3.10", "3.11", "3.12"]`).+ * `python_json`: List of Python versions (Default: `["3.10", "3.11", "3.12", "3.13"]`).* `build_sdist`: Whether to build source distribution (Default: `true`).* `build_wheels`: Whether to build wheel distribution (Default: `true`).diff --git a/CONTRIBUTING_CN.md b/CONTRIBUTING_CN.mdindex 7c5d042b6..e122fab2e 100644--- a/CONTRIBUTING_CN.md+++ b/CONTRIBUTING_CN.md@@ -13,7 +13,7 @@### 前置要求-- **Python**: 3.9++- **Python**: 3.10+- **Go**: 1.25.1+ (构建 AGFS 组件需要)- **C++ 编译器**: GCC 9+ 或 Clang 11+ (构建核心扩展需要,必须支持 C++17)- **CMake**: 3.12+@@ -366,7 +366,7 @@ git commit -m "refactor(storage): simplify interface methods"| 事件 | 工作流 | 描述 ||-------|----------|-------------|| **Pull Request** | `pr.yml` | 运行 **Lint** (Ruff, Mypy) 和 **Test Lite** (Linux + Python 3.10 上的集成测试)。为贡献者提供快速反馈。(显示为 **01. Pull Request Checks**) |-| **Push to Main** | `ci.yml` | 运行 **Test Full** (所有操作系统:Linux/Win/Mac,所有 Py版本:3.9-3.12) 和 **CodeQL** (安全扫描)。确保主分支稳定性。(显示为 **02. Main Branch Checks**) |+| **Push to Main** | `ci.yml` | 运行 **Test Full** (所有操作系统:Linux/Win/Mac,所有 Py版本:3.10-3.13) 和 **CodeQL** (安全扫描)。确保主分支稳定性。(显示为 **02. Main Branch Checks**) || **Release Published** | `release.yml` | 当您在 GitHub 上创建 Release 时触发。自动构建源码包和 wheel 包,基于 Git Tag 确定版本号,并发布到 **PyPI**。(显示为 **03. Release**) || **Weekly Cron** | `schedule.yml` | 每周日运行 **CodeQL** 安全扫描。(显示为 **04. Weekly Security Scan**) |@@ -375,7 +375,7 @@ git commit -m "refactor(storage): simplify interface methods"维护者可以从 "Actions" 选项卡手动触发以下工作流,以执行特定任务或调试问题。#### A. 代码检查 (`11. _Lint Checks`)-运行代码风格检查 (Ruff) 和类型检查 (Mypy)。无需参数。+运行代码风格检查 (Ruff) 和类型检查 (Mypy) 。无需参数。> **提示**:建议在本地安装 [pre-commit](https://pre-commit.com/) 以在提交前自动运行这些检查(详见上文[自动检查](#自动检查推荐)章节)。@@ -387,11 +387,11 @@ git commit -m "refactor(storage): simplify interface methods"* `python_json`: Python 版本列表的 JSON 字符串数组 (例如 `["3.10"]`)。#### C. 完整测试 (`13. _Test Suite (Full)`)-在所有支持的平台 (Linux/Mac/Win) 和 Python 版本 (3.9-3.12) 上运行完整的测试套件。手动触发时支持自定义矩阵配置。+在所有支持的平台 (Linux/Mac/Win) 和 Python 版本 (3.10-3.13) 上运行完整的测试套件。手动触发时支持自定义矩阵配置。* **Inputs**:* `os_json`: 操作系统列表 (默认: `["ubuntu-latest", "macos-latest", "windows-latest"]`)。- * `python_json`: Python 版本列表 (默认: `["3.9", "3.10", "3.11", "3.12"]`)。+ * `python_json`: Python 版本列表 (默认: `["3.10", "3.11", "3.12", "3.13"]`)。#### D. 安全扫描 (`14. _CodeQL Scan`)运行 CodeQL 安全分析。无需参数。@@ -401,7 +401,7 @@ git commit -m "refactor(storage): simplify interface methods"* **Inputs**:* `os_json`: 操作系统列表 (默认: `["ubuntu-latest", "macos-latest", "macos-15-intel", "windows-latest"]`)。- * `python_json`: Python 版本列表 (默认: `["3.9", "3.10", "3.11", "3.12"]`)。+ * `python_json`: Python 版本列表 (默认: `["3.10", "3.11", "3.12", "3.13"]`)。* `build_sdist`: 是否构建源码包 (默认: `true`)。* `build_wheels`: 是否构建 Wheel 包 (默认: `true`)。diff --git a/README.md b/README.mdindex 1bb0bf3e8..5a2f2d49d 100644--- a/README.md+++ b/README.md@@ -59,7 +59,7 @@ With OpenViking, developers can build an Agent's brain just like managing localBefore starting with OpenViking, please ensure your environment meets the following requirements:-- **Python Version**: 3.9 or higher+- **Python Version**: 3.10 or higher- **Operating System**: Linux, macOS, Windows- **Network Connection**: A stable network connection is required (for downloading dependencies and accessing model services)diff --git a/docs/en/getting-started/02-quickstart.md b/docs/en/getting-started/02-quickstart.mdindex 73f5df88e..9dcfc70f2 100644--- a/docs/en/getting-started/02-quickstart.md+++ b/docs/en/getting-started/02-quickstart.md@@ -6,7 +6,7 @@ Get started with OpenViking in 5 minutes.Before using OpenViking, ensure your environment meets the following requirements:-- **Python Version**: 3.9 or higher+- **Python Version**: 3.10 or higher- **Operating System**: Linux, macOS, Windows- **Network Connection**: Stable network connection required (for downloading dependencies and accessing model services)diff --git a/docs/zh/getting-started/02-quickstart.md b/docs/zh/getting-started/02-quickstart.mdindex 2d18b8584..bf8e2ea40 100644--- a/docs/zh/getting-started/02-quickstart.md+++ b/docs/zh/getting-started/02-quickstart.md@@ -6,7 +6,7 @@在开始使用 OpenViking 之前,请确保您的环境满足以下要求:-- **Python 版本**:3.9 或更高版本+- **Python 版本**:3.10 或更高版本- **操作系统**:Linux、macOS、Windows- **网络连接**:需要稳定的网络连接(用于下载依赖包和访问模型服务)