Skip to main content

Cloudbase Agent Python SDK - n8n workflow integration

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.2.tar.gz (8.4 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.2-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cloudbase_agent_n8n-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1b8eb88ba17cf9dff59ff34ea85457ec99271a396b1e2dac300c8e9385677803
MD5 848cdc10f1eb17515521ce47d7d8414c
BLAKE2b-256 98f9a369dbdb49a076cc31dd919afa309bd00a3b5d942602330db23424654e83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cloudbase_agent_n8n-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 872df10e1f2f6ef7c4832b3101334bff892f46bd99c635ad76f6f041925b324f
MD5 53d3b4cce004ec85ec21b241bb518574
BLAKE2b-256 1135541411366f7585dee92179b231b8c2f3e1398008afa714f65fb78e585c8c

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