AIToday
Large Language ModelsAI Coding AssistantsAmazon AI BlogPublished: Sep 3, 2026, 04:01 JST1 min read

AWS AgentCore auto-generates architecture docs

AWS AgentCore auto-generates architecture docs

Key takeaway

  • An AWS solution automates architecture documentation using AI agents.

  • It turns code into diagrams and updates them continuously.

  • This reduces manual effort and keeps documentation accurate.

3 Key Points

  1. What happened

    AWS introduced an agentic solution using Amazon Bedrock AgentCore that automatically analyzes .NET code bases, generates UML and Mermaid diagrams, and publishes documentation. It has run in production since Q1 2026 at a global financial services firm.

  2. Why it matters

    Manual documentation becomes outdated within weeks, creating knowledge silos and compliance risks. The agent's iterative approach achieves 95% reliability compared to 65% with single-shot methods, reducing time and keeping diagrams current.

  3. What to watch

    The solution integrates with CI/CD via AWS CodePipeline, storing diagrams in S3 and enabling natural-language queries through Amazon Bedrock Knowledge Bases. Developers can ask questions like "What does the reconnection activity flow look like?"

Ask the AI about this article →

Context & Analysis

The solution addresses a persistent problem: architecture diagrams quickly become outdated as code evolves. By automating diagram generation and publishing through a CI/CD pipeline, it keeps documentation in sync with the codebase, which is critical for compliance audits and onboarding.

AgentCore's agentic approach mirrors a human architect's process, understanding the code, generating diagrams, validating syntax, converting to SVG, and publishing. This reduces the manual burden and improves reliability over single-shot methods.

The use of Amazon Bedrock Knowledge Bases adds a retrieval layer, enabling teams to query documentation in natural language. This turns static diagrams into a searchable knowledge asset, potentially unlocking business value from architecture visibility.

FAQ

How does the agent ensure diagrams are accurate?
It uses iterative refinement and self-correction, validating Mermaid syntax and regenerating diagrams when errors are found, achieving 95% reliability.
Can developers query the documentation?
Yes, diagram metadata is ingested into Amazon Bedrock Knowledge Bases, supporting natural-language queries like "List all class diagrams for infrastructure components."
Amazon AI BlogRead Original Article

Get the latest Large Language Models news every morning

For example, today's edition would include:

  • Google launches Gemini 3.8 Flash and Cyber modelsSiliconANGLE AI · 1h ago
  • Miso maker's AI rollout hits 86% usage, with 70-year-old president learning GeminiITmedia AI+ · 1h ago
  • Palo Alto Networks buys Console for $500MTechCrunch AI · 1h ago

AI-summarized, only the topics you pick — one digest a day via Email, Slack, or Discord.

Free · takes 30 seconds · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. Q&As are published on this page for other readers too.

Related Articles

Next articleGemini 3.8 Flash and Cyber models launched