Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

1.8 KB
Raw Blame
{
	"tools": [
		{
			"name": "validateStrategy",
			"description": "Parse and type-check a strategy spec without running it. Returns parsed predicates or the first error.",
			"input_schema": {
				"type": "object",
				"properties": { "strategy": { "type": "object" } },
				"required": ["strategy"]
			}
		},
		{
			"name": "runStrategy",
			"description": "Execute a strategy live. Scans, filters, enters, and watches exits until durationSec or sessionSpendCapSol is hit. Pass simulate:true for a dry-run that skips signing.",
			"input_schema": {
				"type": "object",
				"properties": {
					"strategy": { "type": "object" },
					"durationSec": { "type": "integer", "minimum": 10, "maximum": 86400 },
					"simulate": { "type": "boolean" },
					"sessionId": { "type": "string" }
				},
				"required": ["strategy", "durationSec"]
			}
		},
		{
			"name": "closeAllPositions",
			"description": "Sell every open SPL position the agent's wallet holds. Use to wind down a strategy or as a kill switch.",
			"input_schema": {
				"type": "object",
				"properties": {
					"mints": { "type": "array", "items": { "type": "string" }, "description": "Optional: only close these mints. Default: every positive-balance SPL holding." },
					"simulate": { "type": "boolean" }
				}
			}
		},
		{
			"name": "backtestStrategy",
			"description": "Replay a strategy against historical token trade history. No signing, no RPC. Returns per-trade PnL and aggregate stats (win rate, total return, max drawdown).",
			"input_schema": {
				"type": "object",
				"properties": {
					"strategy": { "type": "object" },
					"mints": { "type": "array", "items": { "type": "string" }, "description": "Mints to replay; defaults to scan.mints." },
					"sinceMs": { "type": "integer", "description": "Only consider trades after this unix-ms cutoff." }
				},
				"required": ["strategy"]
			}
		}
	]
}