Skip to content

Soljunge/Trenchsi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

43 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Trenchsi πŸͺ™πŸ€–

License: MIT Built With: Go Interface: CLI Agent Channel: Telegram Gateway: Enabled

Trenchsi shrimp avatar

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/.

Who Uses It

  • 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 🧠

What The Agent Can Do

  • 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, and MEMORY.md πŸ“š
  • Schedule recurring work with built-in cron commands ⏰
  • Run as a gateway for always-on or multi-channel agent operation πŸšͺ

Repository Layout

  • README.md: project landing page and quick start
  • trenchsi/: agent source code, docs, workspace scaffold, and packaging
  • trenchsi/docs/: provider, channel, and architecture docs
  • trenchsi/workspace/: default workspace identity, memory, and tool instructions

Quick Start πŸš€

Shortest path:

  1. Build the CLI
  2. Run onboarding
  3. Set a default model
  4. Start the agent

1. Build the CLI

From the repository root:

cd trenchsi
go build -o trenchsi ./cmd/trenchlaw

2. Run onboarding

./trenchsi onboard

This creates the local config and workspace files. install is an alias:

./trenchsi install

3. Set a default model

You can do this during onboarding or later with the CLI:

./trenchsi auth login
./trenchsi auth status
./trenchsi model
./trenchsi model gpt-5.4

If 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.

4. Start the agent

For normal use:

./trenchsi

If 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 version

Most Used Commands ⚑

Use 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 jobs

Interfaces πŸŽ›οΈ

trenchsi is the main entry point.

  • trenchsi: opens the startup selector in an interactive terminal
  • trenchsi agent: skips the selector and starts terminal chat
  • trenchsi 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.

Channel Integrations πŸ“‘

Trenchsi can operate across external messaging platforms through the gateway.

Documented channel:

  • Telegram

Start the gateway with:

./trenchsi gateway

Channel setup docs:

Skills, Memory, And Workspace Customization 🧬

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:

Skill management commands:

./trenchsi skills list
./trenchsi skills search git
./trenchsi skills install <github-repo>
./trenchsi skills remove <skill-name>

Scheduling And Automation ⏳

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>

Documentation πŸ“–

Notes πŸ“

  • The package metadata inside trenchsi/ still references trenchlaw in several places. The repo name and top-level presentation use Trenchsi.
  • .DS_Store files are currently modified in the repository and were not changed by this README update.

About

Trenchsi is a lightweight AI trading agent built for memecoin trenching. It helps with fast market research, trade setup support, signal tracking, risk framing, and execution workflows across terminal, web, and chat channels, while also using tools, memory, skills, and automation to stay useful in real trading operations.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors