What AgentGate is
AgentGate connects your company's systems (databases, APIs, internal applications) to artificial intelligence assistants such as Claude or ChatGPT, in a controlled way: you decide which operations an assistant can perform and who can ask for them, and everything that was done is recorded.
This guide is for the people who install and set up AgentGate. It follows the order in which the work is done: first install, then configure and finally use. If something does not work, see Frequently asked questions and common problems.
The pieces
| Piece | What it is for |
|---|---|
| Platform | The web console of your organization. Agents, connectors, tools, people and permissions are managed there, and activity is reviewed. |
| Agent | A program installed inside the customer's network. It runs the operations against the internal systems; the keys to those systems stay there and the platform never sees them. There is a Java version (in Docker) and a lightweight Rust version. |
| Connector | The connection to a system: an SQL database, a REST API, an API with an OpenAPI document or a third-party MCP server. |
| Tool | A specific operation an assistant can ask for, for example "find customer by ID number". It is published with permissions per group or role. |
| Module | A set of tools, skills and commands for a task (for example "accounting close"), with a single permission for the whole set. |
| Skill | A text with instructions the assistant can read, for example how to close the month. |
| Command | A ready-made text the assistant shows in its menu, with details to fill in. |
| MCP server | The address an AI assistant connects to in order to see and use the tools it is allowed. |
| AgentGate Desktop | A desktop application with its own AI assistant, for people who do not have a ChatGPT, Claude or Gemini subscription: it uses your organization's models and tools just by signing in (AgentGate Desktop). |
| AI models | AgentGate can also offer your organization AI models (with their own keys, limits and spend control). |
The Home screen: on the left the menu (Tools, Your data, People, Monitoring) and in the centre your organization alerts.
What you need before you start
- An AgentGate account with a subscription: sign up at https://accounts.innovaccs.com and take out a subscription. The subscription is what enables you to connect to the platform.
- A person with the administrator role in that organization.
- A server, inside the customer's network, where the Agent will be installed.
How console permissions are split. Tools and Groups and access require the
tools-adminrole; Agents and Connectors requireplatform-adminorplatform-operator. People who only use assistants (mcp-client) see only Connect (the connection guide) and Executions.
Install
Installing AgentGate at your company means, in practice, installing an Agent on a server inside your network and enrolling it (introducing it) to your organization's platform. The platform itself is already operated by the service provider.
Choosing the type of Agent
| Java Agent | Lightweight Agent (Rust) | |
|---|---|---|
| Installed with | Docker Compose and the agent-install.sh script |
.deb or .rpm package (Linux), .zip with a script (Windows), .tar.gz (macOS) or Docker |
| Systems | Anything with Docker | Linux x86_64 and ARM64 (also Raspberry Pi with a 64-bit system), Windows x64, macOS |
| Databases | All the supported ones | Does not support Parquet, Excel, Oracle or chained steps |
| Local console | Yes, on port 14793 of the server itself | Yes, on port 14793 of the server itself |
If you have no reason to choose otherwise, the Java Agent with Docker is the most direct path. Choose the lightweight one if the server is small, has no Docker, or is Windows or macOS.
What the team has tested. According to the repository, the Linux installer was tested on Debian 12, AlmaLinux 9 and Ubuntu 20.04; the Windows, macOS and Raspberry Pi installers have not been tested on real machines. Try them on a test machine first.
Before installing: data and network requirements
Have at hand:
| Item | What it is for |
|---|---|
| Web address of the platform | For example https://platform.mycompany.com. |
| Sign-in address | The console shows it in Agents → Add an Agent (step Install). |
| Address of the secure channel (gRPC) | For example platform.mycompany.com:9443. It is the channel the Agent uses to connect securely. |
| User and password of the local console | You choose them when installing (the password has 8 characters or more). |
What your network must allow (the Agent only opens outbound connections; do not open inbound ports for it):
| From the Agent's server to… | Port | What for |
|---|---|---|
| The platform (web address) | 443 (HTTPS) | Enrolling and renewing its certificate. |
| The sign-in server | 443 (HTTPS) | Getting its identity. |
| The platform (gRPC channel) | The one your provider publishes; in tests, 9443 | Receiving requests and returning results. It must pass through as is: there must be no device in the middle that "opens" and re-encrypts the connection (L4 load balancers with TLS passthrough are fine). |
| The customer's systems (databases, APIs) | Those of each system | Running the operations. |
The Agent's local console is at http://127.0.0.1:14793, reachable only from the server itself. To open it from another machine use an SSH tunnel or an HTTPS proxy.
Important. Direct connectors (those run by the platform instead of an Agent) do need the customer's firewall to allow inbound access from the platform's addresses. The Connectors screen shows them under "Allow access through the customer's firewall".
Step 1: create the Agent in the platform
You sign in with your organization username and password.
- Sign in to the platform console and open Agents.
- Press Add an Agent.
- Type the Agent name (for example, the site or network where it is installed) and press Create and continue.
- The console shows the install command and the sign-in address. Leave it open: in the last step it waits for the Agent to connect.
You can also let the installer create the Agent for you: it asks for the name if you do not pick an existing one.
"Add an Agent", Name step. The next steps are Install and Connection.
Step 2: download and install the Agent
Installers are downloaded from the AgentGate downloads page: https://ejemplo.invalid/descargas. Nothing needs to be compiled. The Docker images of the two Agents are on Docker Hub, in the innovaccs organization.
Before running a downloaded file, check its checksum when the page offers it (for example sha256sum <file> on Linux and macOS or Get-FileHash <file> in PowerShell).
Java Agent downloads (version 0.9.2)
| System | What is used | How to get it |
|---|---|---|
| Linux and macOS | Docker with Compose, plus the agent-install.sh script |
The script, from the downloads page; the image comes from Docker Hub with docker pull innovaccs/agent-gate:latest |
| Windows | There is no installer for the Java Agent | Use the lightweight Agent (Rust) |
There are no .deb, .rpm packages or .exe installer for the Java Agent: it is installed with Docker. The agent-install.sh script is a Bash script.
You need Docker with Compose, openssl, curl and jq.
latest is always the latest published version: it changes with every new version, while a fixed version never changes. To install a specific version, replace latest with one of the version tags listed on the image page on Docker Hub (for example 0.9.2 for the Java Agent). The image is for linux/amd64.
-
Pull the image (optional: the installer also pulls it when it starts the service):
docker pull innovaccs/agent-gate:latest -
Run the installer telling it which image to use:
AGENT_IMAGE=innovaccs/agent-gate:latest ./agent-install.sh init -
The installer asks for the address of the platform and the sign-in address, and shows an address and a code.
-
Open that address in your browser, sign in as an administrator of your organization (two-step verification and single sign-on are supported) and confirm the code.
-
Choose the Agent created in step 1 (or create a new one).
-
Set the user and password of the local console. If it asks whether the AI gateway is opened to the network, answer no unless you need it.
-
The installer leaves a folder
agentgate-agent-installwith adocker-compose.yml. Start it:docker compose -f agentgate-agent-install/docker-compose.yml up -d
The installer generates a master key that encrypts all the Agent's secrets (file agent.env). Keep a copy in a safe, separate place: without it the stored keys cannot be recovered. Do not upload it to any repository.
Lightweight Agent (Rust) downloads (version 0.8.1)
| System | File | What it contains |
|---|---|---|
| Debian, Ubuntu (x86_64) | agentgate-agent_0.8.1_amd64.deb |
Program, systemd service and the agentgate-agent-install installer |
| Debian, Ubuntu, Raspberry Pi (64-bit ARM) | agentgate-agent_0.8.1_arm64.deb |
The same, for ARM64 |
| Red Hat, Fedora, AlmaLinux, Rocky (x86_64) | agentgate-agent-0.8.1-1.x86_64.rpm |
The same |
| Windows (x64) | agentgate-agent-windows-x64-0.8.1.zip |
agentgate-agent.exe, the agent-rust-install.ps1 script, LEEME.txt and SHA256SUMS |
| macOS (Apple Silicon and Intel) | agentgate-agent-macos-0.8.1.tar.gz |
Both programs, the agent-rust-install-macos.sh script, LEEME.txt and SHA256SUMS |
| Docker | innovaccs/agent-gate-rust:latest |
The lightweight Agent image |
What does not exist yet. For Windows there is no
.exeinstaller with a wizard: a.zipwith a PowerShell script is provided (the installer with windows has not been built). The Windows and macOS programs are not signed, so Windows or macOS may warn about them. The Docker images are for linux/amd64 only: on ARM64 and on Windows, install with the package or installer in the table, not withdocker pull.
Debian and Ubuntu
sudo dpkg -i agentgate-agent_0.8.1_amd64.deb
sudo agentgate-agent-install install
The package needs openssl, curl, jq and adduser, and creates the service user agentgate. When dpkg finishes it prints the enrolment command, which is the second one.
Red Hat, Fedora, AlmaLinux and Rocky
sudo rpm -i agentgate-agent-0.8.1-1.x86_64.rpm
sudo agentgate-agent-install install
Raspberry Pi and other 64-bit ARM Linux: use the arm64 package with dpkg as on Debian. First check with uname -m that it says aarch64; with a 32-bit system there is no program.
On Linux, the agentgate-agent-install install command does the enrolment: it shows an address and a code you approve in the browser, asks for the platform address (or takes it from the PLATFORM_URL variable), lets you choose or create the Agent, installs the certificate, encrypts the secrets with a new master key (keep a separate copy, in /etc/agentgate/agent.env) and starts the agentgate-agent service. Paths: program in /opt/agentgate, configuration and certificates in /etc/agentgate, data in /var/lib/agentgate.
Windows: unzip the .zip, compare the hashes with SHA256SUMS, open PowerShell as administrator in that folder and run:
Get-FileHash .\agentgate-agent.exe, .\agent-rust-install.ps1 -Algorithm SHA256
Set-ExecutionPolicy -Scope Process Bypass
.\agent-rust-install.ps1 install -PlatformUrl https://<platform>
The AgentGateAgent service is installed (automatic start, account without administrator privileges). Paths: program in C:\Program Files\AgentGate, configuration and data in C:\ProgramData\AgentGate. It needs PowerShell 5.1 or later. Do not run the script straight from a web address: download it and review it.
macOS
tar xzf agentgate-agent-macos-0.8.1.tar.gz && cd agentgate-agent-macos-0.8.1
shasum -a 256 -c SHA256SUMS
xattr -dr com.apple.quarantine . # only if you downloaded it with the browser (they are not signed)
sudo PLATFORM_URL=https://<platform> ./agent-rust-install-macos.sh install
The co.innova.agentgate.agent service is installed. It needs jq (included with macOS 15 or later).
Docker (lightweight Agent)
docker pull innovaccs/agent-gate-rust:latest
(latest is always the latest published version; a fixed version never changes. To install a specific version, replace latest with one of the version tags listed on the image page on Docker Hub, for example 0.8.1. linux/amd64 only.) The image does not enrol itself: it uses the files the installer leaves behind (certificates, master key and configuration). Today the installer in folder mode also needs the Agent program, so this path only makes sense if you already have the program from one of the downloads above. With those files, the Docker service mounts etc/agentgate and var/lib/agentgate where the installer left them, publishes the console only on 127.0.0.1:14793 and uses the installer's agent.env file. If you prefer to avoid the work, use the package for your system.
All the lightweight Agent installers accept these commands: install (installs and enrols; if there was already an installation, it only updates the program), enroll (enrols again), encrypt (encrypts a value to put in the configuration) and uninstall (removes the service and keeps the data).
Step 3: check that it is connected
- In the platform console, the Connection step of Add an Agent says "The Agent connected."
- In Agents, the Agent shows the status Connected and a recent Last seen. The list refreshes by itself every minute.
- On the server, the service is running:
docker compose ps(Java),systemctl status agentgate-agent(Linux), theAgentGateAgentservice (Windows) orsudo launchctl print system/co.innova.agentgate.agent(macOS). - The local console opens at
http://127.0.0.1:14793with the user and password you chose.
If it does not connect, see Troubleshooting.
The Agents list: look at the Status column (Connected) and Last seen. The new Agent should appear here.
Maintaining the Agent
- The certificate renews itself. It lasts 7 days and the Agent renews it without restarting. If the Agent was off for longer than that, the certificate expires and it can no longer connect: run
enroll(for the Java Agent,./agent-install.sh enroll) and repeat the browser sign-in. The master key and the connectors are kept. - Updating. The platform never updates the Agent by itself. In Agents you will see "A new version is available", "An update is recommended" or "Update required" (with a deadline). Download the new version and run
installagain. - Suspending or revoking. In Agents, Suspend disconnects the Agent until you Activate it; Revoke is permanent (a new one will have to be installed).
Configure
With the Agent connected, the setup work follows this order: connectors (which systems can be reached), groups and permissions (who can do what), tools (which operations are offered), and optionally modules, skills and commands (to group them and teach the assistants how to use them).
Connectors
A connector is the connection to a customer system. There are two ways to have them:
- In an Agent: created in the Agent's local console (
http://127.0.0.1:14793, on the Connectors screen, New connector button). Their credentials live in the Agent, inside the customer's network: the platform never sees or shows them. Once saved, they appear by themselves on the platform's Connectors screen. - Direct: run by the platform itself. They are created in the platform, in Connectors → New direct connector. The key is stored encrypted and is never shown again. They are for systems the platform can reach from the Internet (the address must be public).
Changes apply instantly, with no restart. The Test button (in the Agent) or Check now (in the platform) checks the connection. A connector's status can be Active, Unhealthy, Disabled or Revoked.
The Connectors list: type, Agent, Status and Health. Note the "Disabled" mark next to one connector.
The Agent local console (on the server itself) asks for the user and password you chose when installing.
In the Agent console, "New connector" creates a connector; "Test" checks the connection.
How to connect a database (SQL)
Type Database (SQL). Fields:
- Name: something that identifies it, for example "Sales database".
- Connection URL (SQL): the address of the database. It is a technical address shaped like
jdbc:<engine>://<server>:<port>/<database>. Do not put a user or password inside the address. - Database user and password. Use a user with just the permissions needed: if the tools only query, a read-only one.
- Connection timeout, if the database is slow.
Examples of the connection URL:
| Engine | Example |
|---|---|
| PostgreSQL | jdbc:postgresql://server:5432/database |
| MySQL | jdbc:mysql://server:3306/database |
| MariaDB | jdbc:mariadb://server:3306/database |
| SQL Server | jdbc:sqlserver://server:1433;databaseName=database;encrypt=true |
| Oracle | jdbc:oracle:thin:@//server:1521/service |
| SQLite (local file) | jdbc:sqlite:/opt/agentgate/data/customers.db |
The Agent's console also offers other options ("More…"), for example Databricks and CSV, TSV or Parquet files through DuckDB.
"New direct connector" in the platform: choose the Type and, for a database, the engine.
How to connect a REST or HTTP API
Type REST API (or HTTP). Type the Base URL (for example https://api.customer.com/v1) and choose the Authentication:
| Option | When to use it |
|---|---|
| None | Open API |
| Bearer (token) | A fixed token sent with every call |
| Basic (user:password) | User and password |
| API key in a header | A key in a header; give the Header name |
| OAuth 2.0 (client credentials) | The API issues tokens to an application: Token URL (OAuth 2.0), Client ID, Client secret and optionally Scope. The token can also be obtained "as a user" (service user and password). |
| Token from a sign-in | The API has a login: Sign-in URL, user and password; the platform renews the token by itself |
In a direct connector, the Health check URL (optional) is what is called to know whether the system responds; it must answer 2xx. Without it, only a check that the server accepts connections is done.
How to connect an API with an OpenAPI document
Type API with an OpenAPI document (in the Agent, "OpenAPI / Swagger"). It is the same as a REST API, but the console reads the API document (also called Swagger) and knows its operations. You give it as an address (for example https://api.company.com/v3/api-docs) or by uploading the file (JSON or YAML, up to 1 MB). Optionally set the Base URL if the API answers at a different address than the one the document declares. In direct connectors, Response validation: Strict (recommended) fails if the API answers something that does not match its document; Lenient: deliver and warn delivers the response anyway and warns.
If you have no document, you can record your system.
In the Agent, a connector of type OpenAPI: the API document is given as an address or file, or the system is recorded.
How to connect a third-party MCP server
Type Server of tools (MCP). Type the server address (for example https://tools.customer.com/mcp) and its authentication. AgentGate acts as a client: it can import the server's tools and publish them with the same permissions and controls as the others (see Import from an MCP server).
Tools that change data
For safety, a connector does not run tools that write unless you allow it: in the Agent, the Writes column says Read only or Allowed; in a direct connector, the Allow tools that write box. You can also give a list of Approved tools (by name and fingerprint): if there is any, only those can run, and what a tool does cannot be changed without you noticing.
People, groups and permissions
Permissions are given to groups (or roles). Whoever belongs to the group can use what the group was given.
- Open Groups and access.
- Choose a group from the list (or create one).
- Use the tabs: Members, Tools, Modules, Skills, Commands and AI models. In each one, Add what the group can use.
- To invite people or see what each one can do, use Users.
A person only sees and uses what they are entitled to through their groups and roles. The permissions of a module add to those of each piece; they do not replace them.
"Groups and access": choose a group and use its tabs to grant access.
Creating tools
The Tools list, with the buttons to import or create a new one.
A tool is an operation an assistant can ask for. To create one open Tools → New tool. The wizard has five steps: Connector, Definition, Test, Access and Publish. At the start you choose how:
| Way | When to use it |
|---|---|
| Manual | You write the SQL query or the API call. |
| With the AI assistant | You describe what you need and the model proposes a draft for you to review. It is never published by itself. |
| Import from OpenAPI | Publishes several tools at once from an API's document. |
| Import from an MCP server | You choose which tools of another server to publish. |
| Record my system (HAR file) | There is no API document: it is built from what the system does in the browser. |
"New tool": the first step is choosing how to start.
Creating a tool by hand
- Connector step: choose which connector it runs on.
- Definition step: give a Name (lowercase and underscore, for example
find_customer) and a Description for the model: explain when to use it, because it is what the assistant reads to choose it. For a database write the Query with:namefor each value that changes, for exampleWHERE document = :document(a single statement, no semicolon). For an API give the HTTP method and where each value goes with{parameter}. - Test step: press Run test. It only reads, up to 20 rows and 15 seconds. A tool that writes is not tested (the test never changes data).
- Access step: choose which groups or roles can use it.
- Publish step: review and press Publish tool. Every later change creates a new version; the previous one stays in the history and you can go back to it.
The detail of a tool: tabs Summary, Versions, Access and Schema.
Importing from an OpenAPI file
- In Tools → New tool, choose Import from OpenAPI (or from a module, in its APIs section).
- Choose the source of the document: a web address, a file, or the API of a connector that already has it.
- If the address requires authentication, fill it in: the access data is used once and is not stored.
- Choose the operations you want to publish and who gets them.
Recording your system with a HAR file
If your system works in a browser but has no API document, you can record it: you use the system as usual and AgentGate builds the tools from what you did. The Record my system (HAR file) option is found when importing an API, both in the platform console and in the Agent's.
How to get the file in Chrome (step by step):
- Open in Chrome the system you want to connect, with a test account.
- Press F12 and open the Network tab.
- Tick Preserve log and, if you want, the Fetch/XHR filter to see only the system's calls.
- Do in the system what you want to automate: look up a balance, create a customer, and so on.
- Right-click the list of calls and choose Save all as HAR with content.
- Upload that file in AgentGate, say which one is the system (the domain it called) and go on with the import.
Privacy. The file holds real sessions and data. AgentGate reads it in your browser and neither sends nor stores it: only the shape of the calls (methods, paths, names of data) is used, with no cookies, keys or data. Even so, record it with a test account and do not share it by other means.
Choose "Record my system (HAR file)" and open "How do I record my system? (step by step)".
After uploading the file, choose the domain the system called: "Ready: the API of ... was built".
Operations step: each recorded call is a possible tool; you can rename it.
Access step: choose at least one role or group before publishing.
If the file has no calls from the system (only pages, images or scripts), record again using the Fetch/XHR filter.
Import from an MCP server
With a connector of type MCP, choose Import from an MCP server, tick the tools you want to publish and give a role or group to each one.
Modules, skills and commands
Modules. Open Modules → New module, type the name (lowercase and _, for example my_sales; it cannot be changed afterwards), what it is for and the connectors it can use. It is created empty: then add the pieces (tools, skills and commands) and define Who may use it (people, groups or roles) and Who can edit it. You can also press Generate with AI: tell it what you need and the assistant proposes tools for you to choose which ones to build and publish.
The Modules list.
Inside a module, the Documents tab shows the imported APIs.
Skills. A skill is a text with instructions for the assistant, for example how to close the month. In Skills → New skill you can write it (a SKILL.md file), read it from an address or upload a zip. It is saved as a Draft: nobody reads it until you Publish it and choose which roles or groups receive it. If the text seems to ask the assistant to ignore or hide something, the console flags it "To review" and requires you to confirm you have read it.
Commands. A command is a ready-made text the assistant offers in its menu, with Details it asks for (for example customer). In Commands → New command fill in the name, title, description and the text, where each detail is marked between double braces, for example {{customer}}. It is also saved as a Draft until published.
What "Disabled" means in the lists
A Disabled mark next to a connector, tool or module means an administrator switched it off: it still exists (with its settings and history) but it is not offered or run. For an Agent's connector it also appears when the Agent stopped reporting it; it becomes available again when the Agent reports it again. Nothing is deleted.
Use
Once tools are published and permissions are given, people can use them from their AI assistant.
Connect an AI assistant (MCP)
MCP is the common language AI assistants use to connect to external tools. AgentGate has one MCP server per organization.
- In the platform console open Connect (tab Tools (MCP)).
- There you will see your organization's MCP address. Copy it.
- Under Choose your assistant pick yours: Claude, Claude Desktop, Claude Code, ChatGPT, ChatGPT Desktop, VS Code, GitHub Copilot, Cursor, Windsurf, Gemini CLI, Codex, OpenCode or others. The console shows, step by step, where it is set up and what to paste.
- The first time, the browser opens so you can sign in with your account. There are no keys to copy. The assistant will only be able to use the tools you have access to.
Internet requirement. Web assistants (Claude, ChatGPT) open the connection from their provider's servers: the MCP address must be public and use HTTPS. Also, each provider limits, depending on the plan, who can add custom connectors; their menu names change between versions, so if you cannot find them, look for "Connectors".
A module as a project. Each module has its own MCP address, shaped like <platform address>/api/module/<module name>/mcp, which shows only what is in the module. It lets an assistant working on one task avoid seeing everything else. It gives no new permissions: it only shows less.
"Connect": choose your assistant and the console shows the steps to set it up.
Trying it without an assistant
The Connect screen (or MCP client) has a Try it out area: choose a tool, fill in its data and press Run. It behaves like an assistant, with your own user: you only see the tools you can use.
Calling tools
Once connected, just ask the assistant for what you need ("find the customer with ID number 123"). The assistant sees the list of tools, picks the right one from its description, fills in the data and AgentGate runs it. If the module has skills and commands published for you, the assistant offers those too (commands usually appear in its menu, for example with a slash).
If the list changes (a tool is published or retired), the assistant finds out if it keeps the connection open; if not, reopen the conversation.
Two-step confirmation for tools that change data
A tool that changes information does not run the first time:
- The assistant asks for it. AgentGate does nothing and answers that confirmation is needed, with a confirmation code for that exact change (that tool, that version, that data and that person).
- The assistant repeats the request with the same data and the code. Only then does it run.
The code is valid for 5 minutes and only once. If any data changes, or if it expires, it is rejected and nothing runs. In Try it out and in the console screens it appears as the notice This tool changes data, with the Approve and run button.
Please note. This second step guarantees an explicit confirmation of the exact change, but does not by itself prove that a person confirmed it: an autonomous assistant can confirm it. If your organization gives a client more freedom (the permission "Run changes in your systems without asking for confirmation each time", set up in the sign-in system), those changes are made without the second step, but remain recorded in the audit. Read-only tools do not ask for confirmation.
See what happened: executions and audit
- Executions: the calls assistants made to tools, with filters for Client, Tool, User and Status. The statuses are: Succeeded, Failed, Timed out, Running and Denied (the person had no permission). Totals, success rate and times are shown at the top. Data values are only stored if your organization keeps results.
- Audit: administrative changes, Agent connections, tool calls and confirmations. The Verify integrity button checks that the record was not modified or deleted; the verification code of the last event is worth keeping outside the platform: if it changes later, the record was rewritten.
- Home: indicators, a chart of calls and alerts. Users shows each person's activity.
The Executions screen: totals, success rate and filters.
The Audit screen and its "Verify integrity" button.
AI models, spend and keys
Besides tools, AgentGate can offer your organization AI models with spend control.
- AI models: the available providers and models, their prices and keys. Provider keys are loaded in the Agent's own console, under AI models (it appears if the Agent has the models service turned on): paste the key, it is never shown again, and Test connection checks that it works.
- My keys: the virtual key is the password your programs use to reach your organization's AI models. Create one with Create my key (give it a name that says what you use it for, for example "Cursor on my laptop"). What each key spends is counted. If you lose one, revoke it and create another.
- Connect → Models (API): how to point a program to those models.
- AI usage and My usage: who consumes what, how many queries and how much it costs. What you typed and what the model answered is not shown.
- AI control: budgets, extensions, analysis and findings to keep usage under control.
Model queries are also listed in Executions, but its counters count only tools; model spend is seen in AI usage. More detail in Following usage and audit and in AI model gateway.
Frequently asked questions and common problems
Frequently asked questions
Do the keys to my databases leave my network? No, if the connector is in an Agent: credentials are stored encrypted in the Agent and the platform never sees them. In direct connectors, the key is stored encrypted in the platform and is never shown again.
Do I need a ChatGPT, Claude or Gemini subscription? Not to use AgentGate Desktop: it comes with its own assistant, which uses your organization's models through the gateway. If you prefer Claude or ChatGPT, then you do need your account with that service, and you connect them over MCP (AgentGate Desktop, Connect an assistant).
Do I have to open ports in my firewall for the Agent? Not inbound. The Agent connects to the platform. Only direct connectors require allowing inbound access from the platform's addresses.
Can an assistant see all my tables? No. It can only call tools you published and that the person has access to. Each tool defines exactly which query or call it makes.
What if I publish the wrong tool? Every change creates a version; you can go back to the previous one from Versions. You can also stop offering it by removing access.
What does an AI assistant see of what I write? That is decided by the model you use. AgentGate records the tool called and its results according to your organization's policy.
Can I change my organization's plan or limits? Not from the console: they are in My organization, read only, defined by the service provider. The only thing an administrator can change there is the language.
Troubleshooting
The Agent does not connect
- Look at the status in Agents: Disconnected or an old Last seen.
- Check that the service is running (see Step 3) and its logs:
docker compose logs(Java),journalctl -u agentgate-agent(Linux),C:\ProgramData\AgentGate\logs(Windows) or/var/log/agentgate-agent.log(macOS). - Check the outbound network (ports in Before installing). The secure channel must not go through a device that opens it and re-encrypts it.
- If the Agent was off for more than 7 days, the certificate expired: run
enroll. - If the status says Suspended or Revoked, an administrator switched it off: Activate the first; a revoked Agent must be installed again.
- If the error says the name is not in the certificate: the address of the secure channel (
PLATFORM_ADDRESS) must be one of the names in the platform's certificate; tell whoever operates the platform.
A connector shows "Unhealthy" or "Unavailable"
Press Test (Agent) or Check now (platform) and read the message. Usual causes: a wrongly typed address or port, an expired user or key, the database's firewall not letting the Agent's server in, or the API changing its health check address. For databases, Refresh schema reads the tables again.
I sign in to the console and every screen says "You do not have permission"
Your organization does not exist yet in the platform or its name does not match your organization in the sign-in. Ask whoever administers the platform to check.
I cannot see a tool I should see
Check in Groups and access that your group has it, that the tool is Published (not Draft), that the connector is Active and that the module, if you use it, is not Disabled.
The assistant says confirmation is needed
That is expected for tools that change data: see Two-step confirmation. If the code expired (5 minutes) or the data changed, ask for the operation again.
I cannot connect my assistant
Check that the MCP address is public and uses HTTPS, that you signed in with your organization account and that your provider allows adding custom connectors on your plan.
"It cannot be deleted: tools use this connector"
Delete those tools first and then the connector.
The HAR file produces nothing
If it says it has no calls from the system, record it again with the Fetch/XHR filter and doing the complete operation. If it says it is not a valid HAR, save it with Save all as HAR with content.
AgentGate Desktop
AgentGate Desktop is a desktop application for people who do not have (and do not need) a ChatGPT, Claude or Gemini subscription but still need to connect to their organization's systems with an AI client. It comes with its own AI assistant, which uses your organization's AI models through the AgentGate gateway (AI model gateway). There is nothing to pay for and no personal AI account to set up: you sign in and, from there, use the AgentGate tools, data and skills your organization gave you.
It is based on an open source project (Apache 2.0 license); it is not that project's official distribution and is not endorsed by its authors.
Who it is for and how it differs
| What it is | What it needs | Who uses it | |
|---|---|---|---|
| AgentGate Desktop | An application with a chat and its own assistant, ready to use | Only your AgentGate account | People without an AI assistant subscription who need to work with their organization's systems |
| AI client over MCP (Claude, ChatGPT, etc.) | Third-party programs you connect to AgentGate (Connect an assistant) | Your own subscription or account with that service | Whoever already uses those programs |
| Agent | A server program, without windows, inside the customer's network (Install) | A server | Whoever administers the installation |
Downloads
Installers are downloaded from the AgentGate downloads page: https://ejemplo.invalid/descargas. Version 1.58.0.
| System | File | Status |
|---|---|---|
| Debian, Ubuntu (x86_64) | agentgate-desktop_1.58.0_amd64.deb |
Exists (the package was built). |
| Red Hat, Fedora | .rpm package |
The application has it planned in its packaging configuration; it has not been verified that it is built. |
| Windows | .exe installer |
The application has the configuration to build it; it has not been verified that it is built. |
| macOS | .zip file with the application |
The application has a way to build it; it has not been verified that it is built. |
How to read this table. Only the Debian and Ubuntu package is confirmed. For the other systems, look on the downloads page to see whether they are already published. The installers are not signed yet: Windows or macOS may show a warning when opening them.
How to install
Debian and Ubuntu
sudo apt install ./agentgate-desktop_1.58.0_amd64.deb
Then look for "AgentGate Desktop" in the applications menu. To remove it: sudo apt remove agentgate-desktop. Your data (settings and chats) stays in the folder ~/.config/agentgate-desktop; delete it by hand if you want to remove that too. The application uses its own folders: it does not touch those of another installation of the base program you may already have on the same computer.
Windows and macOS: download the installer from the downloads page and open it. If the system warns that it is not signed, confirm only if you downloaded it from that page.
First sign-in
The application already comes with your organization's platform address.
- When you open it the welcome screen appears. The main option is Sign in with AgentGate: "Use your AgentGate account. The assistant connects to your organization's models by itself." Press Sign in.
The welcome screen (the screenshot shows the application in Spanish). Below "Sign in with AgentGate" there are two other options: "Use a Local Model" and "Connect to a Provider" (see below).
- The application shows a code and opens your browser. Approve the sign-in there (with your organization account; two-step verification is supported). If the browser asks for the code, type it.
- If your account can use several Agents, Choose where to connect appears: you choose once and it stays that way until you sign out.
- The application creates a personal key for your organization's AI models on your behalf and stores it encrypted on your computer (in the system keychain or, if there is none, in a file only you can read). You never see or copy it: it is used automatically. If the key stops working or is lost, the application asks for another one the next time you sign in, with the same Agent.
- Your organization's tools are added to the assistant. When it finishes, Connected to AgentGate appears; press Get Started.
When the sign-in finishes: "Connected to AgentGate" (the screenshot shows the application in Spanish). The "Privacy" box says that the application does not send usage data.
The other two welcome options
"Use a Local Model" and "Connect to a Provider" come from the base application and are available in this version. They are not the AgentGate path:
- Connect to a Provider is for using your own OpenAI, Anthropic, Google or other account. It is exactly what Desktop lets you avoid.
- Use a Local Model downloads a model and runs it on your own computer, with no accounts.
- Any conversation that uses one of those two options does not go through your organization's gateway: it does not count in usage or budgets, and your organization does not control it. To work with AgentGate tools and data use "Sign in with AgentGate".
Usage data
AgentGate Desktop sends usage data to no one, and the Privacy box in "Connected to AgentGate" says so. There is nothing to tick or untick.
Earlier versions of the application showed a box "Share anonymous usage data" in that screen, ticked by default. It had no effect: the application already switched that sending off by itself, whether or not the box was ticked. If you still see it, update the application; meanwhile, nothing was sent.
How to use it
The main screen and the first chat
From the side menu (New chat, Recipes, Skills, AgentGate, Apps, Scheduler, Extensions, the session history and Settings) you reach everything. With New chat type what you need in the text box. Under the box you see the model in use, the working folder, the spend and the active extensions.
The main screen (the screenshot shows the application in Spanish). Under the text box: the model (here "claude-haiku-5-5"), the working folder and the number of active extensions. The chat titles and the folder name were covered.
Choosing the model
Press the model name under the text box: "Current model" opens, for example "claude-haiku-5-5 — AgentGate". With Change Model you pick another one among the models your organization enabled for you (those managed by the model gateway).
The model comes from your organization's gateway (shown with "— AgentGate"). The screenshot shows the application in Spanish.
Chatting with AgentGate tools
Ask the assistant for what you need in plain language. The assistant can use the tools your organization gave you (the same ones you see in the platform console, according to your groups and roles). For example, you can ask which tools it has available.
A chat (the screenshot shows the application in Spanish): the assistant groups its tools by extension. Actions that change data ask for confirmation before running. Parts showing business tools of a real organization were covered.
Extensions: where the tools come from
The Extensions screen lists what the assistant can use. The AgentGate extension is the connection (over MCP) to your organization's tools, data and skills: the application adds it by itself when you sign in. It has a switch to turn it on or off.
Default extensions (the screenshot shows the application in Spanish). "Agentgate" is your organization's; the others come with the application. The server address was covered.
The application also brings other extensions enabled by default. Two are worth understanding:
- Developer: according to its on-screen description, it lets the assistant write and edit files and run commands on your computer. That is, the assistant does not only chat: it can touch your computer.
- Apps and Analyze: create small applications that run in isolated windows and analyze code structure.
Use them with care: read what the assistant proposes to do, do not ask for actions on folders with information you do not want to expose, and in Settings choose a mode that asks for approval (the application offers the modes Autonomous, Manual, Smart and Chat only; I could not confirm which one is selected by default). If you do not need it to work with files and commands, turn Developer off. This is independent of AgentGate: what it does with your files does not go through your organization's controls.
Modules as projects
In the side menu, the AgentGate section shows Your modules. Press Open as project on one: the application creates the folder ~/AgentGate/<module>, installs the module's skills there and opens a chat that sees only that module's tools. A module's chats stay together in the side panel. It is a shorter view: it grants no new permissions.
Skills and recipes of the shared catalog
The same AgentGate section shows who signed in (with Sign out) and the catalog of skills and recipes your organization shares.
- Install: press Install on the one you need. It is stored on your computer.
- Share: under "Share one of your recipes", Share publishes one of your recipes for the whole organization; it becomes visible right away. You can also add it to a module, only if you are an editor of that module. Do not share anything with passwords or private data.
- If AgentGate finds parts of the text that look like instructions to bypass rules or hide things from the user, it is not shared until you confirm you read it.
- Only whoever shared it, or an administrator, can change it or Stop sharing.
- Each person can share up to 20 items.
The AgentGate section (the screenshot shows the application in Spanish): above what is already shared (with "Install"), below "Share one of your recipes". The email of the signed-in person was covered.
The labels on each item tell where it comes from: "Shared by you", "Shared by a colleague" or "Published by an administrator", and whether it "Includes a recipe".
Two-step confirmation
Tools that change data ask for a confirmation before running, just as with any other assistant (see Two-step confirmation). Read-only ones do not ask.
Signing out
In AgentGate, Sign out (it asks first). The application revokes that computer's key and removes the AgentGate provider and tools from the application; your chats are kept. It is also the way to change user or Agent.
Language
The application uses the language you pick in its settings; if you did not pick one, your organization's; and if not, the system's. It comes in Spanish and English. Some texts still appear in English.
About
In the menu, Window → About AgentGate Desktop shows the version, that it is based on another open source project and the license.
Common problems
| What you see | What to do |
|---|---|
| "The sign-in was not approved" | You pressed again or closed the browser without approving: sign in again and approve the code. |
| "The sign-in code expired" | Codes last a few minutes: try again. |
| "Your account has no model gateway available" | Your organization has no Agent with AI models you can use: ask your administrator. |
| "The model gateway has no published address yet" | The address still has to be published in the platform: ask your administrator. |
| "Could not connect to AgentGate" | Check your Internet connection and try again. |
| "You have reached the limit of 20 shared items" | Stop sharing one before sharing another. |
| "Only whoever shared it, or an administrator, can change it" | Ask the person who shared it or an administrator. |
| "You cannot add it to that module" | Only the module's editors can do it. |
| The tools do not appear | Sign out and sign in again; if it stays the same, ask your administrator (you may lack access to a group or module). |
AI model gateway
Besides offering tools to assistants, AgentGate can be the single point through which your organization uses AI models (OpenAI, Anthropic, Gemini, OpenRouter and others). That point is called the model gateway. This chapter explains, step by step, how to get it running, how to share access with keys, how to control spending and how to review what goes through it.
What it is and what it is for
Without a gateway, every person or application needs a key from an AI provider, nobody knows how much each one spends and there is no way to stop misuse. With the gateway:
- People and programs use AgentGate's own keys (virtual keys), not the provider's. Each key limits which models it can use and how much per minute, and can be revoked without touching the others.
- All spending is measured and can be limited in dollars (per organization, group, person, key or session).
- Review steps can run before and after each request: hide personal data, stop content that is not allowed, choose the model by rules, and so on.
- You decide which models each group uses and what price they are given.
How it fits with the Agent
The gateway is provided by the Agent, not by the platform. It is an optional feature of the lightweight (Rust) Agent and it is off by default:
- On the Agent's machine, turn on the model service in its installation settings (
AGENT_LLM_ENABLED=true) and restart the Agent. If you want it reachable only from that machine, the installers ask whether to open it to the network. - Set the public address: the address people use to reach the gateway, for example
http://ai.mycompany.local:8787orhttps://ai.mycompany.com/gateway. It is written in the installation settings (AGENT_LLM_PUBLIC_URL) or on the Agent's local console, under AI models → Public address, where the Test button checks that it answers. - Load the providers' keys on that same local console (explained below). The platform never receives those keys: it only learns whether they are loaded or not.
The platform keeps the rest: which providers and models exist, the prices, the virtual keys, the budgets and the review steps. The Agent receives it by itself and applies it on every request.
Who sees these screens. Setting up providers, prices, keys, budgets and steps is a task for whoever administers the platform. Anyone who signs in can see My usage, Connect and My keys.
The screens are in the AI models menu (providers, prices, keys and steps), AI control (budgets, extensions, analysis and findings) and AI usage (My usage, Spend and Sessions), and in Connect and My keys.
Providers and models
A provider is the service that supplies the models (for example OpenAI). A model is one of those the provider offers (for example gpt-4o-mini). Under AI models → Providers and models you see the providers and, inside each one, its models.
The Providers and models screen. Look at the key status of each provider ("Key loaded on the Agent" or "The key still has to be loaded on the Agent") and at each model with its enabled mark.
How to add a provider
- Open AI models → Providers and models and press Add provider.
- Under Known provider pick one from the list (OpenAI, Anthropic, Google Gemini, OpenRouter, Mistral, DeepSeek or xAI) and the name and address are filled in for you. If yours is not there, choose Other (manual).
- Check the Name (how you will recognize it in the list, for example "OpenAI production") and the Identifier (lowercase letters, numbers and dashes; it is the name the Agent's console shows for this provider and it cannot be changed later).
- Choose the Type: OpenAI or compatible, Anthropic or Gemini. For OpenAI-compatible services (Azure, vLLM, Ollama) choose the first one and write their address in Service address.
- Leave Use this provider ticked and save.
To take a provider out of use without losing its settings, edit it and untick Use this provider. Delete removes it with all its models, and applications that use it stop working.
How to load the provider's key on the Agent
When you add a provider, the screen explains that its access key (the one OpenAI, Anthropic, etc. gave you) is not loaded here. It is loaded on the Agent's local console:
- Open the Agent's console on the machine where it is installed (by default
http://127.0.0.1:14793) and sign in. - Go to AI models. You will see each provider with its status: Key loaded or Key missing.
- Press Load key, paste the key as the provider gives it and press Save key. It stays encrypted on that machine, is not shown again and the Agent uses it right away, with no restart. Replace key and Remove key let you change it.
- Press Test connection to check that the key works; the Agent tells you in plain words whether it does.
How to tell whether a key is missing: on the platform, each provider shows its status: Key loaded on the Agent, The key still has to be loaded on the Agent or No information from the Agent yet. If it is missing, requests to that provider's models fail until the key is loaded.
How to add a model
- On the provider, press Add model.
- Write the name in Model, as the provider names it (for example
gpt-4o-mini). - Fill in the fields:
| Field | What it means |
|---|---|
| Maximum answer (tokens) | The longest answer allowed. It applies when the request does not set a limit. (A token is a piece of text, roughly three quarters of a word, which is what models count and charge for.) |
| Data it may receive | The most sensitive level of data this model may see: Internal, Confidential or Restricted. If a conversation already used data of a higher level, this model is refused. |
| Price reference | Optional. The name it has in the price list, if different from the model's. |
| What it can do | Use tools, Answer in real time and Report usage at the end of the answer. Tick only what the model really does: if a request asks for something the model does not have ticked, it is rejected. |
| Allow this model | Enabled or not. A disabled model cannot be used. |
- Under Groups that can use it choose the groups that will use the model, so you do not have to go to Groups and access. A group with no list of models can already use all of them, and that one is left alone.
- Save. Remove model deletes it.
How to bring models from the list
Instead of typing each model, you can take them from OpenRouter's public list:
- On the provider, press Bring models from the list.
- Use Search models (or Only free) and tick the ones you want to offer; Select all and Select none help with long lists. The ones you already added show Already added.
- If needed, fix the Name that will be used of each one.
- Press Add N models.
If the screen says the price list has not been loaded yet, go to Prices, press Update now and try again. Free OpenRouter models still need an OpenRouter key and have their own limits.
Prices
The gateway calculates spending with each model's price. Prices are under AI models → Prices, in dollars per million tokens (input, output, cached input and reasoning).
The Prices screen. Look first at "Where prices come from" and, below it, whether any models have no price.
- OpenRouter list (updates itself): uses OpenRouter's public list. Press Update now to fetch it right away; if an attempt fails, the last good list keeps being used.
- Own list (only the prices you load): you maintain the prices. To avoid starting from scratch, use Copy the current list to edit it.
- Adjust changes a model's price (useful for prices negotiated with the provider) and it is marked Adjusted; Back to original removes the adjustment.
- A model without a price is blocked: requests to it are rejected, never counted as free. Models without a price are listed apart, with a Set price button.
Virtual keys
A virtual key is the password a person or program uses to reach your organization's models, instead of the provider's key. It starts with agk_. Each key:
- has a name that says what it is for (so the spend shows what work each one did);
- can limit the models and the Agents where it works;
- has a limit per minute of requests and tokens;
- can be revoked without affecting the others.
The secret is shown only once. When you create or regenerate a key, the screen shows the full key in a box with the notice "Copy it now and keep it somewhere safe". The platform does not store it, so it cannot be seen again: afterwards only its beginning is visible (Starts with). Copy the key, paste it where you will use it and only then press I copied it, close. If you lose it, regenerate it or create another. For that reason this guide shows no screenshots of that box.
Keys do not expire by date: they stop working only when they are revoked (by hand or automatically, see below).
Personal keys: My keys
Each person can create their own under My keys:
- Open My keys.
- If there is more than one Agent with the model service, choose under Agent for the key the one you will use: each key is created for one Agent.
- Under Group, choose a group if you want its budget and models to apply to the key as well; without a group only the organization's limits apply.
- Under Key name, write what you will use it for (for example "Cursor on my laptop").
- Press Create my key, copy the key that appears and keep it.
The My keys screen. Look at the counter "N of M active keys in this group" and at each key's status.
There is a maximum of active keys per person and per group: the screen shows "N of M active keys in this group" and, at the maximum, asks you to revoke one to create another. The maximum is set by the organization's plan (5 by default); a person in two groups has their own keys in each.
If an administrator prepared keys for you, a notice in My keys says "You have N keys waiting for you". Each one shows Waiting to be retrieved: press Retrieve my key and it is shown once.
Keys for the organization or a group
Under AI models → Keys the administrator sees all keys (name, holder, group, models, Agents, limits, Last used and State: Active or Revoked).
The Keys screen. Above, the keys one by one; below, "Keys for the organization or a group".
How to create a key:
- Press Create key.
- Under Who the key is for choose:
- The whole organization or A group: this does not create a single key but a rule: each person gets their own key and retrieves it themselves from their My keys screen. If someone new joins, they get theirs. The rule appears under Keys for the organization or a group, with how many people have it and how many are waiting to be retrieved, and the Update button hands out any that are missing.
- One person: a single key is created for that person (choose them under Person). The secret is shown once, to whoever created it.
- Write the Name. For a group, or for a person inside a group, choose the Group.
- Choose the Allowed models (if you tick none, the key can use all of them) and the Agents (if you tick none, it works on all).
- Adjust the Limit per minute: Requests per minute and Tokens per minute. The starting values are 600 requests and 200,000 tokens per minute. When the limit is exceeded, the application gets a notice and tries again later.
- Press Create.
The "Create key" window, not yet submitted. Look at "Who the key is for", the models and the limits per minute.
A key's holder and group cannot be changed afterwards: if you need another, revoke it and issue a new one. The name, the models, the Agents and the limits can be changed with Edit.
Regenerate and revoke
- Regenerate (in My keys) creates a new key with the same settings; the current one stops working right away. Use it if the key leaked or was lost, then update it in every tool that uses it. The new key is shown once.
- Revoke makes the key stop working right away and it cannot be reactivated: you have to create another. It is in My keys and in Keys. Revoking a rule under Keys for the organization or a group also revokes all the keys made with it.
When keys are revoked by themselves
A key only works while its holder stays enabled and belongs to the key's group. The platform takes care of it like this:
| What happens | What happens to the keys |
|---|---|
| The person is disabled or deleted from the platform | All their personal keys are revoked, right away. |
| The person leaves a group | Their keys of that group are revoked (they do not move to another group). If they come back, they get a new one. |
| A group is deleted | All the keys of that group are revoked. |
| The change was made directly in the sign-in system | The platform compares the keys with the people and groups every 15 minutes and revokes the ones that no longer apply. If it cannot reach that system, it revokes nothing. |
A revoked key shows as Revoked.
Good practices
- One key per tool or program, with a clear name: that way you see how much each one spends and can revoke only that one.
- Leave under Allowed models only the ones needed, and limit the Agents if the key is used on just one.
- Treat the key like a password: do not share it or paste it in public places (repositories, chats, screenshots).
- If you suspect it leaked, Regenerate or Revoke without waiting.
- Check Last used: a key that was never used, or not used for months, can be revoked.
- Whenever you can, tie the key to a group: that way its budget and models apply too.
Connect a program to the gateway
To point a tool or program at your organization's models:
- Create your key in My keys (see above) and copy it.
- Open Connect and go to the Models (API) tab.
- Under 1. Agent your tools connect to choose the Agent (if there is only one, it is already there).
- Under 2. Models you can use see the available names. Write one of them as the "model" in your tool.
- Under 3. Set up your tool pick yours (you can Filter by type: Chat, Editors, Terminal, Others / code). The screen shows, step by step, where it is set up and what to paste, already with your gateway's address.
The "Models (API)" tab. Look at the address shown in the guide of step 3: it is the one to copy into your tool.
The tools with a guide are: Environment variables (OpenAI), Python (OpenAI SDK), JavaScript (OpenAI SDK), curl, GitHub Copilot, Cursor, OpenCode, Continue, Open WebUI, LibreChat, Codex CLI, Claude Code, Anthropic SDK and Gemini models. The ones that use the OpenAI interface write the address ending in /v1; Claude Code and the Anthropic SDK use Anthropic's interface, write the address without /v1 and only work with Anthropic (Claude) models. Gemini models are used through the OpenAI interface.
In the examples, agk_SU_CLAVE_AQUI marks where your key goes: replace it with one of yours. In the examples below the address is http://ai.mycompany.local:8787: use the one your screen shows.
First, check that it works (curl)
- Open a terminal and ask for the list of models. If the address and the key are right, it answers with the models your key can use:
curl http://ai.mycompany.local:8787/v1/models \
-H "Authorization: Bearer agk_SU_CLAVE_AQUI"
- Make a test request (change
gpt-4o-minito a model from the list):
curl http://ai.mycompany.local:8787/v1/chat/completions \
-H "Authorization: Bearer agk_SU_CLAVE_AQUI" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-4o-mini","messages":[{"role":"user","content":"Hello"}]}'
If the first command answers with an invalid or revoked key notice, check the key; if it does not answer, check the address and that the Agent is connected.
A Python program
- Install the library with
pip install openai. - Paste this example into your program and change the model to one from the list:
from openai import OpenAI
client = OpenAI(base_url="http://ai.mycompany.local:8787/v1", api_key="agk_SU_CLAVE_AQUI")
answer = client.chat.completions.create(
model="gpt-4o-mini",
messages=[{"role": "user", "content": "Hello"}],
)
print(answer.choices[0].message.content)
Cursor
- Open Cursor's settings and go to Models.
- Enter your key in the OpenAI key field.
- Turn on Override OpenAI Base URL and write the address with
/v1at the end:http://ai.mycompany.local:8787/v1. - Add the name of a model from the list in step 2 and turn it on.
The names of the options change between Cursor versions. Also, Cursor may send requests from its own servers: if your Agent's address is internal to your network, it may not be reachable.
When you use the key, your requests appear in My usage.
Budgets
A budget sets how many dollars can be spent per period. They are created under AI control → Budgets. It is the only thing limited in money; in addition each key has its limit per minute (see above).
The Budgets screen. Look at the "Available" column of each budget and, further down, "Balance shared among Agents".
How to create a budget
- Press Create budget.
- Under Applies to choose the scope:
| Scope | What it is for |
|---|---|
| The whole organization | Spending cap for all the organization's models. |
| A group | Cap for the members of a group. |
| A key | Cap for one particular key. |
| A person | Cap for one person (write their username). |
| Each session | Cap for each agent session: every one starts with this limit. |
- Choose the Period: Per day or Per month (for Each session the period is Per session).
- Write the Limit in dollars (US$), for example 250 or 1,250.50, and save.
When several budgets apply to a request, the tightest one is respected. To stop applying one, use Turn off: its history is kept.
What happens at the limit
- If the budget ran out, the application gets a 429 error with the code
budget_exhausted("The … budget has no balance left") and an extension request code. Programs that use the OpenAI interface see it as an insufficient-quota error. - If the Agent cannot verify the balance at that moment, the application gets a 503 error (
budget_unavailable). - If the key's limit per minute is exceeded, it gets a 429 with the code
rate_limitedand a notice of how many seconds to wait; well-made programs retry by themselves.
Extensions
If someone runs out of balance in the middle of a task, they can ask for more. The base budget does not change: the extension is added for a while and what is left over is discarded.
- The person copies the code from the notice the application showed.
- Under AI control → Extensions, in Ask for an extension, they paste it in Code from the notice, give the Amount (US$) and the Reason, and press Send request. The screen confirms who will be extended (a session or a person's budget).
- Requests wait under Pending requests. The administrator (or the group's manager) Approves or Rejects them. When approving you can choose the Duration (The usual one, 1 hour, 4 hours or 1 day) and, as an administrator, an amount different from the request; others cannot approve more than was asked, and a group manager cannot approve amounts above what they are allowed. To reject you must explain the reason.
- Each request stays in the History as Pending, Approved, Rejected or Expired.
Under Automatic approval you can let requests up to a Maximum amount per request (US$) be approved at once, as long as the day's total stays within the Limit per day (US$); anything above stays pending for a person. Every automatic approval is recorded with the approver "auto".
Balance shared among Agents
So that each Agent can answer without asking the platform on every call, it receives part of the budget in advance. Under Budgets, the Balance shared among Agents table shows for each Agent and budget what was Granted, what was Spent and the State: In use, Settled, Temporarily unavailable or Expired.
If an Agent restarts and could not report how much it had spent, that balance becomes Temporarily unavailable: for safety it is set aside until someone releases it. Press Release balance, write the Reason (it is recorded in the audit with your name) and confirm. What the Agent managed to report counts as spent and the rest goes back to the budget; if the Agent spent something more before restarting and did not report it, that spending is not deducted.
Pipeline of steps
The pipeline is the list of review steps that run by themselves around the AI: for example hiding personal data before it is sent to the model or stopping content that is not allowed. It is set up under AI models → Pipeline.
The Pipeline screen. Choose "Where to apply" and look at the steps of each point; below, what runs in total.
Points and levels
Steps run at four points of the journey:
| Point | When it runs |
|---|---|
| Before sending to the AI | On what was written, before it reaches the model. |
| After the AI answers | On the model's answer, before it is delivered. |
| Before using the tool | Before an assistant runs a tool. |
| After using the tool | On what the tool returned. |
Under Where to apply choose the level: Whole organization, A group or A key. Each level adds its steps to those of the level above: first the organization's run, then the group's and then the key's. The group and key levels set the two points around the model; the steps around tools are edited in Tools, under the Pipeline tab.
Types of step
| Type | What it does | Where it can go |
|---|---|---|
| Hide personal data | Replaces data such as CBU, Cards, CUIT, Email addresses, ID documents and Phone numbers (choose which under Which data to hide; others can be added with your own pattern). | Any point. |
| Content rules | Looks for words or phrases, patterns (regular expressions), a longest text allowed, code, links or attempts to manipulate the AI. Under What to do when it finds something choose Stop the call, Hide what it finds (words and patterns only), Warn and let it through or Only record it. The Reason shown is the message the person sees. | Any point. |
| Choose the model by rules | Changes the requested model according to ordered rules (data at least of a level, model asked for, group, key, whether it uses tools, whether it asks for a live answer). The first rule that matches wins; if none does, the requested model is kept. | Only before sending to the AI. |
| Try another model if it fails | If the chosen model fails, tries the Backup models in order. Under When to try another model: when the AI is overloaded (429), when the server fails (5xx) or when it takes too long. | Only before sending to the AI. |
| Reuse repeated answers | When exactly the same request comes in again, returns the stored answer without asking the AI again. Only answers without streaming and without tools are stored; you choose how many seconds they are kept (300 by default) and how many answers. | Only before sending to the AI. |
| Stop based on what the session has already read | Stops a tool if that conversation has already read data of a level (Internal, Confidential or Restricted) or a more sensitive one. | Only around tools. |
How to add and order steps
- Choose the level under Where to apply (and the group or key if needed).
- At the point you want, press Add step and choose the type under Choose type….
- Fill in its options.
- Use Move up and Move down to order them: they run from top to bottom and the order matters (for example, hide personal data before looking for words).
- Each step can be Active or Disabled: disable it to test without losing it. Remove deletes it.
- Save: "Steps saved." appears.
What to do if a step fails
A step can fail (for example by taking longer than its Time limit (ms), between 1 and 5000; empty uses 50 ms before the model and no limit after). Under If the step fails choose:
- The usual for this point: stops the call if the step runs before the model or the tool, and lets the answer through if it runs after (so as not to hold back something already produced).
- Let the call through: carries on as if nothing happened.
- Stop the call: nothing is sent.
For safety steps (hiding personal data, blocking content) Stop the call is the better choice.
What runs on a call of this group
Below the editor, What runs on a call of this group is a read-only view that puts together the steps of the organization, the group and the key in the order they run, with a mark showing where each one comes from (Organization, Group, Key, Tool). Use it to understand what really applies before changing anything.
What the person sees when a step blocks
If a step stops the call, the application gets a 403 error with the code blocked_by_policy and, as the message, the Reason shown you wrote (if you left it empty, "The content is not allowed here"). If a step that had to stop the call could not run, it gets a 503 (pipeline_unavailable): "A step of the pipeline (…) could not run, so the call was not sent". Nothing is sent to the provider in either case.
Findings
When a Content rules or Hide personal data step acts, it leaves a finding with the notice's code and its severity (for example, a rule that only warns leaves a Medium finding), and never the content. They are shown under AI control → Findings, together with those of the usage analysis: you filter by Category, Severity, Certainty and Origin, and each one moves to Resolved with I did it: mark as resolved, to Dismissed with Dismiss, or is applied with Approve and apply when it proposes a change.
Models as tools
A model tool lets the assistant ask another AI model for a second opinion, as if it were any other tool. The model only sees what the assistant sends it: it does not open files or use other tools.
How to create a model tool
You first need an Agent with the model service and at least one ready model. If one is missing, the screen says so, with links to Agents and AI models.
- Under Tools, press New model tool.
- Under Identity write the Name and the Description for the model (it tells the assistant when to use it).
- Under Who can use it choose the groups or roles first: the Agent and the models offered afterwards are the ones those groups may use.
- Under Model choose the Agent that runs it, the Model, and write the Role instructions (what role it plays, for example "You are an architecture reviewer. Point out risks and alternatives.").
- Under What it receives keep the usual (the task and an optional context) or add parameters.
- Under Limits set the Maximum length of the answer (tokens), the Time limit (seconds) (lower than the time your client waits for a tool), the Answer format (Text or structured; the second option is labeled JSON) and whether to Allow continuing the conversation.
- Press Publish tool.
The "New model tool" screen. Note that you first choose who uses it and only then the Agent and the model.
What the assistant sees, and how it is controlled
The assistant sees it like any other tool, with the name and description you gave, and passes it the task. The request goes through the gateway of the chosen Agent, so the same controls apply: the model must be allowed for the group, the budget is deducted (from the group, the key and the person) and the pipeline steps run. The cost is recorded as part of the assistant's session and shows under Sessions.
If the tool allows continuing the conversation, the Agent remembers the thread as long as a few minutes do not pass without use (30 by default) and as long as it is not restarted.
Following usage and audit
This chapter explains how to find out what is used, what it costs, what failed and who changed what. Everything is in the Monitoring section of the platform console menu, except Home, which is the first screen.
| If you want to know… | Go to… |
|---|---|
| How much a person, a key, a group or a model spent | AI usage → Spend |
| How much you spent | AI usage → My usage |
| What an agent did in a task, step by step | AI usage → Sessions |
| Why a call failed | Executions |
| Who changed a tool, an access or a budget | Audit |
| Where money can be saved or what risks there are | AI control → Analysis and Findings |
| What needs attention today | Home and the Notifications bell |
Who sees what. Each screen appears only to people allowed to use it. My usage and Executions are available to anyone (they show only your own activity); Spend, Sessions, Analysis, Findings, Audit and Home are for the administration and operation of the organization, and only the administration can change the Analysis or resolve Findings. If you do not see a screen, ask whoever administers your organization for the permission (see People, groups and permissions).
Spend: what AI models cost
The Spend screen (in AI usage) shows what the calls to AI models cost in a period. It does not store or show what was written or what the model answered: only quantities and costs.
"Spend": the period and grouping on top; in the table, one row per person with their confirmed cost and the budget used.
How to find out how much a person spent this month
- Open AI usage and the Spend tab.
- Under Period press This month.
- Under Group by leave Person. Each row is a person.
- Look at the Confirmed cost column for that person.
- To see which keys it was spent with, press See by key in their row. "Person: …" appears on top and the table shows one row per key. See all people goes back to the full list.
- If you want to see what they did, press their name: it opens Executions filtered by that person.
Options on the screen
| Option | What it does |
|---|---|
| Period: Today, 7 days, This month, Pick dates | The stretch of time that is added up. With Pick dates, From and To appear. |
| Group by: Person, Key, Group, Model | What each row represents. What has no value is shown apart, for example "No person (applications and agents)" or "No group". |
| Export CSV | Downloads the table as grouped, to open in a spreadsheet. |
How to read the columns
| Column | Meaning |
|---|---|
| Calls | How many times a model was asked. |
| Input tokens and Output tokens | How much text was sent to the model and how much it returned. Models charge according to these quantities. |
| Confirmed cost | What the provider has already confirmed. This is the number that counts. |
| Estimated cost | What the platform calculated and is not confirmed yet. It is kept apart so as not to mix them: it may change. |
| Budget used | How much of that row's budget has been used, with a bar and a percentage ("of the day" or "of the month"). The bar turns red at 100 %. If the row has no budget it shows "—". |
Careful. The Budget used percentage is calculated over the budget's own period (today or this month), whatever dates are picked above. That is why it may not match the sum of the table.
My usage: your own
My usage is the same information, but only yours, so you can keep an eye on your own keys. It has three parts:
- What you consumed in the period: one row per model, with calls, tokens, Confirmed cost and Estimated cost.
- What each of your keys did: the name of each key says what you use it for ("Cursor on my laptop"), so you can see which tool did what work.
- Your tasks: a list of your sessions, with Start, Models, Model requests, Tools and Cost. Press the date to open the task.
Choose the period with 24 h, 7 days, 30 days or Custom. Other people's usage, or what you wrote or the model answered, is never shown. The Connect a tool link takes you to the screen for connecting a new program.
"My usage": your totals per model, what each key did and the list of your tasks.
Sessions: what an agent did
A session is a whole task of an agent: all the requests to models and all the tools it used, with their cost. The Sessions tab (in AI usage) lists those of the whole organization, up to 100 per period.
| Column | Meaning |
|---|---|
| Start | When it began. Press the date to open it; below it you see the beginning of its identifier. |
| Models | The models it used. |
| Model requests | How many times it asked a model. |
| Tools | How many tools it called. |
| Cost | What the whole session cost. |
| Base budget and Extensions | Where the spending came from: the normal budget or approved extensions. The split is approximate. |
"Sessions": one row per task of an agent. Press the date to see the detail.
How to see what a session did
- In Sessions (or in My usage, under Your tasks) press the Start date of the task.
- On top you see four boxes: Total cost, Model requests, Tools used (with how many failed) and Duration. If the cost includes estimated amounts, a note says so: it may change.
- Under Base budget and extensions you see how much came from each.
- Go down to the Timeline. Each step shows, on the left, the time since the start (+1:05 is one minute and five seconds later), and what it was: Model, Tool or Call to another model. For models you see how many input and output tokens it used, how long it took and its cost (with the "estimated" mark if it is not confirmed). Tools show "no cost of its own". A step that failed carries the Failed mark. On the right is the Running total: how much the session had spent up to that step.
- The session Identifier has a button to copy it, useful to pass to whoever gives you support.
The timeline of a session: each step with its time, its cost and the running total.
Executions: the history of calls
Executions (in Monitoring) shows, newest first, the calls to tools and the requests to AI models, together. It tells you what happened, when, who did it and whether it went well.
On top there are three indicators for the period: Tool executions, Success rate (with how many failed or timed out) and Denied. These indicators, and your plan's limit, count tools only; the requests to models appear in the list but do not count there. If you filter by tool, status or person, the list shows tools only.
| Column | Meaning |
|---|---|
| Type | Tool or Model. |
| Time | When it happened, with the "how long ago". |
| What | The name of the tool or the model. For models, also the provider and the tokens used. |
| Who | For tools, the person and the client (the program that called). For models, the key and the person ("No person" if an application used it). |
| Status | How it ended (see below). |
| Duration | How long it took. |
| Cost | Models only; "estimated" if it is not confirmed yet. |
Statuses
| Status | What it means |
|---|---|
| Succeeded | It ran without problems. |
| Failed | It was tried and failed. |
| Timed out | It did not answer in time. |
| Running | It is still running. |
| Denied | The person did not have permission. Nothing was run. |
Requests to models have their own results: Successful, Cancelled, No answer in time, Provider error, Could not be translated, Model not allowed, Out of budget, Per-minute limit and Had a problem (anything else).
How to see why a call failed
- Open Executions and choose the period with 24 h, 7 days, 30 days or Custom.
- In the filter bar open the Status list and choose Failed, Timed out or Denied. For a specific person or tool, type in User or Tool. You can also filter by Type. Clear filters removes them.
- Press the row. The detail opens with Status, Tool, User, Client, Session, Program, Agent / connector, Time and Duration.
- If there was a problem, the Error with its message appears at the end. A Denied call was not run: check that person's permissions.
- For a request to a model, press the row and its whole session opens (if the request belongs to one).
From Home you can also reach the detail of the latest calls with problems (see Home and alerts).
What is kept of the data of a call
Under Parameters the names of the parameters are always kept; the values only if your organization keeps results, and anything that looks like a secret (keys, passwords) is hidden. The Result is shown only if the organization keeps it.
More options in a tool's tab and in a person's activity
The Executions tab inside a tool (in Tools) and the Activity section of a person (in Users) show the same history, already limited to that tool or that person, with a few more options:
- Export CSV: downloads the history with the current filters.
- Auto-refresh every 30 s: the list renews itself.
- A Client (exact) filter, and the Agent / connector and Retry key columns (the mark that identifies a repeated request).
Audit: who did what
Audit (in Monitoring) is the record of what matters that happened in your organization. It answers "who changed this, when and from where?".
Each event shows:
| Column | Meaning |
|---|---|
| Date | When it happened. |
| Category and type | Which group it belongs to and the technical name of the event. |
| Level | Info (normal operation), Warning (something worth a look) or Critical (a refusal or a failure). |
| Actor / origin | The person (or "system", if the platform did it) and the address they acted from. |
| Detail | What was done and on what, in technical text. It is shown shortened; press the row to see all of it. |
| Verification | The verification code of that event (see below). |
Which events are recorded
The Category filter groups events like this:
| Category | What it includes |
|---|---|
| Tools | Administrative changes: creating, renaming, enabling, disabling or deleting tools; assigning them to groups, people or roles; creating and deleting groups and their members; modules, skills and commands; business rules; and everything about the configuration of AI models (providers, models, prices, budgets, keys, extensions, analysis, applied findings). |
| Access | The creation of people and the changes to the organization (creation, enabling, disabling and change of enabled features). |
| Agents | An Agent added, suspended, activated or revoked, and the renewal of its certificate. |
| Assistant calls | Each call to a tool, and the denied or failed ones. |
| Consents | The requests to confirm changes, and whether they were accepted, refused or expired (see Two-step confirmation). |
| Other | What does not fit the others, for example the invitation of a person. It appears in the list but has no filter of its own. |
Critical events are refusals: denied calls or consents and revoked Agents. Warnings are execution errors, suspended Agents, expired consents and disabled organizations.
Above the list, four indicators summarize the period: Events, Consents, Warnings and Critical. You can choose the period as in the other screens and filter by Category, Level and User or actor. Export CSV (top right) downloads the events with those filters.
How to find out who changed a tool
- Open Audit and choose a period that includes the change (30 days if you do not know when it was).
- Under Category choose Tools.
- Look at the Detail column: each change says who did it (
by), what they did (action, for exampletool_disable,tool_renameortool_assign_group) and on which tool (target; if it was renamed, it shows the old and the new name). Look for your tool's name in that column. - Press the row to see the whole event: Date, Category, Level, Actor / origin (with the address they acted from) and the full Detail.
- If you already know who you suspect, type their name in User or actor to see only what that person did.
A tool from an MCP server that changed on its own. If a tool imported from a third-party MCP server changes on its server, the platform withdraws it until someone approves it again and records it as done by "system" (in the Detail).
A Tools event opened: who, when and what changed.
Checking that the record was not tampered with
Each event is stored with its own seal. The Verify integrity button (top right) goes through the whole record and checks it:
- Press Verify integrity.
- If all is well, "Record intact: N events verified." appears, together with the Verification code of the last event.
- Keep that code outside the platform (in a document or your company's password manager). If later, when you verify, the code of the last event has changed, the record was rewritten.
- If something does not match, a red notice appears: "The record is broken at event #N: it was changed or deleted", or "N event(s) do not match their seal", with the first ones affected. Tell whoever administers the platform.
Note. The record has a retention time: the oldest events are deleted automatically. By default the platform keeps the audit for 365 days and the execution history for 30 days; whoever administers the installation can change this. If you need to keep more, use Export CSV regularly.
AI analysis and findings
The Analysis looks for unnecessary spending, tools with problems and security risks in the use of AI models. What it finds is shown as Findings. Both screens are in AI control. Anyone with access to the area can see them; only the administration can change the analysis and resolve findings.
Analysis: what is analyzed
The analysis is off unless someone turns it on. Under What is analyzed there are three levels:
| Level | What it does |
|---|---|
| Off | Nothing is analyzed. Only the minimum needed to bill and respect budgets is kept. |
| Only quantities and times | Quantities, costs, times and errors are analyzed. What is written and what the model answers is not read. |
| Texts too | The texts of the conversations can also be analyzed, only where you say so. The texts stay encrypted on the Agent's machine and are deleted on their own after 30 days. |
To change the level, mark the one you want and press Save; Discard changes goes back without saving. Below, Change history shows who changed the analysis and when.
"Analysis": the three levels and, with "Texts too", where texts are analyzed.
Where texts are analyzed
With Texts too, the Where texts are analyzed section asks you to choose Groups, Agents or Tools (under Type and Which one, and Add). For each one mark:
| Box | What it allows |
|---|---|
| Keep | The texts are kept. |
| Analyze | They are analyzed to find findings. |
| Show | They can be seen in the console. |
While you choose no scope, no text is analyzed. The State column shows Active when the scope keeps or analyzes texts.
Deleting what was analyzed
If you go down from the Texts too level, or a scope stops keeping and analyzing, the kept texts and the findings that came from them are deleted. The console warns you in What was analyzed will be deleted: to continue you must type DELETE and press Delete and save. It cannot be undone, and who did it and when is recorded.
State on each Agent
State on each Agent shows whether each Agent received the analysis configuration: Version sent, Version confirmed and Configuration (Up to date, Waiting for confirmation, Not sent or Older version).
How sensitive each tool's data is
Each tool can be classified under Data level: Internal, Confidential or Restricted (or Not classified). If a conversation uses a Restricted tool, from then on it can only use models allowed for data of that level. The change is saved as soon as you choose it.
Findings: what the analysis found
Findings is an inbox with everything the analysis found. On top, the buttons Open, Resolved and Dismissed choose which to see. Search now (administration only) runs a search right away, without waiting.
Each finding shows:
| Item | Meaning |
|---|---|
| Severity | Critical, High, Medium or Low: how urgent it is. |
| Category | Security, Cost or Tools. A code from the OWASP risk list may accompany the security ones. |
| Certainty | Observation is a measured fact. Hypothesis is a suspicion worth confirming before acting. |
| Origin | Tool review (what was seen when reviewing it), Real use (what happened when it was used) or Review + real use (both). |
| Related sessions | Links to the sessions where it was seen, to look at the timeline. |
| What is worth doing | The recommendation and, if there is one, the Proposed change. |
You can filter by Category, Severity, OWASP code, Certainty and Origin.
"Findings": each card shows the severity, the certainty, the origin and what is worth doing.
How to act on a finding
Only the administration sees these buttons, on Open findings:
- Approve and apply: appears when the proposed change is one the platform can make for you: limiting the models a key may use, marking the data level of a tool or changing a budget's limit. The console tells you in words what it will change; confirm with Apply. The change is recorded in the audit and the finding moves to Resolved.
- I did it: mark as resolved: for the other cases (retiring a tool, reducing the groups with access, adding a business rule, or a plain suggestion). The platform does not do it by itself: press Go and do it, make the change and then mark the finding as resolved.
- Dismiss: if it does not apply or you already decided not to act. It moves to Dismissed.
A finding of type Hypothesis is best looked at together with its related sessions before approving anything.
Home and alerts
Home
Home is the first screen for administration and operation. It summarizes the state of the organization and refreshes itself every 30 seconds. With 24 h, 7 days or 30 days you choose the period, and Refresh renews it at once.
- Connected Agents: how many of the active ones are connected, and how many are registered.
- Published tools: how many, and how many are read and write.
- Executions: how many tool calls there were, with the change against the previous period.
- Error rate: the percentage of calls that failed or timed out.
- Model calls: how many there were and how many had problems. They do not count in your plan's limit.
- Monthly quota: how much of the month's execution limit has been used, with a bar.
- Calls per period: a bar chart with the Successful calls and the Failed or denied ones.
- Latest calls that failed, were denied or timed out: a list; press a row to see its detail, or See all executions to go to Executions.
Alerts and the bell
When something needs attention, Home shows a notice on top (red if critical, yellow if not) and the bell in the top bar shows how many alerts are open. Press the bell to see the Notifications list; if there are none it says "No open alerts.".
| Alert | What it means |
|---|---|
| Certificate about to expire | An Agent's security certificate expires soon. It renews automatically while the Agent is connected; once it has expired, the Agent has to be installed again. |
| Connector failing | A connector does not answer. |
| Agent offline | An Agent has not reported in for more than 5 minutes. |
| Outdated Agent | An Agent runs a version that will stop being compatible: install the latest on the customer's server. |
| Quota almost used up | Almost all of the month's execution limit has been used. |
| Proposal to approve | The agent finished a tool of a module: review and publish. |
| The agent could not finish | Something failed when building a tool of a module: check what failed. |
| Ready to implement | The AI has no more doubts about a requirement of a module: you can implement it. |
Each alert has two buttons:
- Open: takes you to the screen where it is handled (the Agent, the connector, etc.).
- Ignore for 24 h: hides that alert for a day. It only hides it in your browser: it is not resolved and does not disappear for others, and if the problem continues it comes back the next day.
The bell open: each alert with Open and Ignore for 24 h.
People, roles and groups
This chapter explains who can do what in AgentGate: how to invite a person, what each role means, how groups work and how to check what each person can use. If you only need one specific task, go straight to Common tasks.
How access is divided
There are three pieces, and it helps not to mix them up:
| Piece | What it is | What it is for |
|---|---|---|
| Person | Each user of your organization. | The one who signs in and uses the assistants. |
| Role | A function the person has, for example managing tools or only using assistants. | Decides which console screens they see and what they can change. It can also give access to a tool. |
| Group | A set of people (for example, "sales"). | Decides which tools, modules, skills, commands and AI models whoever belongs to it can use. |
The practical rule: roles open the screens; groups give the tools. For a team to use something new, you almost always give access to the group, not person by person.
Users
A person in AgentGate is someone in your organization with an account to sign in. The list is under People → Users and only people with the platform-admin role can see it.
The "Users" screen: one row per person, with their roles, their groups and their last activity.
The list
| Column | What it shows |
|---|---|
| User | The user name, full name and email. If the account is switched off, the disabled tag appears. |
| Roles | The person's roles. |
| Groups | The groups they belong to. |
| Last activity | When they last did something, or No activity if they have not used anything yet. |
To find someone, type in Search by name or email. The list filters as you type; if nobody matches you will see "No user matches the search".
Invite a person
- Open Users and click Invite user.
- Fill in Email (required), First name and Last name.
- Click Invite user.
The person receives an email to sign up and, once they accept, joins your organization. Until they accept they do not appear in the list. They set their own password and the rest of their sign-in details when they sign up, through your organization's sign-in system; you never see or choose their password.
Keep in mind:
- If a person with that email already exists, the console reports a conflict and sends nothing.
- Each organization has a maximum number of people according to its plan; if you reached it, the invitation is rejected. You can see the plan in My organization.
- If you send many invitations in a row, the console may ask you to wait a moment: there is a limit to prevent abuse.
- Each invitation is recorded in the audit.
- The invitation does not assign roles or groups. After the person accepts, add them to their groups (see below).
The "Invite user" panel: only the email is needed and, if you want, the name.
See a person's details
Click a row. A panel opens with these sections:
| Section | What it answers |
|---|---|
| Tools | Which tools they can use and why: "role …", "group …" or "assigned to the person". |
| Groups | Which groups they belong to; from here you can add them to or remove them from a group. |
| Keys | The person's AI model keys. |
| Activity | The tool runs they made. |
| Model usage | What they did with the AI models (what they wrote and what the model answered is not shown). |
| Audit | The recorded events of that person. |
The Tools section is the quickest way to know why a person sees (or does not see) something. People with the tools-admin role can also Give a tool to this person directly (it shows as "assigned to the person") and Remove that assignment. Use it only for one-off cases: normally you give access by group.
A person's details: each tool says whether it reaches them through a role, a group or because it was assigned to them.
Edit, disable and reset access
The AgentGate console has no screens to change a person's name or email, disable them, delete them or reset their password. That is done in your organization's sign-in system, which is run by whoever manages it (in many organizations, the IT department). AgentGate then reflects the change: the person shows with the disabled tag and can no longer sign in.
What happens to what that person had:
- Their AI model keys. A key only works while its person is enabled and still in the key's group. When the person is disabled, deleted or leaves the group, AgentGate revokes those keys automatically; the check repeats about every 15 minutes, so the revocation can take up to that long. If the sign-in system does not answer, AgentGate revokes nothing "just in case" and tries again later.
- What they created (tools, modules, skills, commands, connectors). It belongs to the organization, not to the person: disabling them does not delete it. If they were the only one who could use or edit something, give that access to another group or person.
- Their history. The audit and the runs keep their name.
Roles
Each person has one or more roles. The names appear exactly as shown in the Roles column of the user list and in the Tools section of the details. The role decides which menu entries the person sees; if they open an address that does not apply to them they will see No permission: "Your user is not allowed to see this section", with the Back to home button.
| Role | Who it is for | What they see and can do in the console |
|---|---|---|
platform-admin |
Administration of the organization. | Users, My organization, Agents, Connectors (and creating them), Home, Executions, Audit, the AI models configuration, AI usage, AI control, Connect and My keys. |
platform-operator |
Whoever watches over operation. | Home, Agents, Connectors, My organization, Executions, Audit, AI usage, Connect and My keys. Read only; cannot invite people. |
tools-admin |
Whoever builds and publishes what the assistants use. | Tools, Skills, Commands, Modules, Groups and access, Home, Executions, Audit, AI usage, Connect and My keys. This is the role that gives and removes access by group. |
module-editor |
Whoever maintains one or more modules. | Modules: creates modules and edits only those where they (or a group of theirs) are listed as editors. |
group-manager |
Whoever answers for a team's AI spending. | Approves AI budget extensions up to the configured amount (in AI control), plus Connect and My keys. |
mcp-client |
Whoever only uses assistants. | Connect (guide to connect the assistant), My keys, Executions and AI usage. The tools they can use depend on their groups. |
platform-superadmin |
The operator of the AgentGate service. | Manages organizations and the global AI configuration. It is not a role for the people in your organization and is not assigned from the console. |
Notes:
- A person can hold several roles and sees the sum of what each allows.
- Having a role does not give access to tools: that is given by group, by role or to the person (see Tool and module permissions).
- How a role is assigned. The console has no screen to assign roles: they are assigned by whoever manages your organization's sign-in system. If a person cannot see a screen they need, ask that person to add the role.
Groups
A group is a set of people that is given access to things. Whoever is in the group can use everything the group has. They are managed in People → Groups and access (tools-admin role).
"Groups and access": the groups on the left, the tabs of the chosen group on the right.
Create and delete a group
- Open Groups and access.
- Under New group, type the Group name (letters, numbers,
_,.and-, up to 64 characters; it is created as/name) and click to create it. - To delete it, choose the group and click Delete; confirm in the window.
When a group is deleted it stops giving access to the tools that used it, and the AI keys that belonged to that group are revoked. The people are not deleted. If a tool would be left with no role or group, the console does not allow the deletion: "A tool would be left with no role or group. Give it other access before deleting the group".
Add and remove people
- Choose the group and open the Members tab.
- To add, use Choose a user… and click Add.
- To remove, click the × next to the person's name.
You can also do it from the person: in Users, Groups section, use Add to a group or the × of the group. If a person leaves a group, the AI keys of that group that they held are revoked.
What you can give a group
A group has six tabs:
| Tab | What it controls |
|---|---|
| Members | The people in the group. |
| Tools | The tools it can run ("Tools it can use"). |
| Modules | The modules it can use (each gives access to what it contains) and the modules it can edit. |
| Skills | The skills it can use. Display only: who can use a skill is decided when it is published, on its own screen. |
| Commands | Same as Skills, for commands. |
| AI models | The allowed models, the Agents it can use and the group's keys. |
In Tools, Modules and AI models use Search to add… or Choose… and click Add; to remove, use the × of the item. If you do not limit the models, the group can use All the organization's models.
Connectors are not given to groups: a person reaches a connector through the tools and modules that use it.
A group's "Tools" tab: whatever you add here can be run by everyone in the group.
Who can edit a module
Access to use a module and access to edit it are different. In the module, General tab, the Who can edit it section lists the editor groups and people. Besides the administrators, they can see and change that module, including who can use it. Someone with the module-editor role only sees the modules where they (or a group of theirs) are listed.
There are two ways to give editing:
- In the module: Who can edit it → add a group, or type a User name and click Add.
- In the group: Modules tab, Modules it can edit section.
In both cases, the people of the group also need the module-editor role to see and change the module.
In a module, "Who can edit it" lists the groups and people who can change it.
Tool and module permissions
Access to a tool can be given to roles, groups and people. Roles and groups are seen and changed in the tool's details, Access tab; people, from their details in Users (Tools section):
- Roles with access and Groups with access: use Add a role / Add a group and click Add; to remove, the × of each one.
- A tool always keeps at least one role or group: otherwise nobody could use it. That is why you cannot remove the last one, nor delete a group that is a tool's last access.
- The list of roles offered does not include the console administration roles.
Modules have their own access, in the General tab, Who may use it section: Roles with access, Groups with access and People with access (here you type the user name). The permissions of a module are added to those of each piece; they do not replace them. That is, whoever has access to the module can use all its pieces, and can also use whatever each piece allows by itself.
A tool's "Access" tab: roles and groups with access, and the notice that at least one always remains.
How to check what a person can use
- In Users, find the person and click their row.
- Open Tools: each one says whether it comes through a role, a group or a direct assignment.
- Open Groups to see which groups they belong to.
To look at it the other way round (which tools a group has), open Groups and access, choose the group and look at Tools. In Tools, the Group filter lists the tools a group uses.
What gets recorded
Access changes are saved in Audit with who made them, what they did and on what:
- Creating and deleting a group.
- Adding and removing a person from a group.
- Giving and removing a group, a role or a person on a tool.
- Changes to modules (enable, disable, delete and their access).
- Each invitation to a person (it appears in the Other category).
- Changes to a group's models and Agents.
In Audit you can filter by category (Access, Tools, etc.). A person's details also have their own Audit section.
Common tasks
Give a team access to a new tool
- Open Groups and access and choose the team's group (if it does not exist, create one with New group and add the people in Members).
- Open the Tools tab.
- Find the tool in Search to add… and click Add.
- If the tool is inside a module, you can also give the module in the Modules tab.
Another way: open the tool, Access tab, and add the group under Groups with access.
A person does not see a tool
- If they are missing a console screen (they get No permission), it is a roles problem: ask for the right role to be added (see the Roles table).
- If they are missing a tool, in Users open the person and look at Tools: if it is not there, it does not reach them in any way.
- Look at Groups: if they are not in the team's group, add them.
- If the group does not have the tool, open Groups and access and add it, or check the tool's Access tab.
- Check that the tool is not disabled and that the person is not marked disabled.
Remove access from someone who left
- Ask for their account to be disabled in your organization's sign-in system: that is what stops them from signing in (the AgentGate console does not disable accounts).
- In Users, check that they show as disabled. Their AI keys are revoked on their own (it can take up to about 15 minutes).
- If you want to cut access to something specific right away, open their details and remove their groups in Groups and the tools "assigned to the person" in Tools.
- Check that nothing is left in the hands of that person alone (for example, a module they were the only editor of).
Move someone to another group
- In Users, open the person, Groups section.
- Click the × of the old group.
- Choose the new group in Choose a group… and click Add to a group.
If you do not have access to Users, do the same from Groups and access: in the old group, Members tab, remove the person; in the new one, add them. Keep in mind that their AI keys from the old group are revoked.
Invite a new person
- Users → Invite user, fill in the email and click Invite user.
- Let them know they will receive an email to sign up.
- When they appear in the list, open their details and add them to their groups.
- Ask for the right role to be assigned (for example
mcp-clientfor someone who only uses assistants).