Skip to main content

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"],
))

# Resolve the conversation once per user or thread with a stable session_key.
session = client.create_session(mobius.CreateSessionRequest(
    agent_id=agent_id,
    session_key=f"app:{account_id}:{user_id}",
))

try:
    result = client.send_session_input(session.id, mobius.SendSessionInputOptions(
        idempotency_key=inbound_message_id,
        content=[{"type": "text", "text": "Check the name and create a shortlist."}],
    ))
    turn = result.turn  # set when delivery == "new_turn"
    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":
        # A turn is already running. Wait and send again, or steer it with
        # send_session_input(..., SendSessionInputOptions(delivery="current_turn", ...)).
        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.

Metadata

Release files for deepnoodle-mobius 0.11.1

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

Source distribution (sdist)

Source distribution for deepnoodle-mobius 0.11.1
File Size Uploaded Provenance Actions
deepnoodle_mobius-0.11.1.tar.gz 130.0 kB With provenance Details for deepnoodle_mobius-0.11.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for deepnoodle-mobius 0.11.1
File Interpreter ABI Platform Actions
deepnoodle_mobius-0.11.1-py3-none-any.whl Python 3 none any Details for deepnoodle_mobius-0.11.1-py3-none-any.whl

Total release size: 265.9 kB

Release files / deepnoodle_mobius-0.11.1.tar.gz

Download URL deepnoodle_mobius-0.11.1.tar.gz
Size 130.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0055ddbeb0f71289e40f06c06bf85d2debf1a9eb10388ecd85d6c4b102ef5365
BLAKE2b-256 checksum
How to use checksums
b80e2c2d6e5e43065e220e1e5b8fe1c92264d1e6b903b52679705425a5e9a059
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 2, 2026.

Transparency log

Release files / deepnoodle_mobius-0.11.1-py3-none-any.whl

Download URL deepnoodle_mobius-0.11.1-py3-none-any.whl
Size 135.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
51e748aeb514e8219c58a44ddba5a7e88412ab7caff97ede4f1d4751282afc9d
BLAKE2b-256 checksum
How to use checksums
cb673579c83f8b3f3e830ab1548fa4f604a360883857f74286cccf362133653a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 2, 2026.

Transparency log

Security for deepnoodle-mobius 0.11.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for deepnoodle_mobius-0.11.1.tar.gz

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 Dec 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.11.1 This release

2 release files Full provenance

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