zorvex-api
Zorvex 的服务器:一个基于 FastAPI 的应用,以 LangSmith Agent Server 的 API 运行 LangGraph 图,数据存放在 PostgreSQL。LangGraph SDK 以及基于 它构建的客户端无需改动即可接入。
创建和运行项目请安装 zorvex-cli,它会连同本包和 zorvex 命令一起安装。
直接运行
pip install zorvex-api
export DATABASE_URI=postgresql://zorvex:secret@localhost:5432/zorvex # 使用当前目录下的 zorvex.json
uvicorn zorvex_api.main:app --host 0.0.0.0 --port 2026
服务器启动时会执行数据库迁移。在 Windows 上需要加 --loop zorvex_api.utils.event_loop:selector_loop_factory:
psycopg 的异步模式需要 selector 事件循环。
提供的接口
/assistants、/threads、/runs、/runs/crons和/store:Agent Server API,行为与langgraph-api0.19 一致,支持 SSE 流式输出与续流;store 按用户隔离,见根目录 README 的“API 兼容性”。/threads/{thread_id}/stream/events和/threads/{thread_id}/commands:Agent Protocol v2 事件流,基于 SSE 与 WebSocket。/mcp:把部署内的 assistant 作为 MCP 服务器。/a2a/{assistant_id}:把每个 assistant 作为 A2A 智能体,附带其 agent card。/ok、/info和/metrics:存活检查、版本与特性、Prometheus 指标;/docs为 API 文档。
了解更多
配置(zorvex.json 与环境变量)、部署和 API 兼容性见 Zorvex README。
基于 Apache License 2.0 许可发布。
Metadata
Release files for zorvex-api 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| zorvex_api-0.0.9.tar.gz | 237.8 kB | With provenance | Details for zorvex_api-0.0.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zorvex_api-0.0.9-py3-none-any.whl | Python 3 | none | any | Details for zorvex_api-0.0.9-py3-none-any.whl |
Total release size: 540.4 kB
Release files / zorvex_api-0.0.9.tar.gz
| Download URL | zorvex_api-0.0.9.tar.gz |
|---|---|
| Size | 237.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
67266285349184d4814476a45d8e80bb1fab29129c6cd7ae30ba52c11df7b815
|
|
BLAKE2b-256 checksum How to use checksums |
fb3292347d7fc47fae13206082def1b6def0bf63200420d68a5816d86de9028d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logRelease files / zorvex_api-0.0.9-py3-none-any.whl
| Download URL | zorvex_api-0.0.9-py3-none-any.whl |
|---|---|
| Size | 302.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1ea1f366bf835c78a34d2163e5c21c15a56da6ef006ef1310e5046d84a66a53d
|
|
BLAKE2b-256 checksum How to use checksums |
0e4b119192a0d183c4c326b50425c7b9b88744d39013caaec9d6892cba4ec9a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logSecurity for zorvex-api 0.0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for zorvex_api-0.0.9.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.