Skip to content

Integrate stat tracker into Terminus2 agent#83

Open
sarvanithin wants to merge 1 commit intowithmartian:mainfrom
sarvanithin:feat/terminus2-stat-tracker
Open

Integrate stat tracker into Terminus2 agent#83
sarvanithin wants to merge 1 commit intowithmartian:mainfrom
sarvanithin:feat/terminus2-stat-tracker

Conversation

@sarvanithin
Copy link
Contributor

Adds performance monitoring to the Terminus2 agent by integrating the stat tracker for key operations. Tracks setup time and LLM request latency. All tests pass. Resolves TODO in terminus2_agent.py line 146.

Copy link
Contributor

@joshgreaves joshgreaves left a comment

Choose a reason for hiding this comment

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

Similar comment here to #82 . This includes the stdout/stderr changes. Lmk once this has only the changes described in the comment, from a glance I think this will be an easy win! Thanks for adding it.

- Add timing for initial setup (t2/setup) - tracks tmux session initialization
- Add timing for LLM requests (t2/llm_request) - tracks expensive API calls
- Remove TODO comment now that tracker is actively used
- All tests pass (8/8), no functional changes

Resolves TODO in terminus2_agent.py:146
@sarvanithin sarvanithin force-pushed the feat/terminus2-stat-tracker branch from 665ac36 to e8841ac Compare February 10, 2026 21:41
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.

2 participants

Comments