Work / 2025 · Conversational AI
Elyos AI
AI that handles Ctrl+C gracefully
CLI tool with real-time streaming, tool calling, and clean cancellation.
You: What's the weather in Tokyo right now?Assistant:Here's the current weather in Tokyo: • 🌤 Condition: Partly cloudy • 🌡 Temperature: 18°C • 💧 Humidity: 65% Overall, it's a mild and comfortable day in Tokyo! Let me know if you need any other information.
CleanCancellation
ZeroOrphan Tasks
PreservedHistory
The problem
Most AI CLI tools crash or leave orphan processes when you press Ctrl+C mid-response. Conversation state gets corrupted.
How I built it
Built a Python CLI with clean signal handling. Async streaming, tool calling, and cancellation that preserves conversation history up to the interruption point.
PythonLLM APIs
The hard parts
- Python signal handling + asyncio cancellation edge cases
- Partial response cleanup: what to keep, what to discard
- Mid-tool-call cancellation without corrupting external state
- Graceful degradation when multiple cancellations happen rapidly