Visualize and manage AI coding agents with an architecture map.
Project details
archwhere revolutionizes the management of AI coding agents by mapping every pull request, task, and agent onto a declared architecture map. This innovative approach not only provides clarity on where changes land but also facilitates communication with agents using a visual diagram, avoiding the pitfalls of traditional architectural oversight.
archwhere serves as a comprehensive mission control system for AI coding agents, allowing developers to gain insightful oversight of their active pull requests (PRs) and associated tasks. By situating every change directly on a declared architecture map, it enhances the administrative efficiency of an agent workforce that may be processing as many as thirty PRs a week.
Architecture Maps: Visualize every PR and task on a detailed architecture map that displays which components are affected, their security statuses, and immediate needs. This allows for a clear understanding of the impact of changes in the code base.
Agent Interactions: Communicate effectively with coding agents using the architecture map as a conversation surface. By pinning threads to components, teams can track discussions, PR statuses, and decisions directly within the context of the architecture.
Automated Model Maintenance: Unlike traditional architecture tools, archwhere flips the paradigm by allowing agents to maintain the architecture map as a prerequisite for merging. The integration of a SKILL.md file instructs agents on how to contribute, while archwhere check serves as a continuous integration guard ensuring the model remains up-to-date. This innovation bypasses issues of decay inherent in models that require human oversight.
Getting started with archwhere is straightforward. The tool initializes with a command that generates the architecture model directly from the repository’s structure:
npx archwhere init
This rapidly constructs a draft model based on the repository, including guessed relationships and a comment workflow for PRs, simplifying the onboarding process.
Several commands streamline workflow for developers:
npx archwhere # Determine what components are touched by the working tree.
npx archwhere --base origin/main # Assess impact of the current branch.
npx archwhere check # Validate model integrity with a CI guard.
npx archwhere check --fix # Automatically adopts unmapped files.
npx archwhere heat # Identify components with the highest churn in the last 30 days.
npx archwhere doc --out ARCHITECTURE.md
npx archwhere mission # Launch the interactive UI at http://localhost:4610
Each PR automatically receives a comprehensive comment that includes a summary of affected components and their statuses, highlighting security flags and providing a visual representation of component interactions:
flowchart LR
web-app --> ticket-engine
web-app --> auth
...
This enables immediate identification of dependencies and potential security risks. Additionally, if a PR introduces files that are not mapped, the tool intelligently suggests a fix, allowing the team to maintain an accurate and up-to-date architectural model effortlessly.
archwhere integrates seamlessly with any coding agent, ensuring flexibility within operational frameworks. Typical configurations enable direct communication installations with agents like Claude or any other API-compatible agent.
archwhere revolutionizes the management of architectural oversight in software development, especially in environments governed by AI coding agents. With its user-friendly interface and intelligent mapping features, developers can focus on what truly matters — delivering quality code while maintaining architectural integrity.
Comments
0Start the conversation
Share the first comment.