Skip to main content

Vibe SDK

High-level Python interface for running Vibe agents.

The SDK gives you:

  • Agent and 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 architecture and design references, see ARCHITECTURE.md and documentation/INDEX.md.

Advanced raw task-protocol examples live in examples/advanced_task_protocol_examples. They are not the primary public SDK API, but they are useful end-to-end probes for local, HTTP, and workflow execution.

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)

Download files

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

Source Distribution

mistralai_vibe_sdk-0.6.0.tar.gz (133.4 kB view details)

Uploaded Source

Built Distribution

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

mistralai_vibe_sdk-0.6.0-py3-none-any.whl (186.0 kB view details)

Uploaded Python 3

File details

Details for the file mistralai_vibe_sdk-0.6.0.tar.gz.

File metadata

  • Download URL: mistralai_vibe_sdk-0.6.0.tar.gz
  • Upload date:
  • Size: 133.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mistralai_vibe_sdk-0.6.0.tar.gz
Algorithm Hash digest
SHA256 84909404831775d69112ac65216c3badeea1c32fa736bf561d1b54e4e484b85c
MD5 70ce94fe5d44a6f80e687658ee18b1d1
BLAKE2b-256 176193938f6b5ccc10b1b7f7d01634f595bb921e0bf936257c936f9c21890e68

See more details on using hashes here.

Provenance

The following attestation bundles were made for mistralai_vibe_sdk-0.6.0.tar.gz:

Publisher: release.yml on mistralai/vibe-sdk

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

File details

Details for the file mistralai_vibe_sdk-0.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mistralai_vibe_sdk-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 15268303d71796373e13f7ea4e000d137c63f8c21d05a9089c3a12f4fbfb8ff7
MD5 127a1b7f68cf66e22496e13adc4150c0
BLAKE2b-256 a54c661e74af7db242486fd968dd711768fe020710239ec352a0ec08e1a8bec3

See more details on using hashes here.

Provenance

The following attestation bundles were made for mistralai_vibe_sdk-0.6.0-py3-none-any.whl:

Publisher: release.yml on mistralai/vibe-sdk

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

Release history Release notifications | RSS feed

0.13.2

2 files

0.12.1

2 files

0.11.0

2 files

0.10.1

2 files

0.10.0

2 files

0.9.0

2 files

0.8.0

2 files

This release

0.6.0 This release

2 files

0.5.0

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.0.1

2 files

Supported by

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