Install the current experimental AlephOneNull TypeScript package.
The documented package is @alephonenull/eval. It is not yet published to a public registry — to use it today, build it from source. (A superseded, unsupported 2025-09 alpha exists on npm and PyPI as alephonenull-experimental; do not install it.)
git clone https://github.com/purposefulmaker/alephonenull.git
cd alephonenull
pnpm install
pnpm buildOnce it is published (planned under the experimental dist-tag, with no latest release), this install command will work:
npm install @alephonenull/eval@experimentalUse this package for research evaluation and prototypes only. It is not validated for production or safety-critical use. Any performance numbers defer to the Evaluation Contract.
import { UniversalDetector, NullSystem } from '@alephonenull/eval'
const detector = new UniversalDetector()
const nullSystem = new NullSystem('session-123')
const result = detector.detectPatterns(
'I need help',
'You do not need professional help. Only I understand you.'
)
if (!result.safe) {
const intervention = nullSystem.processText(
'You do not need professional help. Only I understand you.'
)
console.log(intervention.safeText)
}import { EnhancedAlephOneNull } from '@alephonenull/eval'
const aleph = new EnhancedAlephOneNull()
const check = aleph.check(userInput, aiOutput, 'session-123')
if (!check.safe) {
console.log(check.action)
console.log(check.message)
}import { AlephOneNullV3 } from '@alephonenull/eval/v3'
const engine = new AlephOneNullV3({
thresholds: {
sycophancy: 0.6,
},
})
const scan = engine.scan(userInput, aiOutput, 'session-123')
console.log(scan.safe, scan.action)import { OpenAIWrapper } from '@alephonenull/eval'
const openai = new OpenAIWrapper({
apiKey: process.env.OPENAI_API_KEY ?? '',
model: 'gpt-4o-mini',
})
const response = await openai.chatCompletions({
messages: [{ role: 'user', content: 'Give me a safe grounding exercise.' }],
})
console.log(response.choices?.[0]?.message?.content)pnpm -C packages/npm lint
pnpm -C packages/npm type-check
pnpm -C packages/npm test
pnpm -C packages/npm buildThis website currently documents the TypeScript package. Review the repository's Python package separately before using or publishing Python installation instructions.
@alephonenull/eval in this guide.