Repository navigation
Huginn and Muninn Framework
Program Description: Huginn and Muninn Framework
Overview:
The Huginn and Muninn Framework is a collaborative dual-AI system inspired by Norse mythology, designed for real-time task execution, insightful analysis, and interactive user engagement. It leverages the Ollama framework to integrate two distinct AI personalities: Huginn, the grumpy and efficient executor, and Muninn, the witty and reflective advisor. Together, they create a dynamic environment for handling complex tasks and providing meaningful insights.
Components:
Huginn (Executor):
Focused on executing user commands with precision.
Offers categorized responses:
Command: Generates executable PowerShell commands.
Conversation: Provides actionable advice with a grumpy tone.
Muninn (Advisor):
A witty, reflective assistant offering:
Advice: Insightful recommendations, often with a sarcastic undertone.
Review: Critical analysis of user inputs or Huginn's outputs.
Combination: A blend of advice and critique.
Conversation: Casual, engaging dialogue with a condescending charm.
Provides thoughtful, context-aware responses to enhance decision-making.
Main Framework:
Manages the session history, ensuring context retention and continuity.
Facilitates collaboration between Huginn and Muninn by parsing responses and executing commands as needed.
Maintains session history within token limits to optimize performance.
Features:
Session Management:
Shared session history to maintain context across interactions.
History trimming to stay within token limits.
Dynamic Collaboration:
Muninn critiques and advises; Huginn executes commands or responds directly.
Automated Command Execution:
Commands generated by Huginn are parsed, validated, and executed in PowerShell, with detailed outputs logged.
Interactive Engagement:
The user actively participates in guiding the conversation and task flow.
Purpose: This framework is ideal for cybersecurity operations, task automation, and advanced AI interactions:
Automate tasks while receiving critical feedback and insights.
Explore dynamic AI personalities for enhanced user experience.
Gain a practical understanding of command execution and decision analysis.
How to Use:
Setup:
Ensure the Ollama CLI is installed and running.
Pull the required dolphin-mistral model using the command ollama pull dolphin-mistral.
Run the Framework:
Launch main.py to start the interactive session.
Interact:
Provide tasks or queries; Huginn and Muninn will respond with actionable insights and commands.
Execute commands directly or refine approaches based on their feedback.
Reset or Quit:
Reset the session history as needed or quit to end the interaction.
Important Notice: This framework is a powerful tool intended for educational purposes and advanced development:
Ensure responsible use in compliance with ethical guidelines and regulations.
Commands executed by Huginn should be reviewed for safety and accuracy.
