Documentation · AI agents

AI agents

Nexgen OS comes with an MCP server, so any MCP client — a desktop assistant, a code editor, your own agent — can work on the model in plain language.

What an agent can do

  • Read organisations, projects, participants, meters, devices and series.
  • Create a project, add participants, declare meters, install devices, import readings.
  • Estimate a solar yield, size PV, a battery or charge points, settle a community.
  • Propose actions, and ask chargers to follow a charging profile.

Always as you

An agent signs in with a key issued by a person: it holds that person’s rights, reads only unless writing is allowed, and meets the same row level security. What it proposes waits for a person to approve it.

Connect it

From a clone of the repository:

npx tsx modules/mcp.ts

The server can also be hosted over HTTP for a team. The package on npm is (next). Configuration and every tool: the MCP README; what an agent should know before it starts: AGENTS.md.