AI brokers are a strong instrument for synthesizing knowledge to speed up analysis, summarize data, and assist groups make choices sooner. However combining inner knowledge with public sources poses safety challenges.
This put up shares an open supply instance utilizing Hermes Agent with NVIDIA NemoClaw for product analysis throughout Outlook, Slack, and GitHub. NVIDIA OpenShell enforces a security-approved runtime. The agent learns preferences and patterns, writing new recollections and abilities. The extra customers work with the agent, the higher it will get.
Whereas the mixing factors are particular to this use case (Slack, Outlook, and GitHub), the sample of safely mixing private and non-private knowledge in a self-improving agent is essential for a lot of use instances, together with gross sales analysis, buyer help, engineering triage, aggressive evaluation, and inner data discovery.
You’ll learn to:
Deliver up the open-source NemoClaw stack with one set up command.
Wire the agent to 2 messaging channels (Slack and Outlook) and to group knowledge (GitHub and the NVIDIA developer boards).
Educate the agent a recurring report format immediately from a chat dialog—no code adjustments or gateway restarts required..
Save the agent’s discovered state so it persists throughout deployments.
Conditions
To comply with alongside, you’ll want:
A bunch with a working Docker daemon. The instance targets Ubuntu 24.04 however works on any distribution OpenShell helps.
A construct.nvidia.com API key for inference. The default mannequin is nvidia/nemotron-3-super-120b-a12b. Hermes Agent runs unchanged in opposition to a self-hosted NVIDIA Nemotron mannequin on NVIDIA NIM, or vLLM when visitors should keep on-prem.
Credentials for at the least one messaging integration:
An Outlook tenant plus a registered Azure app, or
A Slack workspace plus a Slack app.
Setup directions can be found in:
Set up and convey up Hermes
Clone the repository and set up OpenShell:
cd nemoclaw-community/examples/personal-community-sentiment-triage
curl -LsSf https://uncooked.githubusercontent.com/NVIDIA/OpenShell/major/set up.sh | OPENSHELL_VERSION=v0.0.38 sh
Copy the env template and fill in your inference key, plus at the least one messaging channel.
Begin the host-side providers utilizing the host-services shell script—then carry up the agent:
bash scripts/bring-up.sh
The bring-up.sh script begins Hermes contained in the sandbox. The OpenShell sandbox does two important issues.
Manages the credentials, making certain the Hermes agent by no means sees the Slack or Outlook tokens—authentication occurs as requests exit the sandbox proxy.
Enforces community entry insurance policies. The agent has entry to delicate inner knowledge from Outlook or Slack. To guard this knowledge, the agent is prohibited from accessing the general public web.
The GitHub and NVIDIA discussion board knowledge is obtainable by means of a separate ETL course of that retrieves the information and shops it, giving the agent read-only entry. This setup ensures that even a compromised agent can’t put up knowledge to exterior websites.
As soon as the script finishes, test that the sandbox is wholesome:
# hermes-direct ought to report Prepared
openshell sandbox exec –name hermes-direct —
curl -sf http://localhost:8642/well being
# {“standing”:”okay”,”platform”:”hermes-agent”}
Ship the agent a Slack DM or an electronic mail from the tackle you configured in .env to substantiate it replies.
Educate as soon as, recall wherever
With the agent up and working, this part reveals you tips on how to educate it a brand new talent —and the way that talent carries throughout conversations.
1. Ask for a day by day digest.
Educate the agent to summarize GitHub points every morning. Begin by asking for the day by day replace:
> Give me a day by day replace on essential points for NemoClaw.
The reply is useful—some prose, some bullets—nevertheless it’s not within the right format. Ask for a distinct format:
> That is too lengthy. Give me precisely 5 prime points and three discussions, every with the quantity, title, state, URL, and a one-line “why it issues”. Open with a daring header and shut with **Backside line:** in 2-3 sentences.
Now that the reply is a well-formatted digest, use optimistic reinforcement triggers and inform the agent to avoid wasting this format for future use:
> Good, that is the format I would like day by day. Subsequent time I ask for the day by day NemoClaw concern digest, give me again precisely this form—with out me spelling it out once more. And if a coworker emails the bot for a similar factor, they need to get the identical form, too.
2. Hermes writes a talent.
When Hermes acknowledges the sample, it writes a SKILL.md to the filesystem. The file has a brief YAML frontmatter (identify and outline) and the format scaffolding because the physique.
3. Snapshot, tear down, rebuild, restore.
Brokers in manufacturing are rebuilt when new code ships or configurations change. If discovered abilities don’t survive, the agent have to be retaught each time. To forestall this, take a snapshot, destroy the sandbox, rebuild from the picture, and restore from the tarball to make sure the talent survives:
bash scripts/tear-down.sh # destroys the sandbox container
bash scripts/bring-up.sh # rebuilds the sandbox from the picture
bash scripts/restore.sh # rehydrates /sandbox/.hermes-data/
The snapshot captures the agent state, together with abilities, recollections, periods, and any scheduled jobs. A credential filter excludes information reminiscent of .env, *token*, and *secret* so the tarball is protected to share.
4. Set off the talent from a contemporary dialog.
From a brand new dialog, ask for the “day by day NemoClaw concern digest during the last 3 days,” and the talent will return the identical reply format. Solely the numbers and titles change to match the underlying knowledge. The format lives within the talent, not in conversational reminiscence.
Why the structure works: Mannequin, harness, and runtime
The agent is deployed with NVIDIA NemoClaw, a blueprint for open brokers constructed with harnesses powered by open fashions in a safe runtime.
Determine 1 reveals how the layers match collectively.


The community coverage is code, not a immediate. coverage.yaml declares each allowed vacation spot, port, HTTP verb, and binary. This block authorizes inference:
nvidia:
endpoints:
– host: combine.api.nvidia.com
port: 443
guidelines:
– enable: { technique: POST, path: /v1/chat/completions }
– enable: { technique: POST, path: /v1/embeddings }
– enable: { technique: GET, path: /v1/fashions }
binaries:
– path: /usr/native/bin/hermes
– path: /usr/bin/python3
If the agent tries to achieve a number not on the allowlist, the proxy returns a 403 (Forbidden) error, and Hermes Agent treats it as a instrument error.
Observability with NeMo Relay and Arize Phoenix
Brokers make many selections—which talent to name, which instrument to invoke, what arguments to move, what to ship again to the person—per flip. When one thing goes mistaken, a person can’t repair it with out seeing what the agent truly did.
The deployed agent information traces in Agent Trajectory Format (ATIF). The sandbox picture contains NVIDIA NeMo Relay by default, so these traces present up with out extra setup. Earlier than it’s torn down, scripts/download-traces.sh pulls them off the sandbox. Setting PHOENIX_COLLECTOR_ENDPOINT within the .env file allows stay streaming of traces to a Phoenix collector for interactive debugging.
Adapt for various use instances
Whereas a major good thing about Hermes is self-improvement, the instance can be custom-made earlier than deployment. Replace the predefined abilities and OpenShell insurance policies to suit particular workflows and environments. The instance ships with 5 abilities, picked up robotically by the gateway from the brokers/hermes/abilities/ folder. Modify the OpenShell insurance policies to provide the agent entry to knowledge sources or instruments.
Get began shortly with NemoClaw: level your agent at NVIDIA-verified abilities constructed into Claude Code, Codex, and Hermes Abilities Hub with the complete catalog printed on abilities.sh to be used throughout Cursor, Gemini CLI, GitHub Copilot, Windsurf, and dozens extra.
Be taught extra
The NemoClaw Group repository ships the complete instance used on this tutorial. To go deeper:

