Skip to content

Add cuGraph agent skill and distributed analytics walkthroughs - #5756

Open
alexbarghi-nv wants to merge 5 commits into
rapidsai:mainfrom
alexbarghi-nv:feat/cugraph-agent-skill
Open

alexbarghi-nv wants to merge 5 commits into
rapidsai:mainfrom
alexbarghi-nv:feat/cugraph-agent-skill

Conversation

@alexbarghi-nv

@alexbarghi-nv alexbarghi-nv commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Description

Adds skills/accelerated-computing-cugraph/ so coding agents can accelerate existing graph workflows through explicit cuGraph/pylibcugraph APIs while preserving vertex IDs, graph semantics, and downstream output contracts.

The skill covers single-GPU migration, transitional Dask multi-node/multi-GPU analytics, and direct pylibcugraph collective execution through torchrun or torch multiprocessing. Kumo Engine is recommended for most GNN use cases; cuGraph-PyG is recommended when it provides required capabilities Kumo Engine does not support, such as multi-GPU/multi-node sampling. Current feature and release support must be checked before choosing a stack.

The implementation includes five focused references, three example/helper scripts, four CPU fixture tests, and eleven reviewed agent-evaluation tasks. Examples target the cuGraph 26.10 source API. No cuGraph runtime implementation is changed.

Reviewed behavior and guidance

  • All eleven evaluation cases now have explicit observable success criteria: ten positive cases and one negative SQL-routing case, with 70 criteria in total.
  • Distributed correctness cases require checking the results returned from actual multi-GPU execution against a known result or CPU/single-GPU reference.
  • For an Adamic–Adar acceleration request, explain the unsupported algorithm and offer cuGraph Jaccard with its scoring tradeoffs. Present the alternative for approval, then make the final code changes after the user agrees. The evaluation supplies that affirmative response and original code, and checks Jaccard against a CPU Jaccard reference.
  • GNN recommendations follow required feature support rather than unpublished lifecycle assumptions.
  • Internal-source references were removed and NVIDIA attribution/license notices retained.

Completed NVSkills validation

Overall verdict: PASS — Recommended for publication.

NVSkills evaluated source commit 8290d3b7f342d491b0f4e2fcdffb6c7de5ef9676 using SkillEvaluator 1.6.10. The run covered all eleven tasks with Claude Code and Codex in isolated k8s-sandbox environments, with one attempt per task and condition.

Validation stage Result
Tier 1 — static/security validation Passed with observations: 27 findings, 0 critical/high
Tier 2 — semantic deduplication Passed; no findings
Tier 3 — live agent evaluation PASS; two agents, eleven tasks
Publication gate and report generation Passed
Signature generation and verification Passed; generated files pushed to this PR
GitHub NVSkills CI status Success on signed commit 56bee46038535644c6d92b29c66d50200c8d521b

The signing service committed the measured BENCHMARK.md, generated skill-card.md, and verified skill.oms.sig in 56bee46. The report retains observations and detailed per-agent scores; passing agent evaluation does not replace target-cluster integration/scaling tests of the distributed examples.

Evidence:

Local validation also passed: all applicable cuGraph pre-commit hooks, four CPU fixture tests, Python compilation/example parsing, skill frontmatter, task-data structure/criteria, local links, and diff checks.

Earlier independent GPU benchmark from 9Olive

9Olive's report on NVIDIA/skills#888 tested a five-vertex directed, unweighted PageRank workflow on an A100. Codex and Claude each ran five paired repo-only/repo-plus-skill trials: 20 runs and 60 passing fixture checks, including reordered edges and a dangling vertex.

Agent Repo-only median Repo + skill median Median within-pair slowdown Correct runs, repo / skill
Codex 56.9 s 68.7 s 12.9 s 5/5 / 5/5
Claude 28.5 s 30.2 s 1.6 s 5/5 / 5/5

The skill removed Claude's graph-storage warning (5/5 runs to 0/5); Codex already used the recommended setting. Elapsed time included agent work and independent verification; additional reference reads and diagnostic checks increased task time. These measurements are scoped to that earlier task and are not graph-kernel speedups or distributed validation. The current generated benchmark above contains the final NVSkills publication evidence.

Review and catalog publication

This is the product-owned source PR, replacing the closed NVIDIA/skills#888. NVSkills setup is now in cuGraph main through #5758, and validation/signing for this skill is complete. Maintainer review and the owning team's release/licensing confirmation remain part of the normal merge/publication process. Documentation retains CC-BY-4.0 attribution; code is Apache-2.0. Contribution commits carry DCO sign-offs.

After this PR merges with the generated artifacts intact, open a separate catalog-only PR to NVIDIA/skills adding components.d/cugraph.yml, pointing to rapidsai/cugraph, ref: main, and skills/accelerated-computing-cugraph/, with catalog_dir: accelerated-computing-cugraph and product mapping cuGraph. Catalog onboarding checks must pass before merging that registration; catalog automation then synchronizes the signed skill and generates its listings.

Signed-off-by: Alex Barghi <105237337+alexbarghi-nv@users.noreply.github.com>
@copy-pr-bot

copy-pr-bot Bot commented Nov 19, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@alexbarghi-nv alexbarghi-nv added doc Documentation non-breaking Non-breaking change labels Nov 19, 2026
@alexbarghi-nv
alexbarghi-nv marked this pull request as ready for review November 19, 2026 22:43
@alexbarghi-nv
alexbarghi-nv requested review from a team as code owners November 19, 2026 22:43
@copy-pr-bot

copy-pr-bot Bot commented Nov 19, 2026

Copy link
Copy Markdown

/ok to test

@alexbarghi-nv, there was an error processing your request: E1

See the following link for more information: https://docs.gha-runners.nvidia.com/cpr/e/1/

@alexbarghi-nv

Copy link
Copy Markdown
Member Author

/ok to test 927cc42

@ChuckHastings

Copy link
Copy Markdown
Collaborator

/ok to test 73eaf09

@ChuckHastings

Copy link
Copy Markdown
Collaborator

/nvskills-ci

rapids-bot Bot pushed a commit that referenced this pull request Nov 23, 2026
Adds `.github/workflows/request-nvskills-ci.yml` to bootstrap NVSkills validation on cuGraph. GitHub must have this workflow on the default branch before a maintainer's `/nvskills-ci` comment can trigger validation of the skill in #5756.

This is the workflow-only setup requested in [NVIDIA/nvskills-ci#121](NVIDIA/nvskills-ci#121 (comment)). Central registration has merged; the repository dispatch secret has been configured.

Uses the current official NVIDIA/skills request template at `f41ce9991ce9b45b19cf4b4fda1d1a066b45dd14`, with its reusable workflow pinned to that same commit to satisfy cuGraph's workflow policy. The template handles maintainer comment requests, PR validation-status checks, and trusted signature pushes, using the repository's `NVSKILLS_CI_DISPATCH_TOKEN` secret.

After this setup merges, sync the skill PR with `main`, ensure `svc-nvskills-signing` has accepted Write access to the fork, and have a cuGraph maintainer/admin comment `/nvskills-ci` on #5756.

## Validation

All applicable cuGraph pre-commit hooks passed, including yamllint and zizmor; `git diff --check` passed. The commit is DCO-signed off. End-to-end dispatch/signing will be exercised on the skill PR after this workflow is on `main`.

Authors:
  - Alex Barghi (https://github.com/alexbarghi-nv)

Approvers:
  - Bradley Dice (https://github.com/bdice)

URL: #5758
@alexbarghi-nv

Copy link
Copy Markdown
Member Author

/nvskills-ci

@alexbarghi-nv

Copy link
Copy Markdown
Member Author

/ok to test 97e1cb1

@copy-pr-bot

copy-pr-bot Bot commented Nov 23, 2026

Copy link
Copy Markdown

/ok to test 97e1cb1

@alexbarghi-nv, there was an error processing your request: E2

See the following link for more information: https://docs.gha-runners.nvidia.com/cpr/e/2/

@alexbarghi-nv

Copy link
Copy Markdown
Member Author

/ok to test 97e1cb1

@alexbarghi-nv

Copy link
Copy Markdown
Member Author

/nvskills-ci

2 similar comments
@alexbarghi-nv

Copy link
Copy Markdown
Member Author

/nvskills-ci

@alexbarghi-nv

Copy link
Copy Markdown
Member Author

/nvskills-ci

Signed-off-by: Alex Barghi <105237337+alexbarghi-nv@users.noreply.github.com>
@alexbarghi-nv

Copy link
Copy Markdown
Member Author

/nvskills-ci

@alexbarghi-nv

Copy link
Copy Markdown
Member Author

Pushed the reviewed Tier 3 criteria and guidance updates in 8290d3b7f342d491b0f4e2fcdffb6c7de5ef9676 and triggered a fresh /nvskills-ci run.

Change detection passed and Tier 3 is running. Results are pending. The GitLab links require NVIDIA access.

@alexbarghi-nv

Copy link
Copy Markdown
Member Author

/ok to test 8290d3b

Signed-off-by: nvskills-svc-account <svc-nvskills-signing@nvidia.com>
@alexbarghi-nv

Copy link
Copy Markdown
Member Author

/ok to test 56bee46

@copy-pr-bot

copy-pr-bot Bot commented Nov 24, 2026

Copy link
Copy Markdown

/ok to test 56bee46

@alexbarghi-nv, there was an error processing your request: E2

See the following link for more information: https://docs.gha-runners.nvidia.com/cpr/e/2/

@alexbarghi-nv

Copy link
Copy Markdown
Member Author

/ok to test 56bee46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Documentation non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants