Code Modernization
Code Modernization transforms a documented application into a more current, organized solution. It is available from Modernization → Code Modernization in the sidebar. The flow starts from a repository that has at least one successful documentation process and is driven by a conversation with the modernization agent.
When to use
- Use it after documenting an existing application in Smart Engineering.
- Use it to understand the current application before planning changes.
- Use it to prepare a modernization plan and generate the files for a new application.
- Use it when the team needs to review and refine generated results before continuing development.
Before you start
Confirm that:
- The correct organization is active.
- The source repository has at least one successful documentation process.
- You know which documentation version should anchor the work.
- You can describe the target stack for the new application.
Create a modernization project
- Open Code Modernization and select New Modernization.
- Select a repository with at least one successful documentation process.
- Choose the documentation version to use as the baseline.
- Select the LLM provider and model for this project's chat and generation.
- Define the target application: language and version, framework, architecture, and technical constraints such as database, authentication, messaging, and containerization.
- Start the modernization to open the modernization chat.
Work in the modernization chat
The project opens a chat with the modernization agent. Use the composer to ask for analysis, planning, generation, or revisions. Enter (or Ctrl+Enter) sends; Shift+Enter adds a new line. You can attach documents to a single message (PDF, DOCX, TXT, MD, YAML, JSON, XML, CSV); they are read only for that message and are not stored.
You can change the model for the project when the next request should use a different provider or model.
Project context panel
A side panel tracks the project:
- Status, target stack, and start/completion times.
- Planning documents: the modernization plan, traceability matrix, and translation decisions.
- Code generation progress: tasks completed, running, failed (with retries), and remaining.
- Coverage and attachments.
- Generated artifacts: open a file to inspect, copy, or export it. Download all artifacts as a ZIP.
Expected result
A modernization project with the conversation history, planning documents, code-generation progress, and generated files available for review or download.