Examples

Practical flows in the interactive shell. Launch it with cos, then type naturally.

Ask a technical question

text
❯ Explain JWT authentication.
● JWTs are signed tokens that carry claims between parties…
☼ Computed in 3s

Generate code

text
❯ Generate a React login form component.
● Here is a minimal, accessible login form:
  ```tsx
  export function LoginForm() { … }
  ```
☼ Crafted in 4s

Review a query

text
❯ Review this SQL query for injection risks:
  SELECT * FROM users WHERE email = '${input}';
● This concatenates user input directly into SQL — use a parameterized query…
☼ Analyzed in 3s

Upload a file, then ask about it

text
❯ /upload api.pdf
  ✓ Uploaded api.pdf · processing…

❯ Search the uploaded API doc: how do I paginate results?
● The API paginates with limit and offset parameters…
☼ Explored in 5s
Switch behavior mid-session with /mode, or the engine with /model — see Models & Modes.