Quick Start: Build a "Zen Master"
In this guide, you will build an agent that finds ancient wisdom and turns it into deep philosophical musings.
The Mission: Fetch a Zen quote from GitHub's API, have AI reflect on it, and speak it aloud.
You will learn how to:
- Fetch Data from an API (HTTP Request).
- Process Data with an AI model.
- Perform Actions (Text-to-Speech).
Step 1: Create a New Agent
- Open the Architect (Window > Architect).
- In the Sidebar, click the
+button (or right-click "My Projects" -> "New Agent"). - Name your agent "Zen Master".
Screenshot coming soon: Screenshot: Empty Canvas and New Agent Dialog
Step 2: Fetch Wisdom
We'll use GitHub's Zen API to get a random design principle in plain text. It's fast, reliable, and free.
- Right-click on the canvas to open the Node Palette.
- Search for "HTTP" and select HTTP Request (System).
- Click the new node to select it. In the Inspector (Right Panel), configure:
- URL:
https://api.github.com/zen - Method:
GET.
- URL:
Tip: Press
Playin the toolbar now. Check the Console (Bottom Panel) to see the output (e.g., "Favor focus over features.").
Screenshot coming soon: Screenshot: HTTP Request Node configuration
Step 3: Add the AI Brain
Now let's expand on this thought.
- Add a Simple AI node (Logic).
- Drag a wire from the HTTP Request node's
Resultport (Green/String). - Connect it to the Simple AI node's
Contextport. - Set the System Instruction in the Inspector:text
You are a wise master. The context contains a design principle. Reflect on it and speak a short, inspiring message about life. Keep it under 2 sentences.
Screenshot coming soon: Screenshot: Simple AI Node wired to HTTP Request
Step 4: Give it a Voice
Finally, let's hear the wisdom.
- Add a Speak Text node (General).
- Connect the Simple AI node's
Resultport to the Speak Text node'sTextinput. - (Optional) Select a Personality in the Inspector (e.g., "Narrator").
Screenshot coming soon: Screenshot: Speak Text Node wired to Simple AI
Step 5: Run It!
- Turn up your volume 🔊.
- Press the Play button (▶️).
- Watch the "Marching Ants" flow through the graph.
- Your computer will speak a profound truth!
Why this works
You just built a Linear Pipeline: [Data Source] -> [Intelligence] -> [Action]
This simpler GitHub API returns plain text, so you didn't need any complex parsing nodes. To handle complex APIs (like Notion or Linear), you would use the JSON Parser node in between.