ymahlauymahlauCommunityยท1 Agent Skills Included

bonni

Gradient-informed Bayesian optimization for black-box functions

Optimizes black-box functions using gradient information with neural network surrogate models. Finds optimal designs in far fewer evaluations than standard Bayesian optimization methods. Includes an IPOPT wrapper, synthetic benchmarks, and photonics design examples like Bragg reflectors and grating couplers.
npx skills add ymahlau/bonni --all -g -y
Available:

Explains the library's architecture, data flow, and conventions so the agent can correctly modify the optimization loop, surrogate models, and acquisition functions.

All Skills in This Repository (1)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install bonni?โ–ผ

Run `npx skills add ymahlau/bonni --all -g -y` in your terminal to install all skills in this repository globally.

What is gradient-informed Bayesian optimization?โ–ผ

It trains neural network surrogates on both function values and gradients, so the model learns the landscape much faster and needs fewer expensive evaluations.

What problems can bonni solve?โ–ผ

It optimizes any black-box function that returns a value and gradient, such as nanophotonics inverse design, Bragg reflectors, and grating couplers.

Does bonni work with Claude Code?โ–ผ

Yes. It ships a CLAUDE.md orchestrator and a plan-then-implement skill that guide Claude Code through structured feature development in this codebase.

Do I need optimization expertise to use bonni?โ–ผ

No. The scipy-style optimize_bonni API only requires your function, its bounds, and a few settings to start optimizing.

Related Repositories in Education & Research

View All in Education & Researchโ†’