You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add explicit trading / market integration tools for Polymarket, Kalshi, and Hyperliquid so OpenHuman can perform market-aware crypto workflows through supported external venues instead of only raw wallet actions.
Problem / Context
Wallet access alone is not enough for the product direction implied by the current ConnectionsPanel and capability surfaces. Users will also expect the agent to interact with specific trading and prediction-market venues.
The repo currently has:
A general built-in integrations_agent aimed at Composio-backed SaaS toolkits.
No exchange / prediction-market domain in the Rust core.
No tool surface for venue-specific auth, balances, positions, orders, market discovery, or settlement workflows.
Polymarket, Kalshi, and Hyperliquid each carry different auth, market-model, and execution semantics, so they should be scoped explicitly rather than folded into vague “exchange support”.
Be explicit about what is wallet-signed vs API-key / venue-authenticated.
Keep provider-specific behavior in dedicated modules; avoid a monolithic “crypto exchange” blob.
Where possible, reuse existing integration / agent patterns, but do not force these venues through Composio if that weakens type safety or execution clarity.
Acceptance criteria
Venue architecture defined — Polymarket, Kalshi, and Hyperliquid each have a clear integration seam in the app/core architecture and issue-level implementation plan.
Tool surface added — account, balance, position, market, and order actions are exposed through explicit controllers / tools for supported venues.
Connection UX wired — Settings connections and capability-catalog surfaces reflect the real supported trading venues instead of generic coming-soon placeholders.
Failure-path design — auth failures, market lookup failures, rejected orders, and rate limits have deterministic handling and test coverage.
Agent compatibility — the resulting tools are usable by the dedicated crypto/trading agent without broadening its permissions unnecessarily.
Diff coverage ≥ 80% — the implementing PR meets the changed-lines coverage gate (Vitest + cargo-llvm-cov, enforced by .github/workflows/coverage.yml) when code changes are involved.
Summary
Add explicit trading / market integration tools for Polymarket, Kalshi, and Hyperliquid so OpenHuman can perform market-aware crypto workflows through supported external venues instead of only raw wallet actions.
Problem / Context
Wallet access alone is not enough for the product direction implied by the current
ConnectionsPaneland capability surfaces. Users will also expect the agent to interact with specific trading and prediction-market venues.The repo currently has:
integrations_agentaimed at Composio-backed SaaS toolkits.Polymarket, Kalshi, and Hyperliquid each carry different auth, market-model, and execution semantics, so they should be scoped explicitly rather than folded into vague “exchange support”.
This task should attach to umbrella issue tinyhumansai#1394.
Scope (optional)
In scope:
app/src/components/settings/panels/ConnectionsPanel.tsxand capability-catalog messaging.Out of scope:
Implementation notes:
Acceptance criteria
.github/workflows/coverage.yml) when code changes are involved.Related
app/src/components/settings/panels/ConnectionsPanel.tsxsrc/openhuman/about_app/catalog.rssrc/openhuman/agent/agents/integrations_agent/