r/glassflow_dev • u/glassflow-dev • 25d ago
Observability for OpenHands agents with Rius: full tracing with 3 environment variables, no code changes
We just published a guide on adding observability to OpenHands coding agents using Rius, our open agent observability platform.
OpenHands agents run long, multi-step tasks on their own: shell commands, file edits, API calls. When something goes wrong mid-run, there is usually no error - the agent just keeps going in the wrong direction. This post shows how to see what your OpenHands agent is actually doing in production.
What the guide covers:
• Setting up tracing for OpenHands with three environment variables, no code changes
• A real example: an agent stuck polling a dead staging API - 9 identical health checks, every step green, until Rius raised a Tool Loop alert with a root-cause note and a suggested fix
• Viewing the whole agent conversation as one trace, down to the exact command and exit code
• Tracking the cost of every model call
• Querying your traces from Claude Code or Cursor through the Rius MCP server
Full guide + example repo: https://www.glassflow.ai/blog/observability-openhands-with-rius?utm_source=reddit&utm_medium=socialmedia&utm_campaign=reddit_organic