Skip to main content

Gravity Agent Runtime

Gravity Agent Runtime 的实现仓库,当前稳定内核是面向数据分析团队的 Agent-first Python SDK 与 CLI。仓库把 Gravity 的发现、读取、导出和受治理写入收敛为版本化合同,并按已批准路线扩展版本化 Skill、业务语义、确定性分析方法和有界 Context,让分析任务无需打开 Gravity Web 也能完成。

从这里开始

  • 使用 SDK 取数或分析:读 团队上手包,然后运行:

    gravity agent-catalog categories
    
  • 修改本仓库:先读 AGENTS.md;已知 Issue、Journey、Skill、selector 或 changed files 时,先运行 python scripts/task_context.py --help,只按生成的读取顺序展开当前上下文。

产品入口

  • gravity insight:受合同治理的 Insight 查询与导出,日常分析首选。
  • gravity sql:仅执行 workspace 已登记的 SQL 产品,不接受任意 SQL。
  • gravity census:盘点前端路由、发现候选合同并检查上游漂移。
  • gravity agent-catalog / gravity agent / gravity plan:供 Agent 渐进发现、补参和显式执行。

自然语言不会自动执行写入。所有 mutation 先预览,再由调用方用同一输入显式确认执行。

Agent Runtime 演进计划

Gravity Agent Runtime 计划已整体发布到 main;当前可执行能力仍以上述 CLI、SDK、Plan、运行时 catalog 和机器合同为准。版本化需求索引保存交付状态,目标架构不自动扩大当前公共接口;试点能力仍服从各自的毕业条件。

安装

公开支持 Python 3.11 和 3.12。CI 运行 Windows 3.11 完整门禁、Linux 3.11 / 3.12 核心门禁,并在 Linux 3.12 上构建 wheel、以非 editable 方式隔离安装后验证公共 surface。

python -m pip install gravity-insight
gravity --help
gravity agent-catalog categories

Python 最小入口:

from gravity_insight import connect

gravity = connect()
result = gravity.read("app.list", {"page": 1, "page_size": 20})

文档

文档导航按任务给出最短阅读路径。调用方式见 CLI、SDK 和 Plan;精确字段、错误和 fail-closed 行为从机器契约索引进入当前 catalog 与合同。完整目标以 Canonical Architecture 为准。

Metadata

Release files for gravity-insight 0.3.14

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

Source distribution (sdist)

Source distribution for gravity-insight 0.3.14
File Size Uploaded Provenance
gravity_insight-0.3.14.tar.gz 4.4 MB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for gravity-insight 0.3.14
File Interpreter ABI Platform
gravity_insight-0.3.14-py3-none-any.whl Python 3 none any Details

Total release size: 9.8 MB

Release files / gravity_insight-0.3.14.tar.gz

Download URL gravity_insight-0.3.14.tar.gz
Size 4.4 MB
Tags Source
SHA-256 checksum
How to use checksums
e35c8a0489b6a97cbe9232372d998764b7d67119f532611e1d06f0bcb12048ec
BLAKE2b-256 checksum
How to use checksums
eed881d17f1d82b91cb164c3375d816806ca0e083fb4f06cc879878b6bab5815
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 8, 2026.

Transparency log

Release files / gravity_insight-0.3.14-py3-none-any.whl

Download URL gravity_insight-0.3.14-py3-none-any.whl
Size 5.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
6aa9eafe0e2f51bdc0227e900aad5768dd3ea52fe8a5d67811b68e3723f6ab20
BLAKE2b-256 checksum
How to use checksums
8d30df449ae0496773c6933e25a96b31e29e15317c073c8477ae49ba8c17290e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 8, 2026.

Transparency log

Security for gravity-insight 0.3.14

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for gravity_insight-0.3.14.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 Sep 8, 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.

Release history Release notifications | RSS feed

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