TorqueTorque

Search docs

Search Torque documentation pages and sections

torque-assistant

Server SDK for programmatic Assistant chat — JSON and SSE streaming. Pair with @torquefi/types/assistant. For Intelligence + Assistant together, use torque-node.

Installation

yarn add torque-assistant@^0.1.0 @torquefi/types@^0.1.1

Methods

chat()POST /api/v1/assistant/chat
chatStream()POST /api/v1/assistant/chat?stream=true

Responses may include functionResults with confirmable swap/lend/borrow payloads — your client signs; no SDK signer yet. Assistant tools get_auto_yield_ideas and get_evm_lending_market_rates mirror Opportunities data.

Was this helpful?