Quick Start
How It Works
The scientific writing system uses specialized agents for different parts of academic paper creation:| Stage | Purpose | Output |
|---|---|---|
| Literature Review | Survey existing research | APA-formatted citations |
| Methodology Design | Create research approach | LaTeX methods section |
| Paper Writing | Assemble final document | Complete LaTeX paper |
Multi-Agent Workflow
Use multiple specialized agents for comprehensive paper generation:YAML Configuration
- agents.yaml
- Run Command
Which Option to Choose?
Configuration Options
| Tool | Purpose | Inputs |
|---|---|---|
format_latex_section | Wrap prose in \section{} | title: str, content: str |
format_citation | Build APA citation line | authors: str, year: int, title: str, venue: str |
Model Options
| Model | Best For | Setup |
|---|---|---|
huggingface/Agnuxo/CAJAL-4B-P2PCLAW | LaTeX-fluent academic writing | Requires HuggingFace API key |
gpt-4o-mini | General-purpose fallback | Requires OpenAI API key |
| Local models | Privacy/cost control | Run your own inference server |
Best Practices
Choose the Right Model
Choose the Right Model
Use CAJAL-4B for LaTeX-fluent output when HuggingFace access is available. Fall back to
gpt-4o-mini for general-purpose writing when needed.Extend with More Tools
Extend with More Tools
Add more
@tool functions like format_equation, format_table, or format_figure_caption to enhance the writer’s capabilities.Split Long Papers
Split Long Papers
For lengthy papers, create separate tasks for each section (Introduction, Methods, Results, Discussion) to maintain focus and quality.
Handle API Access
Handle API Access
Set up both HuggingFace and OpenAI API keys for maximum flexibility. Consider local inference servers for high-volume usage.
Related
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

