The Galadriel framework includes a built-in Gradio UI Client and a Terminal Client, enabling seamless local experimentation right out of the box. Unlike third-party clients such as Discord or Telegram, these clients require no additional configuration or authentication tokens. This makes them ideal for testing and debugging your agent before transitioning to a more advanced setup.
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:
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:
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.
Once the agent is running, you can interact with it directly in the terminal. Your input will appear after the you: prompt, and the agent’s response will follow the Agent: log.Below is a screenshot showcasing a simple interaction:
The Gradio UI Client offers an intuitive and seamless way to test and debug your agent locally, requiring no extra configuration or authentication tokens. This makes it ideal for rapid experimentation before integrating with more complex clients like Discord or Telegram.For a lightweight alternative, the Terminal Client allows direct command-line interaction, making it useful for quick tests in non-graphical environments or when running agents on remote servers.By leveraging both Gradio and the Terminal Client, you can efficiently prototype, debug, and refine your agent before deploying it in a production setting.