Slack brings new code capabilities to its platform in an attempt to enable better collaboration between humans and AI agents.