brainushq/brainus-ai-python ? reverse-engineered prompt

Reverse engineered prompt

Build me the official Python SDK for the Brainus AI API.

I want it to make it easy to ask educational questions, get back answers with citations, and see usage details like quota and request stats. It should feel simple to use in both async and normal Python code, with clear type hints, good error messages, and automatic retries when the API is flaky. Please include a clean client for the main API flows, models for the responses, and custom exceptions for common failure cases.

I’d also like a few real examples showing how someone would install it, set an API key, send a query, and print the sources it used. Make sure the package is polished enough to publish, with tests, sensible defaults, and up to date documentation comments. If you need to check the latest API docs online to confirm any request or response details, go ahead and do that.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab