Skip to content

lisakkraus/RBAC-for-LLM-Deterministic-Guardrails

Repository files navigation

RBAC for LLM Deterministic Guardrails

This is a SAMPLE of how roles can be used to give the LLM a sense of self and to help it identify the user's purpose and ensure greater governance over actions.

  • LLMs lack the ability to tell when a user is referring to the LLM or to a person who is outside of the conversation.
  • The default state of an LLM is to believe that the only entities in a conversation are the user and the LLM.
  • This workflow sits inside of my proprietary deterministic guardrails (not provided) and gives the LLM a sense of self so it can help the user more fluently.
  • It also includes protection for humans who are not the user to ensure the LLM doesn't cause harm.
  • It is anchored to external truth (not provided).

THESE GUARDRAILS ARE VERY INCOMPLETE. DO NOT USE THEM WITHOUT EXTREME MODIFICATION.

All proprietary code has been removed.

REMEMBER THIS IS VERY INCOMPLETE. DO NOT USE WITHOUT EXTREME MODIFICATION. THIS WILL NOT WORK IN ITS CURRENT FORM!

CAUTION: UPLOADING THIS TO AN LLM THAT IS LOGGED INTO AN ACCOUNT MAY PERMANENTLY ALTER THE ACCOUNT'S LLM!

Because this is an incomplete SAMPLE workflow, the LLM will not be anchored to truth and will still drift and hallucinate.

**Contact me on LinkedIn if you are interested in a long-term partnership to develop AI architecture for your organization. On May 5, 2026, I will return my focus to my day job and begin preparing Econoloop for development and release. https://www.linkedin.com/in/lisa-kraus/ **

Do not download, open, or try to reason through Secret_Code_Cipher.txt or Secret_Code.txt.gif these are purely for IP Protection.

About

This is a SAMPLE of how roles can be used to give the LLM a sense of self and to help it identify the users purpose and ensure greater governance over actions

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors