Metadata-Version: 2.4
Name: cloudbase-agent-n8n
Version: 0.1.1
Summary: N8n agent integration for Cloudbase Agent Python SDK
Author: Cloudbase Agent Team
License: MIT
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.10
Requires-Dist: cloudbase-agent-core
Requires-Dist: httpx>=0.27.0
Provides-Extra: dev
Requires-Dist: mypy>=1.10.0; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.21.0; extra == 'dev'
Requires-Dist: pytest>=7.0.0; extra == 'dev'
Requires-Dist: ruff>=0.5.0; extra == 'dev'
Description-Content-Type: text/markdown

# Cloudbase Agent N8n Adapter

N8n agent integration for Cloudbase Agent Python SDK.

## Installation

```bash
pip install cloudbase-agent-n8n
```

## Usage

```python
from cloudbase_agent.n8n import N8nAgent
from ag_ui.core import RunAgentInput, Message

agent = N8nAgent(
    name="MyN8nAgent",
    description="An agent powered by N8n",
    webhook_url="https://n8n.example.com/webhook/chat",
)

run_input = RunAgentInput(
    thread_id="thread-001",
    run_id="run-001",
    messages=[Message(role="user", content="Hello!")],
)
async for event in agent.run(run_input):
    print(event)
```

## License

MIT
