ive written / deployed an agent via the web UI and i have now downloaded that project via lk cli and made modifications that I am now trying to publish back up to the cloud but the instructions of lk cli are unclear and when i run lk agent init i get failed to create sandbox: 500 Internal Server Error
So, lk agent init is trying to create a new agent project, but you don’t want to do that since you already have all the agent code. You want to invoke lk agent create which will take your downloaded code and upload it as a new LiveKit cloud agent. When you make subsequent changes and wish to deploy a new version, that’s when you would use lk agent deploy
Before doing this, be sure to run lk cloud auth to authenticate with your project of choice.
You may also want to delete your cloud agent before doing this from the dashboard. I notice you are on the build plan, so can only have a single agent deployment.