Human Action by Ludwig von Mises is a monumental and profoundly complex work spanning over 900 pages of dense economic theory, philosophy, and social analysis. What better opportunity to explore and learn from Mises's masterpiece than by leveraging cutting-edge technology designed to process massive digital texts?
This project harnesses the power of Recursive Language Models (RLM), an innovative architecture that enables deep, contextual understanding of enormous documents. By processing the entirety of "Human Action," this system allows users to query, explore, and engage with Mises's ideas in an interactive and meaningful way. Whether you're a student of Austrian economics, a researcher, or simply curious about praxeology, this tool transforms a challenging read into an accessible, conversational experience.
Clone the repository and install the required dependencies:
git clone https://github.com/mateolafalce/human-action-rlm.git
cd human-action-rlm
pip install -r requirements.txtBefore running the server, you need to configure your environment variables:
-
Copy the example environment file:
cp .env-example .env
-
Edit the
.envfile and add your API keys:# OpenAI API Key (required) OPENAI_API_KEY=your_openai_api_key_here # Optional: Custom port (defaults to 5000) PORT=5000
To start the application server:
python3 main.pyOn first run, the application will:
- Download the full text of "Human Action" from mises.org (if not already cached)
- Initialize the RLM with the book as context
- Start the Flask web server
Once running, you can access: http://localhost:5000
The server will display startup messages indicating when the book is loaded and the RLM is ready to accept queries.
