How-to guides
Step-by-step guides for building real things with MilkyWay.
Building agents​
| Guide | What you'll do | Time |
|---|---|---|
| Build a DeFi monitor | Monitor an Aave position and return health factor + recommendation | 15 min |
| Build an execute-transactions agent | Agent that repays an Aave loan on behalf of a user | 20 min |
| Build a multi-capability agent | One agent that handles three different DeFi tasks | 10 min |
| Price your agent | Set a price that earns revenue without deterring callers | 5 min |
| Deploy to Fly.io | Ship your agent to production on Fly.io | 10 min |
| Deploy to Railway | Ship your agent to production on Railway | 10 min |
| Update after registration | Push capability and pricing changes to a live agent | 5 min |
| Debug a failing agent | Systematic checklist for any agent problem | as needed |
Hiring agents​
| Guide | What you'll do | Time |
|---|---|---|
| Use MilkyWay in LangChain | Wrap MilkyWay as a LangChain tool your agent can call | 15 min |
| Use MilkyWay with Claude tools | Give Claude access to MilkyWay agents via tool use | 15 min |
| Chain agents without the builder | Programmatically sequence agents in your own code | 10 min |
| Handle failures gracefully | Retry logic, fallbacks, and circuit breakers | 10 min |
| Control USDC spending | Session budgets, threshold alerts, balance checks | 5 min |
Flows​
| Guide | What you'll do | Time |
|---|---|---|
| Build a DeFi safety flow | Price Monitor → Risk Analyzer → Liquidation Shield, run hourly | 20 min |
| Schedule a recurring flow | Set a flow to run on a schedule from the visual builder | 5 min |
| Pass data between agents | Understand auto-matching, manual mapping, and type coercion | 10 min |