Web client demo interface for neuro-san
Project description
Neuro SAN Web Client
A basic web client for Neuro SAN agent-networks integrated with Neuro SAN Studio. This is a simple example showing how to connect to a neuro-san server and interact with it.
Installation
# Installs neuro-san and its dependencies. Assumes you have credentials.
pip install -r requirements.txt
Start the web client
Start the application with:
python -m neuro_san_web_client.app
Then go to http://127.0.0.1:5001 in your browser.
Usage
- Expand the
Configurationtab at the bottom of the interface to connect to the neuro-san server host and port - Choose an Agent Network Name, e.g.
industry/telco_network_support.hoconThis Agent Network Name MUST match the name of an agent network served by the neuro-san server, i.e. it is activated in itsregistries/manifest.hoconfile.Warning:
app.pyassumes the neuro-san server serves files from aneuro-san-studiofolder at the same level as this folder. If that's not the case, please update thePATH_TO_NEURO_SAN_REGISTRIESvariable inapp.pyaccordingly. - Click
Update. A html diagram of the agent network will be automatically generated in theneuro_san_web_client/staticdirectory. - Type your message in the chat box and press 'Send' to interact with the agent network.
- Optional: open the
Agent Network Diagramtab to visualize the interactions between the agents. - Optional: open the
Agent Communicationstab to see the messages exchanged between the agents.
Manually generating an HTML agent network diagram
Generate an HTML diagram of agents based on a .hocon file containing an agent network configuration:
python -m neuro_san_web_client.agents_diagram_builder --input_file <path_to_hocon_file>
There is also an optional --output_file <path_to_output_file> argument to specify the output file.
By default, if no --output_file argument is specified,
the .html file is automatically generated in the web client's static directory.
For example, for a industry/telco_network_support.hocon file:
python -m neuro_san_web_client.agents_diagram_builder --input_file /Users/username/workspace/neuro-san-studio/registries/industry/telco_network_support.hocon
is equivalent to:
python -m neuro_san_web_client.agents_diagram_builder --input_file /Users/username/workspace/neuro-san-studio/registries/industry/telco_network_support.hocon --output_file ./neuro_san_web_client/static/industry/telco_network_support.html
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
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 neuro_san_web_client-0.1.13.tar.gz.
File metadata
- Download URL: neuro_san_web_client-0.1.13.tar.gz
- Upload date:
- Size: 117.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
389447904e408d35575914af354392bd721f86df7ae385d240056132c9942930
|
|
| MD5 |
f1b339e1e47d769197a3ea64db6c72e0
|
|
| BLAKE2b-256 |
c8e513e55dc9b7c1a7371ee4c459f203f28ee55e620a31617e98dd3398fadcaf
|
Provenance
The following attestation bundles were made for neuro_san_web_client-0.1.13.tar.gz:
Publisher:
publish.yml on cognizant-ai-lab/neuro-san-web-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
neuro_san_web_client-0.1.13.tar.gz -
Subject digest:
389447904e408d35575914af354392bd721f86df7ae385d240056132c9942930 - Sigstore transparency entry: 765202655
- Sigstore integration time:
-
Permalink:
cognizant-ai-lab/neuro-san-web-client@dd560e5f0d7c0fca19664165e6dfbd4f458a666e -
Branch / Tag:
refs/tags/0.1.13 - Owner: https://github.com/cognizant-ai-lab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@dd560e5f0d7c0fca19664165e6dfbd4f458a666e -
Trigger Event:
release
-
Statement type:
File details
Details for the file neuro_san_web_client-0.1.13-py3-none-any.whl.
File metadata
- Download URL: neuro_san_web_client-0.1.13-py3-none-any.whl
- Upload date:
- Size: 113.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65a3b862a474954c8c51bf9e1da5a62082e1a7981b6f0f276c9056e137df33bf
|
|
| MD5 |
4decdef510c607e9aa0b05119fef9e9f
|
|
| BLAKE2b-256 |
6f73b22a68c945295dddf484a3e3b2a08420fda5098370018fb7355763b50495
|
Provenance
The following attestation bundles were made for neuro_san_web_client-0.1.13-py3-none-any.whl:
Publisher:
publish.yml on cognizant-ai-lab/neuro-san-web-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
neuro_san_web_client-0.1.13-py3-none-any.whl -
Subject digest:
65a3b862a474954c8c51bf9e1da5a62082e1a7981b6f0f276c9056e137df33bf - Sigstore transparency entry: 765202705
- Sigstore integration time:
-
Permalink:
cognizant-ai-lab/neuro-san-web-client@dd560e5f0d7c0fca19664165e6dfbd4f458a666e -
Branch / Tag:
refs/tags/0.1.13 - Owner: https://github.com/cognizant-ai-lab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@dd560e5f0d7c0fca19664165e6dfbd4f458a666e -
Trigger Event:
release
-
Statement type: