Skip to content

Conversation

@bjoaquinc
Copy link
Contributor

@bjoaquinc bjoaquinc commented Oct 15, 2025

📝 Summary

This improves tool guidance for agents by adding structured guidelines that inform the agents not just what the tool is but when to and not to use it ++:

Screenshot 2025-10-15 at 3 55 22 PM

this also improves the Agent consistently using the GetMarimoRules tool:

Screenshot 2025-10-15 at 4 23 28 PM

🔍 Description of Changes

  • Add ToolGuidelines to types.py
  • Integrate ToolGuidelines into base.py
  • Update GetMarimoRules class to improve usage

📋 Checklist

  • I have read the contributor guidelines.
  • For large changes, or changes that affect the public API: this change was discussed or approved through an issue, on Discord, or the community discussions (Please provide a link if applicable).
  • I have added tests for the changes made.
  • I have run the code and verified that it works as expected.

@vercel
Copy link

vercel bot commented Oct 15, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
marimo-docs Ready Ready Preview Comment Oct 15, 2025 2:33pm

return args # type: ignore[return-value]
return parse_raw(args, self.Args)

def _format_with_guidelines(
Copy link
Contributor

Choose a reason for hiding this comment

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

we are going to release soon, so okay to do this later. But I think a snapshot test of how this looks like would be nice.

@mscolnick mscolnick merged commit 32c2f40 into marimo-team:main Oct 15, 2025
35 of 37 checks passed
@dmadisetti dmadisetti added the enhancement New feature or request label Oct 15, 2025
@bjoaquinc bjoaquinc deleted the tool-guildelines branch October 15, 2025 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants