Skip to main content

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 .html file in the neuro_san_web_client/static directory
  • the name of the .hocon file used when starting the neuro-san server. 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

neuro_san_web_client-0.1.8.tar.gz (133.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

neuro_san_web_client-0.1.8-py3-none-any.whl (151.4 kB view details)

Uploaded Python 3

File details

Details for the file neuro_san_web_client-0.1.8.tar.gz.

File metadata

  • Download URL: neuro_san_web_client-0.1.8.tar.gz
  • Upload date:
  • Size: 133.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for neuro_san_web_client-0.1.8.tar.gz
Algorithm Hash digest
SHA256 0df9ed46c5f40d571a3d2f4004341a29309c9a08254335fc08bc2a4888068531
MD5 edab779929a02fb69bcc43d9de5e9af7
BLAKE2b-256 5621b422319e0355141eb3005ecf0fc0e39308f6a97a1a40edd50bd8f4f6d3e1

See more details on using hashes here.

File details

Details for the file neuro_san_web_client-0.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for neuro_san_web_client-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 1102926b97da3637c3cfe551616c02f467380eac4e7efe1fccaebfbdde4efcb4
MD5 8625e7ee1158579919f354e9ed1f553f
BLAKE2b-256 3557fe4d09e27d3f0ac0b79aafb48312a54531aa9603116bbdb21f1596c43683

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page