Playground and Agent-App for Local Deployment

Hi Phidata community! :wave:

I’ve been using Phidata’s playground for developing agents and really enjoying it. However, I want to deploy my agents locally with custom configurations. I notice there’s also the agent-app template (phi ws create -t agent-app -n agent-app).

Can someone clarify:

  1. What’s the difference between playground and agent-app?
  2. Can either be fully deployed locally with custom configurations?

Thanks in advance for any insights!

  1. so basically this code that is given here is for creating a agent template or you can say when you type npx create react app it build a basic app template for you with all the necessay folder and structures here this command is doing the same.
phi ws create -t agent-app -n agent-app

you will have to change things according to you and your deployment config.

  1. yes you can deploy you agents by create a fastapi routes to fetch the data on the frontend side and this can be deployed essily on streamcloud, vercel and other free platforms. you can try this in a streamlit local enviroment.
1 Like

Thanks for explaining! Quick question - can the playground web interface be run and customized locally without Phidata’s API?

Hi @Southern_Push2935
Not at the moment, however we are working on a local UI version to allow easy testing of agents in a chat-like environment.

1 Like