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.mddocs/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
License
mAIvn Studio is source-available under the Business Source License 1.1 (BSL 1.1), not an OSI-approved open-source license. You may use it for any purpose, including production, except offering it as a commercial hosted service or redistributing it as a standalone product (see the Additional Use Grant in the license). On the Change Date (2030-03-11) it converts to the Apache License 2.0. See LICENSE and NOTICE for the full terms.
Metadata
Release files for maivn-studio 0.4.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| maivn_studio-0.4.5.tar.gz | 10.6 MB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| maivn_studio-0.4.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.9 MB
Release files / maivn_studio-0.4.5.tar.gz
| Download URL | maivn_studio-0.4.5.tar.gz |
|---|---|
| Size | 10.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
873754caee557a511fd9f93f319bf58a020f5beff576c571a2619219853b3e0b
|
|
BLAKE2b-256 checksum How to use checksums |
287f126f88f2c3c3eb479cf6a77042223b66329280cf448b8208f6a34de6407a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 25, 2026.
Transparency logRelease files / maivn_studio-0.4.5-py3-none-any.whl
| Download URL | maivn_studio-0.4.5-py3-none-any.whl |
|---|---|
| Size | 5.3 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ed8155c6ee1a60ad67bf2f4fc40b6126c5e475eacc4311f7271a665f82a97f83
|
|
BLAKE2b-256 checksum How to use checksums |
99283911486bc20d416feb5bc8b7ca19f9e48a760c43fd060b31874712c4cf1b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 25, 2026.
Transparency logSecurity for maivn-studio 0.4.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for maivn_studio-0.4.5.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 25, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.