Overview
Thetruffile CLI is your interface to Truffle. Use it to discover and connect to devices, use Convo with the on-device agent, run raw model inference, and deploy apps.
truffile with no arguments opens the Convo REPL in an
unsent side-thread draft.
Scriptable commands
Most workflows can be driven with explicit arguments, which makes them easy to test in CI or from another agent:Connecting to Your Truffle
You need to connect to a device before you can use Convo, run inference, or manage apps.Scan for devices
Connect directly
If you already know your device name:--user-id, you’ll be prompted for your User ID (found in Symphony > Settings), then asked to approve the connection on your device.
Credentials are saved locally — subsequent connections are automatic.
Before
truffile connect, onboard the device in the Symphony desktop client. Download Symphony from the client overview, finish device onboarding there, copy your User ID from Symphony > Settings, then approve the session on your Truffle when the CLI asks.Loading agent resources
truffile ships with agent-readable skills and example apps. Copy them into
your current workspace when you want a coding agent to inspect them directly:
Disconnect
Convo Mode
Convo connects to the authenticated user’s stateful on-device agent. Main is thread0; user conversations otherwise live in side threads. Legacy Task
histories are not migrated or listed after the one-way cutover.
/new for another draft or
/main to opt into Main explicitly.
Sending messages
Type your message and press Enter to send. Use Alt+Enter for multi-line input.Threads and history
Use/threads to list and switch among user-visible threads. System and
Bulletin threads are omitted. Messages and replies remain in the selected
thread, and /history shows its durable history.
Type /help inside Convo to see all commands.
/tasks, /resume, and /switch are temporary compatibility spellings for
the Convo thread picker. They do not access the retired Task backend.
Installed apps
Inspect installed apps with either discovery-only command:/apps, --app, and dynamic /<app> sends are
unavailable. The agent can still discover installed tools and decide whether
to use them through normal routing.
For all targeting, listing, action, JSON, and exit-code details, see
Convo automation. For the complete interactive model,
see Convo.
Exiting
Infer Mode
Infer mode gives you direct access to model inference with full control over generation parameters, MCP tool integration, and image input.CLI flags
Generation controls
All settings can be viewed and changed live inside the REPL. Run the command without an argument to see the current value.Built-in tools
When tools are enabled (/tools on, the default), the model can use:
web_search— search the web and return top resultsweb_fetch— fetch a URL and extract readable text
Image attachments
Attach an image to your next message with/attach:
MCP integration
Connect external MCP servers to give the model additional tools. Only streamable HTTP transport is supported.Conversation management
Keyboard Shortcuts
These work in both Convo and Infer modes.App Management
Create a new app
truffile.yaml, foreground/background entry points, and a default icon.
Validate an app
truffile.yaml configuration and Python file syntax.
Deploy an app
- Validates
truffile.yamland Python syntax - Resolves app shape (foreground, background, or both)
- Uploads files and runs installation steps
- Registers the app with the device
oauth steps print an authorization URL and ask for the pasted callback URL or code. welcome steps print their content and wait for Enter. vnc / browser setup steps are rejected by validation and should be installed through Symphony Settings.
