Deploy agent locally in your own sqlite database
db
command group provides database management and monitoring capabilities for local agent deployments. It includes tools for viewing invocation history, analyzing performance metrics, and maintaining database health.
Command | Description |
---|---|
status | Show database status and agent information |
invocations | List agent invocation history |
invocation | View detailed invocation information |
cleanup | Clean up old database records |
runagent db status
Option | Description | Default |
---|---|---|
--agent-id | Show details for specific agent | None |
--capacity | Show detailed capacity information | false |
--cleanup-days | Clean up records older than N days | None |
runagent db invocations
Option | Description | Default |
---|---|---|
--agent-id | Filter by specific agent | None |
--status | Filter by status (pending/completed/failed) | None |
--limit | Maximum number of results | 20 |
--format | Output format (table/json) | table |
runagent db invocation
Argument | Description | Required |
---|---|---|
invocation_id | Full or partial invocation ID | Yes |
Option | Description | Default |
---|---|---|
--format | Output format (table/json) | table |
runagent db cleanup
Option | Description | Default |
---|---|---|
--days | Remove records older than N days | 30 |
--agent-runs | Also clean old agent_runs table | false |
--yes | Skip confirmation prompt | false |