Trenchsi is the trench rig for memecoin operators, crypto degens, builders, and power users who want an AI agent that moves fast and stays useful.
It gives you terminal chat, model selection, workspace memory, skills, scheduled jobs, and gateway-driven channel integrations so you can keep the alpha flowing without living in five different tools.
This repo contains the main project landing page plus the agent core in trenchsi/.
- Solo traders who want an AI sidekick in the terminal π€
- Memecoin trenchers who need fast operator workflows πͺ
- Crypto builders wiring agent automation into their stack βοΈ
- Community leads running Telegram, Discord, Slack, and other channels π£
- Tinkerers who want reusable skills, memory, and scheduled jobs π§
- Chat directly in the terminal with a configurable default model π¬
- Launch in three modes: terminal agent, web console, and TUI dashboard π₯οΈ
- Connect to external channels such as Telegram, Discord, Slack, Matrix, LINE, QQ, Weixin, DingTalk, Feishu, and more π
- Use multiple model providers through a model-centric configuration π
- Manage reusable skills for specialized workflows π οΈ
- Keep workspace context with files such as
AGENT.md,USER.md,SOUL.md, andMEMORY.mdπ - Schedule recurring work with built-in cron commands β°
- Run as a gateway for always-on or multi-channel agent operation πͺ
README.md: project landing page and quick starttrenchsi/: agent source code, docs, workspace scaffold, and packagingtrenchsi/docs/: provider, channel, and architecture docstrenchsi/workspace/: default workspace identity, memory, and tool instructions
Shortest path:
- Build the CLI
- Run onboarding
- Set a default model
- Start the agent
From the repository root:
cd trenchsi
go build -o trenchsi ./cmd/trenchlaw./trenchsi onboardThis creates the local config and workspace files. install is an alias:
./trenchsi installYou can do this during onboarding or later with the CLI:
./trenchsi auth login
./trenchsi auth status
./trenchsi model
./trenchsi model gpt-5.4If you prefer editing config directly, add a model entry such as:
{
"model_name": "gpt-5.4",
"model": "openai/gpt-5.4",
"api_key": "sk-..."
}Provider setup details are in trenchsi/docs/providers.md.
For normal use:
./trenchsiIf onboarding is complete, the interactive launcher lets you choose:
- Terminal Agent
- Web Console
- TUI Dashboard
If you want the terminal agent directly:
./trenchsi agent
./trenchsi agent -m "Summarize the repository and suggest next steps"Useful checks:
./trenchsi status
./trenchsi versionUse these first before exploring the rest of the CLI:
./trenchsi onboard # first-time setup
./trenchsi # launcher: agent, web, or tui
./trenchsi agent # terminal agent directly
./trenchsi auth login # connect a provider
./trenchsi model # list or set the default model
./trenchsi status # confirm config and runtime state
./trenchsi gateway # run integrations and long-lived channels
./trenchsi skills list # inspect installed skills
./trenchsi cron list # inspect scheduled jobstrenchsi is the main entry point.
trenchsi: opens the startup selector in an interactive terminaltrenchsi agent: skips the selector and starts terminal chattrenchsi gateway: runs the always-on gateway for channels and automations
If setup is incomplete, trenchsi sends you to onboarding first. If no default model is configured, trenchsi agent tells you to finish setup or choose a model.
Trenchsi can operate across external messaging platforms through the gateway.
Documented channel:
- Telegram
Start the gateway with:
./trenchsi gatewayChannel setup docs:
trenchsi/docs/channels/telegram/README.mdtrenchsi/docs/channels/discord/README.mdtrenchsi/docs/channels/slack/README.md
The workspace is part of the agent design. Trenchsi ships with editable workspace files that define identity, memory, tools, and user-specific context.
Important files:
trenchsi/workspace/AGENT.mdtrenchsi/workspace/USER.mdtrenchsi/workspace/SOUL.mdtrenchsi/workspace/TOOLS.mdtrenchsi/workspace/memory/MEMORY.md
Skill management commands:
./trenchsi skills list
./trenchsi skills search git
./trenchsi skills install <github-repo>
./trenchsi skills remove <skill-name>Trenchsi includes built-in cron support for recurring work.
Examples:
./trenchsi cron list
./trenchsi cron add
./trenchsi cron enable <job-id>
./trenchsi cron disable <job-id>
./trenchsi cron remove <job-id>- Provider setup:
trenchsi/docs/providers.md - Hooks:
trenchsi/docs/hooks/README.md - Agent refactor notes:
trenchsi/docs/agent-refactor/README.md - Chat app docs:
trenchsi/docs/chat-apps.md
- The package metadata inside
trenchsi/still referencestrenchlawin several places. The repo name and top-level presentation useTrenchsi. .DS_Storefiles are currently modified in the repository and were not changed by this README update.