Skip to main content

N8n agent integration for Cloudbase Agent Python SDK

Project description

Cloudbase Agent N8n Adapter

N8n agent integration for Cloudbase Agent Python SDK.

Installation

pip install cloudbase-agent-n8n

Usage

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cloudbase_agent_n8n-0.1.1.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cloudbase_agent_n8n-0.1.1-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file cloudbase_agent_n8n-0.1.1.tar.gz.

File metadata

  • Download URL: cloudbase_agent_n8n-0.1.1.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for cloudbase_agent_n8n-0.1.1.tar.gz
Algorithm Hash digest
SHA256 52c2cf49141faa9d32ca97f1be8b185998a72bff3ab058f1cb268ed05447f9d2
MD5 5665462b123135e3d99f324127a78358
BLAKE2b-256 9c040159ac8bb9de1ae4d630c140478047db307ddb0c6e74660f1ba5bad40afd

See more details on using hashes here.

File details

Details for the file cloudbase_agent_n8n-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for cloudbase_agent_n8n-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cda4a41d8da565435fb2827c22270d0307229cb33cee39529fd8e643619139f6
MD5 8c72cff63eb92944be67c4eee383a046
BLAKE2b-256 47f410f7299602b19de89dbcdb81bee100a19ed1e33612debf2d76901c8500f9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page