Skip to content

docs: position the GitHub overview for agent workflows - #2522

Open
miyoungc wants to merge 12 commits into
developfrom
miyoungc/ngr-1020-guardrails-github-overview-update
Open

miyoungc wants to merge 12 commits into
developfrom
miyoungc/ngr-1020-guardrails-github-overview-update

Conversation

@miyoungc

@miyoungc miyoungc commented Oct 28, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Make the GitHub overview an entry point for AI agents, conversational applications, and RAG. Introduce the supported use cases near the top, explain the workflow in three bullets and a broader diagram, and link to configuration, integration, and deployment guides for details.

Merge capabilities into “Why NeMo Guardrails,” expand the linked rail catalog, name the Nemotron Safety models and garak, and add Security, Releases, and Changelog navigation. The post-launch quickstart uses pip install "nemoguardrails[cel]" and a self-contained Python script that checks a refund policy and prints the blocking rail and reason. It requires no clone, editable/development installation, or example files from this repository.

Remove the hard-coded release notice and its dependent release-workflow step. The PR changes only README.md and .github/workflows/release.yml.

Preview: https://github.com/NVIDIA-NeMo/Guardrails/blob/miyoungc/ngr-1020-guardrails-github-overview-update/README.md

Related Issue(s)

The tracking issue is in Linear; there is no linked triaged GitHub issue.

Verification

  • Built the upcoming 0.25.0rc1 wheel and installed it into a temporary package directory. Executed the exact README script outside the checkout with network connections prohibited, and verified imports came from that wheel. Output matched; seven additional policy/schema cases passed. Runtime dependencies were provided by the existing development environment.
  • Confirmed the wheel declares the optional CEL extra used by the documented package install. This is a post-launch installation flow; validation used the local release-candidate wheel rather than a published GA package.
  • Verified all 37 local targets and heading anchors. No source-install or repository-file dependency remains in the quickstart.
  • uv run --locked pre-commit run --files README.md .github/workflows/release.yml and git diff --check passed.
  • Fern documentation check passed with 0 errors and 566 warnings. The preceding full SDK-reference generation also passed using the cached parser image; no documentation or tooling configuration changed in this follow-up.
  • Reviewed the final changes for installation, Python/extra requirements, execution ownership, blocked/error paths, and launch readiness. No live model/provider calls were made.

AI Assistance

Codex helped prepare the README and perform local verification. Human review is pending.

  • No AI tools were used.
  • AI tools were used; a human reviewed and can explain every change (tool: Codex).

Checklist

  • I've read the CONTRIBUTING guidelines.
  • This PR links to a triaged issue assigned to me.
  • My PR title follows the project commit convention.
  • I've updated the documentation if applicable.
  • I've added tests if applicable. The README script was executed against the installed wheel, with policy/schema boundaries checked.
  • I've noted verification and any checks I couldn't run.
  • I did not update generated changelog files manually.
  • I addressed all CodeRabbit, Greptile, and other review comments, or replied with why no change is needed.
  • @mentions of the person or team responsible for reviewing proposed changes.

Summary by CodeRabbit

  • Documentation
    • Reworked the README to explain how applications can apply programmable safeguards for AI agents, including workflow checks and verdict enforcement.
    • Added a refund-tool example, deployment options, supported checks, limitations, and telemetry information.
    • Updated installation, contribution, and license references. The release process no longer updates the README’s release link.

Signed-off-by: Miyoung Choi <miyoungc@nvidia.com>
@github-actions github-actions Bot added status: needs triage New issues that have not yet been reviewed or categorized. size: M labels Oct 28, 2026
Signed-off-by: Miyoung Choi <miyoungc@nvidia.com>
Signed-off-by: Miyoung Choi <miyoungc@nvidia.com>
Signed-off-by: Miyoung Choi <miyoungc@nvidia.com>
@github-actions github-actions Bot added size: L and removed size: M labels Oct 29, 2026
Signed-off-by: Miyoung Choi <miyoungc@nvidia.com>
Signed-off-by: Miyoung Choi <miyoungc@nvidia.com>
Signed-off-by: Miyoung Choi <miyoungc@nvidia.com>
@miyoungc
miyoungc marked this pull request as ready for review October 30, 2026 19:43
Signed-off-by: Miyoung Choi <miyoungc@nvidia.com>
Signed-off-by: Miyoung Choi <miyoungc@nvidia.com>
@miyoungc miyoungc added status: in review status: triaged Triaged by a maintainer; eligible for automated review (CodeRabbit/Greptile). and removed status: needs triage New issues that have not yet been reviewed or categorized. labels Oct 30, 2026
@greptile-apps

greptile-apps Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 4/5

[Low impact] The changes affect README readers and the contents of automated release pull requests.

The quickstart needs a compatible install command before this PR is safe to merge.

Findings

  1. P1 Quickstart installs an incompatible package ▶
  2. P2 Promised privacy guidance is missing ▶
Fix with agent prompt
### Issue 1
README.md:65
The quickstart now installs the released package instead of the development source, but the example needs newer APIs. The latest recorded stable release, `0.24.1`, has no CEL extra or CEL rail, and its `RailType` only contains `INPUT` and `OUTPUT`. Readers following these commands cannot get the shown result.

Keep the development-source install until a release includes these features, or use an example supported by the released package.

### Issue 2
README.md:undefined-253
The linked page only covers library telemetry; it does not contain the promised third-party endpoint terms. This PR also removes the README's explanation that third-party services have separate privacy terms and that the library's opt-out does not cover them. Readers following this link cannot find that guidance. Move it into the linked page or link to a page that contains it.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Summary

Reworks the GitHub overview around agents, conversational applications, and RAG.

  • The README guides application builders to relevant rails and setup guides.
  • The README includes a runnable refund check with a $500 limit.
  • Release preparation stops updating the README version link.

Reviews (4) · Last reviewed commit: "docs: make the quickstart usable with th..." · Reviewed by Greptile

Comment thread README.md Outdated
Third-party endpoints have separate terms and privacy practices. The NVIDIA NeMo Guardrails library can use inference endpoints such as NVIDIA Build (`build.nvidia.com`). If you use NVIDIA Build or another third-party endpoint, that endpoint's terms of service and privacy practices apply independently of the library. Any telemetry opt-out in the NVIDIA NeMo Guardrails library does not extend to the endpoint you choose. NVIDIA Build is intended for evaluation and testing only and must not be used in production environments. Do not submit confidential information or personal data when using NVIDIA Build.

## Inviting the community to contribute
Refer to [telemetry and privacy](https://docs.nvidia.com/nemo/guardrails/latest/resources/telemetry) for the full schema, local audit file, opt-out options, and third-party endpoint terms.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Promised privacy guidance is missing

The linked page only covers library telemetry; it does not contain the promised third-party endpoint terms. This PR also removes the README's explanation that third-party services have separate privacy terms and that the library's opt-out does not cover them. Readers following this link cannot find that guidance. Move it into the linked page or link to a page that contains it.

Prompt To Fix With AI
This is a comment left during a code review.
Path: README.md
Line: 253

Comment:
**Promised privacy guidance is missing**

The linked page only covers library telemetry; it does not contain the promised third-party endpoint terms. This PR also removes the README's explanation that third-party services have separate privacy terms and that the library's opt-out does not cover them. Readers following this link cannot find that guidance. Move it into the linked page or link to a page that contains it.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This finding is outdated at the current PR head. The original wording was corrected in c88c161 and the relevant disclosure is retained in the current Telemetry and Privacy section.

The README no longer promises that the telemetry page contains third-party endpoint terms. It also explicitly states that the usage-telemetry opt-out does not disable configured model or guardrail service calls, and that those calls can send content to their endpoints.

The linked telemetry guide is now offered for telemetry details and opt-out options. The current README therefore addresses the missing disclosure and removes the inaccurate link promise. Please remove this already-addressed finding from the review summary.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. The current README has corrected the link’s scope and explicitly discloses that configured model or guardrail service calls can send content to their endpoints, regardless of the usage-telemetry opt-out. This finding is addressed and should be removed from the review summary.

@coderabbitai

coderabbitai Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 731f6d0 and bec712d.

Files selected for processing: 2
  • .github/workflows/release.yml
  • README.md
Files with no reviewable changes: 1
  • .github/workflows/release.yml

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review.

Walkthrough

The README is rewritten around programmable safeguards for AI agents, with a new quickstart and updated deployment, check, telemetry, and project information. The release workflow no longer updates README release references; version, changelog, and lockfile updates remain.

Changes: Agent safeguards documentation

Layer / File(s) Summary
Project framing and release updates
README.md, .github/workflows/release.yml
The README introduces configurable checks for agent workflows and updates project links. The release workflow stops editing the README and removes the related pull request text and path entry.
Check workflow and quickstart
README.md
The README explains check verdicts and tool execution boundaries, then adds a refund-tool example using a CEL rule, check_async(), and IORails.
Deployment and check coverage
README.md
The README describes the HTTP proxy, coding-agent hooks, framework integration, check coverage, and supported engines.
Telemetry and project policies
README.md
The README shortens its telemetry description and updates contribution, license, and citation links.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Suggested labels: documentation

Suggested reviewers: pouyanpi

Merge Risk: Minimal · up to bec71

No actionable merge-blocking risk remains.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly describes the main change: repositioning the GitHub README around agent workflows. The release workflow update is secondary.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Test Results For Major Changes Passed The PR makes a substantial README and release-workflow documentation change. Its description includes testing information: a network-disabled quickstart run, seven policy and schema boundary checks, t…
Full details: Test Results For Major Changes

Explanation

The PR makes a substantial README and release-workflow documentation change. Its description includes testing information: a network-disabled quickstart run, seven policy and schema boundary checks, target and URL validation, pre-commit, diff, and documentation checks. No numeric, convergence, or performance change is introduced.

Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

Signed-off-by: Miyoung Choi <miyoungc@nvidia.com>

@tgasser-nv tgasser-nv left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @miyoungc. This has good coverage of agentic use-cases, but is missing all the other capabilities of Guardrails. We still support a range of rails for conversational, RAG, etc. We need to add these into the README as well.

Recommend adding a section at the top with all the use-cases we support including conversational application with input and output rails, RAG, etc. Then each of these can link to a more detailed section below with further information. The PR as it is will be good for agentic / tool-calling usecases

Signed-off-by: Miyoung Choi <miyoungc@nvidia.com>
Signed-off-by: Miyoung Choi <miyoungc@nvidia.com>
Comment thread README.md Resolved
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

PR merge guidance

@miyoungc thanks for the PR. GitHub is currently blocking merge for one or more repository requirements:

  • This branch has merge conflicts with develop. Please rebase your branch on the latest develop, resolve the conflicts locally, and force-push the updated branch.

Relevant guide:

This branch has not been deployed

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

Labels

needs: rebase size: L status: in review status: triaged Triaged by a maintainer; eligible for automated review (CodeRabbit/Greptile).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants