Skip to main content

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_provider
  • groq_provider
  • deepseek_provider
  • openrouter_provider
  • together_provider
  • fireworks_provider
  • mistral_provider
  • cerebras_provider
  • perplexity_provider
  • xai_provider
  • ollama_provider
  • lm_studio_provider
  • openai_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


Download files

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

Source Distribution

miosa_adk-1.0.0.tar.gz (35.7 kB view details)

Uploaded Source

Built Distribution

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

miosa_adk-1.0.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

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

Hashes for miosa_adk-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b70b0d03f8ac9ec8d41d30f928018bef29d1525f1b7c5d5d9b252d1a92e34782
MD5 ef2d52729e970e7bfc0c36edd54d24ca
BLAKE2b-256 3b53d969e8035f639d691e166a84ece81dab4ca9b8edbef1e31b7b52d2e6da90

See more details on using hashes here.

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

Hashes for miosa_adk-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 074cb1fd1b21f961f5c0c48f965272a7e431c092694c056bfdd2b51c4481b297
MD5 4e8c830329b9e8246d3cdb12c864ff1b
BLAKE2b-256 696b0b742729376c96a5a066b75744ffb02b34d3163d28fb266deab8d6789227

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page