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

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.7
File Size Uploaded Provenance Actions
zorvex_api-0.0.7.tar.gz 238.3 kB With provenance Details for zorvex_api-0.0.7.tar.gz

Built distribution (wheel)

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

Total release size: 541.7 kB

Release files / zorvex_api-0.0.7.tar.gz

Download URL zorvex_api-0.0.7.tar.gz
Size 238.3 kB
Tags Source
SHA-256 checksum
How to use checksums
0ff2d63f4f0b976f8b9f11fe5da4f3d0598d6cdfa755eea11507b6249c2a4ea5
BLAKE2b-256 checksum
How to use checksums
f3c016d966bbab6cb6446ba2343057319aa698f1cc3d1ed7022d78940fa4faac
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.7-py3-none-any.whl

Download URL zorvex_api-0.0.7-py3-none-any.whl
Size 303.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b18dbcf32ae935dbc69ddd8d11dfbf5353fc781b00a96a0076f6d0b4093190f
BLAKE2b-256 checksum
How to use checksums
885871aed9af3bac1a558a4744776d8546435aa00effafb4747997e373fea5bf
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.7

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