Agent Monitoring
View agent status and logs.
Commands
- sekuire agent-status - Show detailed runtime status
- sekuire logs - View recent agent logs
agent-status
Show detailed runtime status for an agent.
sekuire agent-status <AGENT_ID> [OPTIONS]
Options
| Option | Description |
|---|---|
--registry <URL> | Registry URL (default: https://api.sekuire.ai) |
Example
Terminal
$ sekuire agent-status 7f8a9b3c2d1e
Agent: my-agent v1.0.0
Sekuire ID: 7f8a9b3c2d1e...
Runtime: active
Verified: verified
Reputation: 85
Heartbeat: 2024-01-15T10:30:00Z
Output Fields
| Field | Description |
|---|---|
| Name | Agent name and version |
| Sekuire ID | Content-addressable identity hash |
| Runtime | Current status: active, paused, terminated, or unknown |
| Verified | Verification status: verified, unverified, or pending |
| Reputation | Trust score (0-100) |
| Heartbeat | Last heartbeat timestamp |
| Pending | Any pending commands (if applicable) |
Runtime States
| State | Description |
|---|---|
active | Agent is running and accepting tasks |
paused | Agent is paused via sekuire stop |
terminated | Agent was terminated via sekuire kill |
unknown | No heartbeat received recently |
logs
View recent logs for an agent.
sekuire logs <AGENT_ID> [OPTIONS]
Options
| Option | Description |
|---|---|
--limit <N> | Number of log entries (default: 20) |
--registry <URL> | Registry URL (default: https://api.sekuire.ai) |
Example
Terminal
$ sekuire logs 7f8a9b3c2d1e --limit 50
[2024-01-15T10:30:00Z] INF heartbeat {}
[2024-01-15T10:29:45Z] INF task_completed tool=get_weather
[2024-01-15T10:29:30Z] INF task_started tool=get_weather
[2024-01-15T10:28:00Z] WRN rate_limit_warning requests=95
[2024-01-15T10:27:00Z] INF heartbeat {}
[2024-01-15T10:26:30Z] ERR tool_execution_failed tool=send_email message=SMTP connection refused
Log Format
[timestamp] SEVERITY event_type detail
Severity Levels
| Level | Label | Description |
|---|---|---|
| Info | INF | Normal operations |
| Warning | WRN | Warnings that may need attention |
| Error | ERR | Errors that affected execution |
| Debug | DBG | Debug information |
Common Event Types
| Event Type | Description |
|---|---|
heartbeat | Periodic health check |
task_started | Task execution began |
task_completed | Task finished successfully |
tool_execution_failed | Tool call failed |
rate_limit_warning | Approaching rate limits |
policy_violation | Action blocked by policy |
bootstrap_complete | Agent startup finished |
Use Cases
Debugging Issues
# Check current status
sekuire agent-status 7f8a9b3c
# View recent errors
sekuire logs 7f8a9b3c --limit 100 | grep ERR
Monitoring Health
# Check heartbeat timestamp
sekuire agent-status 7f8a9b3c
# View recent activity
sekuire logs 7f8a9b3c --limit 10
Audit Review
# View extended history
sekuire logs 7f8a9b3c --limit 500
Dashboard Integration
For real-time monitoring and visualization, use the Sekuire Dashboard:
- Live Logs: Stream logs in real-time
- Metrics Charts: CPU, memory, request rates
- Alert Configuration: Set up notifications for errors
- Audit Trail: Full searchable history
Access the dashboard at https://sekuire.ai/dashboard.