Skip to main content

Generated gRPC stubs for the Astropods messaging service

Project description

astropods-messaging

Generated gRPC stubs for the Astropods messaging service. Used internally by adapter packages to communicate with the Astro runtime.

Installation

pip install astropods-messaging

Requires Python 3.10+.

Usage

This package is a low-level dependency. If you're building an agent, use a higher-level adapter instead (e.g. astropods-adapter-langchain).

Use this package directly if you're implementing a custom adapter:

from astropods_messaging import AgentMessagingStub, ConversationRequest, AgentResponse, ContentChunk

Exported symbols

Service

Symbol Description
AgentMessagingStub gRPC client stub for the AgentMessaging service
ConversationRequest Incoming message from the messaging service
HealthCheckRequest / HealthCheckResponse Health probe messages

Responses

Symbol Description
AgentResponse Top-level response wrapper sent back to the messaging service
ContentChunk Streamed text fragment from the agent
StatusUpdate Agent status change (e.g. THINKING, PROCESSING)
Transcript Transcribed text from an audio input
ErrorResponse Error to surface to the user
SuggestedPrompts Follow-up prompt suggestions
ThreadMetadata Metadata to attach to the conversation thread

Messages

Symbol Description
Message A message in the conversation
User User identity attached to a request
Attachment File or media attached to a message

Audio

Symbol Description
AudioStreamConfig Audio format configuration
AudioChunk A chunk of raw audio data
AudioEncoding Enum of supported audio encodings

Config

Symbol Description
AgentConfig Agent configuration reported to the platform
AgentToolConfig A single tool entry within AgentConfig

Feedback

Symbol Description
PlatformFeedback User feedback event (e.g. thumbs up/down)

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

astropods_messaging-0.0.6.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

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

astropods_messaging-0.0.6-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file astropods_messaging-0.0.6.tar.gz.

File metadata

  • Download URL: astropods_messaging-0.0.6.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for astropods_messaging-0.0.6.tar.gz
Algorithm Hash digest
SHA256 68470dcd3d75f3850aa3a2eb0fb5250bd48cf14e75f54f3d83075eb523c3c6b6
MD5 05eb10fc9a87e38575b3b1f4eb25323f
BLAKE2b-256 c0a79add105e58c2356a591994b0ca82200c2053dac8b024b2310086f77c0860

See more details on using hashes here.

Provenance

The following attestation bundles were made for astropods_messaging-0.0.6.tar.gz:

Publisher: publish-pypi.yml on astropods/messaging

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

File details

Details for the file astropods_messaging-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for astropods_messaging-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f7d4f86b6d037bbe07547f8bed344e1f157aabef2522f723a8ba7c61fc4f01da
MD5 373b7c40c8647dc6d534616061db08e6
BLAKE2b-256 794e88ed899da59b0acf64ad8a0a843cc8de104869a3b31f2e6a32fcdc9e59b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for astropods_messaging-0.0.6-py3-none-any.whl:

Publisher: publish-pypi.yml on astropods/messaging

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