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)

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.1.0.tar.gz (4.3 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.1.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: crewai_polaris-0.1.0.tar.gz
  • Upload date:
  • Size: 4.3 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.1.0.tar.gz
Algorithm Hash digest
SHA256 c4850ec3b1836feb1f5ae54d832010ac9de9fa22fadaa1358e53c023a91f88bc
MD5 b40d57dd3bd911f7407b84f56f36630c
BLAKE2b-256 0f8dd4aae4c22d866beb7141d17d70adad1a32a2db9c3847636d29166d5dd302

See more details on using hashes here.

File details

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

File metadata

  • Download URL: crewai_polaris-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f3276b151fcb12140052073f079c6f450637d4dec5e1dc41eff9aec6d783b7a8
MD5 9a0b8dc1df1c8caa950e8aef34d5cd57
BLAKE2b-256 c895eb44cd66368359f0787752c594bbde2a96a751b87e33bf48cf24b6206efa

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