A lightweight daemon that connects to a control plane and executes AI agent tasks in your environment.
curl -fsSL https://cursord.jasonsmale.com/install.sh | bash
Or non-interactively:
curl -fsSL https://cursord.jasonsmale.com/install.sh | CURSORD_CONTROL_PLANE=https://your-api.com bash
cursord run --control-plane https://your-api.com --name "my-daemon" --tools /path/to/tools.json
Tools are defined in a JSON file. Each tool has a name, description, parameters (JSON Schema), and a shell command template.
{
"tools": [
{
"name": "execute_sql",
"description": "Execute a SQL query",
"parameters": {
"type": "object",
"properties": {
"query": { "type": "string", "description": "SQL query" }
},
"required": ["query"]
},
"command": "psql \"$DATABASE_URL\" -c {{.query | shellquote}}",
"env": ["DATABASE_URL"],
"timeout": 30000
}
]
}
shellquote - Safely quotes values for shell use. Always use this for user input.
"command": "cat {{.filename | shellquote}}"
CURSORD_CONTROL_PLANE - Control plane URLCURSORD_NAME - Daemon display nameCURSORD_TOOLS - Path to tools.jsonsudo systemctl status cursord sudo journalctl -u cursord -f
launchctl list | grep cursord tail -f ~/Library/Logs/cursord/cursord.log