-
Notifications
You must be signed in to change notification settings - Fork 3
01 getting started
Welcome to Lobster AI! This quick start guide will have you analyzing bioinformatics data in minutes.
- Python 3.11+ (Python 3.12+ recommended)
- Git for cloning the repository
-
LLM Provider (choose one):
- Claude API Key (Recommended - best quality)
- AWS Bedrock Access (For enterprise/AWS users)
- Google Gemini API Key (Free tier available)
- Ollama (Local, privacy-first)
- NCBI API Key (optional, for enhanced literature search)
Quick Decision:
- Want
lobstercommand everywhere? → Global Installation - Working on specific project? → Local Installation
# Install uv if needed
# macOS/Linux: curl -LsSf https://astral.sh/uv/install.sh | sh
# Install Lobster globally
uv tool install lobster-aiThis makes lobster command available system-wide.
# In your project directory
python3 -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install lobster-aiThis installs Lobster in your project's virtual environment only.
Run the interactive configuration wizard:
# For local installation, activate virtual environment first
source .venv/bin/activate # Skip if using global installation
# Launch configuration wizard
lobster initThe wizard will guide you through:
- ✅ Choosing your LLM provider (Anthropic, AWS Bedrock, Google Gemini, or Ollama)
- ✅ Entering your API keys securely (input is masked)
- ✅ Selecting model for your provider (e.g., Gemini 3 Pro vs Flash)
- ✅ Optionally configuring NCBI API key for enhanced literature search
- ✅ Creating two config files:
-
provider_config.json- Provider selection (safe to commit) -
.env- API keys and secrets (never commit)
-
Configuration management:
# Test your configuration
lobster config test
# View current configuration (secrets masked)
lobster config show
# Reconfigure (creates backup)
lobster init --forceManual configuration (advanced users only): If you prefer, create two files manually:
1. .lobster_workspace/provider_config.json (provider selection):
{
"global_provider": "anthropic",
"anthropic_model": "claude-sonnet-4-20250514",
"profile": "production"
}2. .env (API keys - never commit to git):
# Option 1: Anthropic API
ANTHROPIC_API_KEY=sk-ant-api03-xxxxx
# Option 2: AWS Bedrock
AWS_BEDROCK_ACCESS_KEY=your-aws-access-key
AWS_BEDROCK_SECRET_ACCESS_KEY=your-aws-secret-key
# Option 3: Google Gemini
GOOGLE_API_KEY=your-google-api-key
LOBSTER_LLM_PROVIDER=gemini
# Option 4: Ollama (local)
LOBSTER_LLM_PROVIDER=ollama
OLLAMA_BASE_URL=http://localhost:11434
# Optional: NCBI API key
NCBI_API_KEY=your-ncbi-api-key-hereGlobal installation:
# Command works from anywhere
lobster --help
lobster chatLocal installation:
# Activate virtual environment first
source .venv/bin/activate # Windows: .venv\Scripts\activate
# Then use Lobster
lobster --help
lobster chatTry this example in the chat interface:
🦞 You: Download and analyze GSE109564 from GEO database
🦞 Lobster: I'll download and analyze this single-cell RNA-seq dataset for you...
[Downloads data and performs quality control, filtering, clustering, and marker gene analysis]
- Quality control and filtering
- Normalization and scaling
- Clustering (Leiden algorithm)
- Marker gene identification
- Cell type annotation
- Trajectory analysis
- Differential expression with pyDESeq2
- Complex experimental design support
- Batch effect correction
- Pathway enrichment analysis
- Mass spectrometry data processing
- Missing value pattern analysis
- Statistical testing with FDR control
- Protein network analysis
- Affinity proteomics (Olink panels)
- Cross-platform data integration
- Joint clustering and analysis
- Correlation network analysis
- Integrated visualization
- Automatic parameter extraction from publications
- PubMed literature search
- GEO dataset discovery
- Method validation against published results
Once in the chat interface (lobster chat), try these commands:
| Command | Description |
|---|---|
/help |
Show all available commands |
/status |
Display system status and health |
/files |
List files in your workspace |
/data |
Show current datasets |
/plots |
List generated visualizations |
/read <file> |
Display file contents |
/export |
Export complete analysis |
🦞 You: Load my_data.csv as single-cell RNA-seq data and perform standard analysis
🦞 You: Find optimal clustering parameters for my single-cell data based on recent publications
🦞 You: Load GSE12345 and GSE67890, then compare their cell populations
🦞 You: Perform differential expression between clusters 2 and 5 using a negative binomial model
-
Type
/helpin the chat for command reference -
Check
/statusto verify system health -
Use
/filesto see what data is available -
Try
/dashboardfor system overview
Regardless of installation method (global or local), these guides work the same:
- Installation Guide - Detailed installation options
- Configuration Guide - Advanced configuration
- Main Documentation - Complete feature overview
- Discord Community - Get help from the community
Installation fails?
make clean-install # Clean installationAPI errors?
lobster config test # Test API connectivityMemory issues?
export LOBSTER_PROFILE=development # Use lighter resource profileNeed help?
lobster chat # Then type /helpGlobal installation:
uv tool uninstall lobster-aiLocal installation:
source .venv/bin/activate
pip uninstall lobster-ai
deactivate
rm -rf .venv # Optional: remove virtual environmentrm -rf ~/.lobster ~/.lobster_workspaceFor more details, see the Installation Guide.
Ready to dive deeper? Check out the comprehensive installation guide for advanced setup options, Docker deployment, and development installation.