Streamlit-coco — bring Snowflake CoCo (Cortex Code agent) into your Streamlit app 🐣

Hey folks :waving_hand:

Quick share: I built a little component to drop Snowflake’s CoCo / Cortex Code agent straight into a Streamlit app.

  • panel() streams the agent transcript across reruns
  • tool calls (Glob, Grep, Read, Write, SQL, AskUser…) render as readable cards instead of raw JSON
  • Write / Edit / Bash / SQL pause for a human Approve once / Always allow / Deny
  • plus a headless query() for scripts & CI
pip install "streamlit-coco[sdk]"

Full honesty: it’s 0.1.0, alpha, and 100% vibe-coded :sweat_smile: — the API may still move and there are rough edges. Sharing it early because it might be useful to someone, and I’d love feedback / issues / ideas.

Repo :backhand_index_pointing_right: GitHub - DevoteamSP/streamlit-coco: Streamlit component and Python library for Snowflake CoCo (Cortex Code) · GitHub

Thanks for your indulgence, and happy building! :balloon:

11 Likes