Skip to main content

haystack-praisonai

Haystack integration for PraisonAI multi-agent framework.

Installation

pip install haystack-praisonai

Quick Start

from haystack import Pipeline
from haystack_praisonai import PraisonAIComponent

# Create pipeline with PraisonAI component
pipeline = Pipeline()
pipeline.add_component("praisonai", PraisonAIComponent())

# Run the pipeline
result = pipeline.run({"praisonai": {"query": "Research the latest AI trends"}})
print(result["praisonai"]["response"])

Using a Specific Agent

from haystack_praisonai import PraisonAIComponent

# Use a specific agent
researcher = PraisonAIComponent(agent="researcher")
result = researcher.run(query="Research quantum computing")
print(result["response"])

Configuration

Parameter Default Description
api_url http://localhost:8080 PraisonAI server URL
agent None Specific agent to run
timeout 300 Request timeout in seconds

Prerequisites

Start PraisonAI server:

pip install praisonai
praisonai serve agents.yaml --port 8080

Links

License

MIT

Metadata

Release files for haystack-praisonai 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for haystack-praisonai 0.1.0
File Size Uploaded
haystack_praisonai-0.1.0.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for haystack-praisonai 0.1.0
File Interpreter ABI Platform
haystack_praisonai-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.1 kB

Release files / haystack_praisonai-0.1.0.tar.gz

Download URL haystack_praisonai-0.1.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
eb64b61cb936794a8db0d24e4e66c79cbebbce2d31f7c754dca0a4cd9ef7781b
BLAKE2b-256 checksum
How to use checksums
6fdc2958115c4eeffb41c7f1bb5506edc2ffdba4039646bc6b4970eddd74f141
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release files / haystack_praisonai-0.1.0-py3-none-any.whl

Download URL haystack_praisonai-0.1.0-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4b18ce10e07b48b6cd9079ef9cf841917628cc498f1f6c24e32556f0665ccddf
BLAKE2b-256 checksum
How to use checksums
b6b3d5b2257f0c834ed1b9c094fe13a5f49060f32cf010f6657a008e5010d9b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page