  We introduce topological invariants of knots and braid conjugacy classes, in
the form of differential graded algebras, and present an explicit combinatorial
formulation for these invariants. The algebras conjecturally give the relative
contact homology of certain Legendrian tori in five-dimensional contact
manifolds. We present several computations and derive a relation between the
knot invariant and the determinant.
