-
Couldn't load subscription status.
- Fork 0
Getting Started
Prakash Tiwari edited this page Aug 11, 2025
·
1 revision
This guide will help you get OSA up and running in minutes.
- Python: 3.9 or higher
- Memory: 8GB RAM minimum (16GB recommended)
- Disk Space: 2GB free space
- OS: Linux, macOS, or Windows
git clone https://github.com/prakashgbid/omnimind.git
cd omnimind# Create virtual environment
python -m venv venv
# Activate it
# On Linux/macOS:
source venv/bin/activate
# On Windows:
venv\Scripts\activatepip install -r requirements.txt# Linux/macOS
curl -fsSL https://ollama.ai/install.sh | sh
# Pull models
ollama pull llama3.2:3b
ollama pull mistral
ollama pull deepseek-coderCreate a .env file in the project root:
# Optional: API Keys for cloud providers
OPENAI_API_KEY=your_key_here
ANTHROPIC_API_KEY=your_key_here
# Optional: Custom settings
OSA_MAX_INSTANCES=10
OSA_THINKING_DEPTH=10
OSA_LEARNING_ENABLED=trueOSA works out of the box with local models. No API keys required!
The easiest way to start:
python run_complete_osa.pyYou'll see a menu with options:
- Deep thinking & task accomplishment
- Leadership & delegation
- Problem solving with alternatives
- Continuous thinking demonstration
- Complex goal breakdown
- Blocker handling
- Show thinking status
import asyncio
from osa_complete_final import create_complete_osa
async def main():
# Create OSA instance
osa = await create_complete_osa()
# Give it a task
result = await osa.think_and_accomplish(
"Create a todo list app with user authentication"
)
print(f"Task completed: {result['summary']}")
print(f"Thoughts generated: {result['thinking_insights']['total_thoughts']}")
asyncio.run(main())Start the real-time monitoring interface:
# Terminal 1: Start WebSocket server
python src/osa_logger.py
# Terminal 2: Run OSA
python run_complete_osa.py
# Open in browser
open web/index.html# Initialize
osa = await create_complete_osa()
# Simple task
result = await osa.accomplish("Write a Python function to sort a list")# Lead a project
project = await osa.lead_complex_project(
project_name="E-Commerce Platform",
requirements=[
"User authentication",
"Product catalog",
"Shopping cart",
"Payment processing"
],
team_size=5
)# Solve with alternatives
solution = await osa.solve_with_alternatives(
"Fix database performance issues when indexes are missing"
)
print(f"Solutions found: {solution['alternatives_available']}")# Let OSA think about a topic
thoughts = await osa.think_continuously_about(
topic="How to make apps go viral",
duration_seconds=30
)
print(f"Generated {thoughts['thoughts_generated']} thoughts")OSA provides detailed insights into its thinking:
result = await osa.think_and_accomplish("Build a chat app")
# Access thinking insights
print(f"Total thoughts: {result['thinking_insights']['total_thoughts']}")
print(f"Reasoning chains: {result['thinking_insights']['reasoning_chains']}")
print(f"Blockers handled: {result['thinking_insights']['blockers_handled']}")
print(f"Alternatives available: {result['thinking_insights']['alternatives_available']}")
print(f"Confidence: {result['thinking_insights']['confidence']:.1%}")
# View thought graph
print(result['thinking_insights']['thinking_visualization'])Python version error
# Check Python version
python --version
# Use python3 if needed
python3 run_complete_osa.pyMemory issues
# Reduce parallel instances
osa = await create_complete_osa(max_claude_instances=3)Import errors
# Ensure you're in the project directory
cd omnimind
# Reinstall dependencies
pip install -r requirements.txt- Read the Architecture to understand OSA's design
- Explore API Reference for advanced usage
- Check out Examples for real-world scenarios
- Join the Discussion
- Start small: Begin with simple tasks to understand OSA's capabilities
- Watch the monitor: Use the web interface to see OSA's thinking in real-time
- Learn from patterns: OSA gets smarter with each task
- Experiment: Try different types of problems to see OSA's versatility
Need help? Open an issue or join our discussions!