REA model artifact inspection (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

REA’s CLI documents inspect-model-artifact for local GGUF / SafeTensors (and related) files. Use it to inventory models you are authorized to hold — not to pull or crack commercial weights.

Example shapes (from upstream CLI docs)

rea inspect-model-artifact /absolute/path/model.gguf --json
rea inspect-model-artifact /absolute/path/model.safetensors --hash full --json

Prefer absolute paths (absolute paths) and --json (JSON output) when scripting.

When this lane helps

  • Verifying which architecture / tokenizer metadata a local file claims.
  • Recording hashes before moving models between air-gapped labs.
  • Giving an agent structured Evidence about a model file beside your app binary.

When to use something else

NeedPrefer
Native pseudocodeProviders overview + Ghidra/Hopper/IDA
Go/Rust build metadataGo / Rust static
Electron/JS appsAnalyze JavaScript
  • Model files can embed copyrighted weights and licenses — obey them.
  • Do not use REA to bypass paid model distribution terms.
  • RepoRead will not help exfiltrate customer models.

RepoRead is unofficial. Prefer docs/cli.md when subcommands evolve.

FAQ

Which command inspects models?

docs/cli.md shows rea inspect-model-artifact PATH --json for GGUF/SafeTensors-style artifacts.

Can I request hashes?

Upstream examples include --hash full for deeper hashing — confirm flag semantics with rea --help for your version.

Does this download weights from Hugging Face for me?

No. Point it at a local absolute path you already obtained legally.

Is this the same as native decompile?

No. It is metadata / artifact inspection, not Ghidra-style decompilation.

Version checked?

rea-agents 6.7.0, re-checked 2026-10-24.

Sources