Installation & Usage
[01]
Install Package
Using uv or pip
BASH
uv pip install airbyte-agent-amazon-seller-partner
[02]
Import
Initialize and use
PYTHON
from airbyte_agent_amazon_seller_partner import AmazonSellerPartnerConnector
from airbyte_agent_amazon_seller_partner.models import AmazonSellerPartnerAuthConfig
connector = AmazonSellerPartnerConnector(
auth_config=AmazonSellerPartnerAuthConfig(
lwa_app_id="<Your Login with Amazon Client ID.>",
lwa_client_secret="<Your Login with Amazon Client Secret.>",
refresh_token="<The Refresh Token obtained via the OAuth authorization flow.>",
access_token="<Access token (optional if refresh_token is provided).>"
)
)[03]
Tool
Add tools to your agent
python
@agent.tool_plain # assumes you're using Pydantic AI
@AmazonSellerPartnerConnector.tool_utils
async def amazon_seller_partner_execute(entity: str, action: str, params: dict | None = None):
return await connector.execute(entity, action, params or {})Supported Entities & Actions
Lorem ipsum
Lorem ipsum
| Entity | Actions |\n|--------|---------|\n| Orders | [List](./REFERENCE.md#orders-list), [Get](./REFERENCE.md#orders-get), [Search](./REFERENCE.md#orders-search) |\n| Order Items | [List](./REFERENCE.md#order-items-list), [Search](./REFERENCE.md#order-items-search) |\n| List Financial Event Groups | [List](./REFERENCE.md#list-financial-event-groups-list), [Search](./REFERENCE.md#list-financial-event-groups-search) |\n| List Financial Events | [List](./REFERENCE.md#list-financial-events-list), [Search](./REFERENCE.md#list-financial-events-search) |\n| Catalog Items | [List](./REFERENCE.md#catalog-items-list), [Get](./REFERENCE.md#catalog-items-get) |\n| Reports | [List](./REFERENCE.md#reports-list), [Get](./REFERENCE.md#reports-get) |
Example Prompts
Lorem ipsum
List all recent orders - Show me order items for a specific order - List financial event groups - Show recent financial events - Search catalog items by keyword - List recent reports - What are my top-selling products by order volume? - Show orders from the last 30 days with status Shipped - Find financial events related to refunds - Which orders have the highest total value?
Why Airbyte for AI Agents?
Built for production AI workloads with enterprise-grade reliability
Secure Authentication
Built-in OAuth 2.0 handling with automatic token refresh. No hard-coded credentials.
Agent-Native Design
Heading
Structured, LLM-friendly schemas optimized for AI agent consumption with natural language query support.
Production Ready
Battle-tested connectors with comprehensive error handling, logging, and retry logic.
Open Source
Fully open source under the MIT license. Contribute, customize, and extend freely.
Works with your favorite frameworks
LangChain
CrewAI
LlamaIndex
AutoGen
OpenAI Agents SDK
Claude Agents SDK
Frequently Asked Questions
Didn't find your answer? Please don't hesitate to reach out.
The Amazon Seller Partner connector supports OAuth 2.0 authentication via Login with Amazon (LWA). You provide a lwa_app_id, lwa_client_secret, and a refresh_token obtained from the OAuth authorization flow. An access_token is optional if a refresh token is provided, and the connector handles automatic token refresh.
Can I use this connector with any AI agent framework?
The connector is compatible with any Python-based AI agent framework including LangChain, LlamaIndex, CrewAI, Pydantic AI, and custom implementations.
Does this connector support write operations?
No, the Amazon Seller Partner connector currently supports read operations only. Write operations such as creating or canceling orders, submitting new report requests, or updating product listings are not supported at this time.
How is this different from the Airbyte data connector?
Agent connectors are specifically designed for AI agents and LLM applications. They provide natural language interfaces, optimized response formats, and seamless integration with agent frameworks, unlike traditional ETL-focused connectors.
Get started in minutes with our open-source connector.