A “trail” is a linear sequence of write functions across ethereum contracts, where the creator (the trailblazer) determines how function input values will be derived. The consumer of the trail will fill in user inputs and then submit one transaction for each step.Here are some key benefits of trails:
Immediately use any deployed contract with LLM search/support, no waiting for integrations from the Herd team.
Contract upgrades are automatically tracked, so the creator and consumer will see if a trail is outdated.
Trails are transparent so that anyone can look at all the function-calling logic. They can be easily shared, used, and forked.
Creating a trail will automatically generate a sandbox app (shareable as a webpage or a farcaster miniapp).
Trails include an LLM + API for one line copy/paste into any AI tool to help you own apps, automations, chatbots, or anything else on top.
There are four parts to a trail:
🔥 The Trailblazer: the creator of the trail
⚙️ The Canvas: the place creators will create and edit trails
🔭 The Overlook: a sandbox/miniapp for executing the trail
📚 The Guidebook: a single link that can be pasted to any AI tool for help building an app, automation, or anything else you want with a trail.
Sage chat cannot edit trails right now. We’ll add more LLM feature to make the creator experience better soon 🙂
Here’s a simple video of me one-shotting a crypto payments app on top of a trail:
Here’s a more complex trail overlook to help you understand the end product output. The underlying trail can be viewed/forked by clicking the trail icon in the sandbox. Here’s a link to an app built off the same trail, using the Guidebook.
Each trail has one “chat” associated with it that can’t be changed
ENS and Basenames are generally supported in any address fields in the UI for Coterminal/Canvas/Overlook surfaces
Herd Search works best with protocol and contract names
For testing trails, it is recommended you publish the trail early on for now. Updating the trail in the canvas UI immediately updates the view on the overlook side.