Skip to main content

noctara

Behavioral identity primitive for AI surfaces. One import. Your agent reads the person it is talking to.

Install

pip install noctara

Use

from noctara import Noctara
from anthropic import Anthropic

n = Noctara()
claude = Anthropic()

prompt = n.system_prompt(email="user@example.com")

msg = claude.messages.create(
    model="claude-opus-4-7",
    max_tokens=1024,
    system=prompt.system_prompt + "\n\n# Your task.\nYou are this person's agent.",
    messages=[{"role": "user", "content": "What should I do tomorrow?"}],
)

API

  • n.system_prompt(email|mark, style="full"|"compact"|"voice_only") returns a Claude-ready system addendum.
  • n.identity_token(email|mark, audience=..., ttl_seconds=...) mints a signed JWT.
  • n.verify_token(token) verifies a token, returns the claims.
  • n.scrub(text) strips em-dashes, AI tells, voice giveaways.

Spec

The behavioral identity primitive is specified at noctaracorp.com/spec. Patent-pending (US Prov. #64/048,624). Non-commercial use free. Commercial use up to 10,000 MAU free under attribution.

License

MIT for this SDK. Primitive itself is patent-protected.

Metadata

Release files for noctara 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for noctara 0.1.0
File Size Uploaded Provenance Actions
noctara-0.1.0.tar.gz 3.3 kB Without provenance Details for noctara-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for noctara 0.1.0
File Interpreter ABI Platform Actions
noctara-0.1.0-py3-none-any.whl Python 3 none any Details for noctara-0.1.0-py3-none-any.whl

Total release size: 6.7 kB

Release files / noctara-0.1.0.tar.gz

Download URL noctara-0.1.0.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d876cd3900102e35d0c6e2ca221c2f3c6809d98846ac686b0bfdf88e36e342f3
BLAKE2b-256 checksum
How to use checksums
0ec1673ae9600213630d8ee78d96631eb432cc304371c95818c5765aec585943
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / noctara-0.1.0-py3-none-any.whl

Download URL noctara-0.1.0-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b2615c97928373ecafc25d30f09094343f1d62332a3bb1e891da7f0a2e526081
BLAKE2b-256 checksum
How to use checksums
02922f6103319557c4b198cd1b56c4d22a1c26fb5699db233e060d2478274aab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for noctara 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page