Vystak chat channel — OpenAI-compatible unified chat endpoint routing to agents
Project description
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"}]}'
Project details
Release history Release notifications | RSS feed
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 vystak_channel_chat-0.3.0.tar.gz.
File metadata
- Download URL: vystak_channel_chat-0.3.0.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c054a0d9d144cb9041f7f8cb6a99497e548cd0dd6e38db7748dc5365801dc709
|
|
| MD5 |
ba0efb3a4f4c1ff5cabfc09b120e19c9
|
|
| BLAKE2b-256 |
28be8a8281b8ec91c956a0add30178e0de943328faaab970a258104edb0a9bae
|
File details
Details for the file vystak_channel_chat-0.3.0-py3-none-any.whl.
File metadata
- Download URL: vystak_channel_chat-0.3.0-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18d6b8d1cccd3943f722be93f624ae8f76cf49a888a1d5ea07f6cd65e0df4695
|
|
| MD5 |
bbc2349261118abb4a6241241d71afb0
|
|
| BLAKE2b-256 |
05c022f2e9ef497807dc91936bcbedbad17c86e67b1c7cbc2fd0b1aaf6295dc2
|