Installation
Get CosmaSense installed and start searching your files in three simple steps.Step 1: Download and Install
Clone from GitHub
Clone from GitHub
CosmaSense is currently available in alpha testing through GitHub.
macOS app coming soon! Currently available as CLI and TUI.
Install Dependencies
Install Dependencies
CosmaSense requires Python 3.8+ and uses a monorepo structure with shared dependencies.
Step 2: Start the Backend
Launch the Backend Server
Launch the Backend Server
The backend runs as a daemon process on port 60534.The backend will:
- Initialize the SQLite database with vector search capabilities
- Start watching for file changes
- Listen for search requests on
http://localhost:60534
Watch Your First Directory
Watch Your First Directory
Tell CosmaSense which directory to index:CosmaSense will automatically:
- Discover all files in the directory
- Parse them using MarkItDown
- Generate AI summaries and keywords
- Create embeddings for semantic search
Step 3: Start Searching
Launch the TUI
Launch the TUI
Use the Terminal UI to search your files:The TUI provides:
- Real-time search as you type (0.5s throttled)
- Live indexing status updates via SSE
- File preview and selection (fzf-style)
- “tax documents from 2023”
- “python code with API calls”
- “meeting notes about project roadmap”
Quick Usage Examples
Next Steps
Now that CosmaSense is running, explore these topics:How Search Works
Learn about hybrid semantic and keyword search.
Backend Architecture
Understand the async pipeline and processing stages.
API Reference
Explore all available API endpoints.
Watch Directories
Add directories to watch and start indexing files.
Need help? Check out our GitHub issues or read the development guide.