Most agent trading setups give the agent a private key and unilateral control over funds belonging to that key. Beluga is an on-chain vault that stores tokens and allows the "advisor" key to make encrypted proposals for swaps to the vault itself. The "client" keys can then accept or reject the proposal and the agent will carry it out. All of this is codified, so there is no need to worry about a rogue agent disobeying frontmatter.
npm install -g @belugafinancial/advisor-cli
beluga-advisor init
By default you approve each trade in the app. You can switch to automatic trading, and then the only limits are the ones you set on the vault: minimum pool depth, max price impact and max share of a pool. Nothing caps trade size or frequency yet.Swaps go through Raydium and PumpSwap pools on Solana mainnet, so trying it takes a wallet and a few dollars. Setup guide: https://docs.beluga.financial/guides/agent-advisor/
The source isn't public yet, as we're going through the final stages of a program audit. What additional features would you like to see?