
Introducing Calliope CLI: Open Source Multi-Model AI for Your Terminal
Your Terminal Just Got Superpowers Today we’re releasing Calliope CLI as open source. It’s a multi-model AI …

Jupyter notebooks are where data work happens. Exploration, analysis, visualization—all in one interactive document. But switching between your notebook and an AI assistant breaks flow.
The %calliope magic command brings AI directly into your notebook cells.
Jupyter magic commands are special commands prefixed with % that extend notebook functionality. The %calliope magic gives you AI capabilities without leaving your notebook.
The most powerful feature: ask questions in plain English, get SQL.
%calliope ask-sql What were total sales by region last quarter?
Calliope understands your database schema, writes the appropriate SQL, executes it, and returns results—all in one command.
Already know what query you want? Execute it directly:
%calliope run-sql SELECT customer_id, sum(amount) FROM orders GROUP BY 1
Results display inline in your notebook, ready for further analysis.
Need to discuss, explain, or brainstorm?
%calliope chat Explain what this correlation matrix is showing me
Have a conversation about your data, your code, or your analysis—without switching applications.
List available databases:
%calliope list-datasources
Add new connections:
%calliope add-database
Your data sources are a command away.
Different tasks benefit from different models. Switch easily:
%calliope ask-sql -m claude What's our customer lifetime value?
Or use model shortcuts:
gpt4o → OpenAI GPT-4oclaude → Anthropic Claude 3.5 Sonnetgemini → Google Geminillama → Local Llama via OllamaList available models:
%calliope list-models
When your query returns data suitable for visualization, Calliope automatically generates Plotly charts. Ask for “sales by month” and get a chart, not just a table.
Long analyses stream results as they’re generated. Watch the AI think through your problem in real-time.
The magic command supports all major providers:
Configure once, switch anytime.
# Start by exploring available data
%calliope list-datasources
# Ask a question in natural language
%calliope ask-sql Which products have declining sales this quarter?
# Get more details
%calliope ask-sql Show me monthly trends for those products
# Discuss the results
%calliope chat What might explain this pattern?
# Generate a summary
%calliope chat Write a brief analysis of this trend for my report
Your entire analysis flow—from data exploration to final report—happens in your notebook.
The %calliope magic command is available in AI Lab. Load the extension:
%load_ext calliope
Then start using %calliope commands in any cell.

Your Terminal Just Got Superpowers Today we’re releasing Calliope CLI as open source. It’s a multi-model AI …

Understanding the Math Behind Modern AI Vector embeddings are everywhere in AI now. They power RAG systems, semantic …