Skip to main content

Human Resources pack

Human Resources reference pack, employee directory, leave balances and requests, payroll summary, on fictitious data with a simulated HRIS.

Reference​

FieldValue
Namehr
Version1.0.0
LicenceMIT
TypeReference pack
formatpack
domainhr
Categoryhr
namespaceenterprise-ai-packs
publisherEnterprise AI reference packs
ownerenterprise-ai-packs
compatibility.platform>=1.0.0 <2.0.0
compatibility.sdk>=1.0.0 <2.0.0
compatibility.runtimesnavin
dependenciesNone
Sourcepacks/hr/plugin.yaml
Documentationpacks/hr/docs/en/README.md, packs/hr/docs/fr/README.md

Capabilities​

KindName
toolhr-employee-lookup
toolhr-leave-balance
toolhr-leave-request
toolhr-payroll-summary
connectorhr-hris
policyhr

Requested permissions​

The administrator grants a subset at install time; only the granted scopes are enforced.

ScopeSensitiveClassificationReason
hr.employees.readNoconfidentialLook up an employee in the directory (masked contact data).
hr.leave.readNoconfidentialRead leave balances and the leave policy.
hr.leave.writeYesconfidentialSubmit a leave request on behalf of the employee after a human approval.
hr.payroll.readYesrestrictedSummarize the payslip of the requesting employee.

Data protection​

FieldValue
classification_maxrestricted
piitrue
residencyeu-west-1
retention_days30
dlpmask
fictitious_datatrue
piiDetectionRequiredtrue
maskingPolicymask
externalExportDefaultdeny

Approvals​

Required for: install, upgrade, sensitivePermissions, production, externalExport, resume.

GateQuorumRoles
install1tenant_admin, security_officer
sensitive2tenant_admin, security_officer
production2tenant_admin, security_officer

Security and test flags​

FieldValue
security.signedArtifactRequiredtrue
security.sandboxRequiredtrue
security.dynamicAuthorizationtrue
security.auditRequiredtrue
testFlags.sdkConformancetrue
testFlags.authorizationtrue
testFlags.securitytrue

Configuration​

Properties of spec.configSchema, set by the administrator at install time:

NameTypeConstraints
model_idstring{"minLength": 3}
mcp_serversobject{"additionalProperties": {"additionalProperties": false, "properties": {"url": {"pattern": "^https?://", "type": "string"}}, "required": ["url"], "type": "object"}}

Components​

KindNameVersionDescriptionDetailsPath
Agenthr-assistant1.0.0Answers employees on the directory, leave balances and policy, submits leave requests after approval, summarizes payslips.risk_level: limited, autonomy.level: supervised, tools tool:hr-employee-lookup, tool:hr-leave-balance, tool:hr-leave-request, tool:hr-payroll-summarypacks/hr/agents/hr-assistant.yaml
Subagenthr-policy-reviewer1.0.0Checks a prepared leave request against the leave policy and the balance before the human approval.risk_level: minimal, autonomy.level: assisted, tools tool:hr-leave-balancepacks/hr/subagents/hr-policy-reviewer.yaml
Prompthr-leave-answer-Answer of the HR assistant on a leave balance.variables employee_id, remaining, kind, languagepacks/hr/prompts/hr-leave-answer.yaml
Prompthr-payslip-summary-Payslip summary for the requesting employee.variables employee_id, period, gross, net, languagepacks/hr/prompts/hr-payslip-summary.yaml
MCP serverhr-mcp-MCP server of the HR pack (official MCP Python SDK, MIT licence).transport: streamable_http, tools hr_employee_lookup, hr_leave_balance, hr_leave_request, hr_payroll_summarypacks/hr/mcp/servers/hr-mcp.yaml
MCP toolhr-employee-lookup1.0.0Directory entry of a fictitious employee, contact data masked, through the HR MCP server.action: read, scopes hr.employees.read, risk_level: limited, requires_approval: falsepacks/hr/mcp/tools/hr-employee-lookup.yaml
MCP toolhr-leave-balance1.0.0Remaining leave days of a fictitious employee through the HR MCP server.action: read, scopes hr.leave.read, risk_level: limited, requires_approval: falsepacks/hr/mcp/tools/hr-leave-balance.yaml
MCP toolhr-leave-request1.0.0Submit a leave request, idempotent per key, after a human approval.action: write, scopes hr.leave.write, risk_level: high, requires_approval: truepacks/hr/mcp/tools/hr-leave-request.yaml
MCP toolhr-payroll-summary1.0.0Payslip summary of the requesting employee (no bank details) through the HR MCP server.action: read, scopes hr.payroll.read, risk_level: high, requires_approval: falsepacks/hr/mcp/tools/hr-payroll-summary.yaml
Connectorhr-hris1.0.0HRIS connector of the HR pack. Simulated on fictitious employees until the tenant configures it.system: hris, auth.type: api_key, scopes hr.employees.read, hr.leave.read, hr.leave.write, hr.payroll.readpacks/hr/connectors/hr-hris.yaml
Workflowhr-leave-request-Leave request with a policy review and a human approval.steps balance, review, approval, submit, on_failure: stoppacks/hr/workflows/hr-leave-request.yaml
Knowledge basehr-knowledge-Knowledge base of the HR pack (fictitious leave policy).classification: internalpacks/hr/rag/config.yaml
Skillhr-leave-policy1.0.0Applies the leave policy when answering on balances or preparing a leave request.scopes hr.leave.read, data_classification_max: confidentialpacks/hr/skills/hr-leave-policy/SKILL.md
Skillhr-payroll-summary1.0.0Summarizes the payslip of the requesting employee, never anyone else's.scopes hr.payroll.read, data_classification_max: restrictedpacks/hr/skills/hr-payroll-summary/SKILL.md

Evaluations and tests​

NameTypePathThreshold
hr-answerspromptfooevaluations/promptfoo.yaml1.0
hr-retrievalragasevaluations/ragas.jsonl0.8
KindPath
unittests/unit
integrationtests/integration
authztests/authz
securitytests/security
opapolicies/opa

Files​

KindPath
Rulespacks/hr/rules/hr-rules.md
Policiespacks/hr/policies/opa/hr.rego, packs/hr/policies/opa/hr_test.rego, packs/hr/policies/openfga/model.fga, packs/hr/policies/openfga/tests.fga.yaml
Observabilitypacks/hr/observability/alerts/hr.yaml
Knowledge base documentspacks/hr/rag/documents/leave-policy.md

Install it​

Validate, build, sign and publish the pack, then install it from the Marketplace: the preflight checks the capabilities and the configuration before the installation.

enterprise-ai plugin validate packs/hr
enterprise-ai plugin build packs/hr --out /tmp/hr-dist
COSIGN_PASSWORD=... enterprise-ai plugin sign packs/hr --out /tmp/hr-dist --key cosign.key --signer <publisher>
enterprise-ai plugin publish packs/hr --out /tmp/hr-dist --key cosign.key \
--oci <registry>/packs/hr:1.0.0

cosign.key: signing key of your organization. <publisher>: publisher name registered in the Marketplace. <registry>: OCI registry of the Marketplace. Then call POST /v1/marketplace/preflight and POST /v1/marketplace/installations, see the Marketplace guide.