Skip to main content
Hiroshi features a persistent HTTP long-polling synchronization loop targeting Matrix client sync endpoints. It decodes decentralized chat events to run secure local terminal utilities.

⚙️ Configuration Setup

Configure your Matrix homeserver access details in ~/.hiroshi/config.toml:
[matrix]
enabled = true
homeserver_url = "https://matrix.org"
user_id = "@hiroshi-agent:matrix.org"
access_token = "syt_your_access_token_here"
allowed_rooms = ["!roomid:matrix.org"]

🔐 Security Configuration

Matrix channels are federated and public by default. Ensure that you restrict permissions:
  • Populate the allowed_rooms array to prevent the agent from joining unauthorized rooms.
  • Set security policies inside pairing controls to require cryptographic pairing before processing messages.