Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1,637 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Triggerfish

๐Ÿ  Triggerfish

A secure, multi-channel AI agent platform with deterministic policy enforcement below the LLM layer.

Your data stays classified. Your policies stay enforced. No exceptions.

Latest Release Release Date Apache 2.0 License Deno LLMs


๐ŸŒŠ Quick Install

One command. That's it.

Linux / macOS:

curl -sSL https://raw.githubusercontent.com/greghavens/triggerfish/master/scripts/install.sh | bash

Windows:

irm https://raw.githubusercontent.com/greghavens/triggerfish/master/scripts/install.ps1 | iex

Docker:

curl -sSL https://raw.githubusercontent.com/greghavens/triggerfish/master/deploy/docker/install.sh | sh

The binary installers download a pre-built release, verify its checksum, and run the setup wizard. The Docker installer pulls the container image, installs a triggerfish CLI wrapper, and runs the setup wizard. See the Installation & Deployment guide for Docker setup, building from source, and the release process.


๐Ÿš Commands

Command Description
triggerfish dive ๐Ÿคฟ First-run setup wizard
triggerfish run ๐Ÿ„ Run gateway in foreground
triggerfish start ๐Ÿš€ Install and start the daemon
triggerfish stop ๐Ÿ›‘ Stop the daemon
triggerfish status ๐Ÿ“ก Check if the daemon is running
triggerfish logs ๐Ÿ“œ View daemon logs (--tail to follow)
triggerfish patrol ๐Ÿ” Run health diagnostics
triggerfish version ๐Ÿท๏ธ Show version

๐Ÿ—๏ธ How It Works

                       ๐Ÿชธ The Reef
                    (Skill Marketplace)
                           |
Telegram  Signal  Slack  Discord  WhatsApp  WebChat  Email  Google Chat  CLI
   |        |       |       |        |         |       |        |         |
   +--------+-------+-------+--------+---------+-------+--------+---------+
                           |
                     Channel Router
                  (classification gate)
                           |
                     Gateway Server
                  (WebSocket control plane)
                           |
               +-----------+-----------+
               |                       |
         Policy Engine            Agent Loop
        (deterministic)          (LLM provider)
               |                       |
         +-----+-----+          +-----+-----+
         |     |     |          |     |     |
       Hooks Taint  Audit    Claude  GPT  Gemini
             Track   Log     Ollama  ...  Any LLM

๐Ÿ”’ Security Model

Triggerfish enforces security below the LLM layer. The AI cannot bypass, modify, or influence policy decisions.

Principle How It Works
๐Ÿท๏ธ Classification Every piece of data carries a sensitivity label: PUBLIC, INTERNAL, CONFIDENTIAL, or RESTRICTED
๐ŸŽจ Taint Propagation Sessions absorb the classification of data they touch. Taint only escalates, never decreases
๐Ÿšซ No Write-Down CONFIDENTIAL data can never flow to a PUBLIC channel. The policy engine blocks it before the LLM sees it
โš™๏ธ Deterministic Hooks Policy decisions are pure functions. No LLM calls, no randomness. Same input โ†’ same decision
๐Ÿ“‹ Audit Trail Every policy decision is logged with full context: timestamp, hook, session, input, result

๐Ÿ’ฌ Channels

Triggerfish connects to your existing messaging platforms. Each channel has its own classification level and owner settings.

Channel Default Classification
๐Ÿ’ป CLI INTERNAL
โœˆ๏ธ Telegram INTERNAL
๐Ÿ”’ Signal PUBLIC
๐Ÿ’ผ Slack PUBLIC
๐ŸŽฎ Discord PUBLIC
๐Ÿ“ฑ WhatsApp PUBLIC
๐ŸŒ WebChat PUBLIC
๐Ÿ“ง Email CONFIDENTIAL
๐Ÿ’ฌ Google Chat PUBLIC

Note: All classifications are configurable. Set any channel to any level in your triggerfish.yaml.


โš™๏ธ Configuration

After running triggerfish dive, your config lives at ~/.triggerfish/triggerfish.yaml:

models:
  primary: claude-sonnet-4-5
  providers:
    anthropic:
      model: claude-sonnet-4-5
    openai:
      model: gpt-4o
    google:
      model: gemini-2.0-flash
    ollama:
      model: llama3
    fireworks:
      model: accounts/fireworks/models/llama-v3p1-70b-instruct

channels:
  telegram:
    botToken: "your-bot-token"
    ownerId: 123456789
  slack:
    botToken: "xoxb-..."
    appToken: "xapp-..."
    signingSecret: "..."
  discord:
    botToken: "your-discord-bot-token"
    ownerId: "your-discord-user-id"

classification:
  mode: personal

9 providers are supported out of the box โ€” see the table below.


๐Ÿง  LLM Providers

Switch between providers or configure failover chains.

Provider Auth Models
๐ŸŸ  Anthropic API key Claude Opus, Sonnet, Haiku
๐ŸŸข OpenAI API key GPT-4o, o1, o3
๐Ÿ”ต Google API key Gemini Pro, Flash
๐Ÿ  Ollama None (local) Llama, Mistral, CodeLlama, etc.
๐Ÿ–ฅ๏ธ LM Studio None (local) Any GGUF model
๐ŸŒ OpenRouter API key Any model on OpenRouter
โšก ZenMux API key Multi-provider routing
๐Ÿค– Z.AI API key GLM-4.7, GLM-4.5, GLM-5
๐Ÿ”ฅ Fireworks API key Llama, Mixtral, and more

๐Ÿ”— Integrations

GitHub

Connect GitHub with a single command:

triggerfish connect github

This gives the agent 14 built-in tools for repos, PRs, issues, Actions, and code search โ€” all with classification-aware taint propagation (public repos = PUBLIC, private = CONFIDENTIAL).

For the full development feedback loop (agent creates branches, opens PRs, responds to code review), Triggerfish also supports webhooks and the gh CLI:

Component Role
Built-in github_* tools REST API access to repos, PRs, issues, Actions, search
Webhooks Receive PR review events from GitHub in real time
gh CLI via exec Create PRs, comment, merge from the agent
git-branch-management skill Teaches the agent the full branch/PR/review workflow

See the GitHub integration docs for full setup instructions.

Google Workspace

Connect Google with a single command:

triggerfish connect google

5 tools covering the core Google Workspace suite:

Tool Capabilities
google_calendar List, create, update, and delete calendar events
google_drive Search, read, and manage Drive files
google_gmail Read, search, send, and label emails
google_sheets Read and write spreadsheet data
google_tasks Manage task lists and items

Notion

8 tools for full Notion workspace access:

Tool Capabilities
notion.search Search across pages and databases
notion.pages.read Read page content
notion.pages.create Create new pages with rich text
notion.pages.update Update page properties
notion.databases.query Query databases with filters and sorts
notion.databases.create Create new databases
notion.blocks.read Read block content
notion.blocks.append Append blocks to a page

CalDAV

7 tools for any CalDAV-compatible calendar server (Nextcloud, Radicale, etc.):

  • List calendars, list/get/create/update/delete events, query free/busy

Reddit

Read-only Reddit access with rate limiting. Browse subreddits, threads, and comments.

Obsidian

6 tools for Obsidian vault integration:

  • Read, write, search, and list notes
  • Daily notes with template support
  • Wikilink and backlink extraction

๐Ÿงฉ Platform Capabilities

Workflow Engine

Built-in CNCF Serverless Workflow DSL engine for orchestrating multi-step automations. Workflows support self-healing (automatic error recovery), version management, and can be triggered by schedules, webhooks, or agent decisions.

Exec Environment

Isolated code execution sandbox where the agent writes, runs, and debugs its own code in a tight writeโ†’runโ†’fix feedback loop. Each agent gets an isolated workspace directory with controlled process spawning.

MCP Support

Full Model Context Protocol client with a policy-enforced proxy layer. Connect external MCP servers and all tool calls flow through the same classification and taint enforcement as built-in tools.

Plugin System

Extend Triggerfish with plugins running in a Pyodide (WASM) sandbox. The plugin SDK provides a safe, isolated execution environment with a namespace registry for tool discovery.


๐ŸŽฏ Skills

Triggerfish ships with 10 bundled skills that teach the agent specialized workflows:

  • deep-research โ€” Multi-step web research with source synthesis
  • tdd โ€” Test-driven development loop
  • pdf โ€” PDF reading and analysis
  • git-branch-management โ€” Full branch/PR/review workflow
  • integration-builder โ€” Build new integrations
  • skill-builder โ€” Create new skills
  • triggers โ€” Configure proactive agent wakeups
  • mastering-typescript / mastering-python โ€” Language coaching
  • triggerfish โ€” Platform self-documentation

Skills are folders with a SKILL.md file. Install community skills from The Reef or create your own. See the Skills guide for details.


๐Ÿ  Key Concepts

Concept Description
๐Ÿฆด SPINE.md Agent identity and mission file โ€” your system prompt foundation
๐Ÿคฟ Dive First-run setup wizard that creates your triggerfish.yaml
๐Ÿ” Patrol Health check โ€” verifies gateway, LLM, channels, and policies
๐ŸŒŠ Ripple Typing indicators and online status signals
๐ŸŽฏ Skill A folder with SKILL.md that gives the agent new capabilities
โฐ Trigger Periodic agent wakeup for proactive autonomous behavior
๐Ÿ–๏ธ Tide Pool Visual workspace rendered via Agent-to-UI protocol
๐Ÿชธ The Reef Skill marketplace for discovering, installing, and publishing skills (coming soon)

๐ŸŒŸ Get Involved

Triggerfish is open source and we'd love your help.

  • Get started โ€” Run triggerfish dive and have your agent running in minutes
  • Report bugs & request features โ€” Open an issue
  • Contribute โ€” PRs welcome! Check the issues for good first tasks
  • Star the repo โ€” It helps others discover the project โญ
  • Read the docs โ€” trigger.fish

๐Ÿ“„ License

Apache 2.0


๐Ÿ  Secured by design. Powered by the ocean. ๐ŸŒŠ

About

No description, website, or topics provided.

Resources

Security policy

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages