Skip to main content
Generate LaTeX-formatted academic papers using specialized AI models designed for scientific writing.

Quick Start

1

Setup

Install PraisonAI and set up HuggingFace access:
2

Simple Scientific Writing

Create a specialized scientific writer agent:
Swap llm="huggingface/Agnuxo/CAJAL-4B-P2PCLAW" for any other model (e.g. gpt-4o-mini) to use a general-purpose LLM if HuggingFace access is unavailable.

How It Works

The scientific writing system uses specialized agents for different parts of academic paper creation:

Multi-Agent Workflow

Use multiple specialized agents for comprehensive paper generation:

YAML Configuration


Which Option to Choose?


Configuration Options

Model Options


Best Practices

Use CAJAL-4B for LaTeX-fluent output when HuggingFace access is available. Fall back to gpt-4o-mini for general-purpose writing when needed.
Add more @tool functions like format_equation, format_table, or format_figure_caption to enhance the writer’s capabilities.
For lengthy papers, create separate tasks for each section (Introduction, Methods, Results, Discussion) to maintain focus and quality.
Set up both HuggingFace and OpenAI API keys for maximum flexibility. Consider local inference servers for high-volume usage.

Research Assistant

Multi-agent research workflow for comprehensive analysis

Agents Concepts

Learn about agent fundamentals and architecture

Tasks & AgentTeam

Understand task coordination and team workflows

YAML Configuration

Complete YAML configuration reference