I started work on a patch that adds a CLI:
https://github.com/tcatm/bitcoin/tree/cli$ ./bitcoind
Welcome to Bitcoin, the digital crypto currency. (0.3.22-beta)
Type: 'help' for help with commands
'stop' to quit
> getinfo
{"result":{"version":32200,"balance":1.64048576,"blocks":120928,"connections":1,"proxy":"","generate":false,"genproclimit":1,"difficulty":92347.59095209,"hashespersec":0,"testnet":false,"keypoololdest":2465843123,"paytxfee":0.00000000,"errors":""},"error":null,"id":1}
> help sendmany
{"result":"sendmany <fromaccount> {address:amount,...} [minconf=1] [comment]\namounts are double-precision floating point numbers","error":null,"id":1}
> stop
Shutdown initiated. Thank you for using Bitcoin!
$