Skip to main content
Change of provenance

The repository or configuration that created this release differ from a previous release. View details.

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

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

Change of provenance

The repository or configuration that created these release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Source distribution (sdist)

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

Built distribution (wheel)

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

Total release size: 7.1 MB

Release files / gravity_insight-0.3.3.tar.gz

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL gravity_insight-0.3.3.tar.gz
Size 3.0 MB
Tags Source
SHA-256 checksum
How to use checksums
302a2f7a8a97de9816fc1edbae167a081d574952f0845fb43f2b01a898ff824b
BLAKE2b-256 checksum
How to use checksums
fb096cbdfd2d77e4bac00576e244655f3696b6b0b0d9125b209be3c3e6f23709
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 1, 2026.

Transparency log

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

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL gravity_insight-0.3.3-py3-none-any.whl
Size 4.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
aafa3cb56ef63c5def47d7e1c768819cc7522a65fc09848adba1d54d2b3d60cb
BLAKE2b-256 checksum
How to use checksums
e127856c0e02fdbb0e4664e7915d0d64063e9c41be7513cf8819cbf5bd95bf3f
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 1, 2026.

Transparency log

Security for gravity-insight 0.3.3

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.

Change of provenance

The repository that created this release differs from a previous release.

While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.

Repository

  • Removed 0.3.2 GitHub: mmm1h/gravity-sdk
  • Added 0.3.3 GitHub: mmm1h/gravity-insight
Select from 2 files

Attestation for gravity_insight-0.3.3.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 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.

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