Agentic Metadata Extractor — AI-powered CLI to infer and manage database metadata
Project description
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.
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
- Contributing guide — development setup, branching, commit format, release process
- Security policy — how to report a vulnerability
- Open an issue — bugs, questions, feature requests
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file amx_cli-0.12.2.tar.gz.
File metadata
- Download URL: amx_cli-0.12.2.tar.gz
- Upload date:
- Size: 587.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa49ec7b447deb5545deef3a61d2b4a30a97b5c03899366cd015f3d4af27b559
|
|
| MD5 |
f0f9c9fa24ae3ddfd68c603cfe476fa0
|
|
| BLAKE2b-256 |
5eb97ad930aa8c7a32015731368f156ff40617944213c9bd54aad16763f1b24b
|
Provenance
The following attestation bundles were made for amx_cli-0.12.2.tar.gz:
Publisher:
release.yml on omeryasirkucuk/amx
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
amx_cli-0.12.2.tar.gz -
Subject digest:
aa49ec7b447deb5545deef3a61d2b4a30a97b5c03899366cd015f3d4af27b559 - Sigstore transparency entry: 1435964617
- Sigstore integration time:
-
Permalink:
omeryasirkucuk/amx@3b170f2ad1c1fe02319b38268c1091c3e0c2e2f2 -
Branch / Tag:
refs/tags/v0.12.2 - Owner: https://github.com/omeryasirkucuk
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@3b170f2ad1c1fe02319b38268c1091c3e0c2e2f2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file amx_cli-0.12.2-py3-none-any.whl.
File metadata
- Download URL: amx_cli-0.12.2-py3-none-any.whl
- Upload date:
- Size: 558.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92c923b6bef083cdf4dc2fb82d4f77e79f875aeafbc17d3de7780491c7720d86
|
|
| MD5 |
d7f682e4a00ef7b9a05d299b86d31b89
|
|
| BLAKE2b-256 |
8e509d8136a664494ad89d034a1614ef8d458374169f5f627f41f854a578da89
|
Provenance
The following attestation bundles were made for amx_cli-0.12.2-py3-none-any.whl:
Publisher:
release.yml on omeryasirkucuk/amx
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
amx_cli-0.12.2-py3-none-any.whl -
Subject digest:
92c923b6bef083cdf4dc2fb82d4f77e79f875aeafbc17d3de7780491c7720d86 - Sigstore transparency entry: 1435964619
- Sigstore integration time:
-
Permalink:
omeryasirkucuk/amx@3b170f2ad1c1fe02319b38268c1091c3e0c2e2f2 -
Branch / Tag:
refs/tags/v0.12.2 - Owner: https://github.com/omeryasirkucuk
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@3b170f2ad1c1fe02319b38268c1091c3e0c2e2f2 -
Trigger Event:
push
-
Statement type: