Skip to main content

Polaris News tools for CrewAI agents

Project description

crewai-polaris

Polaris News tools for CrewAI agents. Drop verified news intelligence into any CrewAI workflow.

Install

pip install crewai-polaris

Quick Start

from crewai import Agent, Task, Crew
from crewai_polaris import PolarisSearchTool, PolarisFeedTool

search = PolarisSearchTool(api_key="your-api-key")
feed = PolarisFeedTool(api_key="your-api-key")

researcher = Agent(
    role="News Analyst",
    goal="Find and analyze the latest news",
    tools=[search, feed],
)

task = Task(
    description="What are the top AI developments today?",
    agent=researcher,
    expected_output="A summary of today's top AI news",
)

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

Tools

Tool Description
PolarisSearchTool Search verified news briefs with confidence scores
PolarisFeedTool Get latest intelligence feed
PolarisBriefTool Get a specific brief by ID
PolarisExtractTool Extract article content from URLs
PolarisEntityTool Look up entity coverage
PolarisTrendingTool Get trending entities
PolarisCompareTool Compare outlet coverage of a story
PolarisResearchTool Deep multi-source research (5 credits)
PolarisVerifyTool Fact-check a claim against briefs (3 credits)

All tools accept api_key in the constructor. If omitted, the SDK reads from POLARIS_API_KEY or ~/.polaris/credentials.

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

crewai_polaris-0.6.0.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

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

crewai_polaris-0.6.0-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file crewai_polaris-0.6.0.tar.gz.

File metadata

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

File hashes

Hashes for crewai_polaris-0.6.0.tar.gz
Algorithm Hash digest
SHA256 2e01f2d0bf42f55e20a58ac220bf6cd505e6a526855a9bf46f5b34e0ef80fa65
MD5 65a60f4102150b3e2a2e97b0da2db828
BLAKE2b-256 c0609a501be929f56a3c8b1cb708a181b8c587a9fa444957763273ad890e4d8e

See more details on using hashes here.

File details

Details for the file crewai_polaris-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: crewai_polaris-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for crewai_polaris-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f2a9b623c9b8cd45db57b30cf4ea923120ca05323043639f270c6a598d68a80f
MD5 9a54565742b3a400f7dad2a9358e311f
BLAKE2b-256 5752182b5d10086b1f1bb190c433997ef361a40df44fdb85c3faa9087599b718

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