This directory contains the Trenchsi agent core: the Go CLI, startup launcher, web console backend, workspace scaffold, provider stack, tool system, automation features, and multi-channel integrations, with a strong focus on memecoin trenching and trading workflows.
For the main project overview and quick start, go to the repository README.
go build -o trenchsi ./cmd/trenchlaw
./trenchsi onboard
./trenchsiIf you want the terminal agent directly, use:
./trenchsi agentFor Solana trading, use the dedicated runner:
./trenchsi run --strategy solana-trench --dry-runThat path reads its config from config/config.json plus the env vars in .env.example, loads the Solana wallet from SOLANA_PRIVATE_KEY, scans Jupiter token candidates, and applies the conservative trenching filters before any live swap is attempted.
Typical first-run flow:
./trenchsi auth login
./trenchsi model
./trenchsi status- Built for memecoin trenching, trade support, and fast operator workflows
- Interactive startup launcher with terminal, web, and TUI entry points
- Optional Solana trenching runner with dry-run, paper trading, and live swap support
- Configurable providers and models with auth flows and provider fallback support
- Workspace-driven identity, memory, tools, and user customization
- Skill discovery, installation, and per-workspace skill management
- Web search, file operations, shell execution, and extensible tool registry
- MCP integration with deferred tool discovery
- Session history and persistent memory storage
- Gateway-based chat integrations across Telegram, Discord, Slack, Matrix, WhatsApp, QQ, WeCom, Feishu, OneBot, and more
- Agent bindings for routing different channels or contexts to different agents
- Built-in scheduling and recurring jobs with cron commands
- Sandbox controls and sensitive data filtering for safer tool execution
- Configuration:
docs/configuration.md - Providers:
docs/providers.md - Chat apps:
docs/chat-apps.md - Tools:
docs/tools_configuration.md - Hooks:
docs/hooks/README.md - Solana trading: use
trenchsi run --strategy solana-trench --dry-runwith.env.exampleas the starting point - Telegram:
docs/channels/telegram/README.md - Discord:
docs/channels/discord/README.md - Agent refactor notes:
docs/agent-refactor/README.md