Extending Lobster
Create custom agent packages for Lobster AI
Extending Lobster
Build custom agent packages that integrate with the Lobster ecosystem.
Overview
Lobster's plugin architecture allows you to:
- Create domain-specific agents
- Add custom services
- Extend the CLI
- Build enterprise integrations
Getting Started
Prerequisites
- Python 3.11-3.14 (3.12+ recommended)
- uv (recommended) or pip
- Understanding of LangGraph agents
Quick Start
# Clone the template
git clone https://github.com/the-omics-os/lobster-custom-template
cd lobster-custom-template
# Rename for your package
mv lobster_custom_template lobster_custom_mypackage
# Install for development
uv pip install -e .Plugin Contract
Your package must:
- Register via entry points in
pyproject.toml - Define AGENT_CONFIG at module top (before heavy imports)
- Follow factory signature for agent creation
- Use ServiceProtocol for service implementations
See Package Structure for details.