This document summarizes the end-to-end development capabilities that
the AI agent provides in the HyperParallel repository, based on
AGENTS.md and the .agent/ configuration directory.
The AI agent in this repository is not only a code generator. It is configured as a full development workflow assistant that can:
- understand the project architecture and high-risk distributed areas
- apply repository rules automatically based on file scope
- guide specialized development workflows for distributed operators and platform abstraction changes
- auto-check and auto-fix style issues during editing
- run lint, pylint, and test workflows before commit
- automate commit, push, PR creation, and PR append workflows
- perform distributed-first code review with mandatory style compliance
The configuration is centered around these entry points:
AGENTS.md.agent/rules/.agent/hooks/.agent/commands/.agent/skills/.agent/agents/
For a normal repository developer, the AI agent capabilities can be understood through four stages:
- code development
- code checking
- code submission
- code review
At the development stage, the AI agent can help in three ways.
Before implementation, the AI agent can use:
AGENTS.md.agent/rules/project-overview.md.agent/rules/code-style.md.agent/rules/distributed.md.agent/rules/platform.md.agent/rules/testing.md
This lets it understand:
- project architecture
- distributed correctness risks
- coding style requirements
- test conventions
- cross-platform constraints
For common development work, the main available skills are:
dist-op-devfor distributed operator developmentplatform-devfor platform abstraction and backend feature developmentautogitfor Git workflow operations
Typical usage value:
- help identify which files need to change
- remind developers about DTensor, stream sync, memory lifecycle, and backend parity risks
- guide implementation, test, and follow-up Git actions in one workflow
When the AI agent writes or edits files, repository hooks are triggered
from .agent/settings.json:
enforce-code-style.shauto-fixes lightweight style issuescheck-op-yaml.shreminds developers to check related YAML, opposite backend changes, buffer cleanup, and other coupling points
This means the AI agent can reduce missed follow-up work during coding, not only after coding.
At the checking stage, the AI agent mainly helps with validation before commit.
/test
This command delegates to autogit test and runs the test stage:
pytestontests/ut
Lint checks (code-style, pylint, Markdown lint) are handled separately
through autogit check or the pre-commit git hook, not by /test. It is
the most direct repository-level test entry for a normal developer.
The AI agent can also use:
autogit checkfor lint-only checking (skill subcommand)code-verifierfor lint and test verification assistance (specialized agent, not a skill)
Repository checking emphasizes:
- style compliance with
code-style.md - Python quality via
pylint - distributed development-related lint checks
- Markdown and other repository lint checks
- repository test execution through
pytest - local commit-time checks through
pre-commit
At the submission stage, the AI agent can help developers complete a safer and more standardized Git workflow.
/commit/create-pr
/commit delegates to autogit commit and can help with:
- loading
code-style.mdfirst - auto-fixing style issues before commit
- running commit-stage lint checks
- validating commit message format
- committing and pushing to origin
/create-pr delegates to autogit pr and can help with:
- verifying branch and remote prerequisites
- pushing branch updates
- generating PR content
- creating a new PR or appending to an existing PR
The AI agent submission workflow also includes:
- no silent overwrite
- no implicit force push
- branch protection awareness
- optional backup for dangerous operations
- commit message restrictions
At the review stage, the AI agent can be used as a repository-aware code review assistant.
/code-review
It supports:
- local branch review
- PR review
- detailed review mode
This repository does not treat review as style-only checking. The AI agent review focuses on:
- stream synchronization correctness
- memory lifecycle
- DTensor and layout correctness
- cross-platform consistency
- code quality
- style compliance
- testing adequacy
The repository review workflow requires:
code-style.mdmust be treated as a blocking baselinepylint-reviewoutput should be included- style violations must be explicitly pointed out
- corrected final code should be provided for style violations
For most team members, the most practical AI agent entry points are:
/testrun repository checks before commit/commitcommit and push with repository safeguards/create-prcreate or update a PR/code-reviewreview local branch or PRautogit checkrun lint-only checkingautogit testrun repository test-stage checksautogit commitcommit and push through the Git automation workflowautogit prcreate or append PRs through the Git automation workflowdist-op-devuse when developing distributed operatorsplatform-devuse when changing platform abstraction or backend features
For daily work, a simple and efficient usage pattern is:
- Use the AI agent to implement or modify code with repository rules loaded.
- Use
pre-commitand/testorautogit testto check changes. - Run
/commitorautogit committo complete guarded commit and push. - Run
/create-prorautogit prwhen the branch is ready. - Use
/code-reviewfor self-review or PR review.
flowchart LR
A["Code Development"] --> B["Code Checking"]
B --> C["Code Submission"]
C --> D["Code Review"]
A1["Project context<br/>AGENTS.md + rules"] --> A
A2["Skills<br/>dist-op-dev / platform-dev / autogit"] --> A
A3["Auto hooks<br/>style fix + coupling reminders"] --> A
B1["pre-commit<br/>pylint + markdownlint"] --> B
B2["/test"] --> B
B3["autogit check / autogit test"] --> B
B4["Checks<br/>code-style / pylint / lint / pytest"] --> B
C1["/commit"] --> C
C2["autogit commit"] --> C
C3["/create-pr / autogit pr"] --> C
C4["Capabilities<br/>lint gate / commit message check / push / PR"] --> C
D1["/code-review"] --> D
D2["code-review skill + pylint-review"] --> D
D3["Focus<br/>distributed correctness / style / tests"] --> D
D4["Output<br/>blocking findings + fixed code"] --> D
In this repository, the AI agent acts as a practical repository workflow assistant for normal developers. The most useful daily understanding is:
- during development, it can load repository rules and specialized skills
- during checking, it can run
/test - during submission, it can run
/commitand/create-pr - during review, it can run
/code-review
Its biggest value is helping the team reduce missed checks, improve consistency, and speed up standard repository workflows.