- Fork the repo
pip install -e ".[dev,memory]"- Create a branch:
git checkout -b feature/my-feature
# Run tests
python -m pytest tests/unit
# Code style
ruff check pacificapilot/pacificapilot/
├── agents/ # Chat Agent + Loop Agent
├── core/ # Trading, market data, risk
├── providers/ # AI adapters (Anthropic, OpenAI, Google, OpenRouter)
├── memory/ # Supermemory wrapper (PilotMemory)
├── ui/ # Textual TUI + legacy REPL
├── storage/ # Config JSON + secrets
- Tests pass (
python -m pytest tests/unit) - New features include tests
- No
print()orinput()in agent code (use hooks for TUI) -
SUPERMEMORY_API_KEYis optional — memory failure never blocks trading
- Add tool schema to
TRADING_TOOLSinagents/tools.py - Add
elif tool_name == "your_tool":handler inexecute_tool() - Add tests in
tests/unit/
All contributors must follow our Code of Conduct.
MIT — see LICENSE.