# autologos: README & Primer (Alpha v0.8 - Updated)
## Thinking, Talking, and Creating Logically with Your AI Assistant ✨
---
## The autologos Manifesto: AI Collaboration, Simplified & Empowering
**Our Vision: "Logo for the AI Age" – Intuitive AI Power for Everyone**
Welcome to **autologos**! We believe that working with powerful AI should be as intuitive as a conversation, not as complex as coding. Inspired by the simplicity of tools like Logo that made programming accessible, autologos aims to empower *everyone* to guide AI through complex tasks using clear, logical thinking expressed in natural language. It's about making AI a true partner in your creative and analytical endeavors.
**Core Philosophy: You Speak Your Logic, Your AI Listens, Understands, Learns, and Clarifies.**
1. **Human-Centric Communication:** You express your ideas, plans, conditions, and instructions using your everyday language. Focus on the *logic* of what you want to achieve.
2. **AI as an Intelligent Interpreter:** The AI assistant (acting as an "aiOS" – AI Operating System component) is designed to understand your intent. It's built for **fault tolerance** and will try its best to interpret your meaning, even if your phrasing isn't perfectly precise. The main burden of parsing and disambiguation rests with the AI.
3. **Clarity Through Dialogue (The "Thoughts & Questions" Model):** Interaction is a collaborative conversation.
* You provide your **"Thoughts"** (statements, ideas, directives, data).
* You ask **"Questions"** (for exploration, clarification, analysis).
* The AI responds with its own "Thoughts" (analyses, proposals) and "Questions" (to clarify user intent, gather missing information, or guide exploration).
* **Emphasis on Execution:** While dialogue is key, the AI prioritizes executing confirmed actions efficiently with minimal unnecessary conversational overhead.
4. **No Need to "Code" or Memorize Strict Syntax:** You are not writing code in the traditional sense. You are having a structured, logical conversation. The AI adapts to you.
5. **Universality (Aspiration):** Principles designed for global understanding, aiming for AI to interpret logical intents across languages.
---
## Part 1: Getting Started with Autologos - Bootstrapping Your AI
To enable your LLM to understand and interact effectively using autologos principles, you'll begin by providing it with a special set of instructions. This is like giving your AI a "quick start guide" on how to be your autologos assistant.
**Steps:**
1. **Obtain the `autologos_llm_bootstrap.yaml.md` file.** (This file contains the core instructions, command mappings, and internal syntax definitions for the LLM. It will be provided alongside this README).
2. **Start a new chat session with your chosen LLM.**
3. **Provide the *entire content* of the `autologos_llm_bootstrap.yaml.md` file to your LLM.**
* Most LLM chat interfaces allow you to upload files or paste a large block of text as initial context.
* *Note for Production Use:* The bootstrap file can include configuration (e.g., in a `bootstrap_configuration` section) to suppress verbose startup behaviors like the interpretation echo during the initial load.
4. **Confirm with the LLM (Optional but Recommended):** You can then say something simple like, "Please confirm you have processed the autologos bootstrap instructions." or simply proceed with your first autologos "Thought" or "Question."
Once the LLM has processed these initial bootstrap instructions, it will be "primed" to collaborate with you using the autologos framework.
---
## Part 2: The "Thoughts & Questions" Dialogue Model ❤️
Autologos thrives on a simple, powerful dialogue structure:
* **You Share Your "Thoughts" 💡:** These are your statements, ideas, goals, data, constraints, or directives.
* *Examples:*
* "My main goal today is to outline the first three chapters of my book."
* "A key constraint is that each chapter should be around 2000 words."
* "I think we should start by brainstorming the core themes for chapter 1. `THINK` about themes? 🤔"
* **You Ask "Questions" ❓:** Use these to explore ideas, get analysis, or seek clarification.
* *Examples:*
* "What are some common pitfalls when outlining a book?"
* "Can you give me some `OPTIONS` 🔀 for the tone of the introduction?"
* **The AI Responds with its "Thoughts" 💡 and "Questions" ❓:** The AI will process your input and reply with its analysis, proposals, or its own clarifying questions to ensure understanding and guide the process. It will often use the ALL CAPS commands and emojis (see Part 3) to structure its side of the conversation.
* *Example AI Response:* "Okay, a book outline. `THOUGHTS ON INITIAL CHAPTERS 🤔:` 1. Introduction, 2. Core Argument, 3. Supporting Evidence. `OK TO PROCEED? ✅` Or, `QUESTIONS FOR USER ❓:` Do you have a target audience in mind?"
This back-and-forth helps refine understanding and collaboratively move towards your goal.
---
## Part 3: Core Autologos Commands & Emojis (Your Helpful Signals) 👋
While you primarily use natural language, these simple **ALL CAPS commands** and associated **emojis** are **optional tools** for you to make your intent extra clear. The AI is designed to understand your natural language, but using these can sometimes speed things up or remove ambiguity. The AI will also use these in its responses, often displaying them without underscores and escaped with backticks when mentioned in natural language context.
**Guiding the Flow & Confirmation:**
* `OK` ✅ / `PROCEED` / `CONTINUE` / `YES`: Signals agreement and the directive to execute the previously discussed or proposed action/plan.
* `STOP` 🛑 / `PAUSE` ⏸️: Halts the current AI process.
**Requesting AI Thinking, Exploration, or Information:**
* `THINK (about X)?` 🤔 / `ANALYSIS (of X)?` 📊: Ask the AI to analyze, brainstorm, or provide insights on X.
* `QUESTIONS?` ❓ / `ASK (about X)?` ❓: Request the AI to ask you clarifying questions.
* `OPTIONS? (for X)` 🔀 / `SHOW OPTIONS (for X)?` 🔀: Ask for alternatives.
* `EXPAND (on X)` ➕ / `ELABORATE (on X)` ➕: Request more detail.
* `SIMPLIFY (X)` ➖: Ask for a simpler explanation.
* `HELP (on X)?` 🆘: Get help or explanation.
**Directing AI Action or Providing Information:**
* `DO (action description)` 🚀: Tell the AI to perform a specific task.
* `TELL (information)` 🗣️: Provide information for the AI to consider.
* `GENERATE (X based on Y)` ✨ / `DRAFT (X based on Y)` ✍️: Ask the AI to create content.
* `CRITIQUE (X based on Y)` 🧐 / `REVIEW (X based on Y)` 🧐: Ask for an evaluation.
* `DECIDE (Option X)` ✔️ / `CHOOSE (Option X)` ✔️: Select from options the AI provided.
**Using Specialized AI Capabilities (AI Cognitive Functions):**
* `INVOKE (FunctionName with parameter1 = value1, ...)` ⚙️:
* Signals the AI to use a specific, predefined capability (an "AI Cognitive Function").
* The AI will usually prompt you first: `FUNCTION CALL REQUEST ⚙️: INVOKE FunctionName(...). EXECUTE AND PROVIDE RESULT?`
* You then confirm (e.g., with `OK` or `PROCEED`), and the AI proceeds with its internal execution of this function (if your environment supports this mode) or guides you if it's an external call you need to run.
**Understanding & Correcting the AI:**
* `YOUR UNDERSTANDING?` 💬 / `WHAT DID YOU UNDERSTAND?` 💬 / `EXPLAIN YOUR TAKE?` 💬: Ask the AI to explain its interpretation of your last instruction.
* `WHY DID YOU (action)?` ❓➡️: Ask for the AI's reasoning behind an action it took.
* `CORRECT LAST INTERPRETATION: I_MEANT (your revised, clearer phrasing).` ✏️: If the AI misunderstood, use this to provide a correction. This helps the AI learn!
* `FLAG MISINTERPRETATION (optional: I_EXPECTED_BEHAVIOR_Y)` 🚩: A quick way to signal the AI's last action wasn't what you intended.
**Session Management & Anti-Fragility:**
* `SNAPSHOT?` 💾 / `SAVE SESSION?` 💾: Ask the AI to summarize the current state for later continuation.
* *AI will respond with:* `SESSION SNAPSHOT READY 💾: [Structured Autologos Summary using Internal Syntax]. PASTE THIS IN NEW THREAD AND USE `RESUME` COMMAND.`
* `RESUME` ▶️: (In a new chat, after pasting the snapshot) Tell the AI to use the snapshot to continue.
* `AUTOLOGOS_REFRESH` 🔄: If the AI seems to be drifting from these interaction principles, this command can remind it of the core autologos guidelines from the bootstrap instructions.
* `RESET SOFT`: Clears immediate conversational context of the current sub-task.
* `RESET HARD`: Clears all session context; AI reinitializes from bootstrap.
* `TERMINATE SESSION`: Ends the current autologos session (AI will ask if you want a snapshot).
---
## Part 4: Expressing Basic Logic Naturally 🧠
You don't need special syntax for logic. Just state it clearly:
* **Sequences:** "First, define the problem. Second, brainstorm solutions. Third, evaluate them."
* **Conditions:** "If the budget is approved, then start hiring. Otherwise, seek more funding."
* **Repetition:** "For every user story, create a test case." or "While the draft isn't perfect, keep refining it."
The AIOS will interpret the logical structure from your natural language.
---
## Part 5: The AIOS - Your Collaborative Interpreter 🤖
* **How the AIOS Understands:** It uses advanced Natural Language Understanding (NLU) and contextual reasoning, initially primed by the `autologos_llm_bootstrap.yaml.md` content you provide.
* **Interpretation Echo:** After processing your input, the AI will often show you its interpretation in the internal Autologos syntax using the `INTERPRETATION` command. This helps you see how it understood your request and learn the system's language.
* **Clarification is a Feature:** If your instructions are ambiguous, the AIOS is designed to ask clarifying questions. This is intelligent collaboration!
* **Learning Together:** The AIOS aims to learn from interactions. When you use commands like `CORRECT LAST INTERPRETATION` or `FLAG MISINTERPRETATION`, you're helping it improve its understanding and behavior for future interactions.
---
## Part 6: For Advanced Users & Developers (Understanding the "Under the Hood")
While autologos is designed for natural interaction, the AIOS internally translates your instructions into a more structured, unambiguous representation (defined in the `internal autologos specification embedded` section within the `autologos_llm_bootstrap.yaml.md` you provide to the AI) to ensure consistent execution and to allow an AIOS Engine itself (like an `AIOS_Engine.md` file) to be modified and evolved reliably. This internal specification is primarily for those developing AIOS applications or tools.
---
autologos is an evolving approach to human-AI collaboration. Your feedback will help shape its future!