Examples
These examples demonstrate the intended style of agentrc declarations.
Files
- Minimal Agentfile
- Secure workspace Agentfile
- Code reviewer Agentfile
- Vault agent Agentfile
- Workflow draft YAML
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.