Command-line interface for agentd.
agentd run <spec.md> # Run a workflow
agentd ps # List running agents
agentd logs <run-id> # Show logs for a run
agentd stop <run-id> # Stop a running agent
agentd run workflow.md
agentd run workflow.md "override task"
cat input.json | agentd run workflow.md
agentd ps
Output:
RUN ID SPEC STARTED STATUS
20250101-143052-deploy-a1b2c3 deploy.md 2025-01-01 14:30:52 running
20250101-142000-test-b2c3d4 test.md 2025-01-01 14:20:00 exited (0)
Implementation: podman ps --filter name=agentd-* + parse meta.json from log dirs
agentd logs 20250101-143052-deploy-a1b2c3
agentd logs 20250101-143052-deploy-a1b2c3 -f # follow
_/logs/agentd/<run-id>/output.log-f uses tail -fagentd stop 20250101-143052-deploy-a1b2c3
podman stop <run-id>-- Omni/Agentd/Cli.hs
-- : out agentd
-- : dep Omni/Agentd/Spec.hs
-- : dep Omni/Agentd/Runner.hs
Omni/Agentd/Cli.hs--help for each command_/bin/agentd