Skip to main content

Procurement pack

Procurement pack template, purchase order assistant on fictitious data with a simulated erp connector.

Reference​

FieldValue
Nameprocurement
Version1.0.0
LicenceMIT
TypeTemplate
formatpack
domainprocurement
Categoryprocurement
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/templates/procurement/plugin.yaml
Documentationpacks/templates/procurement/docs/en/README.md, packs/templates/procurement/docs/fr/README.md

Capabilities​

KindName
toolprocurement-search
toolprocurement-update-status
connectorprocurement-erp
policyprocurement

Requested permissions​

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

ScopeSensitiveClassificationReason
procurement.orders.readNoconfidentialRead purchase order records to answer questions.
procurement.orders.writeYesconfidentialChange the status of a purchase order after a human approval.

Data protection​

FieldValue
classification_maxconfidential
piifalse
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
Agentprocurement-assistant1.0.0Answers questions on purchase order records and prepares status changes for a human approval.risk_level: limited, autonomy.level: supervised, tools tool:procurement-search, tool:procurement-update-statuspacks/templates/procurement/agents/procurement-assistant.yaml
Subagentprocurement-reviewer1.0.0Reviews a proposed purchase order status change against the rules before the human approval.risk_level: minimal, autonomy.level: assisted, tools tool:procurement-searchpacks/templates/procurement/subagents/procurement-reviewer.yaml
Promptprocurement-summary-Summary of a purchase order record for a business user.variables record_id, audience, languagepacks/templates/procurement/prompts/procurement-summary.yaml
MCP serverprocurement-mcp-MCP server of the Procurement pack (official MCP Python SDK, MIT licence).transport: streamable_http, tools procurement_search, procurement_update_statuspacks/templates/procurement/mcp/servers/procurement-mcp.yaml
MCP toolprocurement-search1.0.0Search fictitious purchase order records through the pack MCP server.action: read, scopes procurement.orders.read, risk_level: limited, requires_approval: falsepacks/templates/procurement/mcp/tools/procurement-search.yaml
MCP toolprocurement-update-status1.0.0Change the status of a fictitious purchase order record, idempotent, after a human approval.action: write, scopes procurement.orders.write, risk_level: high, requires_approval: truepacks/templates/procurement/mcp/tools/procurement-update-status.yaml
Connectorprocurement-erp1.0.0erp connector of the Procurement pack. Simulated on fictitious data until the tenant configures it.system: erp, auth.type: api_key, scopes procurement.orders.read, procurement.orders.writepacks/templates/procurement/connectors/procurement-erp.yaml
Workflowprocurement-status-change-Status change of a purchase order with a review and a four eyes approval.steps search, review, approval, apply, on_failure: stoppacks/templates/procurement/workflows/procurement-status-change.yaml
Knowledge baseprocurement-knowledge-Knowledge base template of the Procurement pack (fictitious documents).classification: internalpacks/templates/procurement/rag/config.yaml
Skillprocurement-guidelines1.0.0How the Procurement assistant handles purchase order records.scopes procurement.orders.read, data_classification_max: confidentialpacks/templates/procurement/skills/procurement-guidelines/SKILL.md

Evaluations and tests​

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

Files​

KindPath
Rulespacks/templates/procurement/rules/procurement-rules.md
Policiespacks/templates/procurement/policies/opa/procurement.rego, packs/templates/procurement/policies/opa/procurement_test.rego, packs/templates/procurement/policies/openfga/model.fga, packs/templates/procurement/policies/openfga/tests.fga.yaml
Observabilitypacks/templates/procurement/observability/alerts/procurement.yaml
Knowledge base documentspacks/templates/procurement/rag/documents/guide.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/templates/procurement
enterprise-ai plugin build packs/templates/procurement --out /tmp/procurement-dist
COSIGN_PASSWORD=... enterprise-ai plugin sign packs/templates/procurement --out /tmp/procurement-dist --key cosign.key --signer <publisher>
enterprise-ai plugin publish packs/templates/procurement --out /tmp/procurement-dist --key cosign.key \
--oci <registry>/packs/procurement: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.