Skip to content

Conversation

@rbren
Copy link
Contributor

@rbren rbren commented Oct 30, 2025

Summary

This PR adds important agent behavior guidelines to the repository documentation to prevent agents from automatically starting servers or browsing applications unless explicitly requested by users.

Changes

  • Added a new "Agent Behavior Guidelines" section to .openhands/microagents/repo.md
  • Specified that agents should NEVER start servers or browse apps unless explicitly requested
  • Included specific examples of prohibited automatic actions:
    • Running development servers (e.g., npm run dev, npm start)
    • Opening browsers or navigating to application URLs
    • Starting any web servers or applications automatically
    • Viewing the running application in a browser
  • Clarified that agents should focus on code development, testing, and documentation tasks

Rationale

This guideline ensures that agents working on this TypeScript client repository follow appropriate behavior patterns and don't automatically start services or open browsers, which could be disruptive or unexpected for users. Agents should only perform these actions when specifically requested.

Impact

  • Improves agent behavior consistency
  • Prevents unexpected automatic server startups
  • Provides clear guidance for future agent interactions with this repository

@rbren can click here to continue refining the PR

- Add new 'Agent Behavior Guidelines' section to .openhands/microagents/repo.md
- Specify that agents should NEVER start servers or browse apps unless explicitly requested
- Include specific examples of prohibited automatic actions
- Clarify that agents should focus on code development, testing, and documentation
@rbren rbren marked this pull request as ready for review October 30, 2025 04:13
@rbren rbren merged commit 0442683 into main Oct 30, 2025
6 checks passed
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.

3 participants