agentleFS
Seeed-ProjectsSeeed-Projects/Seeed-Jetson-DevelopTool/skills/codex/deciai-setup/AGENTS.md

Seeed-Jetson-DevelopTool / deciai-setup

AGENTS.md57 starsChanged 4 months agoMITView on GitHub

Set up the Deci AI platform on NVIDIA Jetson devices (Nano, Xavier NX, AGX Xavier, AGX Orin) for model optimization, benchmarking, and deployment. Covers Deci account creation, INFERY SDK installation, model zoo usage, custom model optimization via AutoNAC, and on-device performance benchmarking with ONNX/TensorRT. Requires JetPack 4.6.

  • Installs packages

The file

We split this AGENTS.md into the rules it gives an agent

5 rules. About 0 are common, 2 are distinctive, and 3 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.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run one phase at a time. After each phase:

    line 14
  2. Very specific:

    If output contains [STOP] → stop immediately, consult the failure decision tree.

    line 16
  3. Very specific:

    If output ends with [OK] → tell the user "Phase N complete" and proceed to the next phase.

    line 17
  4. Very specific:

    Search for a model (e.g. YOLOX) to see base and hardware-optimized variants

    line 59
  5. Distinctive:

    Wait for optimization to complete

    line 61

≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md 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
AGENTS.md

Getting Started with Deci AI on Jetson

Deci accelerates deep-learning inference 2–10× on any hardware via its AutoNAC compiler and INFERY runtime. This skill walks through account setup, model zoo exploration, custom model optimization, and on-device benchmarking on Jetson.


Execution model

Run one phase at a time. After each phase:

  • Relay all output to the user.
  • If output contains [STOP] → stop immediately, consult the failure decision tree.
  • If output ends with [OK] → tell the user "Phase N complete" and proceed to the next phase.

Prerequisites

RequirementDetail
Jetson deviceNano, Xavier NX, TX2, AGX Xavier, or AGX Orin (Seeed reComputer or NVIDIA devkit)
JetPack4.6
Python3.6+ with pip3
NetworkInternet access for Deci platform and NGC
Deci accountFree sign-up at https://console.deci.ai/sign-up

Phase 1 — System update and pip setup (~2 min)

sudo apt update
sudo apt install -y python3-pip
python3 -m pip install -U pip

[OK] when pip3 reports its version. [STOP] if apt or pip fails.


Phase 2 — Create Deci account (manual, ~3 min)

  1. Visit https://console.deci.ai/sign-up
  2. Complete the registration form
  3. Log in to Deci Lab — you should see the dashboard with the default ResNet50 Baseline model

[OK] when the user confirms they can see the Deci Lab dashboard.


Phase 3 — Explore Model Zoo and optimize a model (manual, ~5–10 min)

In Deci Lab:

  1. Click Model Zoo → List to browse pre-optimized models
  2. Search for a model (e.g. YOLOX) to see base and hardware-optimized variants
  3. To optimize a custom model: click + New Model → select task → upload ONNX model → choose target hardware → set throughput goal → click Start
  4. Wait for optimization to complete

[OK] when the optimized model appears in the dashboard.


Phase 4 — Install INFERY on Jetson (~3 min)

sudo python3 -m pip install https://deci-packages-public.s3.amazonaws.com/infery_jetson-3.2.2-cp36-cp36m-linux_aarch64.whl

Verify:

python3 -c "import infery; print('INFERY installed')"

[OK] when import succeeds. [STOP] if the wheel download or install fails.


Phase 5 — Deploy and benchmark model on Jetson (~5 min)

  1. In Deci Lab, hover over your model → click Deploy → Download model to get the .onnx file
  2. Copy the model file to the Jetson home directory
  3. Load and benchmark:
python3 << 'EOF'
import infery, numpy as np

model = infery.load(model_path='<MODEL_FILE>.onnx', framework_type='onnx', inference_hardware='gpu')
print("Model loaded successfully")

result = model.benchmark(batch_size=1)
print(result)
EOF

Expected output includes batch_inf_time, throughput, and memory metrics.

[OK] when benchmark results are printed. [STOP] if model load or benchmark fails.


Failure decision tree

SymptomAction
pip install fails with SSL or network errorCheck internet connectivity. Retry with --trusted-host pypi.org.
INFERY wheel install fails — architecture mismatchConfirm you are on aarch64 Jetson with Python 3.6. Check wheel URL matches your platform.
import infery failsVerify pip installed to the correct Python: python3 -m pip show infery.
Model load fails — framework_type errorEnsure model format matches: use onnx for .onnx files, trt for TensorRT engines.
Benchmark OOM / killedModel too large for device memory. Try a smaller model or reduce batch size.
Deci Lab optimization stuckCheck Deci status page. Re-upload model and retry.

Reference files

  • references/source.body.md — Full Seeed Wiki tutorial with hardware list, screenshots, and detailed Deci Lab walkthrough (reference only)

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.