| Crates.io | trustee |
| lib.rs | trustee |
| version | 0.1.0 |
| created_at | 2025-11-06 12:18:22.107789+00 |
| updated_at | 2025-11-06 12:18:22.107789+00 |
| description | A general-purpose agent that can morph into different specialized agents using WASM lifecycle plugins |
| homepage | https://trustee.podtan.com |
| repository | https://github.com/podtan/trustee |
| max_upload_size | |
| id | 1919530 |
| size | 127,008 |
A general-purpose agent that can morph into different specialized agents using WASM lifecycle plugins.
Trustee is a terminal-first agent framework implemented in Rust that can dynamically adapt its behavior by loading different WASM lifecycle plugins. Unlike specialized agents that are built for specific domains, Trustee can morph into coding agents, research assistants, data analysts, or any other specialized agent type through its plugin architecture.
# Clone the repository
git clone https://github.com/podtan/trustee.git
cd trustee
# Build the project
cargo build --release
# Install to ~/.local/bin
cp target/release/trustee ~/.local/bin/
cargo install trustee
# For OpenAI
export OPENAI_API_KEY="sk-your-key-here"
# For GitHub Copilot
export GITHUB_TOKEN="ghu-your-token-here"
# For Anthropic
export ANTHROPIC_AUTH_TOKEN="sk-ant-your-key-here"
trustee run "Help me analyze this codebase and suggest improvements"
Trustee uses a TOML configuration file located at config/trustee.toml. The configuration includes:
Trustee's morphing capability comes from WASM lifecycle plugins that define different agent types:
Lifecycle plugins are written in languages that compile to WebAssembly and implement the lifecycle interface defined in the WIT (WebAssembly Interface Types) specification.
Trustee is built on a modular architecture using several key crates:
# Debug build
cargo build
# Release build
cargo build --release
# Run tests
cargo test
trustee/
├── src/
│ └── main.rs # Entry point using ABK convenience function
├── config/
│ └── trustee.toml # Configuration file
├── providers/ # WASM provider binaries
├── lifecycles/ # WASM lifecycle plugins
├── AGENTS.md # Development guidelines
├── CHANGELOG.md # Version history
└── README.md # This file
# Run with confirmation mode (default)
trustee run "Refactor this function to be more efficient"
# Run in YOLO mode (no confirmations)
trustee run --yolo "Update all dependencies"
# Use a specific mode
trustee run --mode human "Help me debug this issue interactively"
# List previous sessions
trustee sessions --list
# Resume a specific session
trustee resume --session abc123
# Resume the latest session
trustee resume --latest
# Show current configuration
trustee config --show
# Edit configuration file
trustee config --edit
# Validate configuration
trustee config --validate
We welcome contributions! Please see our contributing guidelines for details.
git clone https://github.com/yourusername/trustee.gitgit checkout -b feature/your-featurecargo testThis project is licensed under the MIT License - see the LICENSE file for details.
Trustee builds upon several key technologies and projects:
Trustee - Morph into the agent you need, when you need it.