Introducing agentic development

Home / Documentation / How agentic development works /

Introducing agentic development

In a full installation of NET Genium the agent can change applications in two ways: in a development instance, from which only verified changes are transferred to production, or directly in production. This guide describes what the two ways have in common. Each of them then has its own guide. The recommended procedure, to which Article 5.3 of the General Terms and Conditions of Agentic Development refers, is described in the guide Agentic development through a development instance. The page Agentic development explains what agentic development is.

1. The procedure in brief

  1. Choose the way of working – through a development instance, or directly in production.
  2. Appoint the developers who will direct the agent and generate their personal tokens.
  3. Write the agent rules.
  4. Connect the AI tool to the instance following the guide Connecting an AI tool to the MCP server.
  5. Continue with the guide of the chosen way of working.

2. Which way to choose

The difference lies in where a change of the applications is prepared and when the users see it:

Way Where the agent changes the applications How the change reaches production Risk
Through a development instance (recommended) in the development instance by a release, once the change is verified an agent error stays in the development instance
Directly in production in the production instance immediately an agent error affects the users and is borne by the operator of the instance

Both ways can be combined, for example preparing larger modifications in the development instance and making small fixes directly in production. What to watch then is described in the chapter Combining with a development instance.

3. Who may connect an agent

  • Only a user with administrator rights may connect an agent to the instance. Which administrators the MCP server accepts is set by the Administrators with access to the MCP server list in the NET Genium Settings on the Permissions tab.
  • Each developer works under their own personal token. The token is not shared and is stored in an environment variable, so every write can be attributed to a specific person. Generating and storing the token is described in the Claude Code, Codex and other tools guide.
  • A token has two permissions: Reading all data and the model via the MCP server and Writing all data and the model via the MCP server. The agent should get the write permission only where its error harms nobody. The specific setting is described in the guide of the chosen way of working.
  • Details
    • A developer has at most one token in each instance. The token is not written into configuration files, shared tools or automations.
    • A token is valid for 90 days. The token of an employee who leaves or changes their job position has to be deleted without delay – the “Administrator” user (ID 1) deletes the tokens of others on the MCP token tab in the Other users' tokens section.
    • Every access of the agent uses up a concurrent user license, just like a sign-in of the token owner.

4. Agent rules

Agent rules are text instructions the agent receives at the start of every piece of work – for Claude Code the “CLAUDE.md” file, for Codex the “AGENTS.md” file in the directory from which the tool is started. The agent acts only on what it has written down: whatever is in neither the rules nor the application model, it replaces with an assumption. The rules therefore have to exist before the agent first connects and set at least:

  • which AI tool and which AI provider the developers may use – the data the agent reads from the instance leaves for processing to that provider (for example Claude Code with a company account at Anthropic),
  • which instance is the production one and which the development one (the server names in the AI tool), and what the agent may do in the production instance – only read, write data, or change the applications as well,
  • what the agent must never do – typically delete an edit form or a database control, change the name of a database table or column, write into the production instance without the change history, or delete data without explicit confirmation,
  • which operations are never run against the production instance or only outside working hours – for example reading large tables and bulk batches,
  • when the agent has to ask, how it names new applications, forms and controls, and what it verifies before a change is confirmed.

The rules are extended continuously: every agent error should end in a new or refined rule. An uncertainty of the agent is better resolved by adding a description to the application or to the rules than by another instruction in the conversation – an instruction applies to one piece of work, a rule to all the following ones.

Agent rules are one of the layers of the AI context. A detailed description of the other layers and of how to build the AI context is provided in the separate guide Building the AI context.

5. When the agent makes a mistake

  • What the agent changed in the instance is shown by the change history of the records and, for scripts, database queries and the code of HTML and JavaScript controls, also by the history of their versions, which the agent reads with the “get_model_history” tool.
  • An agent error, a question or experience with agentic development can be reported through the NetGenium Helpdesk. For analysing an error, an extract from the change history, the agent rules in force and the record of the instructions the agent received are useful – it is therefore advisable to keep the conversations with the agent. Personal data not needed for understanding the error are removed from the materials before they are handed over.
  • If the error arose while working directly in the production instance, NetGenium may make the analysis conditional on the error first being reproduced in the development instance.
  • Every agent error is reflected in the agent rules (see Agent rules).

This guide belongs to the topic Applications that keep up on the page NET Genium AI.