Gradio Client
Using Gradio with AgentRuntime
Gradio can be easily imported and used as a client right out of the box. For example, let’s take the Discord agent setup and swap out the client for Gradio, as demonstrated in the code snippet below:
Interacting with Gradio UI
Once the Agent is running, you can open Gradio UI locally in http://0.0.0.0:7860. Here’s a screenshot showcasing an couple message interaction with Gradio:
Terminal client
The Terminal Client provides an all-in-one debugging and testing environment. It is particularly useful as a minimal solution for agents that require ongoing conversations, as it keeps both the interaction and logs in the same terminal session.Using Terminal client with AgentRuntime
Similar to the Gradio client, the Terminal Client can be imported and used directly without extra configuration:
Interacting with Terminal Client
Once the agent is running, you can interact with it directly in the terminal. Your input will appear after theyou:
prompt, and the agent’s response will follow the Agent:
log.
Below is a screenshot showcasing a simple interaction:
