Documentation Index
Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
Use this file to discover all available pages before exploring further.
Deep Research CLI Commands
The praisonai-ts CLI provides the research command for comprehensive research.
Basic Research
# Research a topic
praisonai-ts research "What are the latest AI trends?"
# Research with depth control
praisonai-ts research "TypeScript best practices" --depth 5
# Limit sources
praisonai-ts research "Machine learning" --max-sources 10
# Get JSON output
praisonai-ts research "AI history" --json
Example Output:
{
"success": true,
"data": {
"answer": "The latest AI trends include...",
"citations": [
{ "title": "AI Research Paper", "url": "https://..." }
],
"reasoning": [...],
"confidence": 0.85
}
}
Research Options
| Option | Description |
|---|
--depth | Research depth (iterations) |
--max-sources | Maximum sources to use |
--verbose | Enable verbose output |
SDK Usage
For programmatic research:
import { DeepResearchAgent } from 'praisonai';
const agent = new DeepResearchAgent({
llm: 'openai/gpt-4o-mini',
maxIterations: 5
});
const result = await agent.research('What is machine learning?');
console.log('Answer:', result.answer);
console.log('Confidence:', result.confidence);
console.log('Citations:', result.citations.length);
For more details, see the Deep Research SDK documentation.