मुख्य सामग्री पर जाएँ
Skillpedia
डिप्लॉय और क्लाउड (DevOps)18k · #10644

hosted-agents

यह क्या करती है

यह स्किल उन AI एजेंटों को डिज़ाइन करने के बारे में है जो sandboxes में दूर के सर्वरों पर चलते हैं, ताकि वे लैपटॉप के बिना काम करें और एक साथ कई चल सकें। यह background coding एजेंट या साझा एजेंट सत्र बनाने वाली टीमों के लिए है।

कब इस्तेमाल करें

  • ✓जब आप चाहते हों कि AI एजेंट आपके डिवाइस के बिना पृष्ठभूमि में काम करता रहे।
  • ✓जब आपको एक साथ कई एजेंट सत्र अलग-अलग sandboxes में चलाने हों।
  • ✓जब कई लोगों को एक ही एजेंट सत्र, एक ही स्थिति के साथ, साझा करना हो।

Skill का लिंक

https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering/blob/main/skills/hosted-agents/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering/blob/main/skills/hosted-agents/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरे लिए क्लाउड सेटअप डिज़ाइन कीजिए, जहाँ coding एजेंट sandboxes में चलें और मेरा लैपटॉप बंद करने के बाद भी अपना सत्र बनाए रखें।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

स्किल बताती है कि सत्र शुरू होने से पहले एनवायरनमेंट तैयार किया जाए, ताकि उपयोगकर्ता मुख्य रूप से AI मॉडल के पहले जवाब का इंतज़ार करे।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Hosted Agent Infrastructure

Hosted agents run in remote sandboxed environments rather than on local machines. When designed well, they provide unlimited concurrency, consistent execution environments, and multiplayer collaboration. The critical insight is that session speed should be limited only by model provider time-to-first-token, with all infrastructure setup completed before the user starts their session.

When to Activate

Activate this skill when:

  • Building background coding agents that run independently of user devices
  • Designing sandboxed execution environments for agent workloads
  • Implementing multiplayer agent sessions with shared state
  • Creating multi-client agent interfaces (Slack, Web, Chrome extensions)
  • Scaling agent infrastructure beyond local machine constraints
  • Building systems where agents spawn sub-agents for parallel work

Do not activate this skill for adjacent work owned by other skills:

  • Designing the autonomous research loop, novelty gates, rollback policy, or merge boundaries: harness-engineering.
  • Choosing supervisor, swarm, or handoff topology without hosted infrastructure concerns: multi-agent-patterns.
  • Designing the tools used by a hosted agent, such as spawn/status tools or PR tools: tool-design.
  • Managing file-backed state inside a session rather than the hosted runtime itself: filesystem-context.

Core Concepts

Move agent execution to remote sandboxed environments to eliminate the fundamental limits of local execution: resource contention, environment inconsistency, and single-user constraints. Remote sandboxes unlock unlimited concurrency, reproducible environments, and collaborative workflows because each session gets its own isolated compute with a known-good environment image.

Design the architecture in three layers because each layer scales independently. Build sandbox infrastructure for isolated execution, an API layer for state management and client coordination, and client interfaces for user interaction across platforms. Keep these layers cleanly separated so sandbox changes do not ripple into clients.

Detailed Topics

Sandbox Infrastructure

The Core Challenge Eliminate sandbox spin-up latency because users perceive anything over a few seconds as broken. Development environments require cloning repositories, installing dependencies, and running build steps -- do all of this before the user ever submits a prompt.

Image Registry Pattern Pre-build environment images on a regular cadence (every 30 minutes works well) because this makes synchronization with the latest code a fast delta rather than a full clone. Include in each image:

  • Cloned repository at a known commit
  • All runtime dependencies installed
  • Initial setup and build commands completed
  • Cached files from running app and test suite once

When starting a session, spin up a sandbox from the most recent image. The repository is at most 30 minutes out of date, making the remaining git sync fast.

Snapshot and Restore Take filesystem snapshots at key points to enable instant restoration for follow-up prompts without re-running setup:

  • After initial image build (base snapshot)
  • When agent finishes making changes (session snapshot)
  • Before sandbox exit for potential follow-up

Git Configuration for Background Agents Configure git identity explicitly in every sandbox because background agents are not tied to a specific user during image builds:

  • Generate GitHub app installation tokens for repository access during clone
  • Set git config user.name and user.email when committing and pushing changes
  • Use the prompting user's identity for commits, not the app identity

Warm Pool Strategy Maintain a pool of pre-warmed sandboxes for high-volume repositories because cold starts are the primary source of user frustration:

  • Keep sandboxes ready before users start sessions
  • Expire and recreate pool entries as new image builds complete
  • Start warming a sandbox as soon as a user begins typing (predictive warm-up)

Agent Framework Selection

Server-First Architecture Structure the agent framework as a server first, with TUI and desktop apps as thin clients, because this prevents duplicating agent logic across surfaces:

  • Multiple custom clients share one agent backend
  • Consistent behavior across all interaction surfaces
  • Plugin systems extend functionality without client changes
  • Event-driven architectures deliver real-time updates to any connected cli
अक्सर पूछे जाने वाले सवाल

sandbox क्या है?

यह एक अलग-थलग एनवायरनमेंट है जहाँ एजेंट कोड चलाता है, बिना दूसरे सिस्टमों को प्रभावित किए।

सत्र शुरू होने से पहले तैयारी क्यों?

पहले से किया गया सेटअप सत्र को तेज़ महसूस कराता है, इसलिए वह ज़्यादातर मॉडल के जवाब के समय से सीमित रहता है।

क्या इसमें एजेंट के टूल्स शामिल हैं?

टूल डिज़ाइन एक अलग विषय है, जबकि यह स्किल होस्टेड infrastructure पर केंद्रित है।

जानकारी

लेखक का मूल विवरण

This skill should be used when designing hosted or background agent infrastructure: sandboxed execution, remote coding environments, warm pools, session persistence, multiplayer collaboration, self-spawning agents, or Modal-style sandboxes.

repo: muratcankoylan/Agent-Skills-for-Context-Engineering

लोकप्रियता

GitHub स्टार
18k
रैंकिंग में स्थान
#10644
लाइसेंस
MIT
अपडेट की गई
11/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

context-engineering-collection

18k

यह आपके एजेंट को AI मॉडल की context window में क्या जाए, इसका प्रबंधन करने में मदद करती है, मेमोरी और टूल्स से लेकर मल्टी-एजेंट सेटअप और मूल्यांकन तक।

AI और एजेंटएजेंट

advanced-evaluation

18k

यह आपके एजेंट को सिखाती है कि दूसरे AI की मदद से AI के जवाबों को कैसे परखा जाए, स्कोरिंग, आमने-सामने तुलना और पूर्वाग्रह जाँच के साथ।

AI और एजेंटएजेंट

bdi-mental-states

18k

यह आपके एजेंट को BDI तरीके से विश्वास, लक्ष्य और योजनाओं का मॉडल बनाना सिखाती है, ताकि उसके फ़ैसले ट्रेस और समझाए जा सकें।

AI और एजेंटएजेंट

context-compression

18k

यह आपके एजेंट को लंबे AI सत्रों को ऐसे सारांशों में छोटा करने में मदद करती है जिनमें फ़ैसले, फ़ाइलें, जोखिम और अगले कदम बचे रहें।

AI और एजेंटएजेंट

मिलती-जुलती skills