Skip to content

feat: add guardrails UI and backend support for agents#2463

Open
Vansh150705 wants to merge 1 commit intoarc53:mainfrom
Vansh150705:feature/guardrails-ui
Open

feat: add guardrails UI and backend support for agents#2463
Vansh150705 wants to merge 1 commit intoarc53:mainfrom
Vansh150705:feature/guardrails-ui

Conversation

@Vansh150705
Copy link
Copy Markdown

Summary

Adds safety guardrails feature to the DocsGPT agent builder.

Changes

  • Added guardrails_enabled, input_guardrails, output_guardrails fields to Agent TypeScript type
  • Added guardrails toggle UI in agent builder Advanced section (master toggle + input/output sub-toggles)
  • Added guardrails fields to API create/update routes
  • Added guardrails columns to SQLAlchemy agents DB model
  • Added guardrails support to AgentsRepository create/update methods
  • Added Alembic migration 0007_agent_guardrails to add columns to agents table

How to test

  1. Go to Agent Builder → Advanced section
  2. Enable Guardrails toggle
  3. Input and Output guardrail sub-toggles appear
  4. Save/publish agent — settings persist correctly

Closes #1911

@vercel
Copy link
Copy Markdown

vercel Bot commented May 9, 2026

@Vansh150705 is attempting to deploy a commit to the Arc53 Team on Vercel.

A member of the Team first needs to authorize it.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🚀 Feature: Guardrails

1 participant