agents
यह क्या करती है
यह स्किल Windmill में एक सेव किया हुआ AI एजेंट बनाने का मार्गदर्शन करती है, एक दोबारा इस्तेमाल होने वाला सहायक जिससे आप बात कर सकें, फ़ॉर्म से चला सकें, या flow से जोड़ सकें। यह उन लोगों के लिए है जो Windmill के भीतर AI सहायक सेट करते हैं।
कब इस्तेमाल करें
- ✓जब आपको एक स्वतंत्र सहायक चाहिए जिससे आप बात कर सकें या जिसे Windmill में दोबारा इस्तेमाल कर सकें।
- ✓जब आपको एजेंट को अपना सिस्टम प्रॉम्प्ट, टूल्स और मेमोरी सेटिंग्स देनी हों।
- ✓जब कोई flow step सेव किए एजेंट से जुड़े, बजाय उसी तर्क को दोबारा बनाने के।
Skill का लिंक
https://github.com/windmill-labs/windmill/blob/main/system_prompts/auto-generated/skills/agents/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“Windmill में एक दोबारा इस्तेमाल होने वाला सपोर्ट सहायक बनाने में मेरी मदद कीजिए, जो हमारे उत्पाद डॉक्स से सवालों के जवाब दे।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल एजेंट को एक resource फ़ाइल के रूप में बताती है, जिसमें चुना AI मॉडल, उसके निर्देश, मेमोरी और टूल्स रहते हैं, ताकि उसे कई जगह दोबारा इस्तेमाल किया जा सके।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Windmill AI Agents
An agent, as the Agents page lists it, is a saved LLM with its own system prompt, tools and
memory, stored as a resource of type ai_agent. It is built once and used in several places: it is
run from its own page (a chat, or a run form), a flow's AI agent step links to it by path, and it
can be shared in Slack channels from its page. Build a standalone agent when the user wants an
assistant they talk to or reuse. Build a flow when the agent is one step of a larger process.
File Format
An agent is a resource file like any other, {path}.resource.yaml (or .resource.json), with
resource_type: ai_agent.
Structure
{
"resource_type": "ai_agent",
"description": "Answers support questions from the product docs",
"value": {
"provider": { "kind": "openai", "resource": "$res:f/ai_providers/openai", "model": "gpt-4o" },
"system_prompt": "You are the support assistant for Acme. Answer from the docs; say so when they don't cover a question.",
"memory": { "kind": "compaction" },
"output_type": "text",
"tools": [
{
"id": "search_docs",
"summary": "search_documentation",
"description": "Search the product documentation. Use it whenever the user asks how a feature works.",
"value": {
"tool_type": "flowmodule",
"type": "script",
"path": "f/support/search_docs",
"input_transforms": {
"query": { "type": "ai" },
"index": { "type": "static", "value": "product_docs" }
}
}
}
]
}
}
The agent's own settings are plain values, not the input_transforms an agent step in a flow uses:
each is fixed when the agent is saved. Only a tool's arguments keep input_transforms (see Tools). $res: and $var: references inside it are resolved at run time.
provider(required):{ "kind", "resource": "$res:<path>", "model" }, plus an optionalreasoning_effort.resourcenames the workspace's AI provider resource of that kindsystem_prompt: how the agent behaves. Write it for the agent's job: who it serves, what it may do with its tools, and what it should refuse or hand backmemory: what lets the agent see earlier turns.{ "kind": "compaction" }keeps the whole conversation, summarizing its older part as it nears the model's context window; it is what a new agent starts with on its page.{ "kind": "off" }makes every run start from nothing, right for an agent that handles one request per runoutput_type:text(default) orimage. Image output ignores tools and needs S3 storage on the workspaceoutput_schema: a JSON schema the answer must follow, for an agent whose output a program readsmax_iterations: how many model and tool rounds a run may take, 1 to 1000 (default 10)streaming(default on),temperature,max_completion_tokens: as their names sayrun_on_behalf_of: runs from the agent's page take the identity the agent was deployed with rather than the caller's, so people can use it without access to what its tools touch.slack_anyonelets anyone in the Slack channels it is shared in ask it, and is kept only withrun_on_behalf_of. Set either only when the user asks: both widen who acts with the deployer's rightson_behalf_ofis the identity itself. Deploying sets it, so never write it
Tools
tools takes the same entries as a flow's AI agent step. value.tool_type is flowmodule for a
script or inline script the agent calls (or a nested agent or AI decision), mcp for an MCP server
({ "tool_type": "mcp", "resource_path": "$res:<path>", "include_tools": [], "exclude_tools": [] }),
or websearch for web search ({ "tool_type": "websearch" }, summary Web Search).
- Write logic made for this agent as an inline
rawscripttool, as a flow writes its steps. Point ascripttool at a deployed script (path) only when one already does the job: a run calls the deployed version, so a script that exists only as a draft fails the run. An inline tool'svalueis a flow's rawscript step:{ "tool_type": "flowmodule", "type": "rawscript", "language": "bun", "content": "export async function main(query: string) { ... }", "input_transforms": { "query": { "type": "ai" } } } - A flow cannot be a tool: a run offered one fails with
Unsupported tool. Wrap it in a script that runs the flow - A flowmodule tool's
summaryis the name the agent calls it by: letters, num
अक्सर पूछे जाने वाले सवाल
एजेंट बनाऊँ या flow?
जब आपको एक सहायक चाहिए जिससे आप बात करें या जिसे दोबारा इस्तेमाल करें, तो एजेंट बनाइए। जब एजेंट बड़े प्रोसेस का सिर्फ़ एक चरण हो, तो flow बनाइए।
एजेंट कहाँ सेव होता है?
यह ai_agent resource प्रकार की resource फ़ाइल के रूप में, आपकी workspace फ़ाइलों के साथ सेव होता है।
क्या एजेंट टूल्स इस्तेमाल कर सकता है?
हाँ। आप एजेंट को स्क्रिप्ट जैसे टूल्स दे सकते हैं, और हर टूल का एक छोटा विवरण कि उसे कब इस्तेमाल करना है।
जानकारी
लेखक का मूल विवरण
MUST use when creating or changing an AI agent, the reusable `ai_agent` resource the Agents page lists.
repo: windmill-labs/windmill
लोकप्रियता
- GitHub स्टार
- 18k
- रैंकिंग में स्थान
- #10627
- लाइसेंस
- —
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
commit
18kयह आपके एजेंट को conventional फ़ॉर्मेट में एक साफ़ एक-पंक्ति git commit संदेश लिखने में मदद करती है, केवल बदली हुई फ़ाइलें stage करते हुए।
pr
18kयह आपके एजेंट को GitHub पर साफ़ शीर्षक और विवरण के साथ ड्राफ़्ट pull request खोलने में मदद करती है, और फिर समीक्षा दौरों का पालन करती है।
cli-commands
18kयह आपके एजेंट को Windmill कमांड-लाइन टूल चलाने में मदद करती है, ताकि scripts, flows, apps और job इतिहास संभाला जा सके।
datatables
18kयह आपके एजेंट को versioned migrations, undo चरणों और सही permissions के साथ Windmill की data table को सुरक्षित रूप से बदलने में मदद करती है।
मिलती-जुलती skills
add-model-provider
394kयह आपके एजेंट को सुरक्षित कमांड से OpenClaw में नया AI मॉडल प्रोवाइडर जोड़ने, API कीज़ को सादे टेक्स्ट से बचाने और लाइव टेस्ट चलाने देती है।
acp-router
394kयह आपके एजेंट को OpenClaw के ज़रिए Claude Code या Cursor जैसे कोडिंग असिस्टेंट को काम भेजने देती है, ताकि काम उसी टूल में चले।
browser-automation
394kयह आपके एजेंट को लॉगिन, टैब और अटकी वेब पेज से उबरने समेत, वेबसाइट पर चरण-दर-चरण काम करना सिखाती है।