Haystack integration for PraisonAI multi-agent framework
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file haystack_praisonai-0.1.0.tar.gz.
File metadata
- Download URL: haystack_praisonai-0.1.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb64b61cb936794a8db0d24e4e66c79cbebbce2d31f7c754dca0a4cd9ef7781b
|
|
| MD5 |
b110e2aab393ac8d0f1481fd794a2d2b
|
|
| BLAKE2b-256 |
6fdc2958115c4eeffb41c7f1bb5506edc2ffdba4039646bc6b4970eddd74f141
|
File details
Details for the file haystack_praisonai-0.1.0-py3-none-any.whl.
File metadata
- Download URL: haystack_praisonai-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b18ce10e07b48b6cd9079ef9cf841917628cc498f1f6c24e32556f0665ccddf
|
|
| MD5 |
e16b4388f13c45795ceb72fe95acab63
|
|
| BLAKE2b-256 |
b6b3d5b2257f0c834ed1b9c094fe13a5f49060f32cf010f6657a008e5010d9b2
|