Norm-Native Agent SDK — Harness + Host loop over EDA / Normbase / Schemo HTTP APIs
Project description
aif-normative-agent
PyPI distribution for the Norm-Native Agent SDK (normative_agent).
Thin HTTP client + Host tool loop over remote EDA, Normbase, and Schemo APIs. Does not ship Normbase, EDA server, Platform, MCP adapters, or Facilitator code.
Sibling package: aif-mcp (MCP tool surface over the same HTTP APIs).
Install
pip install aif-normative-agent
Editable install from monorepo (full-stack development):
pip install -e .
# at AIF repository root (aif-normbase)
SDK-only wheel build (this directory):
cd packaging/normative-agent
python sync_sources.py
python -m build --wheel
python verify_wheel.py dist/aif_normative_agent-0.3.1-py3-none-any.whl
python verify_wheel_imports.py dist/aif_normative_agent-0.3.1-py3-none-any.whl
Or from repo root:
pwsh ./scripts/publish/publish_normative_agent.ps1
Verify import
python -c "from normative_agent import NormativeAgent; print('ok')"
Configuration
| Variable | Purpose |
|---|---|
AIF_AGENT_API_KEY |
Agent API key for NormativeAgent.from_api_key |
EDA_BASE_URL |
EDA HTTP API (default http://localhost:8002) |
NORMBASE_BASE_URL |
Normbase HTTP API (default http://localhost:8001) |
SCHEMO_QUERY_BASE_URL |
Schemo read API |
AIF_INTERNAL_SERVICE_TOKEN |
Optional internal Bearer for mixed deployments |
Monorepo note
Source lives under normative_agent/, plus shared helpers ontology/schemo/client, ontology/schemo/contracts, and security/auth (same shared layer as aif-mcp).
Norm bind build logic stays in eda_agent/norm_projection.py (server). SDK formats EDA bound_norm_projections via normative_agent.harness.projection_format.
Developer guide: normative_agent/docs/developer-guide.md in the AIF monorepo (not shipped in the wheel).
Host app devkit: docs/agent-app-devkit/ in the AIF repository.
Publish: pwsh ./scripts/publish/publish_normative_agent.ps1
Package scope
Bundled:
normative_agent(Harness + Host)ontology.schemo.client/contractssecurity.auth
Not bundled:
eda_agent,normbase,aif_platform,integrations,llm, SDK docs undernormative_agent/docs/
Optional LLM semantic governance uses monorepo llm or inject your own ToolCallingModel / SemanticTriggerClassifier.
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 Distributions
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 aif_normative_agent-0.3.1-py3-none-any.whl.
File metadata
- Download URL: aif_normative_agent-0.3.1-py3-none-any.whl
- Upload date:
- Size: 93.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
845edebc59c54cb9bc6c4f61f60746cd87cf506b15a1fcbbe68adb20d01bd6f9
|
|
| MD5 |
3d092768a2418f2757c312a9e293d7ee
|
|
| BLAKE2b-256 |
28fedab8e128d9ba8b39cdbff8961273257121f4f471e6998c98187763451fca
|