कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Build AI agents with console.agent() - the jQuery of AI Agents.

विवरण

यह स्किल क्या करती है

console.agent() is a drop-in API for running AI agent workflows anywhere in JavaScript, TypeScript, or Python code. It uses Google Gemini models and supports fire-and-forget or blocking execution. Built-in personas auto-route tasks to security, debugging, or architecture specialists.

Unlike Langchain or Agno, it requires zero boilerplate — drop a single call anywhere and it works with just a GEMINI_API_KEY environment variable.

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

  • Auditing SQL queries for injection vulnerabilities before execution
  • Diagnosing why a unit test failed with structured AI output
  • Validating API response payloads against a schema at runtime
  • Researching known CVEs for a dependency during a security review
  • Analyzing slow function performance with timing context in production

उदाहरण वर्कफ़्लो

इनपुट

User asks: audit incoming search query for SQL injection before hitting the database

एजेंट
  1. 1

    Import @console-agent/agent and set GEMINI_API_KEY

  2. 2

    Call await console.agent.security("check for SQL injection", query)

  3. 3

    Receive AgentResult with data.severity and summary fields

  4. 4

    Check if severity is critical and reject the request early

  5. 5

    Log the audit result for monitoring

आउटपुट

AgentResult with severity: "critical", fix: "Use parameterized queries", confidence: 0.94

आवश्यकताएँ

  • GEMINI_API_KEY environment variable (obtain free key at https://aistudio.google.com/apikey)

इंस्टॉलेशन

clawhub install pash10g/skills-3

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक