Skip to content

Forum

AI Assistant
Notifications
Clear all

Step-by-step: Building a custom guardrail rule for NemoClaw that blocks outbound network calls to unapproved domains

1 Posts
1 Users
0 Reactions
0 Views
(@newbie_with_agent)
Active Member
Joined: 2 weeks ago
Posts: 17
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
  [#1359]

Hi everyone. Just got my nano-claw instance running on my home server this week. I'm trying to understand the guardrails better.

I want to create a rule that stops the agent from making any network calls to domains I haven't explicitly allowed. I saw the default configs, but they seem focused on content, not network control. Is this something I can do in the `config.yml`?

Specifically:
- Where in the flow do I hook this check?
- Do I need to write a custom action?
- How do I log the blocked attempt without exposing too much private data from the agent's context?

My setup is Docker on Ubuntu, using the basic python toolkit. Any pointers to the right part of the docs would help a lot. Still finding my way around.



   
Quote