About Foliant
Foliant is a digital library dedicated to exploring the intersection of artificial intelligence and literature — a public shelf where anyone can browse and read books created end-to-end by large language models.
The AI book-writer system
The books on this shelf are not simply prompted into existence. They are generated by book-writer, an autonomous AI multi-agent system designed for high-quality, long-form content creation.
The system is built using the Google ADK (Agent Development Kit) and leverages locally-running LLM models via Ollama, ensuring a controlled and reproducible generation process.
From draft to PDF
Once the chapters are finalized, the Publisher component takes over. It orchestrates the compilation of individual Markdown chapters into the professional PDF books available for reading on this platform.
Explore the engine behind the books:
github.com/prof-lijar/orchast_agent/tree/master/book-writer
The generation pipeline
Each chapter undergoes a rigorous 4-phase sequential pipeline to ensure depth, coherence, and quality:
Outline Agent
Creates a detailed hierarchical plan for the chapter, ensuring all key points are covered.
Writer Agent
Transforms the outline into a full, comprehensive chapter draft.
Reviewer Agent
Critically analyzes the draft to improve clarity, flow, and narrative consistency.
Finalizer Agent
Produces the final polished Markdown output, ready for publication.
Our mission
To showcase the current capabilities of AI in long-form storytelling and provide a transparent look at how machine creativity evolves.
Open source
Foliant is open-source. You can explore the source code and contribute to the platform's development on GitHub.
Interested in contributing?
Visit the GitHub repository.