Iterative Refinement and Optimization with AgentFlow

implementationChallenge

Prompt Content

Using the predicted properties from Fireworks, implement an AgentFlow loop. Select the top 3-5 candidates and instruct Claude Opus 4.1 to iteratively refine their structures. Focus on optimizing for improved UV absorption efficiency, enhanced photostability, and higher biodegradability scores. Document the refinement process and changes made to each molecule.

Try this prompt

Open the workspace to execute this prompt with free credits, or use your own API keys for unlimited usage.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations