Skip to main content

CrewAI adapter for TruthStack supplement safety API. Check drug interactions, get evidence, search compounds.

Project description

truthstack-crewai

CrewAI adapter for TruthStack supplement safety API.

Install

pip install truthstack-crewai

Quick Start

from truthstack_crewai import get_tools
from crewai import Agent, Task, Crew

tools = get_tools(api_key="your-key")

analyst = Agent(
    role="Supplement Safety Analyst",
    goal="Check supplement interactions and evidence for safety",
    tools=tools,
)

task = Task(
    description="Check if berberine is safe with Ozempic",
    agent=analyst,
)

crew = Crew(agents=[analyst], tasks=[task])
result = crew.kickoff()

Tools Included

Tool Description
TruthStack Interaction Checker Check supplement + drug interactions
TruthStack Evidence Lookup Evidence balance + citations
TruthStack Supplement Search Fuzzy compound search
TruthStack Safety Signals FDA CAERS/FAERS signals
TruthStack Drug Profile Drug CYP450 + botanical interactions

Also available

pip install truthstack                    # Core client
pip install truthstack-langchain          # LangChain adapter
pip install truthstack-llamaindex         # LlamaIndex adapter

API Key

Free key (2,000 calls/month): truthstack.co/developers

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

truthstack_crewai-1.0.0.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

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

truthstack_crewai-1.0.0-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file truthstack_crewai-1.0.0.tar.gz.

File metadata

  • Download URL: truthstack_crewai-1.0.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for truthstack_crewai-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2c4c36a60b4fd692f07ff04b9cfc6cf4248972e9b8825a84ba0240bd23035b5b
MD5 7aadf8d7c38542065fff0bfecbf9d870
BLAKE2b-256 fcd4baa7df9353ca187d74a289a1d1b89e456b9318af9c15c9f08ca2095e7621

See more details on using hashes here.

File details

Details for the file truthstack_crewai-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for truthstack_crewai-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2668b5b66590081e492c76ca73b7008af49cf57e8fa493ca5931e83117960014
MD5 7e12a77c32f445e23e39a005b3289a6f
BLAKE2b-256 e78ccd48c38336482ab09751acbc860617aeb9f8c7eb275c753bdd46ece72121

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