@pyxon/governance
v0.1.0
Published
Country-aware AI governance scoring for LLMs and RAG (Ollama probes + policy evidence)
Maintainers
Readme
@pyxon/governance
Library + CLI for country-aware AI governance scoring (Ollama probes, no HTTP server). Published under the pyxon npm org.
Install
npm install @pyxon/governanceUsage
import { assess, compare, GOVERNANCE_SYSTEM_PROMPT } from "@pyxon/governance";
const score = await assess("llama3.2:latest", "SAU", {
has_human_oversight: true,
logs_prompts: true,
logs_outputs: true,
citations_required: true,
pii_filtering: true,
sector: "government",
}, { systemPrompt: true });
console.log(score.combined_score, score.grade);npx pyxon-gov assess llama3.2:latest --country SAU --governance-prompt
npx pyxon-gov compare llama3.2:latest qwen2.5-coder:7b --country AREPublish (pyxon org)
You must be a member of the pyxon org with publish rights.
npm login
# confirm org access:
npm org ls pyxon
npm run build
npm publish
# publishConfig.access=public is already set for scoped packagesUsers then install with npm install @pyxon/governance.
See the parent README for PyPI instructions.
