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 (KeyPairseeds 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 (RuleThinkfor deterministic logic,GovernedThinkfor 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.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·approvecomplete 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.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| orreth_agent-0.2.0.tar.gz | 173.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| orreth_agent-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 204.1 kB
Release files / orreth_agent-0.2.0.tar.gz
| Download URL | orreth_agent-0.2.0.tar.gz |
|---|---|
| Size | 173.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba517f7ab32a6d36c8b8b155bb75167d3a2b9ca79432380bd49f4763d4557d30
|
|
BLAKE2b-256 checksum How to use checksums |
7635f8e44b7dc8ea90bb107484eb932b2feaf6b68bee2239c768190bede9c850
|
| 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.2.0-py3-none-any.whl
| Download URL | orreth_agent-0.2.0-py3-none-any.whl |
|---|---|
| Size | 30.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fa10595c258e118b8ae8f5d83dd0985899155b2bba35dc4de1530bb6e617e95e
|
|
BLAKE2b-256 checksum How to use checksums |
22240ecccd3c39692ac8ffd66966f3d61bb867b7ab491656f7ba9123041847fe
|
| 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}
|