Web client demo interface for neuro-san
Project description
Neuro SAN Web Client
A web client for agent-networks built using the Neuro AI agent framework (neuro-san)
Installation
# Installs neuro-san and its dependencies. Assumes you have credentials.
pip install -r requirements.txt
Generate 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 intranet_agents.hocon file:
python -m neuro_san_web_client.agents_diagram_builder --input_file /Users/754337/workspace/neuro-san/registries/intranet_agents.hocon
is equivalent to:
python -m neuro_san_web_client.agents_diagram_builder --input_file /Users/754337/workspace/neuro-san/registries/intranet_agents.hocon --output_file ./neuro_san_web_client/static/intranet_agents.html
Start the web client
Start the application with:
python -m neuro_san_web_client.app
Then go to http://127.0.0.1:5432 in your browser.
In the Configuration tab, choose an Agent Network Name, e.g. "intranet_agents". This agent network name should match
- the name of a
.htmlfile in theneuro_san_web_client/staticdirectory - the name of the
.hoconfile used when starting theneuro-sanserver. Then click the "update" button to update the Agent Network Diagram.
The .html file must match the .hocon file network used by the neuro-san server.
You can now type your message in the chat box and press 'Send' to interact with the agent network.
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.7.tar.gz.
File metadata
- Download URL: neuro_san_web_client-0.1.7.tar.gz
- Upload date:
- Size: 132.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d9b818e6a6aba5713dd7504ce6562fb723039ec8262273895f041e2849ce2d1
|
|
| MD5 |
b82f78f4d3ce122f83a353fab72f0aa8
|
|
| BLAKE2b-256 |
e75f03b92a97a693470f1a76382f65b8b215a23e18dd50f58c7e1362e80eab0f
|
File details
Details for the file neuro_san_web_client-0.1.7-py3-none-any.whl.
File metadata
- Download URL: neuro_san_web_client-0.1.7-py3-none-any.whl
- Upload date:
- Size: 151.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3058565089c60fe68119c570fda2fea21a4eae8b953dcc4d95d9900b7d595925
|
|
| MD5 |
b5070980803423b4b4182818de34f57b
|
|
| BLAKE2b-256 |
1b86a8b69e6f6ef8694b518b4ce0519cc5867fe78e34f6b468a223d1c9ecc1b1
|