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.2.0.tar.gz (4.6 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.2.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: crewai_polaris-0.2.0.tar.gz
  • Upload date:
  • Size: 4.6 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.2.0.tar.gz
Algorithm Hash digest
SHA256 4de5c40be55ca930e55640eaf46b124209968b6640d0cc73ff0a36a653cc77d2
MD5 5369d207ced31e88f4c58dfd3fd7b1c8
BLAKE2b-256 2f7c902ae4f3c83c41ec933f2d6cd8b0bc72830c79fda5bccb842513c5c1a548

See more details on using hashes here.

File details

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

File metadata

  • Download URL: crewai_polaris-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.3 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 164428e77d34558dad58e7dd12057353cbe44cc0a54e3e363d442bfdc2ee2b83
MD5 6c385938f3dccf13e2bd6d03e37f45b8
BLAKE2b-256 d0e412eece90d728ecab9a2f2d7d396d845e58f9530ead78c7d00e1ac3995e61

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