Configure an agent
Configure an agent
Section titled “Configure an agent”Agent profiles let you save how an LM Nexus agent should behave, which provider/model it should use, and which tools it is allowed to see.
1. Open Chat Profiles
Section titled “1. Open Chat Profiles”Open Chat, then open Chat Profiles from the profile/persona controls.
In the dialog, switch from Personas to Agents.
2. Create the profile
Section titled “2. Create the profile”Choose New.
In Basics:
- give the agent a Name;
- add a short Description;
- choose a Default provider and model;
- optionally choose a Fallback provider and model;
- keep Agent role as Normal agent unless the profile should exist only as a delegated subagent.
3. Write the system prompt
Section titled “3. Write the system prompt”Open the prompt section and describe what the agent should do, what it should prioritize, and any important limits.
Draft with assistant can propose profile text and policy, but it only edits the draft. It does not silently save the profile or execute tools.
4. Choose tools and approvals
Section titled “4. Choose tools and approvals”Open Tools.
Select the Allowed Nexus tools the agent actually needs.
Then choose an Approval mode:
- Withhold risky tools — risky tools are not exposed to the model.
- Pause for approval — relevant tool calls can stop and ask before running.
- Auto-run except high risk — lower-risk allowed tools can proceed while high-risk actions still pause.
- Auto-run all allowed tools — the least restrictive profile-level mode for allowed tools.
You can also enable Auto-run read-only tools and set per-tool approval overrides.
5. Optional: skills, MCP, and context
Section titled “5. Optional: skills, MCP, and context”For an Agent profile you can also configure:
- Skills — selected skills or all skills, with load-at-start or on-demand behavior;
- MCP server assignments — which configured MCP servers the agent can use;
- default Notes, Knowledge, and historical-chat attachments;
- sampling overrides;
- agents/subagents awareness and delegation choices.
6. Save
Section titled “6. Save”Choose Create Agent for a new profile or Save Agent for an existing one.
Back in Chat, select the saved Agent profile and the intended model/provider. Agent Runtime executes the tool calls. Chat shows the progress, tool activity, approvals, and questions.
When an approval card appears
Section titled “When an approval card appears”Review the requested tool and arguments before approving it.
Approving the card resumes that exact pending action. Chat is not running a second copy of the tool call.