r/snowflake • u/Lopsided_Coat388 • Aug 08 '26
streamlit-coco — bring Snowflake CoCo (Cortex Code agent) into your Streamlit app
Hey folks
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 rerunstool 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** — 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.
Thanks for your indulgence, and happy building!
1
1
u/Putrid-Ranger9824 Aug 12 '26
Have you tried the CoCo SDK for this: https://docs.snowflake.com/en/user-guide/cortex-code-agent-sdk/cortex-code-agent-sdk
1
u/Lopsided_Coat388 Aug 13 '26
streamlit-coco is fully based on CoCo SDK yes, the purpose is to provide a more packaged UX
2
u/oroberos Aug 08 '26
Interesting! What are serious use cases for this?