Metadata-Version: 2.4
Name: research-agent-kit
Version: 0.1.4
Summary: Research API and SDK
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: httpx>=0.24
Requires-Dist: pydantic>=2.0
Provides-Extra: api
Requires-Dist: fastapi>=0.100; extra == "api"
Requires-Dist: uvicorn>=0.23; extra == "api"
Requires-Dist: python-dotenv>=1.0; extra == "api"
Requires-Dist: openrouter-provider; extra == "api"
Requires-Dist: engines4ai; extra == "api"
Requires-Dist: scraper4ai; extra == "api"
Requires-Dist: youtube-transcript-api; extra == "api"
Requires-Dist: pillow; extra == "api"
Requires-Dist: requests; extra == "api"
Provides-Extra: dev
Requires-Dist: build; extra == "dev"
Requires-Dist: twine; extra == "dev"

# Deploy

## Build
docker build -t research-api .

## Test
docker run --rm -p 8999:8000 research-api

## Production environment
docker run -d --rm -p 8003:8000 research-api


# How to get openapi.json
curl -o openapi.json http://localhost:8000/openapi.json
jq . docs/openapi.json > /tmp/openapi.json && mv /tmp/openapi.json docs/openapi.json

# Test
curl -i \
  -H "X-API-Key: 7AeqtgTwHMF92amX74qZtc9D3lyte0yR" \
  https://keisukes-macbook-pro.tail6acff1.ts.net/research

curl -X POST "https://keisukes-macbook-pro.tail6acff1.ts.net/research/generate" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: 7AeqtgTwHMF92amX74qZtc9D3lyte0yR" \
  --max-time 600 \
  -d '{"topic":"hello, how are you"}'
