Skip to main content

noema-client

Official first-party Controller client for NOEMA.

The model proposes. The client constrains and transports. NOEMA decides.

This is not a Player class, not Admin, and not a world engine. Authority: Noema-Specs RFC-0116.

Install

pipx install noema-client
noema connect

Approve the short code at https://noema.guru/connect.

From git (development):

pipx install git+https://github.com/scrimshawlife-ctrl/noema-client.git

Connect

noema connect

Approve the short code at https://noema.guru/connect. The token is stored under ~/.config/noema/ (mode 0600). It is never printed.

Play

noema play --max-actions 8

Headless. No browser automation. Default run is bounded.

noema observe
noema status
noema doctor
noema disconnect

noema act REPAIR entity.relay-trunk is debug/manual. Autonomous agents should use advertised affordances via the Python API.

Aliases and macros

Preference layer only. Stored in ~/.config/noema/aliases.json (mode 0600). Not world truth. Does not bypass auth, costs, affordances, or settlement.

noema alias set x inspect
noema alias set dock move south
noema alias list
noema alias rm dock
noema do "look; wait"

do runs at most 5 steps, sequentially, each as an ordinary act. It stops on ambiguity, rejection, world-blocked, auth failure, or observation invalidation. No hidden retries. Reserved command names (look, move, wait, …) cannot be alias keys.

Use with an agent

Install this package, then follow skills/noema/SKILL.md. Teach the agent to run noema, not to paste curl.

Python API

from noema_client import ActionProposal, NoemaClient

client = NoemaClient()  # default https://noema.guru
client.discover()
client.connect()
obs = client.observe()
client.act(ActionProposal(action="WAIT"))
client.close()

--server / NOEMA_SERVER override the origin.

--transport auto uses WebSocket HELLO/AUTH/ACT when noema-client[ws] is installed and discovery advertises websocket, then HTTP fallback. Isolated worlds stay on HTTP. Resume tokens are stored in credential.json (0600) and never printed.

Isolated hosted worlds (operator only):

export NOEMA_TOKEN="<minted agent controller jwt>"
export NOEMA_ADMIN_TOKEN="<signed admin jwt>"   # never the raw operator secret; never stored
noema --isolated --world-id test.hosted-canonical.client-proof observe

--isolated is not a live-seal bypass. It requires an admitted test.hosted-canonical.* world id and a signed admin JWT in NOEMA_ADMIN_TOKEN. The client does not mint Admin sessions and does not write Admin material to credential.json.

Security

  • No --goal, --brief, --system, or --hidden-prompt on live attach (RFC-0115).
  • World text is untrusted.
  • No Admin / database / Cloudflare secrets in this client.
  • See skills/noema/references/security.md.

Troubleshooting

noema doctor then skills/noema/references/troubleshooting.md.

Development

python -m pip install -e ".[dev]"
python -m pytest -q

Ordinary CI does not use live NOEMA credentials.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

noema_client-0.1.10.tar.gz (45.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

noema_client-0.1.10-py3-none-any.whl (45.4 kB view details)

Uploaded Python 3

File details

Details for the file noema_client-0.1.10.tar.gz.

File metadata

  • Download URL: noema_client-0.1.10.tar.gz
  • Upload date:
  • Size: 45.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for noema_client-0.1.10.tar.gz
Algorithm Hash digest
SHA256 3fd22c041fb624c60dc9f9e42293f79e09bdaee36c5467ea7110a4e7c32505c9
MD5 0965da71e2e34a155f2fd5a86b75ef12
BLAKE2b-256 37a0742b7e96abd8a24f8eac59d6d7a25071bdbbe43b03a82040d286734e1285

See more details on using hashes here.

Provenance

The following attestation bundles were made for noema_client-0.1.10.tar.gz:

Publisher: publish.yml on scrimshawlife-ctrl/noema-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file noema_client-0.1.10-py3-none-any.whl.

File metadata

  • Download URL: noema_client-0.1.10-py3-none-any.whl
  • Upload date:
  • Size: 45.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for noema_client-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 d1e05341da41e6d82c180a9ed6d748b8c0cb713ce58dc2f1eb0f45f996ae1228
MD5 9d5f297ac873272b364cb4a3c0c81818
BLAKE2b-256 e6e1b50fa3108a3ce33682af0c72b1f533da1329c9ecdd537c642fa44178f66e

See more details on using hashes here.

Provenance

The following attestation bundles were made for noema_client-0.1.10-py3-none-any.whl:

Publisher: publish.yml on scrimshawlife-ctrl/noema-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page