Documentation / Reference
Agents overview
Add AI agents that run inside your application, with the connectors, model, memory and approval rules you give them.
Applies to Glyphox 1.0.10
An agent is part of the application you deliver. It runs on the server for the people who use the application, for example to classify a ticket or to draft a reply, and it can use only the connectors you give it. An agent is designed in the agent editor and stored in the model like any other asset, so a change to its instructions is reviewed in a pull request.
Agents and the Assistant
The Assistant, @glyphox in the Chat view, builds your application while you develop it. An agent is a part of the application, and it runs after the application is deployed. They are configured separately: the Assistant's model is set in Glyphox Settings → Model, and each agent's model is set in the agent editor.
Create an agent
In the Solution tree, select New Agent beside the Agents group, or run Glyphox: New Agent. The agent opens in the agent editor, a canvas with the agent at its centre, a node for each connector, trigger and exposure, and nodes for its model, its memory and its identity. Select a node to edit it in Properties.
| Property | What it sets |
|---|---|
| Instructions | The model's system prompt. Reference an input with {{name}}. |
| Inputs | The values a caller supplies, each with a name and a type. |
| Output format | A JSON schema for the result. Leave it empty and the agent answers in prose. |
| Step limit | The largest number of steps in one run. The default is 20. |
| Approval | Which steps a person approves. See Approval, below. |
| Orchestration | Whether the agent directs other agents. See How an agent is invoked, below. |
Connectors
Select Connect, or drag a connection off the agent, to give it a connector. An agent can call only what it is connected to. Each connector has a Description for the model, which the model reads to decide when to use it.
Model and keys
Select the model node to set the Provider, the Model and the Temperature. The providers include OpenAI, Anthropic, Google Gemini, Azure OpenAI, Amazon Bedrock, Mistral and other hosted services, a model on your own computer through Ollama or LM Studio, and any OpenAI-compatible endpoint. Check sends one message to the model from the editor.
The API key is never stored in the module. An agent whose provider needs a key lists it in Module Settings → Secrets, where you set its value for runs on this computer. For a deployment, enter it under Solution Settings → Environments → Sealed secrets. The agents in Acme Service Desk use a locally hosted Ollama model, which needs no key.
Approval
A run that needs an approval waits. The platform administrator approves or rejects it in the Console under Agents. When the agent's Tool credentials are The caller, the person the run is for may also decide.
A Run Agent step in an action cannot wait for an approval. The agent is told that no one can approve the change and finishes without it. When an agent's changes must be approved, run it from an Agent Task in a workflow, which waits for the decision.
Memory
Conversation memory continues a conversation across runs that share a key: Rolling summary (budgeted), Last turns verbatim or None (every run starts fresh).
With Keep long-term memories selected and the Propose memories connector, the agent proposes notes and a person promotes them. Only promoted notes reach a prompt. You choose the Scope (This agent, Per user or The whole app), the Memory kinds, whether a person promotes proposals or they are promoted automatically, and the Retention (days).
Who may run an agent
Select the identity node to set three things.
How an agent is invoked
Glyphox: Open Agent Hub shows every agent of a module, the MCP servers they use and the agents they call.
Test and monitor
While the solution runs on this computer, the agent editor's Test run runs the agent with inputs you enter, Runs lists its runs with their transcripts, and Memory reviews the notes it has proposed.
In the Console, Agents shows every agent with its current state and every run with its status, its caller and its token use. Inspect shows how the agent reached its result, with the transcript. Memories lists the notes agents have proposed.
Example: Acme Service Desk
The sample has three agents. The Triage Agent reads a ticket and the knowledge notes and sets the ticket's priority, category and summary. It runs from the Triage with AI button through a server action, and from the Ticket Escalation workflow through an Agent Task. The Reply Drafter drafts a reply to the customer. The Support Assistant delegates to the other two and may be called by the manager and agent roles. Open them from the Agents group in the Solution tree.
Related articles
Add an AI step with sign-off, under How-to guides, places an agent's proposal before a person's approval. The Workflow overview, in this section, explains how a workflow waits for an agent.
If a step fails, see Troubleshoot the first run or contact support.