To automate AutoCAD, instantiate the Autocad class to connect to the running application. You can use APoint to handle 3D coordinates easily. The Autocad object provides access to the doc (document) and model (model space) for creating entities like Text, Lines, and Circles.
from pyautocad import Autocad, APoint
acad = Autocad()
acad.prompt("Hello, Autocad from Python\n")
print acad.doc.Name
p1 = APoint(0, 0)
p2 = APoint(50, 25)
for i in range(5):
text = acad.model.AddText('Hi %s!' % i, p1, 2.5)
acad.model.AddLine(p1, p2)
acad.model.AddCircle(p1, 10)
p1.y += 10