Skip to main content
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

  1. Open the agent panel in the designer.
  2. Describe the module you need, including the entities, their fields, and how they relate to each other.
  3. The agent will propose the data model and the screens to manage it.
  4. Review the proposal and confirm or ask for adjustments.
  5. 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.