Metadata-Version: 2.5
Name: airprompter-agent
Version: 0.5.0
Summary: Run prompts and workflows approved in AirPrompter on your own systems: signed pull-only updates, an encrypted restart-safe slot store, offline operation, content-free telemetry. The facade over airprompter-agent-core, -sync, -runtime and -telemetry.
Project-URL: Homepage, https://github.com/airprompter/airprompter-agent-sdk
Project-URL: Source, https://github.com/airprompter/airprompter-agent-sdk/tree/main/sdk-python/packages/agent
Project-URL: Protocol, https://github.com/airprompter/airprompter-agent-sdk/tree/main/protocol
Project-URL: Changelog, https://github.com/airprompter/airprompter-agent-sdk/blob/main/CHANGELOG.md
Project-URL: Issues, https://github.com/airprompter/airprompter-agent-sdk/issues
Author: AirPrompter
License-Expression: BSD-3-Clause
License-File: LICENSE
Keywords: agent,airprompter,governance,llm,prompts
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.10
Requires-Dist: airprompter-agent-core==0.5.0
Requires-Dist: airprompter-agent-runtime==0.5.0
Requires-Dist: airprompter-agent-sync==0.5.0
Requires-Dist: airprompter-agent-telemetry==0.5.0
Provides-Extra: anthropic
Requires-Dist: anthropic>=0.40; extra == 'anthropic'
Provides-Extra: keyring
Requires-Dist: airprompter-agent-sync[keyring]==0.5.0; extra == 'keyring'
Provides-Extra: kms
Requires-Dist: airprompter-agent-sync[kms]==0.5.0; extra == 'kms'
Provides-Extra: litellm
Requires-Dist: litellm>=1.50; extra == 'litellm'
Provides-Extra: openai
Requires-Dist: openai>=1.40; extra == 'openai'
Provides-Extra: test
Requires-Dist: pytest>=8; extra == 'test'
Provides-Extra: vault
Requires-Dist: airprompter-agent-sync[vault]==0.5.0; extra == 'vault'
Description-Content-Type: text/markdown

# airprompter-agent

One install, today's `AirPrompterAgent`: the facade over
`airprompter-agent-core`, `-sync`, `-runtime` and `-telemetry` — signed
pull-only updates, the encrypted restart-safe slot store, offline
operation, rendering with trust-aware variables, `ap.wrap()` for the
openai and anthropic clients (and a LiteLLM callback), content-free
telemetry. Every public name of the four distributions is re-exported.

```python
from airprompter_agent import AirPrompterAgent

ap = AirPrompterAgent.start(organization_id="org_…", agent_id="agt_…", target="prod", api_key=os.environ["AIRPROMPTER_AGENT_KEY"], root={"pinned": PINNED_ROOT_JWK})
rendered = ap.prompt("support.triage").render(team="Billing", ticket=ticket_text)
completion = ap.observe(rendered, lambda: client.chat.completions.create(model=rendered.model, messages=[...]))
ap.feedback(rendered.run_ref, thumbs="up")
```

One of five distributions released in lockstep — `airprompter-agent-core`,
`-sync`, `-runtime`, `-telemetry` and the facade `airprompter-agent` — one
version, exact-pinned siblings, mirroring the TypeScript packages one for
one. The full README and the parity matrix are in
[`sdk-python/README.md`](https://github.com/airprompter/airprompter-agent-sdk/tree/main/sdk-python);
the protocol is in [`protocol/`](https://github.com/airprompter/airprompter-agent-sdk/tree/main/protocol).
BSD-3-Clause.
