05 / ENGINEER · USE CASE

Software Architecture & Code Review

Upload a codebase or design document and let a panel of engineer personas debate the trade-offs before you merge.

In short

Software Architecture & Code Review use case: upload source code in any language, a whole project as a ZIP, a Jupyter notebook or a design document. Architect, Critic, Guardian, Optimizer and Builder personas debate structure, security, performance and maintainability, citing the files they used.

The problem

A pull request review usually checks the lines that changed. Design problems (wrong boundaries, hidden coupling, scaling limits, security shortcuts) live between files and between teams.

How ToxicAgents helps

  1. Upload the code or a ZIP of the project. Build output and dependency folders such as node_modules, bin, obj and .git are skipped automatically.
  2. The Architect examines boundaries and dependencies, the Critic hunts for logic gaps, the Guardian checks security and privacy, the Optimizer looks at performance and cost.
  3. Agents cite the files and passages they used as [file#cN] so you can jump to the code in question.
  4. Connect GitHub, Azure DevOps or Jira so a pull request or ticket can trigger a council and receive the report as a comment (see the ITSM guide).

Personas that fit

A good starting panel (you can pick any personas, and add your own from Persona Studio):

  • Architect
  • Critic
  • Guardian
  • Optimizer
  • Builder
  • Minimalist

What to upload

Source code in C#, VB, Java, Python, JavaScript/TypeScript, SQL, Go, Rust, C/C++, PHP, Ruby, Kotlin, Swift, shell and config files; ZIP bundles; .ipynb notebooks; architecture documents. You can attach up to 10 files per simulation; agents cite the passages they used.

Example scenario

Illustrative example: Should we split our order service into two microservices?Upload the solution as a ZIP and the architecture note. Ask: “Which boundaries are wrong today, what would break if we split the order service, and what is the smallest safe first step?”

What you get

  • Design concerns grouped by structure, security, performance and maintainability
  • The strongest argument for and against the proposed change
  • A short list of safe first steps
  • Citations to the files discussed
Limits. Agents read text, not a running system. They do not compile or execute your code, so confirm findings with tests, static analysis and a human reviewer. Attached code adds tokens to every turn (about 700 per agent per round).

Questions

Is my code stored?

Files you attach belong to that task only, are kept in your workspace folder, and are cleaned up after 14 days. They are not visible to other workspaces.

How big can the upload be?

Up to 10 files per task, and the size limit is set by the operator (default 2,048 MB per file). Only the first 1.5 million characters of each file are searched by the agents by default.

NEXT STEP

Test your own question.

Sign up with no card and no API key, then run your first debate with the welcome tokens.

Create free account →