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.5.0.tar.gz (10.2 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.5.0-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: crewai_polaris-0.5.0.tar.gz
  • Upload date:
  • Size: 10.2 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.5.0.tar.gz
Algorithm Hash digest
SHA256 d8feb822cb56e0ac296633b9aeb710bb3df8224b98bac1eb2feba98f1121d3c0
MD5 467cc42393b8a3e6a6f4d599f35d707d
BLAKE2b-256 a14b0f3e951ce4c94c620d51b8c05a6d22c006c9f2d8f7bf0ad9c8114737dd5d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: crewai_polaris-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 10.7 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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 afd74b61c010d338a1a9216140dd2b7af1f86629ec31ef1f60b92ce088fe1a07
MD5 1fb5fb9fa6307d14bd9f40d5222b0579
BLAKE2b-256 a6db28d36d1da6196ba30e6fbabbf77b9a59048c53892eb6e67a12ddec6fe051

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