Skip to content

Conversation

@neubig
Copy link
Contributor

@neubig neubig commented Dec 8, 2025

Add documentation for custom security policy templates that allow users to define organization-specific risk assessment guidelines.

This PR documents the new example added in OpenHands/software-agent-sdk#427, specifically the examples/01_standalone_sdk/28_configurable_security_policy.py example.

Changes

  • Added "Configurable Security Policy" section to sdk/guides/security.mdx
  • Documented how to use custom security policy templates
  • Added code example showing security policy customization
  • Explained benefits of custom security policies

Related

Add documentation for custom security policy templates that allow
users to define organization-specific risk assessment guidelines.

Relates to OpenHands/software-agent-sdk#427
Agents use security policies to guide their risk assessment of actions. The SDK provides a default security policy template, but you can customize it to match your specific security requirements and guidelines.

<Note>
Full configurable security policy example: [examples/01_standalone_sdk/28_configurable_security_policy.py](https://github.com/OpenHands/software-agent-sdk/blob/main/examples/01_standalone_sdk/28_configurable_security_policy.py)
Copy link
Contributor

Choose a reason for hiding this comment

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

We should update the number 28 to the latest one

Address review comment from xingyaoww

Co-authored-by: openhands <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants