Run an Agent
Architecture

UI - Palliora Explorer
Go to the Agents tab on Palliora Explorer.
Select the agent you want to run.
Pay the Palliora tokens required for running that agent.
You will be redirected to a chat UI where you can start interacting with the agent.
CLI
Use the Palliora indexer to fetch the
agentRefciphertext's using the API call:Once you have the
agentConfigciphertext, run the following cmd from Palliora CLIThis will emit a
daccRunAgentevent to notify the guardian network's calculator nodes to run the agent.The guardian network will perform threshold decryption on the agent's ciphertext which will expose the agent container reference and .env variables to the node.
The calculator node will then be able to pull the agent container image, serve the model required by the agent through ollama and execute
docker runfor the agent to start running.The node will also expose an access url for your client to establish a connection with the agent, which will be encrypted against the client's public key.
You can fetch the result of the run agent call from the
daccComputeResultevent, decrypt thedatato get theaccessURL. This should be a websocket URL.Use the
accessURLto establish a direct connection with your agent and start interacting!
Last updated