Official Python Agent Development Kit for MIOSA — build LLM agents that natively use MIOSA sandboxes, desktop computers, and deployments with the tool-call loop pre-wired.
Project description
miosa-adk Python
Python Agent Development Kit for MIOSA sandboxes.
Use this when you want an LLM agent to create a sandbox, write files, run commands, start a dev server, and return a preview URL.
Install
pip install "miosa-adk @ git+https://github.com/Miosa-osa/adk.git#subdirectory=python"
If you want the built-in MIOSA sandbox/computer tools, install the MIOSA Python SDK as well. Until the MIOSA Python SDK is published to PyPI, use your local SDK checkout or install it through the package source your team uses internally.
Once both packages are published to PyPI, the intended install is:
pip install miosa miosa-adk
Website Builder Example
import os
from miosa_adk import Agent, groq_provider, sandbox_builder_system_prompt
agent = Agent(
provider=groq_provider(
api_key=os.environ["GROQ_API_KEY"],
model="moonshotai/kimi-k2-instruct-0905",
),
miosa_api_key=os.environ["MIOSA_API_KEY"],
miosa_tool_options={"allow_destroy": False},
)
result = agent.run(
"Build a one-page site for a boutique gym. Run it on port 3000 and return the preview URL.",
system=sandbox_builder_system_prompt("website"),
max_iterations=12,
)
print(result.final_text)
Provider Factories
openai_providergroq_providerdeepseek_provideropenrouter_providertogether_providerfireworks_providermistral_providercerebras_providerperplexity_providerxai_providerollama_providerlm_studio_provideropenai_compatible_provider
Builder Presets
sandbox_builder_system_prompt("website")
sandbox_builder_system_prompt("app")
sandbox_builder_system_prompt("artifact")
sandbox_builder_system_prompt("slide_deck")
Examples
See examples/ for website, app, artifact, and slide deck builders.
Project details
Release history Release notifications | RSS feed
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 miosa_adk-1.0.0.tar.gz.
File metadata
- Download URL: miosa_adk-1.0.0.tar.gz
- Upload date:
- Size: 35.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b70b0d03f8ac9ec8d41d30f928018bef29d1525f1b7c5d5d9b252d1a92e34782
|
|
| MD5 |
ef2d52729e970e7bfc0c36edd54d24ca
|
|
| BLAKE2b-256 |
3b53d969e8035f639d691e166a84ece81dab4ca9b8edbef1e31b7b52d2e6da90
|
File details
Details for the file miosa_adk-1.0.0-py3-none-any.whl.
File metadata
- Download URL: miosa_adk-1.0.0-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
074cb1fd1b21f961f5c0c48f965272a7e431c092694c056bfdd2b51c4481b297
|
|
| MD5 |
4e8c830329b9e8246d3cdb12c864ff1b
|
|
| BLAKE2b-256 |
696b0b742729376c96a5a066b75744ffb02b34d3163d28fb266deab8d6789227
|