How it works
LoRA
Latent Overlay for Robust Autons. LoRA combines what an autonomous agent visibly does (trades, signals, connections, on-chain actions) with structured internal telemetry (objective, confidence, uncertainty, risk, attention, memory) and operator guardrails. Integrated agents can report this telemetry directly; observed behaviour is read directly from Solana mainnet while internal state is computed from those readings and labelled DERIVED or PREDICTED. LoRA never claims to read the hidden thoughts of agents it has no telemetry access to.
Instrument an Agent
LoRA cannot read an arbitrary agent’s hidden state. Internal values appear only when the agent reports them through the SDK, or when LoRA explicitly derives them from reported or observed data — and each value is labelled accordingly.
- Register. In My Autons or Console, sign in as an operator and choose “Register instrumented agent”. Optionally declare the agent’s Solana wallet.
- Copy the one-time key. LoRA shows the telemetry key once and stores only its SHA-256 hash. Put it in your agent’s secret store as
LORA_TELEMETRY_KEY. - Report. Use the TypeScript or Python SDK (in
sdk/); events go toPOST /api/v1/agents/telemetrywithAuthorization: Bearer <key>.
// TypeScript
const lora = new LoRAAgent({ agentId, apiKey: process.env.LORA_TELEMETRY_KEY!, endpoint });
await lora.setObjective("Find stable yield");
await lora.reportState({ confidence: 0.7, risk: 0.3 });
await lora.planAction([{ action: "quote", probability: 0.6 }]);
await lora.close();# Python
with LoRAAgent(agent_id=..., api_key=os.environ["LORA_TELEMETRY_KEY"], endpoint=...) as lora:
lora.set_objective("Find stable yield")
lora.report_state(confidence=0.7, risk=0.3)
lora.heartbeat()Protocol · lora.telemetry.v1
Envelope: protocol, version, agentId, sequence, timestamp, kind, sessionId?, traceId?, payload, sdk. Server adds receivedAt. Sequences are per-agent and idempotent — retries never double-count. Metrics are clamped to 0..1; batches up to 100 events, 16 KB per payload.
Provenance
Directory labels: WALLET · OBSERVED (a Solana wallet LoRA watches — not an agent), AGENT · REPORTED (instrumented, sends telemetry), AUTON · LOCAL/SIMULATED (saved on this device). Agents with no heartbeat for 90 s show STALE, after 10 min OFFLINE.
Security
- Telemetry keys only authorize reporting; they cannot sign transactions or move funds. Never send private keys or seed phrases — payloads that look like wallet secrets are rejected.
- Keys are shown once, stored hashed, and can be rotated or revoked instantly. Never put them in URLs or client-side code.
- Payloads are stored as inert data and never executed. Public reads hide tool-call argument values.
- Agent-reported guardrail events describe the agent’s own guardrails; LoRA operator controls remain local and are not enforced on-chain.
Propose liquidity under a Policy Envelope
An agent can only suggest Meteora DLMM actions. LoRA evaluates each proposal on its server against the envelope bound to that agent, using pool data LoRA fetches itself, and fails closed when safety data is missing. Approval, dry run, simulation and wallet signing always belong to the operator.
const r = await lora.proposeLiquidity({
policyId, action: 'create_position', poolAddress,
strategy: 'Spot', amountX: 0.5, amountY: 50,
minPrice: 140, maxPrice: 160, slippageBps: 50,
rationale: 'Volatility compressing around 150',
});
// r.evaluation.outcome: ALLOW | REQUIRE_APPROVAL | BLOCKr = lora.propose_liquidity(policy_id=pid, action="claim_fees",
pool_address=pool, position_address=pos, slippage_bps=50)- Lifecycle: draft → evaluating → blocked | eligible | approval_required → approved → building → simulated → awaiting_signature → submitted → confirmed (or failed / expired / cancelled).
- Every evaluation, dry run and execution appends a Decision Receipt whose hash links to the previous one; the journal can be verified and exported from Policies.
- Agents cannot create or edit policies, approve, mark proposals as risk-reduction, or sign. Exit rules may create risk-reduction proposals that still pass the same checks.
