BrainUs AI is a RAG-powered API that gives your applications access to Sri Lankan curriculum content — textbooks, syllabuses, and educational materials across all grades and subjects. Query in natural language, get AI-powered answers with source citations.
This is the public community repository for BrainUs AI API. The service code is private. Use this repo to file bugs, request features, browse documentation, and explore code examples.
Learn more in the official documentation.
Get an API key at developers.brainus.lk, then install an SDK:
pip install brainus-ai # Python
npm install @brainus/ai # JavaScript / TypeScriptFor a full walkthrough, see the quick start guide.
| Language | Package | Docs |
|---|---|---|
| Python | brainus-ai |
SDK Docs → |
| JavaScript / TypeScript | @brainus/ai |
SDK Docs → |
| Go | Coming soon | SDK Docs → |
| Rust | Coming soon | SDK Docs → |
See the /examples directory for runnable Python, JavaScript, and cURL examples.
We welcome your feedback. File a GitHub issue or email developers@brainus.lk.
Join the BrainUs Discord — select Developer during onboarding to get access to the API channels. Ask questions, share what you're building, and get help from the team.
You can also use GitHub Discussions for longer-form questions and ideas.
To report a security vulnerability, use our Vulnerability Disclosure Program (powered by HackerOne) or email security@crew.brainus.lk instead of opening a public issue. See SECURITY.md for details.
© BrainUs LK. All rights reserved. Use of the BrainUs AI API is subject to our Terms of Service.