Skip to content

feat(agent): add local operations agent#157

Open
xsuler wants to merge 48 commits into
mainfrom
feat/coding-agent-runner
Open

feat(agent): add local operations agent#157
xsuler wants to merge 48 commits into
mainfrom
feat/coding-agent-runner

Conversation

@xsuler

@xsuler xsuler commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add areno agent as a local operations assistant for train and serve workflows
  • add explicit user-input and user-response tools for interactive clarification
  • stream command output through a PTY so long-running commands update live and preserve terminal colors
  • document setup and usage in README and CLI docs

Motivation

AReno train and serve commands often require environment-specific choices around GPU memory, tensor parallelism, rollout concurrency, dataset loaders, reward functions, and recovery from setup failures. The operations agent gives users a guided local workflow without hiding the underlying commands.

Closes #156

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a local operations agent CLI (areno agent) and reusable coding-agent loops/tools to assist with AReno training and serving tasks. It also changes the default model hub from Hugging Face to ModelScope across the CLI, updates documentation, and adds smoke check options (--smoke-infer and --smoke-train) to the training CLI. The review feedback highlights several critical improvements: implementing retry logic for batch chat completions to prevent transient failures from crashing the entire run, preventing workspace resource leaks during batch initialization, securing sensitive configuration file creation to avoid permission race conditions, and catching Exception instead of BaseException to preserve proper interrupt handling.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread areno/agent/agent_loop.py
Comment thread areno/agentic/coding/agent_loop.py Outdated
Comment thread areno/cli/agent.py Outdated
Comment thread areno/cli/agent.py Outdated
@xsuler xsuler changed the title Add local operations agent for train and serve workflows feat(agent): add local operations agent Jul 9, 2026
@xsuler xsuler requested a review from adohe July 9, 2026 08:21
@xsuler xsuler self-assigned this Jul 9, 2026
@xsuler xsuler added this to the v0.0.5 milestone Jul 9, 2026
@xsuler xsuler added kind/feature Categorizes issue or PR as related to a new feature area/cli Issues or PRs related to the CLI (areno train, areno serve) labels Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/cli Issues or PRs related to the CLI (areno train, areno serve) kind/feature Categorizes issue or PR as related to a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add local operations agent for train and serve workflows

1 participant