sudarsan
v1.0.0
Published
Indian AI Framework by Sandip Paul
Readme
Sudarsan AI
Sudarsan is an advanced Indian AI framework created by Sandip Paul. It is deeply rooted in Indian mythology, possessing comprehensive knowledge of the Bhagavad Gita and ancient Indian wisdom, combined with state-of-the-art intelligence and human-like kindness.
Features
- Wake Word: Start your prompts with "radha radha" to wake Sudarsan up.
- Mainbrain Agnostic: Bring your own API keys and URLs! Supports OpenAI, Groq, Together, Ollama, Gemini, LMStudio, LocalStudio, Mistral, DeepSeek, SambaNova, and any custom OpenAI-compatible endpoint.
- Web Search: Integrates Tavily API to fetch "perfected answers" from Reddit, HackerNews, GitHub, and DuckDuckGo.
- Media Generation: Create images and videos using Bytez API free models.
Installation
You can download and run this NPM package on your PC or laptop.
npm install -g sudarsanUsage (CLI)
Run the CLI from your terminal:
sudarsan-aiYou will be prompted to configure your provider, model name, API key, and preferred language (e.g., Hindi, English). Once configured, you can start chatting:
You: radha radha
Sudarsan: Radhe Radhe! I am awake and ready to assist you in Hindi. How can I help you?
You: tell me about the core teachings of the Gita.
Sudarsan: *kind, wise response based on Indian mythology in Hindi...*
You: search what is the top news on hacker news today.
Sudarsan: *searches the web and provides the latest news...*
You: generate image of a beautiful peacock in a forest.
Sudarsan: *generates image using Bytez API...*Programmatic Usage
You can also use Sudarsan in your own Node.js projects:
const { Sudarsan } = require('sudarsan');
// Provide your API details for the mainbrain
const ai = new Sudarsan({
provider: 'openai', // or groq, together, ollama, custom, etc.
modelName: 'gpt-4',
apiKey: 'your-api-key',
url: '' // optional custom URL for your own company API
});
async function run() {
const response = await ai.processText("radha radha what is karma?");
console.log(response);
}
run();