Skip to main content

owa-msgs

Core message definitions for Open World Agents (OWA).

This package provides the standard message types used throughout the OWA ecosystem, organized by domain and registered through Python entry points for automatic discovery.

Installation

pip install owa-msgs

Usage

Using the Message Registry

The recommended way to access messages is through the global registry:

from owa.core import MESSAGES

# Access message classes by type name
KeyboardEvent = MESSAGES['desktop/KeyboardEvent']
MouseEvent = MESSAGES['desktop/MouseEvent']

# Create message instances
event = KeyboardEvent(event_type="press", vk=65)

Direct Imports

You can also import message classes directly:

from owa.msgs.desktop.keyboard import KeyboardEvent
from owa.msgs.desktop.mouse import MouseEvent

Discovering Available Message Types

To see all available message types, use the CLI command:

owl messages list

Or programmatically:

from owa.core import MESSAGES

# List all available message types
for message_type in sorted(MESSAGES.keys()):
    print(f"- {message_type}")

# Get detailed information about a specific message
print(f"Total messages: {len(MESSAGES)}")

Getting Message Details

For detailed information about any message type:

# Show comprehensive details about a message
owl messages show desktop/KeyboardEvent

# Show with usage examples
owl messages show desktop/KeyboardEvent --example

# Validate all messages
owl messages validate

Message Domains

Messages are organized by domain for better structure:

  • Desktop Domain (desktop/*): Desktop interaction messages including keyboard, mouse, window, and screen capture events

Extending with Custom Messages

To add custom message types, create a package with entry point registration:

# pyproject.toml
[project.entry-points."owa.msgs"]
"custom/MyMessage" = "my_package.messages:MyMessage"

Schema and Compatibility

All messages implement the BaseMessage interface from owa.core.message and are compatible with the OWAMcap format for data recording and playback.

Metadata

Release files for owa-msgs 0.6.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for owa-msgs 0.6.6
File Size Uploaded
owa_msgs-0.6.6.tar.gz 13.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for owa-msgs 0.6.6
File Interpreter ABI Platform
owa_msgs-0.6.6-py3-none-any.whl Python 3 none any Details

Total release size: 22.0 kB

Release files / owa_msgs-0.6.6.tar.gz

Download URL owa_msgs-0.6.6.tar.gz
Size 13.2 kB
Tags Source
SHA-256 checksum
How to use checksums
243f5a91575b8b550599c61e71575d74cd611af7cc4cb2add3faa1ffdc299512
BLAKE2b-256 checksum
How to use checksums
f6393cf21755c6c4badc39491170f5a2a2829171b14f90d8b81df4213217f0cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / owa_msgs-0.6.6-py3-none-any.whl

Download URL owa_msgs-0.6.6-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
32fefaf5e5bd27efd6d13a3095752626ca6495671ba73a59c5bb7218d55bf3fd
BLAKE2b-256 checksum
How to use checksums
7adb6ff818091bac6456bbcda17b294e4eb2a1d9328513276a435f1a8b32e291
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.6.6 This release

2 release files

0.6.5

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.7

2 release files

0.5.6

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page