A module in Codenull is a complete functional unit — it includes a data model (tables, fields, relationships) and the screens to interact with that data. Agents can design entire modules from a single description.
How to design a module with an agent
- Open the agent panel in the designer.
- Describe the module you need, including the entities, their fields, and how they relate to each other.
- The agent will propose the data model and the screens to manage it.
- Review the proposal and confirm or ask for adjustments.
- The agent applies the changes to your application.
Example prompt
I need a module to manage employee leave requests.
Each request should have: employee (linked to the Users table), type of leave,
start date, end date, and status (pending, approved, rejected).
Include a list of all requests filtered by the current user, and a form to submit new ones.
Managers should see all requests and be able to approve or reject them.
Module generation may take a few seconds as the agent needs to process the data model relationships and generate multiple screens.