Appearance
Recipes
Opinionated end‑to‑end examples that compose Providers, Models, Agents, Tools (MCP), Prompt Studio, Embeddings, and Schedules.
A) “Web News → Daily Email” agent
Goal
Aggregate fresh finance headlines, summarize concisely with links, and send a daily email.
Steps
- Providers: add OpenAI (or your preferred fast/cheap model provider).
- Models: save a low‑temp chat model as
gpt-4.1-mini-factual. - MCP: ensure
webtools(orrss) is connected and exposes a function likeget_feed_headlines. - Agents: create
web-news-financewith a system prompt that:- instructs use of the
get_feed_headlinestool, - requests accurate links and short summaries,
- defines selection criteria (accuracy, novelty).
- instructs use of the
- Prompt Studio: pick the agent, turn Streaming ON, verify tool calls/outputs; refine the prompt.
- Schedules: run daily at 07:45 (your TZ); add recipients for delivery.
API parity
- Run via chat:
POST /v1/chat/completionswithmodel: "web-news-finance"— see Chat Completions - Tools inventory:
GET /v1/core/tools— see Core Utilities
B) “GitHub Triage” agent
Goal
Search repos for new issues, post comments, and optionally create tracking issues.
Steps
- MCP: connect the
githubserver with a least‑privilege PAT. - Agents: create
code-reviewerbound to a deterministic model; enable Tools; grantsearch_issues,create_issue,add_issue_comment. - Prompt Studio: test with a repo/org filter; confirm tool traces before enabling write actions.
- (Optional) Schedules: run hourly and email a digest of new issues found by search.
API parity
- Tools inventory:
GET /v1/core/tools— see Core Utilities - Run via chat:
POST /v1/chat/completionswithmodel: "code-reviewer"— see Chat Completions