Vibe SDK
Project description
Vibe SDK
High-level Python interface for running Vibe protocol agents.
The SDK distribution also ships the legacy mistralai.vibe.protocol.* namespace
for compatibility while the consolidation moves internals toward SDK-owned
contexts.
The SDK gives you:
Agentand stateful async/sync sessions- Pydantic-based tool authoring
- Built-in filesystem tools
- Client-handled tools for UI- or host-dependent actions, such as asking the user a question
For full reference, see DOCUMENTATION.md.
Quick Start
from mistralai.vibe.sdk import Agent, AgentConfig
from mistralai.vibe.sdk.execution_record.patching.json_patch import apply_patches
from mistralai.vibe.sdk.execution_record.state import TaskState
from mistralai.vibe.sdk.transports.events import TaskResultEvent, TaskStateUpdateEvent
agent = Agent(
config=AgentConfig(
model="mistral-large-latest",
system_prompt="You are a concise assistant.",
)
)
async with agent.session() as session:
state = TaskState(input="Hello")
async for event in session.run("Hello"):
if isinstance(event, TaskStateUpdateEvent):
state = apply_patches(state, event.payload.patches)
elif isinstance(event, TaskResultEvent):
state = event.payload.result
print(state.output)
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
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 mistralai_vibe_sdk-0.5.0.tar.gz.
File metadata
- Download URL: mistralai_vibe_sdk-0.5.0.tar.gz
- Upload date:
- Size: 147.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de21c2c83c787810ac33e1c7f4ed246c5a161ce8e5c0ebba53b37e18991db305
|
|
| MD5 |
d37be0ad09077a24cf89206235da8a01
|
|
| BLAKE2b-256 |
cd5471a6080075e5413846c49c5a62f85e38713ca22b0e08e65bc37d119a6e6f
|
Provenance
The following attestation bundles were made for mistralai_vibe_sdk-0.5.0.tar.gz:
Publisher:
release.yml on mistralai/vibe-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mistralai_vibe_sdk-0.5.0.tar.gz -
Subject digest:
de21c2c83c787810ac33e1c7f4ed246c5a161ce8e5c0ebba53b37e18991db305 - Sigstore transparency entry: 2047881565
- Sigstore integration time:
-
Permalink:
mistralai/vibe-sdk@36be6900e066fb62ce2fa69694c4a4b95afab17f -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/mistralai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@36be6900e066fb62ce2fa69694c4a4b95afab17f -
Trigger Event:
release
-
Statement type:
File details
Details for the file mistralai_vibe_sdk-0.5.0-py3-none-any.whl.
File metadata
- Download URL: mistralai_vibe_sdk-0.5.0-py3-none-any.whl
- Upload date:
- Size: 225.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
457d10a1323e4b30db53dd55af27975bc82072571cd1f1b117320ed6bfd58350
|
|
| MD5 |
4d8d1bd9eb81cbd621ebbb6ec045540b
|
|
| BLAKE2b-256 |
58105525e150179e8f2fbd15f1358890cefde946fe7a2d0856ee7561936ab427
|
Provenance
The following attestation bundles were made for mistralai_vibe_sdk-0.5.0-py3-none-any.whl:
Publisher:
release.yml on mistralai/vibe-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mistralai_vibe_sdk-0.5.0-py3-none-any.whl -
Subject digest:
457d10a1323e4b30db53dd55af27975bc82072571cd1f1b117320ed6bfd58350 - Sigstore transparency entry: 2047881575
- Sigstore integration time:
-
Permalink:
mistralai/vibe-sdk@36be6900e066fb62ce2fa69694c4a4b95afab17f -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/mistralai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@36be6900e066fb62ce2fa69694c4a4b95afab17f -
Trigger Event:
release
-
Statement type: