Skip to main content

Usage

glosso logs [options]

Options

FlagTypeDefaultDescription
--tailnumber50Number of recent entries to show
--typestringallFilter by event type (e.g. tool_success, policy_block)
--followbooleanfalseStream new entries as they arrive (like tail -f)

Event Types

TypeDescription
agent_startSession started — mode, network, model
agent_roundAgent loop round number
agent_thinkingModel’s reasoning text (truncated)
agent_endSession completed
tool_callTool invoked with arguments
tool_successTool returned successfully — includes result detail
tool_errorTool threw an error
price_checkPrice feed query result
balance_checkBalance query result
policy_blockTransaction blocked by policy engine

Examples

# Show last 50 entries
glosso logs

# Show last 100 entries
glosso logs --tail 100

# Show only policy blocks
glosso logs --type policy_block

# Stream live
glosso logs --follow

Log File Location

Logs are stored as JSON Lines at ~/.glosso/activity.log. Each line is a valid JSON object. You can parse them directly:
# All policy blocks today
cat ~/.glosso/activity.log | grep '"type":"policy_block"' | jq .