Behavioral identity primitive for AI surfaces. The only identity layer that travels.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file noctara-0.1.0.tar.gz.
File metadata
- Download URL: noctara-0.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d876cd3900102e35d0c6e2ca221c2f3c6809d98846ac686b0bfdf88e36e342f3
|
|
| MD5 |
da6fb327cdaa7c229f2f830bf5db1a28
|
|
| BLAKE2b-256 |
0ec1673ae9600213630d8ee78d96631eb432cc304371c95818c5765aec585943
|
File details
Details for the file noctara-0.1.0-py3-none-any.whl.
File metadata
- Download URL: noctara-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2615c97928373ecafc25d30f09094343f1d62332a3bb1e891da7f0a2e526081
|
|
| MD5 |
5c752f471567d0d3de3796b8f29a2b05
|
|
| BLAKE2b-256 |
02922f6103319557c4b198cd1b56c4d22a1c26fb5699db233e060d2478274aab
|