Catalog PyPI
PACKAGE EXPLORERView in registry

aegis-research

PyPI

Python SDK for Aegis Research API - AI-powered web research as a service

aegisaiapillmresearchweb-research
Versions collected1
Direct dependencies4From release 0.1.1
Last observed20 Oct, 20:18 UTC

README

Version 0.1.1 documentation

Aegis Research SDK

Python SDK for the Aegis Research API - AI-powered web research as a service.

Installation

pip install aegis-research

Quick Start

from aegis_research import AegisResearch

# Initialize client
client = AegisResearch(api_key="res_your_api_key")

# Execute research
result = client.research("Best practices for API rate limiting in 2025")

print(result.summary)
for finding in result.key_findings:
    print(f"- {finding}")

Features

  • AI-Powered Research: Get synthesized research results, not just search links
  • Multiple Depth Levels: Choose shallow (1 credit), medium (3 credits), or deep (10 credits) research
  • Caching: Results cached for 24 hours to save credits
  • Source Citations: Every claim backed by sources

Usage

Research

# Basic research
result = client.research("What is quantum computing?")

# Deep research with more sources
result = client.research(
    "Impact of AI on healthcare in 2025",
    depth="deep",  # 10 credits, 10+ sources
    use_cache=False  # Force fresh research
)

# Include specific URLs
result = client.research(
    "Compare FastAPI vs Flask",
    urls=["https://fastapi.tiangolo.com", "https://flask.palletsprojects.com"]
)

Check Credits

status = client.credits()
print(f"Credits remaining: {status.credits_remaining}")
print(f"Tier: {status.tier}")

Research History

history = client.history(limit=10)
for item in history:
    print(f"{item['id']}: {item['topic']}")

Get Previous Result

result = client.get_research("res_abc123")

Response Format

ResearchResult:
    id: str                     # "res_abc123"
    topic: str                  # Original query
    status: str                 # "completed", "cached", "failed"
    summary: str                # Executive summary (2-3 sentences)
    key_findings: List[str]     # Main findings as bullet points
    detailed_analysis: str      # Full analysis
    sources: List[Source]       # Cited sources
    source_count: int           # Number of sources
    depth: str                  # "shallow", "medium", "deep"
    cached: bool                # Whether result was cached
    credits_used: int           # Credits consumed
    duration_ms: int            # Time taken

Depth Levels

DepthCreditsSourcesTimeUse Case
shallow13~2 minQuick facts, verification
medium35-7~5 minGeneral research, decisions
deep1010+~15 minComprehensive investigation

Real-World Examples

The examples/ directory contains ready-to-use scripts for common use cases:

ExampleDescriptionCredits
competitor_analysis.pyAnalyze competitors across multiple dimensions~12
content_research.pyResearch for blog posts with structured briefs~10
due_diligence.pyStartup/company due diligence research~11
tech_decision.pyCompare technologies for informed decisions~10
async_batch.pyResearch multiple topics in parallelvaries
# Set your API key
export AEGIS_API_KEY=res_your_key

# Run an example
python examples/competitor_analysis.py

Error Handling

from aegis_research import (
    AegisError,
    AuthenticationError,
    RateLimitError,
    InsufficientCreditsError,
)

try:
    result = client.research("topic")
except AuthenticationError:
    print("Invalid API key")
except RateLimitError as e:
    print(f"Rate limited: {e}")
except InsufficientCreditsError:
    print("Not enough credits")
except AegisError as e:
    print(f"API error: {e}")

Pricing

TierPriceCredits/MonthRate Limit
Free$050010/min
Starter$9/mo2,00020/min
Pro$49/mo10,00060/min

Get your API key at aegisagent.ai/research

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.18 Jan 20264

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
aegis-agent/aegis-research-sdk

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:18 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:5e24827172548a2251c80bf643db4b8810dcc2fe6054a8993b9ecf08c680e8e0