Skip to main content

⚠️ The Web Solace AI Connector is now deprecated

👋 Thanks to everyone who's used the Web Solace AI Connector! This Python version is now deprecated — it's no longer under active development and won't receive new features, bug fixes or security updates.

🚀 Check out the new version of Solace Agent Mesh → https://docs.solace.com/Agent-Mesh/agent-mesh.htm

🖥️ A free edition of the Solace Agent Mesh desktop app is available: https://solace.com/products/agent-mesh/download

This repository will be archived (read-only); existing PyPI releases keep working.

Solace AI Connector Web

A web application with a React frontend and Python backend.

PyPI - Version PyPI - Python Version

Prerequisites

  • Node.js and npm
  • Python 3.10 and above
  • Required Python dependencies

Frontend Development

Installation

Navigate to the frontend directory:

cd src/solace_ai_connector_web/frontend
npm install

Run the frontend development server:

npm run dev

To build the frontend for production:

npm run build
# or
npx remix vite:build

Backend Development

Building

Run this in the root of the project to build the wheel package:

python -m build -w

This will create a /dist folder containing the wheel file which needs to be installed as a dependency in the solace-agent-mesh project.

One suggested workflow for installing the wheel:

pip uninstall solace_ai_connector_web -y && pip install ../../web-solace/solace-ai-connector-web/dist/solace_ai_connector_web-0.1.0-py3-none-any.whl

Local Development

Since static assets are served by default, development with hot reload requires some configuration:

Update vite.config.ts

Add the server configuration:

// vite.config.ts
import { vitePlugin as remix } from "@remix-run/dev";
import { defineConfig } from "vite";
export default defineConfig({
  plugins: [
    remix({
      ssr: false,
      buildDirectory: "./static",
    }),
  ],
  server: {
    proxy: {
      "/api": {
        target: "http://localhost:5001", // Go backend URL
        changeOrigin: true,
        secure: false, // Disable SSL verification if not using HTTPS
        rewrite: (path) => path.replace(/^\/api/, "/api"),
      },
    },
  },
});

Environment Variables

For local development pointing to local REST API with auth disabled:

WEBUI_RESPONSE_API_URL=http://127.0.0.1:5050/api/v1/request
WEBUI_FRONTEND_SERVER_URL=http://localhost:5001
WEBUI_FRONTEND_USE_AUTHORIZATION=False
WEBUI_FRONTEND_URL=http://localhost:5173

This configuration allows you to use npm run dev while still connecting to the REST API run by Solace Agent Mesh.

Notes

  • The Python server is configured to serve static files automatically
  • Frontend builds are placed in the static directory in frontend/static for the server to access

Metadata

Release files for solace-ai-connector-web 0.2.3

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

Source distribution (sdist)

Source distribution for solace-ai-connector-web 0.2.3
File Size Uploaded
solace_ai_connector_web-0.2.3.tar.gz 2.8 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for solace-ai-connector-web 0.2.3
File Interpreter ABI Platform
solace_ai_connector_web-0.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 4.2 MB

Release files / solace_ai_connector_web-0.2.3.tar.gz

Download URL solace_ai_connector_web-0.2.3.tar.gz
Size 2.8 MB
Tags Source
SHA-256 checksum
How to use checksums
f2db307290e33396f6864ed6844abcfb3db86a25a7858a58314b772d6d3e76d4
BLAKE2b-256 checksum
How to use checksums
7aae704c6e131dc0544b9d0ba2371a457c6469359ba94cde51b9d8325ca2cec1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / solace_ai_connector_web-0.2.3-py3-none-any.whl

Download URL solace_ai_connector_web-0.2.3-py3-none-any.whl
Size 1.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
7e865b7adf01edd22020428ece87340a05e5b55c88eedc480c7925abd6bf32d2
BLAKE2b-256 checksum
How to use checksums
9c8736accca887ce6e51ab6eec4fe2a60468830a4f95c3666d4726c8036a00ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.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