Skip to main content

MobileOPS Managed Agent Python SDK

Server-side Python SDK for the MobileOPS Managed Agent API.

The SDK exposes three surfaces:

  • client.agent wraps the LangGraph runtime client and exposes the supported Assistant CRUD methods at client.agent.assistants.
  • client.files exposes MobileOPS Sandbox Workspace file routes.
  • client.resources manages Context Hub resources, versions, and latest-version files.

Assistant create and update retain LangGraph's ordinary arguments, while persisted configuration is exposed through product fields. Pass response_schema to persist a Draft 2020-12 object schema, read the Run's validated result from final state structured_response, and pass response_schema=None on update to clear it.

Note: the Agent Server freezes the Assistant config into each Thread at creation, and that frozen copy takes precedence over the Assistant's current config on later Runs. Setting, changing, or clearing response_schema therefore only affects Runs started on new Threads; existing Threads keep the schema captured at their creation.

from mobileops_managed_agent import MobileOpsManagedAgentClient

client = MobileOpsManagedAgentClient(api_url=api_url, api_key=api_key)

thread = await client.agent.threads.create()
await client.agent.runs.create(thread["thread_id"], assistant_id, input=input)

skill = await client.resources.create("skills", zip_bytes)  # slug inferred
assistant = await client.agent.assistants.create(
    name="Operations agent",
    skills=[{
        "ref": skill["ref"],  # e.g. incident-response@sha256-…
        "target_path": "/workspace/skills",  # zip already contains {slug}/
    }],
)

await client.resources.versions.create("skills", skill["slug"], next_zip_bytes)
await client.resources.files.list("skills", skill["slug"])
await client.files.list(thread["thread_id"], "/workspace")

Keep MobileOPS Managed Agent API keys in server-side code only.

Download files

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

Source Distribution

mobileops_managed_agent-0.2.1.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

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

mobileops_managed_agent-0.2.1-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

Details for the file mobileops_managed_agent-0.2.1.tar.gz.

File metadata

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

File hashes

Hashes for mobileops_managed_agent-0.2.1.tar.gz
Algorithm Hash digest
SHA256 df9e06fd2a5dcbbb280ab3be9c94ac0c15ad49ea89df25b4c1638d9873aaec52
MD5 cbfd2a6c7fd7b18de1c3bd7ce125b625
BLAKE2b-256 f2c575df0d0cac0d5e44beb3c6cfcb10e622446346763218bf0c9c8e837542f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for mobileops_managed_agent-0.2.1.tar.gz:

Publisher: publish-sdks.yml on InnoMindX/deepagent

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

File details

Details for the file mobileops_managed_agent-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mobileops_managed_agent-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 61363f1abd325e96e0e9a5e3529ef788a4cbf840840de622dff452e55ff32ee6
MD5 cefd6fb1e8f84fd864598c88348738b3
BLAKE2b-256 e68e822fa69e312f4122afed64ee4a0dffb216016c3060607949198c784ba39e

See more details on using hashes here.

Provenance

The following attestation bundles were made for mobileops_managed_agent-0.2.1-py3-none-any.whl:

Publisher: publish-sdks.yml on InnoMindX/deepagent

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

Release history Release notifications | RSS feed

0.2.2

2 files

This release

0.2.1 This release

2 files

0.2.0

2 files

0.1.0

2 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