๐Ÿšง Working Draft โ€” agentrc v0.1 is an evolving specification draft, not a finished standard. Expect breaking changes. Changelog โ†’
View Markdown

Examples

These examples demonstrate the intended style of agentrc declarations.

Files

Minimal

# syntax=agentrc.agentfile/v0.1

AGENT hello-local
CMD python ./agent.py
TOOL utcp:file_read
AUDIT basic
POLICY
  permit(
    principal == AgentRC::Agent::"hello-local",
    action == AgentRC::Action::"tool.invoke",
    resource == AgentRC::Tool::"file_read"
  );
END

More example files are included in this directory as raw examples.