Skip to main content
Every session takes one agent object:
The same object works when you create a session, in the proxy’s createSession hook, in the chat facade, on schedules, as the workspace default, and for a running session. Every session reports what it resolved to.
Agent settings need the deployment switch OPENGENI_AGENT_CONFIG_ADMISSION_ENABLED. When it is off, getClientConfig() reports agentConfig.enabled: false and a request with agent is refused with agent_config_not_enabled. Use firstPartyMcpTools: [] and tools to narrow an agent until then.

Capabilities

Start from "all" (everything the workspace offers, which is what a session without agent gets) or "none" (the session’s own tools plus asking questions and reading Skills). Then switch single capabilities:
Some tools are never toggled:
  • Your own tools. MCP servers you attach to the session and integrations you name in tools stay available under "none".
  • Sandbox tools. The shell and file editing come with a sandbox. sandboxBackend: "none" removes them.
  • Runtime mechanics. Waiting for input, reading background commands, and titling the session.
A capability the server does not offer shows as off in agent.unavailable, and asking for it is refused with agent_capability_unavailable.

Identity and instructions

  • identity replaces how OpenGeni introduces the agent: its name, your product, its domain and voice. Leave it out to use the workspace’s identity, or OpenGeni’s.
  • instructions are the session’s instructions: rules for this agent.
The prompt order is identity, OpenGeni’s working style, your organization’s identity, workspace instructions, then session instructions. Instructions take priority over OpenGeni’s default working style (“answer in one sentence” wins), never over its safety rules or how it runs tools. Put facts about the current page in the message’s modelContext, not in instructions.

Renderer

  • "opengeni" for OpenGeniChat and SessionConversation: the agent can link files and artifacts and show visuals inline.
  • "markdown" for your own chat UI, Slack, or email: ordinary Markdown links only. The chat facade uses it by default.

Where it goes

A change to a running session applies from its next turn. Sessions created by an agent inherit their parent’s settings and can only narrow them. A goal turns goals on.

Check what the agent can do

A connected app’s own tools are listed once a turn starts. The OpenGeni web app shows the same in the session’s Agent panel, and the exact instructions sent in Debug > Context.
Using a coding agent? The opengeni-client skill walks it through these choices and inspects your existing setup first.