Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 984 Bytes

File metadata and controls

13 lines (8 loc) · 984 Bytes

MCP tool-loop agent

A minimal AI SDK loop that calls Pollinations MCP tools. Model and tool calls use the caller's Pollen.

  1. Fork this repository.
  2. In My Models, choose Add Agent → Code agent and enter your fork's URL.
  3. Edit agent.ts, push, then use Sync in the dashboard to deploy the update.

The source repository must be public; the agent itself can be private.

For automatic sync after a push, enable GitHub Actions in your fork and add the repository variable POLLINATIONS_SYNC_URL with https://gen.pollinations.ai/account/agents/YOUR_AGENT_ID/sync. No API key is needed. Without this variable, the workflow skips deployment.

Agent guide · More examples