# Haiku > Any DeFi strategy in a single swap Haiku is a DeFi execution layer for multi-step strategies. It lets users, developers, and AI agents run a strategy across chains and protocols in a single transaction. Haiku is a DeFi execution layer for multi-step strategies. Users define a target portfolio state, and Haiku executes the whole strategy as a single all-or-nothing transaction across multiple chains and protocols. It serves DeFi traders, protocols, funds, developers, and AI agents that need coordinated actions without manual transaction sequencing. Strategies such as portfolio rebalancing or opening delta-neutral positions typically need several transactions signed in sequence, which can leave a strategy partly executed. Haiku's routing engine calculates execution paths across exchanges, lending markets, vaults, and bridges in real time and bundles every step into one transaction, eliminating partial execution risk. Haiku offers a trading interface with a visual strategy builder and a natural language interface. Haiku API gives developers programmatic access to the same execution engine, and Haiku MCP exposes yield discovery, portfolio analysis, and strategy execution to AI agents. It is used by DeFi traders, builders embedding execution into their applications, and developers of AI agents. - Type: Company - Sector: DeFi - Status: Active - Founded: 2024-01-01 - Profile: https://thegrid.id/profiles/haiku ## Products - [Haiku](https://thegrid.id/profiles/haiku): Haiku is a trading terminal for executing multi-step DeFi strategies across chains and protocols. Users set a target portfolio state through a visual strategy builder or a natural language interface, and a routing engine computes paths across exchanges, lending markets, vaults, and bridges in real time. All required steps are bundled into a single all-or-nothing transaction, so a strategy either completes in full or does not execute. (Trading Terminal, Live, Main Product) - [Haiku API](https://thegrid.id/profiles/haiku): Haiku API is a developer tool that gives applications programmatic access to the Haiku execution engine through REST endpoints. Developers submit a target portfolio state or a plain-text command and receive an unsigned transaction that carries out the strategy. The engine handles cross-chain routing and protocol interactions with all-or-nothing execution guarantees. (Developer Tooling, Live) - [Haiku MCP](https://thegrid.id/profiles/haiku): Haiku MCP is a Model Context Protocol server that exposes DeFi execution capabilities to AI agents. It provides yield discovery, portfolio analysis, quoting, and on-chain strategy execution across multiple chains and protocols. AI agents use the Haiku routing and execution engine through standardized MCP tools without protocol-specific integration code. (MCP, Live) ## Links - [Main](https://haiku.trade) - [Documentation](https://docs.haiku.trade/haiku) - [Blog](https://blog.haiku.trade) - [Terms of Service](https://docs.haiku.trade/haiku/legal/terms-of-use) - [Privacy policy](https://docs.haiku.trade/haiku/legal/privacy-policy) - [Twitter / X](https://x.com/HaikuTrade) - [Telegram](https://t.me/haiku_trade) - [Discord](https://discord.com/invite/haiku-official) - [Paragraph](https://paragraph.xyz/@haiku.trade) - [LinkedIn](https://linkedin.com/company/haikutrade) - [GitHub](https://github.com/Haiku-Trading/haiku-mcp-server) - [GitHub](https://github.com/Haiku-Trading) ## Legal This data is provided under two licensing models. Model 1 - open data. The open data core is licensed under the Open Database License (ODbL) — a copyleft/share-alike license allowing free use, modification, and sharing for any purpose. Attribution is required: include "Powered by The Grid" linking to https://thegrid.id wherever the data is used. Derivative databases must be shared under ODbL terms. Trademarks, logos, and brand names (marked "Special TPIP") are not covered by the ODbL. For ML/AI use: training datasets that substantially extract ODbL data are Derivative Databases and must be shared under ODbL if publicly used; models must be attributed in documentation. Model 2 - commercial licenses. The Grid Data Service (TGDS) is also available as a commercial license. See [Web Services Terms](https://about.thegrid.id/legal/web-services-terms) for commercial use that is not covered by the open data service. The following applies to both licensing models. - All data is provided AS IS with no guarantees of accuracy. - The Grid does not provide investment, legal, or tax advice, and - a project's presence in The Grid's data does not imply endorsement. - [Data Licensing & Disclaimers](https://about.thegrid.id/legal/data-licensing-and-disclaimers): Licensing models and disclaimers - [Open Data (ODbL)](https://about.thegrid.id/legal/open-data): Open Database License terms and scope for The Grid's open data service. - [Attribution Guidelines](https://about.thegrid.id/legal/open-data-attribution-guidelines): How to attribute The Grid's data when using the open data service. - [Web Services Terms](https://about.thegrid.id/legal/web-services-terms): commercial Terms for using data services. - [All Legal Documents](https://about.thegrid.id/legal): Full index of terms, policies, and disclosures ## Optional - [TGS Field Descriptions](https://github.com/The-Grid-Data/workspace-public/blob/main/references/tgs-field-descriptions.md): Schema field definitions for The Grid's data model - [TGS JSON Structure](https://github.com/The-Grid-Data/workspace-public/blob/main/references/tgs-json-structure.md): Data model structure and relationships - [Product Type Definitions](https://github.com/The-Grid-Data/workspace-public/blob/main/references/product-type-definitions.md): Definitions for each product type - [Product Type Classification](https://github.com/The-Grid-Data/workspace-public/blob/main/references/product-type-classification.md): Guide for classifying products into types - [Grid MCP Guide](https://github.com/The-Grid-Data/workspace-public/blob/main/grid-search/skills/grid-query/references/grid-mcp-guide.md): How to query The Grid programmatically via MCP