Skip to main content

Interloper shared read-only tool functions for AI surfaces (agent, MCP)

Project description

interloper-toolkit

The read-only tool functions shared by interloper's AI surfaces — the ADK chat agent (interloper-agent) and the MCP server (interloper-mcp).

Every function takes a frozen ToolkitContext(store, catalog, org_id) as its first argument and returns <SuccessModel> | ToolError — typed pydantic results (see models.py) discriminated by the literal status field, never raising. The models are the tool contract: MCP derives per-tool output schemas from them, row-projecting models act as an allowlist of what leaves the platform, and full-row payloads embed the interloper-db models to keep that coupling visible rather than duplicated. The docstrings are LLM-facing: both consumers surface them verbatim as tool descriptions.

Modules:

  • catalog — the component definitions the platform ships (list, detail, asset schemas, field search, schema comparison)
  • collection — the org's component instances (read-only listing; sensitive kinds project identity/metadata only)
  • lineage — dependency analysis, impact assessment, DAG traversal
  • scheduling — jobs, runs, and backfills: read-only monitoring
  • analytics — run statistics, partition coverage, data freshness

Mutating operations (trigger/toggle/create) deliberately live with the agent, not here — this package is safe to expose on read-only surfaces.

Depends only on interloper-core and interloper-db; no LLM-framework dependencies (no google-adk, no mcp).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

interloper_toolkit-0.47.0.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

interloper_toolkit-0.47.0-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file interloper_toolkit-0.47.0.tar.gz.

File metadata

  • Download URL: interloper_toolkit-0.47.0.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.33 {"installer":{"name":"uv","version":"0.11.33","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for interloper_toolkit-0.47.0.tar.gz
Algorithm Hash digest
SHA256 6b4f3154cb00c3f1a276945b462e7295705c5bfe62d74fc6910c7c5a79519fae
MD5 e4e8c56c6570655aa3e6d6424f4425d9
BLAKE2b-256 790283576976c6c82c8489d760084f5c8b298da97096153839a6283367e7f896

See more details on using hashes here.

File details

Details for the file interloper_toolkit-0.47.0-py3-none-any.whl.

File metadata

  • Download URL: interloper_toolkit-0.47.0-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.33 {"installer":{"name":"uv","version":"0.11.33","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for interloper_toolkit-0.47.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a75258af7ef64998dbec4ce77bbb558c87e43f79899e9f71ecb8b7d4648819ca
MD5 3be8a6b5e9b6534d2ff08baab3d9543a
BLAKE2b-256 0b977f34472e761bb7451c91ccb1b0e71fb93a588ead35c2e1391f03c3a3f2d8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page