AgentRun objects, create an AgentRunWriter object with docent.init(). It will automatically create a new collection to write to, or you can pass an existing collection_id.
AgentRun objects to writer.log_agent_runs().
log_agent_runs will block the calling thread when the queue is full, but you can pass queue_maxsize <= 0 to make the queue size infinite.
To override defaults, manually create an AgentRunWriter instance:
.finish()
AgentRunWriter thread will persist up to shutdown_timeout seconds to finish uploading queued runs, after which it will cancel pending requests and close the thread. Call .finish(force=True) to close the thread immediately.
