agentleFS
MetaKnown publisherfacebookresearch/projectaria-plugins/projectaria_ark_plugin/skills/mps/SKILL.md

mps

Skill16 starsChanged 11 days agoApache-2.0View on GitHub

Use when working with Aria Machine Perception Services (MPS) — cloud-based processing of Aria VRS recordings for SLAM trajectories, hand tracking, semi-dense point clouds, and online calibration. Covers the aria_mps CLI, single and multi-sequence processing, output formats, data lifecycle, and loading MPS results with ProjectAriaTools. Use whenever the user mentions MPS, aria_mps, SLAM processing, cloud hand tracking, trajectory generation, or submitting VRS files for processing.

  • Installs packages

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Python API for loading results: Read help(projectaria_tools.core.mps) or MpsPyBind.h in the cloned repo.

    line 19
  2. Distinctive:

    Check the versioning docs for current service versions and the benchmarks page for accuracy metrics.

    line 39
  3. Distinctive:

    Access: Only the requesting account can download

    line 72
  4. Very specific:

    Check summary.json for per-service status (SUCCESS/WARNING/ERROR) and quality metrics

    line 93

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Machine Perception Services (MPS)

MPS is a cloud-based post-processing service for Aria recordings. You submit VRS files via the aria_mps CLI, MPS runs proprietary Spatial AI algorithms, and you download the derived outputs (trajectories, point clouds, hand tracking). The data is only used to serve requests — not accessible to Meta researchers.

How to Use This Skill

This skill teaches concepts and capabilities. For details, use the authoritative sources:

Installation

  • Install: pip install projectaria-mps (automatically includes projectaria-tools and projectaria-vrs-health-check)
  • CLI command: aria_mps
  • Auth: On first run, authenticate with your Project Aria account. Tokens are cached in the system keychain for subsequent runs.
  • Configuration: $HOME/.projectaria/mps.ini — concurrency, chunk sizes, retry logic.
  • Docs: https://facebookresearch.github.io/projectaria_tools/gen2/ark/mps/start

Capabilities Overview

Services

MPS provides three services. Services are independent — you can request any combination. VRS health check runs automatically before processing.

  • SLAM: 6DoF trajectory (open-loop VIO + closed-loop bundle-adjusted, both at 1kHz), semi-dense point cloud, time-varying sensor calibration. Requires CV cameras + IMU.
  • Multi-SLAM: Processes multiple recordings of the same physical space together to produce outputs in a shared coordinate frame. Use when you need spatially aligned trajectories and point clouds across devices.
  • Hand Tracking: 21 hand landmark positions, 6DoF hand-to-device transform, wrist and palm normals, per-frame confidence. Requires CV cameras ≥10fps + IMU.

Check the versioning docs for current service versions and the benchmarks page for accuracy metrics.

Processing Modes

  • Single (aria_mps single): Process recordings independently. When pointed at a directory, recursively discovers all VRS files and processes concurrently (default 25, configurable up to 100).
  • Multi (aria_mps multi): Process multiple recordings together for Multi-SLAM in a shared coordinate frame.
  • --features: Select specific services (e.g. SLAM, HAND_TRACKING). Default: all applicable.
  • --force: Bypass deduplication cache and reprocess.
  • --no-ui: Headless mode for scripted/automated pipelines.

Processing Pipeline

The CLI executes stages sequentially: status check → health check → encryption → upload (resumable within 24h) → server processing → download. Quitting after upload lets processing continue in the background — results download automatically when you rerun.

Output Structure

Results are saved alongside the input VRS file in a sibling folder. The structure includes separate directories for each service (slam/, hand_tracking/) plus a VRS health check report. Each service folder contains data files (CSV/JSON) and a summary.json with quality metrics.

See the data formats docs for exact CSV column definitions, coordinate conventions, and timestamp semantics.

Key Concepts for Working with Outputs

  • Closed-loop vs open-loop trajectory: Closed-loop is drift-corrected via loop closure — use for research. Open-loop is VIO-only — good local accuracy but drifts over time.
  • Coordinate frames: Closed-loop trajectory is in a gravity-aligned world frame. Hand tracking is in device frame. Combine them via matching timestamps.
  • Timestamps: tracking_timestamp_us (device clock, monotonic, stable) is for time calculations. utc_timestamp_ns (wall clock) is NOT monotonic — avoid for durations.
  • graph_uid: Identifies the world coordinate frame. Data sharing the same graph_uid is spatially consistent.
  • quality_score: Per-pose confidence (0–1). Filter low-quality poses for downstream use.
  • Semi-dense point cloud: Join observations to points via uid for per-frame 2D-3D correspondences.

Data Lifecycle

  • Uploaded VRS: Stored up to 30 days, then auto-deleted
  • MPS outputs: Available for re-download for 30 days
  • Access: Only the requesting account can download
  • Deduplication: Same VRS file hash returns cached results. Use --force to bypass.

On-Device vs Cloud Processing

On-device eye gaze and VIO are embedded in the VRS during recording (accessible via PAT Tutorial_7 for hand tracking and Tutorial_6 for VIO; eye gaze is Tutorial_8). Cloud MPS produces substantially better results using offline algorithms — higher accuracy for both SLAM and hand tracking. See the benchmarks page for quantitative comparisons.

⛔ MANDATORY: Troubleshooting

When any MPS command fails, returns unexpected output, or produces low-quality results, you MUST consult this section and the official troubleshooting page BEFORE attempting your own diagnosis. This is not optional. MPS failures have MPS-specific root causes (health check rejections, insufficient recording length, coordinate frame mismatches) that generic debugging will misdiagnose.

Anti-patterns:

  • ❌ "I think I know what's wrong" — check the list below and the official page first; your guess wastes the user's time when the documented fix is right here.
  • ❌ "Let me try reprocessing" — understand WHY it failed first. Blindly rerunning with --force wastes upload time and quota.
  • ❌ "This looks like a generic upload/network error" — MPS has specific retry and resumable upload logic. Check the CLI guide before improvising.

Official troubleshooting page: https://facebookresearch.github.io/projectaria_tools/gen2/ark/support/mps — covers symptoms not listed below.

Common Issues

  • Check summary.json for per-service status (SUCCESS/WARNING/ERROR) and quality metrics
  • MPS requires a valid VRS health check — fix health check issues first
  • Short recordings (<30s) may lack enough data for SLAM loop closure
  • Featureless environments, pure rotation, or extreme motion blur degrade SLAM quality

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.