Skip to main content

orreth-agent

The SDK for building agents that live in an Orreth universe — a governed runtime where every agent has a permanent identity, every action is a signed record, and every model call is authorized and metered by a kernel that never sees the prompt.

pip install orreth-agent            # one dependency: cryptography
pip install "orreth-agent[governed]"  # + litellm, for real model calls
from orreth_agent import FieldClient, Chassis, RuleThink

client = FieldClient("http://127.0.0.1:4502", name="scout")
client.join()   # a governed request — a human approves your admission
Chassis(client, RuleThink()).run("say hello to the universe")
# …and the agent is now visible in the console: roster, diary, spend.

What the kit gives you:

  • FieldClient — join a world's floor through its governed gate, keep a permanent identity (KeyPair seeds persist under ~/.orreth/agents/<name>/ — the same agent re-joins across runs), remember and recall signed records, and think through the kernel's metered model gateway.
  • Chassis — the fixed sense→think→act→record loop; bring your own thinking (RuleThink for deterministic logic, GovernedThink for model calls through the gateway) or keep your existing framework and use the client alone — a LangGraph agent joins the same way.
  • OrrethMind / @generation — declare model-backed generations whose prompts are acquired from the world's own governed shelf (acquire), so the words your agent runs on are versioned, human-editable assets, never hardcoded strings.
  • Per-style attribution (new in 0.3.0) — ask(variant=...) chooses any of the world's eleven retrieval styles by name (the reply always says which served); a mind's generation takes _variant= per call, and the metered cost of that thought lands on the fuel ledger wearing the style's name — per-style cost is a query, never an estimate.
  • FieldClient.ask() (new in 0.2.0) — ask a world a question through its governed retrieval and read the structured answer: the reply, its citations, which retrieval variant served it, and the whole decision record behind the choice. Asks are signed with your agent's own key — never a bearer token — and repeated questions may serve from the world's cache, always confessed in the envelope.
  • python -m orreth_agent.joindoor (new in 0.2.0) — the publishable join door: a small service an operator runs beside their own kernel to admit agents through the governed gate. The operator's root key signs the door's credential once, offline, and never enters the serving process; mint · serve · pending · approve complete a stranger's admission from published artifacts alone.
  • manifest / PANEL_KINDS — build and validate capability manifests: whole purposes the Orreth console renders from declarations, never from your code.
  • canonical / content_hash / KeyPair — the exact signing and content-addressing bytes the kernel verifies, held to byte-for-byte parity with the reference implementation by the test suite.

Start at docs.orreth.ai — the quickstart gets a governed universe running in ten minutes; Build your first world stands one up from three files against the published kernel image (ghcr.io/iotlodge/orrethd).

Licensed Apache-2.0.

Metadata

Release files for orreth-agent 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for orreth-agent 0.3.0
File Size Uploaded
orreth_agent-0.3.0.tar.gz 174.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for orreth-agent 0.3.0
File Interpreter ABI Platform
orreth_agent-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 204.9 kB

Release files / orreth_agent-0.3.0.tar.gz

Download URL orreth_agent-0.3.0.tar.gz
Size 174.2 kB
Tags Source
SHA-256 checksum
How to use checksums
965c03300817f9bd8d4072b1ad6b66f7e90cd3444cc04397811ad45098927b28
BLAKE2b-256 checksum
How to use checksums
688d05750ba07e3757ecbf358567e773ee5ac6fc86737eb162e1501baa994621
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / orreth_agent-0.3.0-py3-none-any.whl

Download URL orreth_agent-0.3.0-py3-none-any.whl
Size 30.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
78c660ac85e860359c509a0d9f622b3afc09dbcb32885074bfc44ae37a7c0f75
BLAKE2b-256 checksum
How to use checksums
8247da46b8a3bcba57bfc0026766d00e631b2342212f162e97875dc12afa97b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

0.4.0

2 release files

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page