AgentFloat
AgentFloatVol. I · MMXXVI
Demo modeAgent active
Live
Vault TVL$9,700testnet demo
Active
Best shadow
Last epoch32s ago970 total
Developer Sandbox

Run your own Shadow Agent.

Verify the loop on X Layer Testnet. Below is a step-by-step developer guide to clone, configure, and start your own off-chain strategist bot. You will see it poll scores, suggest strategy parameter variations, and write to a local Obsidian memory brain.

1Clone & Install Dependencies

Download the repository and install the off-chain TypeScript agent packages:

git clone https://github.com/ronkenx9/agentfloat-hook.git
cd agentfloat-hook/agent
npm install

2Configure Local Environment

Copy the environment template and fill in your keys. Use the default public testnet RPC and contract addresses matching the sandbox:

cp .env.example .env
# Open .env and ensure the following testnet variables are set:
X_LAYER_CHAIN_ID=1952
X_LAYER_RPC_URL=https://testrpc.xlayer.tech/terigon
VAULT_ADDRESS=0xbF06de108735332D1EDb81C7A77A750DD428a6f4
HOOK_ADDRESS=0x3A00B5A2F15bE68AfE5415290ca4D3022e3B3b5F
GROQ_API_KEY=your_groq_api_key_here

3Run Strategy Scorer & Watcher

Start the daemon. The watcher will poll block numbers, compile logs, compute yield differentials, and score strategy targets side-by-side in your console:

npm start

4Trigger AI Strategy Evolution

Run the orchestrator script to trigger the LLM brain. It reads score logs, runs analysis on strategy trends, and writes structured Markdown parameter upgrades directly to your local obsidian memory:

npm run orchestrate
On-Chain SandboxTestnet

Connect your wallet to mint and transact.

Connect MetaMask or any Web3 wallet to access our Mock USDC faucet and deposit directly into the testnet yield vault.