bootstrapping-agent

Used when connecting Airbyte connectors to PydanticAI or Claude SDK agents. Generates authentication configuration, connector initialization, and tool functions decorated with tool_utils. Applicable when adding a connector to an agent or setting up a new agent with connectors.

Last repository push
GitHub Stars
212
Forks
664
Issues / PRs
21

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "bootstrapping-agent" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-d60c214727b9caa70fc49f3a32b76b33499b4b31cf8b80dbf9c667a262481a12. Verify the upstream source and version against https://github.com/Kilo-Org/kilo-marketplace before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Used when connecting Airbyte connectors to PydanticAI or Claude SDK agents. Generates authentication configuration, connector initialization, and tool functions decorated with tool_utils. Applicable when adding a connector to an agent or setting up a new agent with connectors.

0 Downloads

Introduction source: third_party · Kilo-Org · 0.0.1 Reference

SkillPi interpretation

Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: bootstrapping-agent
description: >-
  Wires up an Airbyte connector for use in a PydanticAI or Claude SDK agent.
  Generates auth config, connector initialization, and tool_utils-decorated tool
  function. Use when adding a connector to an agent or setting up a new agent
  with a connector.
metadata:
  category: development
  source:
    repository: 'https://github.com/airbytehq/airbyte-agent-sdk'
    path: .codex/skills/bootstrapping-agent
    license_path: LICENSE
    commit: f20dbf71efa4f63cf57e2209049fd53c4c0f0614

Bootstrapping an Agent with an Airbyte Connector

Install the SDK

uv pip install airbyte-agent-sdk

The single airbyte-agent-sdk package ships every typed connector. Import them from airbyte_agent_sdk.connectors.{slug}. tool_utils, list_entities(), and entity_schema() are only available on typed connectors.

Core Pattern (PydanticAI)

import os
from pydantic_ai import Agent
from airbyte_agent_sdk import AirbyteAuthConfig
from airbyte_agent_sdk.connectors.stripe import StripeConnector

connector = StripeConnector(
    auth_config=AirbyteAuthConfig(
        airbyte_client_id=os.getenv("AIRBYTE_CLIENT_ID"),
        airbyte_client_secret=os.getenv("AIRBYTE_CLIENT_SECRET"),
        workspace_name=os.getenv("AIRBYTE_WORKSPACE_NAME", "default"),
    )
)

agent = Agent(
    "<provider:model>",
    system_prompt=(
        "You are a helpful assistant with access to Stripe. "
        "Use the stripe_execute tool to look up customer, invoice, and balance data. "
        "Ask for clarification if a request is ambiguous."
    ),
)

@agent.tool_plain
@StripeConnector.tool_utils
async def stripe_execute(entity: str, action: str, params: dict | None = None):
    return await connector.execute(entity, action, params or {})

Always hosted mode: Use AirbyteAuthConfig with airbyte_client_id and airbyte_client_secret. Never generate local auth code.

Decorator Stacking

The framework decorator goes on top, tool_utils goes underneath:

@agent.tool_plain           # Framework registers this as a tool
@StripeConnector.tool_utils # Enriches docstring with connector capabilities
async def stripe_execute(...):

tool_utils is a @classmethod — use StripeConnector.tool_utils, not connector.tool_utils.

Automatic Retry Translation

tool_utils automatically translates retryable errors to the framework's retry signal (ModelRetry for pydantic-ai). The example above continues to work unchanged — translation happens inside tool_utils with no extra decorator needed.

Reference demo: connector-sdk/examples/demo_agent.py (mocked, no credentials needed: --mock).

Verify the Setup

check = await connector.check()
if check.status == "healthy":
    print(f"Connected — checked {check.checked_entity}/{check.checked_action}")
else:
    print(f"Failed: {check.error}")

Framework Detection

Detect the developer's framework from their existing imports:

  • from pydantic_ai import Agent → Use PydanticAI patterns
  • from anthropic import Anthropic → Use Claude SDK patterns
  • If unclear, ask which framework they're using

Connector Naming Convention

All connectors ship in airbyte-agent-sdk. Import each one from airbyte_agent_sdk.connectors.{slug}:

Connector Import Class
stripe airbyte_agent_sdk.connectors.stripe StripeConnector
zendesk-support airbyte_agent_sdk.connectors.zendesk_support ZendeskSupportConnector
hubspot airbyte_agent_sdk.connectors.hubspot HubspotConnector

Hyphens in connector slugs become underscores in the submodule path.

Environment Variables

The developer needs these in their .env:

AIRBYTE_CLIENT_ID=your_client_id
AIRBYTE_CLIENT_SECRET=your_client_secret
AIRBYTE_WORKSPACE_NAME=your_workspace_name

References

Version history

  1. skills-20261103210927-6c1b454 GitHub ↗
    Original release notes

    Automated skills release from commit 6c1b4543cac1d45a80bf5904e4b69ac315117323

  2. skills-20260928190452-ff51758 GitHub ↗
    Original release notes

    Automated skills release from commit ff51758b06b8249007116184096765d47bdb7505

  3. skills-20260924105536-d31110d GitHub ↗
    Original release notes

    Automated skills release from commit d31110d62dc0bd00c22f1d6f6a630d1e702a0049

  4. skills-20260923085113-cea285e GitHub ↗
    Original release notes

    Automated skills release from commit cea285ef0e4d6ec47cd2fd9fdbca03813a3363c7

  5. skills-20260922193956-97d7333 GitHub ↗
    Original release notes

    Automated skills release from commit 97d7333d8200e5ac556c659c8669f3a83ba10866

Only the five most recent versions are shown. View full version history at the source ↗

Current listing version

0.0.1

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value82/100

Highlights

  • 提供将 Airbyte 连接器接入 PydanticAI 或 Claude SDK 代理的完整引导,实用性强
  • 包含身份验证配置、连接器初始化、工具函数装饰器使用等核心内容,适用于开发者集成场景
Trigger Precision88/100

Highlights

  • description 明确描述了使用场景、核心功能和使用时机,触发词覆盖合理,边界清晰
Structure and Standards75/100

Areas to improve

  • 缺少 When to Use 章节 Reported severity: Minor

    文档结构清晰,但缺少明确的 'When to Use' 章节标题来引导用户

    Recommendation: 建议添加 'When to Use' 章节,明确说明该 Skill 的适用场景和使用时机

  • 文档过长 Reported severity: Minor

    文档内容超过 500 行,可能影响用户阅读体验

    Recommendation: 建议适当精简文档内容,或将部分内容移至外部参考文档

Highlights

  • 文档结构清晰,包含安装、核心模式、装饰器堆叠、验证设置等多个章节
  • 提供了丰富的代码示例和连接器命名约定,便于开发者理解和使用
Execution Reliability85/100

Highlights

  • 提供了具体的安装命令、导入路径、代码示例和环境变量配置,工具来源明确
  • 覆盖了主要的使用场景和异常处理(如重试翻译),可靠性良好
Evidence Verifiability (mean of the first four)83/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 22
  • Accounts, secrets or authorization

    Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.

    Mentioned in main document · lines 76
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.