Proxy and agent