Skip to content

feat: Generate an LLM Wiki from the Codebase Knowledge Graph #619

Description

@breezefaith

What problem are you trying to solve?

Understand Anything already provides a powerful workflow for turning a codebase into a Knowledge Graph, and it can also analyze an existing LLM Wiki and convert it into a graph.

This made me wonder if there are plans to support the reverse direction as well:

Codebase → Knowledge Graph → LLM Wiki

In other words, after /understand has generated the Knowledge Graph, could Understand Anything use that graph to generate a structured, human-readable LLM Wiki for the codebase?

For example, the generated Wiki could potentially include:

  • Project / architecture overview
  • Modules and their responsibilities
  • Important classes and functions
  • Dependencies and relationships
  • Business domains and flows
  • Guided tours / onboarding documentation
  • Links back to the relevant source files and graph nodes

This seems like a natural extension of the existing Knowledge Graph capabilities, especially since the graph already contains much of the semantic and structural information needed to produce such documentation.

[GitNexus](https://github.com/abhigyanpatwari/GitNexus) has already implemented a similar Graph → Wiki workflow, which could potentially serve as a useful reference.

Is codebase Knowledge Graph → LLM Wiki generation something that is currently planned or being considered for Understand Anything?

I think this would be a very useful addition, especially for generating and maintaining documentation for unfamiliar or large codebases.

Proposed solution (optional)

No response

Alternatives you've considered

No response

Which part of the project?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions