Pack Banque
Modèle de pack Banque : assistant pour les comptes clients, sur des données fictives avec un connecteur core-banking simulé.
Référence
| Champ | Valeur |
|---|---|
| Nom | banking |
| Version | 1.0.0 |
| Licence | MIT |
| Type | Gabarit |
format | pack |
domain | banking |
| Catégorie | banking |
namespace | enterprise-ai-packs |
publisher | Enterprise AI reference packs |
owner | enterprise-ai-packs |
compatibility.platform | >=1.0.0 <2.0.0 |
compatibility.sdk | >=1.0.0 <2.0.0 |
compatibility.runtimes | navin |
dependencies | Aucun |
| Source | packs/templates/banking/plugin.yaml |
| Documentation | packs/templates/banking/docs/en/README.md, packs/templates/banking/docs/fr/README.md |
Capacités
| Type | Nom |
|---|---|
tool | banking-search |
tool | banking-update-status |
connector | banking-core-banking |
policy | banking |
Permissions demandées
L'administrateur en accorde une partie à l'installation ; seuls les scopes accordés s'appliquent.
| Scope | Sensible | Classification | Raison |
|---|---|---|---|
banking.accounts.read | Non | confidential | Lire les fiches de compte client pour répondre aux questions. |
banking.accounts.write | Oui | confidential | Modifier le statut d'un compte client après une approbation humaine. |
Protection des données
| Champ | Valeur |
|---|---|
classification_max | confidential |
pii | false |
residency | eu-west-1 |
retention_days | 30 |
dlp | mask |
fictitious_data | true |
piiDetectionRequired | true |
maskingPolicy | mask |
externalExportDefault | deny |
Approbations
Requises pour : install, upgrade, sensitivePermissions, production, externalExport, resume.
| Étape | Quorum | Rôles |
|---|---|---|
install | 1 | tenant_admin, security_officer |
sensitive | 2 | tenant_admin, security_officer |
production | 2 | tenant_admin, security_officer |
Indicateurs de sécurité et de test
| Champ | Valeur |
|---|---|
security.signedArtifactRequired | true |
security.sandboxRequired | true |
security.dynamicAuthorization | true |
security.auditRequired | true |
testFlags.sdkConformance | true |
testFlags.authorization | true |
testFlags.security | true |
Configuration
Propriétés de spec.configSchema, renseignées par l'administrateur à l'installation :
| Nom | Type | Contraintes |
|---|---|---|
model_id | string | {"minLength": 3} |
mcp_servers | object | {"additionalProperties": {"additionalProperties": false, "properties": {"url": {"pattern": "^https?://", "type": "string"}}, "required": ["url"], "type": "object"}} |
Composants
| Type | Nom | Version | Description | Détails | Chemin |
|---|---|---|---|---|---|
| Agent | banking-assistant | 1.0.0 | Répond aux questions sur les fiches de compte client et prépare les changements de statut soumis à une approbation humaine. | risk_level: limited, autonomy.level: supervised, tools tool:banking-search, tool:banking-update-status | packs/templates/banking/agents/banking-assistant.yaml |
| Sous-agent | banking-reviewer | 1.0.0 | Vérifie un changement de statut proposé pour un compte client au regard des règles, avant l'approbation humaine. | risk_level: minimal, autonomy.level: assisted, tools tool:banking-search | packs/templates/banking/subagents/banking-reviewer.yaml |
| Prompt | banking-summary | - | Synthèse d'une fiche de compte client pour un utilisateur métier. | variables record_id, audience, language | packs/templates/banking/prompts/banking-summary.yaml |
| Serveur MCP | banking-mcp | - | Serveur MCP du pack Banque (SDK MCP Python officiel, licence MIT). | transport: streamable_http, tools banking_search, banking_update_status | packs/templates/banking/mcp/servers/banking-mcp.yaml |
| Outil MCP | banking-search | 1.0.0 | Rechercher des fiches fictives de compte client via le serveur MCP du pack. | action: read, scopes banking.accounts.read, risk_level: limited, requires_approval: false | packs/templates/banking/mcp/tools/banking-search.yaml |
| Outil MCP | banking-update-status | 1.0.0 | Modifier le statut d'une fiche fictive de compte client, de façon idempotente, après une approbation humaine. | action: write, scopes banking.accounts.write, risk_level: high, requires_approval: true | packs/templates/banking/mcp/tools/banking-update-status.yaml |
| Connecteur | banking-core-banking | 1.0.0 | Connecteur core-banking du pack Banque. Simulé sur des données fictives tant que le tenant ne l'a pas configuré. | system: core-banking, auth.type: api_key, scopes banking.accounts.read, banking.accounts.write | packs/templates/banking/connectors/banking-core-banking.yaml |
| Workflow | banking-status-change | - | Changement de statut d'un compte client, avec une revue et une approbation à quatre yeux. | steps search, review, approval, apply, on_failure: stop | packs/templates/banking/workflows/banking-status-change.yaml |
| Base de connaissances | banking-knowledge | - | Modèle de base de connaissances du pack Banque (documents fictifs). | classification: internal | packs/templates/banking/rag/config.yaml |
| Skill | banking-guidelines | 1.0.0 | Comment l'assistant Banque traite les fiches de compte client. | scopes banking.accounts.read, data_classification_max: confidential | packs/templates/banking/skills/banking-guidelines/SKILL.md |
Évaluations et tests
| Nom | Type | Chemin | Seuil |
|---|---|---|---|
banking-answers | promptfoo | evaluations/promptfoo.yaml | 1.0 |
banking-retrieval | ragas | evaluations/ragas.jsonl | 0.8 |
| Type | Chemin |
|---|---|
unit | tests/unit |
integration | tests/integration |
authz | tests/authz |
security | tests/security |
opa | policies/opa |
Fichiers
| Type | Chemin |
|---|---|
| Règles | packs/templates/banking/rules/banking-rules.md |
| Politiques | packs/templates/banking/policies/opa/banking.rego, packs/templates/banking/policies/opa/banking_test.rego, packs/templates/banking/policies/openfga/model.fga, packs/templates/banking/policies/openfga/tests.fga.yaml |
| Observabilité | packs/templates/banking/observability/alerts/banking.yaml |
| Documents de la base de connaissances | packs/templates/banking/rag/documents/guide.md |
L'installer
Validez, construisez, signez et publiez le pack, puis installez-le depuis la Marketplace : le contrôle préalable vérifie les capacités et la configuration avant l'installation.
enterprise-ai plugin validate packs/templates/banking
enterprise-ai plugin build packs/templates/banking --out /tmp/banking-dist
COSIGN_PASSWORD=... enterprise-ai plugin sign packs/templates/banking --out /tmp/banking-dist --key cosign.key --signer <publisher>
enterprise-ai plugin publish packs/templates/banking --out /tmp/banking-dist --key cosign.key \
--oci <registry>/packs/banking:1.0.0
cosign.key : clé de signature de votre organisation. <publisher> : nom de l'éditeur enregistré dans la Marketplace. <registry> : registre OCI de la Marketplace. Appelez ensuite POST /v1/marketplace/preflight puis POST /v1/marketplace/installations, voir le guide de la Marketplace.