Skip to main content

3 docs tagged with "agent"

View All Tags

Deploy a Mastra TypeScript Agent to CloudBase Run

Write an agent and tools with Mastra 1.x, use mastra build to produce a Hono server, write a multi-stage Dockerfile, and deploy to CloudBase Run with tcb cloudrun deploy — including OpenAI key injection and CloudBase database tool integration.

Proxy Tavily AI Search via CloudBase Cloud Function

Use @tavily/core in a CloudBase Cloud Function to call the Tavily Search API, wrap real-time web retrieval for LLM agents into an HTTP-triggered function, and let frontends / Mini Programs call it directly without exposing the API key.