deepnoodle-mobius
Python SDK for Mobius agent sessions, loops, and workers.
Multi-tool agent quickstart
import os
import deepnoodle.mobius as mobius
client = mobius.Client(mobius.ClientOptions(
api_key=os.environ["MOBIUS_API_KEY"],
))
try:
turn = client.invoke_agent(mobius.InvokeAgentOptions(
agent_name="launch-scout",
idempotency_key=inbound_message_id,
content=[{"type": "text", "text": "Check the name and create a shortlist."}],
))
for update in turn.updates():
for message in update.transcript.renderable_messages():
print(mobius.text_of(message))
for block in message["content"]:
if block.get("type") == "tool_use":
tool = mobius.normalize_tool_use(block)
print((tool.resolved_action or {}).get("name", tool.wire_name))
if turn.error:
raise turn.error
except mobius.MobiusAPIError as error:
if error.code == "session_turn_active":
# Choose explicitly: wait and invoke again, or client.nudge_session(...).
pass
else:
raise
Use messages() for the lossless protocol view and renderable_messages()
for UI. normalize_tool_use() preserves the model-facing wire fields and
prefers Mobius' persisted canonical action identity. The
cross-language helper guide covers nudges,
reconnection, diagnostics, session management, persistence ordering, and the
server-to-browser boundary.
Release files for deepnoodle-mobius 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 | |
|---|---|---|---|
| deepnoodle_mobius-0.2.0.tar.gz | 108.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| deepnoodle_mobius-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 222.4 kB
Release files / deepnoodle_mobius-0.2.0.tar.gz
| Download URL | deepnoodle_mobius-0.2.0.tar.gz |
|---|---|
| Size | 108.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5184e9ecbb4dc20fbdfc555f8c3260f97c5bd271b246a46e2a3fbbe06f2a38ce
|
|
BLAKE2b-256 checksum How to use checksums |
0b86575982003d499324d860cedf2aa25ec71cf8a9a59b385c74e89a10a75684
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.
Transparency logRelease files / deepnoodle_mobius-0.2.0-py3-none-any.whl
| Download URL | deepnoodle_mobius-0.2.0-py3-none-any.whl |
|---|---|
| Size | 114.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e453c626aa8485fb3f518ff846da767409a816e7d6cb907fa95ac1c91e880aa7
|
|
BLAKE2b-256 checksum How to use checksums |
969674478478047a4e17f2f93a306bed3d6128da2dc18bd61203bac1256c9d26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.
Transparency log