Skip to main content

vystak-channel-chat

OpenAI-compatible chat channel plugin for Vystak.

Declares ChannelType.CHAT. When deployed, spins up a FastAPI container exposing /v1/chat/completions, /v1/models, and /health. Chat completions are routed to the agent named in the model field (format: vystak/<agent-name>) and proxied to that agent's A2A endpoint.

Usage

import vystak as ast
import vystak_channel_chat  # triggers plugin registration

chat = ast.Channel(
    name="chat",
    type=ast.ChannelType.CHAT,
    platform=platform,
    routes=[ast.RouteRule(agent="weather-agent")],
)

Then vystak apply, and:

curl -X POST http://localhost:8080/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model":"vystak/weather-agent","messages":[{"role":"user","content":"hi"}]}'

Release files for vystak-channel-chat 0.3.0

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

Source distribution (sdist)

Source distribution for vystak-channel-chat 0.3.0
File Size Uploaded
vystak_channel_chat-0.3.0.tar.gz 7.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vystak-channel-chat 0.3.0
File Interpreter ABI Platform
vystak_channel_chat-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.9 kB

Release files / vystak_channel_chat-0.3.0.tar.gz

Download URL vystak_channel_chat-0.3.0.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c054a0d9d144cb9041f7f8cb6a99497e548cd0dd6e38db7748dc5365801dc709
BLAKE2b-256 checksum
How to use checksums
28be8a8281b8ec91c956a0add30178e0de943328faaab970a258104edb0a9bae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / vystak_channel_chat-0.3.0-py3-none-any.whl

Download URL vystak_channel_chat-0.3.0-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
18d6b8d1cccd3943f722be93f624ae8f76cf49a888a1d5ea07f6cd65e0df4695
BLAKE2b-256 checksum
How to use checksums
05c022f2e9ef497807dc91936bcbedbad17c86e67b1c7cbc2fd0b1aaf6295dc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.3.0 This release

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