Skip to main content

Agentic Metadata Extractor — AI-powered CLI to infer and manage database metadata

Project description

AMX — Agentic Metadata Extractor

Stop staring at transactions.posting NUMBER(8) wondering what it means.

AI-powered guidance and reference for data analysts, data engineers,
and catalog owners working with undocumented database schemas.

Documentation · Quickstart · Changelog · Issues


AMX walks your database, reads your documentation and codebase, then drafts a description for every table, view, and column — with confidence scores and a human review before anything lands in the live database. Three independent sub-agents (Profile, RAG, Code) gather evidence, an orchestrator merges and ranks them, you accept / edit / skip, and AMX writes approved descriptions back as native COMMENT statements on the engine.

Five minutes from pip install to your first reviewed description. Ten supported database backends, seven LLM providers.

Install

pip install amx-cli

The PyPI distribution is amx-cli; the import package is amx (import amx). Requires Python 3.10+. See the installation guide for prerequisites, source builds, and where AMX writes config / history / logs.

Quick start

amx                       # open the interactive session (the AMX REPL)
/setup                    # one-time wizard: DB profile + LLM profile
/connect                  # sanity-check the active connection
/run core.transactions          # generate suggestions, review, accept
/apply                    # write approved descriptions back to the database

/run without an argument opens a scope picker (Database / Schema / Asset). /run-apply short-circuits review-and-apply when you already trust the model. If anything misbehaves, amx doctor runs from any shell — even when AMX itself can't start — and prints actionable hints next to each ✗.

The full guided walkthrough is at the 5-minute quickstart and first-run walkthrough.

/studio — same workflow on a local web UI

amx /studio boots AMX Studio, a token-protected web UI on 127.0.0.1, and opens your browser. Same review-and-apply workflow as the REPL — runs, results, the pending queue, the /ask chat, and full DB / LLM / Docs / Code profile management — but on a denser surface. Browse any database / schema / table to inline-edit comments or hit per-asset Generate to draft just one comment through the same human-in-the-loop queue. The SPA bundle ships inside amx-cli; no Node toolchain or extra install needed.

AMX Studio Overview page — sidebar with active SAP profile, four stat cards (active backend, LLM model, total runs, success rate), and a Recent runs feed

Full walkthrough at /studio.

What you get

Cryptic identifier in:

core.transactions.posting   NUMBER(8) NULL

Reviewed description out:

Posting date. The accounting period this transaction lands in, encoded
as YYYYMMDD. Distinct from the system-level effective date (eff_dt)
that records when the row physically arrived in the warehouse.

  confidence: high · logprob: 0.91 · sources: code (3 refs), docs, db profile

Every column gets up to N ranked alternatives, every suggestion is grounded in evidence (db profile, code references, doc snippets), and every approval is recorded in local run history that you can re-evaluate later with /history review.

Supported database backends

PostgreSQL · Snowflake · Databricks (Unity Catalog) · BigQuery · MySQL / MariaDB · Oracle · SQL Server · Redshift · ClickHouse · DuckDB

Per-backend setup, connection details, and the capability matrix live in the Backends section.

Supported LLM providers

OpenAI · Anthropic · Google Gemini · DeepSeek · OpenRouter · Ollama · vLLM / LM Studio · any OpenAI-compatible endpoint

Provider-specific guides (including OpenAI / Anthropic Batch mode and local-model setups) live in the LLM providers section.

Documentation

Full user, operator, and contributor docs live at omeryasirkucuk.github.io/amx-docs — concepts, the slash-command map, configuration, data sources, collaboration, troubleshooting, and the Python API for headless use. Release notes are in CHANGELOG.md and on the GitHub Releases page.

Contributing & support

License

Apache-2.0 — see LICENSE.

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

amx_cli-0.12.9.tar.gz (961.7 kB view details)

Uploaded Source

Built Distribution

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

amx_cli-0.12.9-py3-none-any.whl (894.5 kB view details)

Uploaded Python 3

File details

Details for the file amx_cli-0.12.9.tar.gz.

File metadata

  • Download URL: amx_cli-0.12.9.tar.gz
  • Upload date:
  • Size: 961.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for amx_cli-0.12.9.tar.gz
Algorithm Hash digest
SHA256 ce35fe88340715a96b2a68092b6e69686c4e6d67f0edf79c4d5a055450ae734d
MD5 1722be3610083b8e86cab7edb04d7b62
BLAKE2b-256 bcea7876590412e67fc2034999445eb49a2cc7efad5688ca5fcec4be3e67ac7b

See more details on using hashes here.

Provenance

The following attestation bundles were made for amx_cli-0.12.9.tar.gz:

Publisher: release.yml on omeryasirkucuk/amx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file amx_cli-0.12.9-py3-none-any.whl.

File metadata

  • Download URL: amx_cli-0.12.9-py3-none-any.whl
  • Upload date:
  • Size: 894.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for amx_cli-0.12.9-py3-none-any.whl
Algorithm Hash digest
SHA256 49918fd53af4c31e3758644299a3a2462fbf1b98ccbf885483eab404a2e142a8
MD5 bc412e1876e65359524c4e43334296d3
BLAKE2b-256 11fe7b10f5bae6bb7bb136fd704ba1db13b71d0e8de832d029d1bdd3c0b330f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for amx_cli-0.12.9-py3-none-any.whl:

Publisher: release.yml on omeryasirkucuk/amx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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