glyphox
Reference · 9 of 9Agents overview

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.

PropertyWhat it sets
InstructionsThe model's system prompt. Reference an input with {{name}}.
InputsThe values a caller supplies, each with a name and a type.
Output formatA JSON schema for the result. Leave it empty and the agent answers in prose.
Step limitThe largest number of steps in one run. The default is 20.
ApprovalWhich steps a person approves. See Approval, below.
OrchestrationWhether 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.

ActionsOne of the module's server actions, or a public server action of a referenced module.
DataA table. It reads records, and writing is off unless you select Allow creating records.
APIsAn integration you configured. Its secret comes from the service's environment.
MCP serversOnly the tools you select on the server. An empty selection allows nothing.
AgentsAnother agent, whose answer this agent uses.
MemoryPropose memories: durable notes that a person reviews.

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

Before changesA person approves each step that changes something. This is the default.
Every stepA person approves every step.
No approvalThe agent runs unattended. Use it only when every connector is read-only.

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.

Allowed callersAny signed-in caller, which is the default, Specific roles, or Anyone (no token).
Tool credentialsThe service uses the service's own access. The caller uses the access of the person who invoked the agent.
Background runsTriggers and workflows may run it, or Only when a person asks. With the second, schedules, events, public URLs and Agent Tasks do not start the agent.

How an agent is invoked

From a server actionA Call node lists the module's agents under Agents. The step waits for the answer and stores it in its Output variable: the agent's output, or its final message when it has no output format. Conversation gives calls with the same value one conversation. A run that does not complete fails the step.
From a workflowAn Agent Task node runs the agent as a step. The instance waits while the agent runs and continues with its result.
From a triggerThe toolbar's Trigger adds a trigger. Its Type is Webhook (public URL), which can require a secret, Schedule (cron) or Data event, and Active turns it on or off.
From outside the moduleExposure sets where the agent is reachable: an HTTP endpoint, on by default, an MCP tool and an A2A agent.
From another agentOrchestration makes the agent direct others: Delegate (the model routes), Sequential pipeline or Parallel fan-out.

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.

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.