You can't create actual AI behaviors in C2 yet.
But you can fake the AI by giving the object a series of logical things to do in response to what.
Things that will be useful in making your AI navigate and avoid obstacles would be the distance() function. Just check if the object is within too close proximity from the obstacle, if it is, make it dodge it or jump etc.