# Self Inspection (and sqlite)

Models are great at SQL. We use SQLite as Shelley's datastore,
allowing Shelley conversations to introspect. Some example prompts:
* Given the conversations so far, what would you suggest we add to AGENTS.md?
* How much money have I spent on Shelley conversations this week?
* What is my most popular model?
* How did we log into that CI machine last time we did it?

<figure class="shot">
<picture>
<source srcset="/media/self-inspection-dark.png" media="(prefers-color-scheme: dark)">
<img src="/media/self-inspection-light.png" width="1280" height="1340" loading="lazy" alt="Asked what happened today, Shelley queries its own SQLite database of conversations and summarizes them.">
</picture>
</figure>
