Skip to content

add xopt generator agent#61

Draft
roussel-ryan wants to merge 2 commits into
bluesky:mainfrom
roussel-ryan:xopt
Draft

add xopt generator agent#61
roussel-ryan wants to merge 2 commits into
bluesky:mainfrom
roussel-ryan:xopt

Conversation

@roussel-ryan

@roussel-ryan roussel-ryan commented Jun 4, 2026

Copy link
Copy Markdown

Adds definition of an Agent that wraps Xopt https://github.com/xopt-org/Xopt Generator objects as a starting point for enabling Xopt algorithm usage inside bluesky-adaptive.

Motivation and Context

This enables the usage of arbitrary Xopt Generators in bluesky-adaptive which in-turn enables a wide variety of optimization algorithms (BO, evolutionary algorithms, extremum seeking, etc.)

Summary of Changes for Release Notes

Adds the XoptGeneratorAgentBase class which allows users to pass Xopt Generators to the agent to perform optimization.

Fixed

Added

  • Added Xopt as a dependency
  • Added bluesky_adaptive/agents/xopt.py which adds the XoptGeneratorAgentBase class, a general wrapper class for Xopt Generator objects
  • Added test_xopt_agents.py which adds unit tests to validate class methods

Changed

Removed

How Has This Been Tested?

Tested against added unit tests

@checkmarx-gh-ast-us-povs

checkmarx-gh-ast-us-povs Bot commented Jun 4, 2026

Copy link
Copy Markdown

Logo
Checkmarx One – Scan Summary & Detailsdbe26499-3a02-4d74-ba23-1569a36cd3d0

Great job! No new security vulnerabilities introduced in this pull request


Communicate with Checkmarx by submitting a PR comment with @Checkmarx followed by one of the supported commands. Learn about the supported commands here.

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.

1 participant