Skip to main content

Local developer studio for discovering, running, and debugging mAIvn SDK apps

Project description

mAIvn Studio

Local developer studio for discovering demos, running sessions, and debugging agent workflows.

Key Capabilities

  • Demo discovery from configured repository paths
  • Rich demo introspection (agents, swarms, tools, prompts, private data schema)
  • Multi-turn session APIs
  • Batch Matrix and async-batch session execution with grouped result cards
  • Real-time Server-Sent Events stream for execution visibility
  • Runtime patching for demos, agents, and swarms

Ecosystem

maivn-studio is the local studio in the mAIvn developer ecosystem. Learn more at maivn.io — or dive into the developer hub at developer.maivn.io.

flowchart TD
    platform["mAIvn platform<br/>hosted agent API"]
    sdk["maivn<br/>Python SDK — agents · tools · swarms"]
    shared["maivn-shared<br/>shared contracts & models"]
    tools["maivn-tools<br/>optional connector toolsets"]
    studio["maivn-studio<br/>local studio — run & debug demos"]

    sdk -->|HTTPS + API key| platform
    sdk -->|depends on| shared
    tools -->|add_toolset| sdk
    studio -->|maivn studio CLI| sdk

    classDef current fill:#dbeafe,stroke:#2563eb,stroke-width:2px;
    class studio current;

Quick Start

For end users or SDK consumers:

pip install "maivn[studio]"
maivn studio

Run maivn studio from the directory that contains your maivn_studio.json file. Studio discovers that config from the current working directory and then walks up parent directories.

You can also launch the companion package directly:

maivn-studio

For monorepo development:

uv sync
cd apps/maivn-demos
uv run maivn studio

If you need to run the Studio package directly:

cd apps/maivn-studio
uv run -m maivn_studio

If you launch Studio without a config file, the default URL is http://127.0.0.1:8080. The shared demos config at apps/maivn-demos/maivn_studio.json uses http://127.0.0.1:8088.

Documentation

  • docs/getting-started.md
  • docs/authoring-and-debugging.md
  • ../../libraries/maivn/docs/guides/maivn-studio.md
  • ../../libraries/maivn/docs/api/events.md
  • ../../libraries/maivn/docs/guides/frontend-events.md

Studio's backend event stream is built on the shared maivn.events.EventBridge contract. Known mAIvn event families are standardized in the shared bridge layer, so Studio inherits canonical packet shapes and stable tool/assignment/scope identities from the SDK. Replay ownership is explicit in the session execution path, Studio keeps any legacy/raw frontend compatibility parsing at the SSE ingress boundary, and the remaining app-specific dedupe is limited to overlapping logical deliveries such as repeated interrupts or repeated identical status messages within a turn.

Configuration

Studio reads maivn_studio.json (if present) for:

  • host/port
  • demo discovery paths
  • explicit demo definitions and variants

Developer Commands

# From apps/maivn-studio

# Backend tests
uv run pytest tests/

# Backend checks
uv run pyright
uv run ruff check .
uv build --wheel
python scripts/check_wheel_contents.py dist/*.whl

# Frontend tests and checks
cd frontend
npm ci
npm run test
npm run check
npm run lint
npm run build
npm run format:check

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

maivn_studio-0.4.1.tar.gz (10.6 MB view details)

Uploaded Source

Built Distribution

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

maivn_studio-0.4.1-py3-none-any.whl (5.3 MB view details)

Uploaded Python 3

File details

Details for the file maivn_studio-0.4.1.tar.gz.

File metadata

  • Download URL: maivn_studio-0.4.1.tar.gz
  • Upload date:
  • Size: 10.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for maivn_studio-0.4.1.tar.gz
Algorithm Hash digest
SHA256 044a54dbae0ca3e2be82d347d41ff5ac73c58faf5224569f4131899f082d278c
MD5 e8cbfde78acd8fb6117a09c8e4254dad
BLAKE2b-256 8977f0e9498b96fb28710193f918f82e2c027830c4f828edb1242459525d812b

See more details on using hashes here.

Provenance

The following attestation bundles were made for maivn_studio-0.4.1.tar.gz:

Publisher: publish-pypi.yml on mAIvn-developer/maivn-studio

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

File details

Details for the file maivn_studio-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: maivn_studio-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 5.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for maivn_studio-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b3f60592babd4b2e0114770593f8a13620cbab5df42236e3087b0ca90ca829e0
MD5 f3ccc4805e33ba61e8ec421e67748b12
BLAKE2b-256 2a426c815f425dc44a84f8b1dc740d4ee6e369734db8332dda8344553383344b

See more details on using hashes here.

Provenance

The following attestation bundles were made for maivn_studio-0.4.1-py3-none-any.whl:

Publisher: publish-pypi.yml on mAIvn-developer/maivn-studio

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

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