Skip to main content

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-api 0.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.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zorvex-api 0.0.8
File Size Uploaded Provenance Actions
zorvex_api-0.0.8.tar.gz 237.7 kB With provenance Details for zorvex_api-0.0.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for zorvex-api 0.0.8
File Interpreter ABI Platform Actions
zorvex_api-0.0.8-py3-none-any.whl Python 3 none any Details for zorvex_api-0.0.8-py3-none-any.whl

Total release size: 540.4 kB

Release files / zorvex_api-0.0.8.tar.gz

Download URL zorvex_api-0.0.8.tar.gz
Size 237.7 kB
Tags Source
SHA-256 checksum
How to use checksums
fd63c4b3e107d5497502b4c9873c8994cf000b290752748faf196c89c5ca2eab
BLAKE2b-256 checksum
How to use checksums
5deeedd8c8567851a59d57f93c823d5d1752189d38849bb774f1bed0701be4aa
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 log

Release files / zorvex_api-0.0.8-py3-none-any.whl

Download URL zorvex_api-0.0.8-py3-none-any.whl
Size 302.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb03e427cb91df904e0d2086d020b50a2936db376892e75fc4c5990157f0cfd9
BLAKE2b-256 checksum
How to use checksums
33320c6d70f36b7de463ff724107683e5c39357c120be528e244c7a2c08eca72
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 log

Security for zorvex-api 0.0.8

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.

Select from 2 files

Attestation for zorvex_api-0.0.8.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 log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page