r/snowflake • • Aug 08 '26

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

Post image

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 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**  — 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  GitHub - DevoteamSP/streamlit-coco: Streamlit component and Python library for Snowflake CoCo (Cortex Code) · GitHub

Thanks for your indulgence, and happy building! 

6 Upvotes

6 comments sorted by

2

u/oroberos Aug 08 '26

Interesting! What are serious use cases for this?

1

u/Lopsided_Coat388 Aug 08 '26

Mostly for business users:
- Run skills from within a streamlit app
- Prototype apps, dashboards
- Distribute skills-based apps in marketplace (using Api mode, working on it)
- and much more :)

1

u/oroberos Aug 08 '26

So you say you can open a Streamlit app in a Streamlit app?

1

u/Lopsided_Coat388 Aug 08 '26

Not sure, but really certainly expand an existing streamlit app

1

u/Putrid-Ranger9824 Aug 12 '26

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