Skip to main content

Python library for easily interacting with trained machine learning models

Project description

Gradio AI Agent Visualizer

Gradio AI Agent Visualizer is a visualizer for ai agents. It allows developers and researchers to explore the structure of your AI agents by rendering name, description, tools, models and managed agents, in an intuitive and expandable UI.

Features

  • Visualize agent structure
  • Expand/collapse nested tool
  • Ability to pass a dict to the component (Flexability if you don't use smolagents)
  • Automatic agent to dict helper function

Usage

Installation

pip install -r gradio-agentvisualizer

Confugiration

import gradio as gr
from gradio_agentvisualizer import AgentVisualizer, agent_to_dict

from demo_agents.custom_agent import manager_agent  # <--- Your custom smolagent

smolagent_dict = agent_to_dict(manager_agent)  # <--- Returns a dict of your agent that you can pass into the component

with gr.Blocks() as demo:
    with gr.Tab("Agent Visualizer"):
        AgentVisualizer(value=smolagent_dict)

tags: [gradio-custom-component, HTML] title: gradio_agentvisualizer short_description: A gradio custom component colorFrom: blue colorTo: yellow sdk: gradio pinned: false app_file: space.py

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

gradio_agentvisualizer-0.0.3.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

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

gradio_agentvisualizer-0.0.3-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file gradio_agentvisualizer-0.0.3.tar.gz.

File metadata

  • Download URL: gradio_agentvisualizer-0.0.3.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for gradio_agentvisualizer-0.0.3.tar.gz
Algorithm Hash digest
SHA256 aef415be6e14bd50187748614ab2d42b844bc8b8504053e51fd5e9c7c821f91f
MD5 3a35030313be65d062339b24eb47640d
BLAKE2b-256 a20e57612076a6bf8c8ca31065aab6389a4b0bbc4859fe43b38ba2fed1bae1e6

See more details on using hashes here.

File details

Details for the file gradio_agentvisualizer-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for gradio_agentvisualizer-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0c855122f14ca16a83ff14abb548f9da633f6ca12abf6265f0e6ef984d8c824d
MD5 dfdfdae4f11353dbd502ea5436537481
BLAKE2b-256 dccabfcb5bac00dc82371159eb8bf6e5675141ff0a4e47614dc9a5eccdf44976

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