Metadata-Version: 2.4
Name: noctara
Version: 0.1.0
Summary: Behavioral identity primitive for AI surfaces. The only identity layer that travels.
Author: Noctara, Inc.
License: MIT
Project-URL: Homepage, https://noctaracorp.com/developers
Project-URL: Spec, https://noctaracorp.com/spec
Project-URL: Repository, https://github.com/noctara/sdk
Keywords: noctara,identity,mcp,claude,ai,behavioral-biometrics
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: httpx>=0.25

# noctara

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

## Install

```bash
pip install noctara
```

## Use

```python
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.
