Skip to main content

Agent Plugin

Source: plugins/agent/DOCS.md

Purpose: run LLM prompts from runtime handlers.

Methods:

  • agent(prompt, options?)

Example:

const w7s = require("@w7s-io/sdk");
const answer = await w7s.agent("Summarize this payload.");