MobileOPS Managed Agent Python SDK
Server-side Python SDK for the MobileOPS Managed Agent API.
The SDK exposes three surfaces:
client.agentwraps the LangGraph runtime client and exposes the supported Assistant CRUD methods atclient.agent.assistants.client.filesexposes MobileOPS Sandbox Workspace file routes.client.resourcesmanages 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df9e06fd2a5dcbbb280ab3be9c94ac0c15ad49ea89df25b4c1638d9873aaec52
|
|
| MD5 |
cbfd2a6c7fd7b18de1c3bd7ce125b625
|
|
| BLAKE2b-256 |
f2c575df0d0cac0d5e44beb3c6cfcb10e622446346763218bf0c9c8e837542f2
|
Provenance
The following attestation bundles were made for mobileops_managed_agent-0.2.1.tar.gz:
Publisher:
publish-sdks.yml on InnoMindX/deepagent
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mobileops_managed_agent-0.2.1.tar.gz -
Subject digest:
df9e06fd2a5dcbbb280ab3be9c94ac0c15ad49ea89df25b4c1638d9873aaec52 - Sigstore transparency entry: 2337930184
- Sigstore integration time:
-
Permalink:
InnoMindX/deepagent@f3c29fa1b902eea706bfaec9615a7f64ec9656a2 -
Branch / Tag:
refs/tags/sdk-v0.2.1 - Owner: https://github.com/InnoMindX
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-sdks.yml@f3c29fa1b902eea706bfaec9615a7f64ec9656a2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file mobileops_managed_agent-0.2.1-py3-none-any.whl.
File metadata
- Download URL: mobileops_managed_agent-0.2.1-py3-none-any.whl
- Upload date:
- Size: 19.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61363f1abd325e96e0e9a5e3529ef788a4cbf840840de622dff452e55ff32ee6
|
|
| MD5 |
cefd6fb1e8f84fd864598c88348738b3
|
|
| BLAKE2b-256 |
e68e822fa69e312f4122afed64ee4a0dffb216016c3060607949198c784ba39e
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mobileops_managed_agent-0.2.1-py3-none-any.whl -
Subject digest:
61363f1abd325e96e0e9a5e3529ef788a4cbf840840de622dff452e55ff32ee6 - Sigstore transparency entry: 2337930222
- Sigstore integration time:
-
Permalink:
InnoMindX/deepagent@f3c29fa1b902eea706bfaec9615a7f64ec9656a2 -
Branch / Tag:
refs/tags/sdk-v0.2.1 - Owner: https://github.com/InnoMindX
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-sdks.yml@f3c29fa1b902eea706bfaec9615a7f64ec9656a2 -
Trigger Event:
push
-
Statement type: