Overview
Anar Present generates professional presentations from natural language prompts. Describe the presentation you need -- topic, audience, number of slides, and language -- and Present produces a structured slide deck with titles, content, and layout recommendations. Slides can be edited individually, reviewed with comments, and exported to PPTX or PDF.
Government organizations produce presentations constantly: ministerial briefings, budget proposals, project updates, strategy decks, and compliance reports. Present eliminates the blank-page problem by generating structured first drafts that teams can refine, brand, and deliver.
Key Capabilities
Prompt-to-Slides
Provide a natural language prompt describing the presentation topic, and Present generates a complete slide deck. The AI structures the content into logical sections with appropriate slide types (title, content, comparison, data, conclusion).
AI Slide Editing
After generation, individual slides can be refined via natural language instructions. Tell the AI to "add a comparison table between Q3 and Q4 budgets" or "make the conclusion more action-oriented" and the slide content updates accordingly. Supports both single-slide and batch editing operations.
Template System
Upload and manage PPTX templates that define the visual identity for generated presentations. Government organizations can maintain branded templates with official logos, color schemes, and layout standards.
Collaboration with Comments
Team members can add comments to specific slides, enabling review workflows before final export. Comments are scoped to individual slides and optionally to specific elements.
Statistics Dashboard
Track presentation generation metrics including total presentations created, slide counts, export volumes, and usage trends over time.
Batch Operations
Delete multiple presentations in a single operation. Duplicate existing presentations as starting points for new decks, preserving slide content and template assignments.
PPTX and PDF Export
Export presentations as native PowerPoint files (PPTX) for further editing, or as PDF for distribution. Both formats support Arabic right-to-left content with proper text alignment and layout.
Architecture
Present runs a FastAPI backend on port 8011 and a Vite+React dashboard on port 3014.
The backend handles slide generation (LLM-powered content structuring), template management, comment storage, and export rendering. PPTX generation uses python-pptx with the Midnight Gold theme. PDF rendering converts the slide deck for distribution.
Slide Limits
Presentations can contain between 1 and 30 slides. The default is 8 slides per generation.
Quick Start
cd present/backend
uv sync
uv run uvicorn anar_present.main:app --reload --port 8011
Generate a presentation:
curl -X POST http://localhost:8011/api/v1/presentations/generate \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKEN" \
-d '{
"prompt": "Government AI adoption strategy for 2025, covering current state, key initiatives, budget requirements, and implementation timeline",
"slide_count": 10,
"language": "en"
}'
Dashboard
The Present dashboard provides:
- Presentations -- Browse, search, and manage all generated presentations with batch delete
- Editor -- Slide-by-slide view with AI-powered editing and comment threads
- Templates -- Upload and manage branded PPTX templates with duplicate support
- Statistics -- Generation metrics, export counts, and usage trends
- Export -- Download presentations as PPTX or PDF with format options
Observability
Present is instrumented with OpenTelemetry via anar_shared.setup_otel(). When OTEL_EXPORTER_OTLP_ENDPOINT is set, traces, logs, and metrics are exported to the OTel Collector.
MCP Server
Present exposes a Model Context Protocol server at /mcp via FastApiMCP, enabling AI assistants to generate presentations, manage templates, and export slides programmatically.
Gateway Integration
When GATEWAY_URL is set, Present routes LLM calls through Anar Gateway for unified cost tracking and safety scanning.
Test Suite
237 tests across 22 endpoints cover slide generation, AI slide editing, template management, batch delete, duplicate, comments, statistics, PPTX/PDF export, and API endpoints.
cd present/backend && uv run pytest
Next Steps
- Slide Generation -- Prompt-to-slides and content structuring
- Templates -- Managing government templates and branding
- Export -- PPTX, PDF, and Arabic RTL output
- API Reference -- Full endpoint documentation