22
33![ ] ( https://github.com/alexylon/sofos-code/actions/workflows/rust.yml/badge.svg )
44
5- A blazingly fast, interactive AI coding assistant powered by Claude or OpenAI , implemented in pure Rust, that can generate code, edit files, and search the web - all from your terminal.
5+ A blazingly fast, interactive AI coding assistant powered by Claude or GPT , implemented in pure Rust, that can generate code, edit files, and search the web - all from your terminal.
66
77<div align =" center " ><img src =" /assets/sofos_code.png " style =" width : 800px ;" alt =" Sofos Code " ></div >
88
99## Features
1010
11- - ** Interactive REPL** - Multi-turn conversations with Claude or OpenAI
11+ - ** Interactive REPL** - Multi-turn conversations with Claude or GPT
1212- ** Session History** - Automatic session saving and resume previous conversations
1313- ** Custom Instructions** - Project and personal instruction files for context-aware assistance
1414- ** File Operations** - Read, write, list, and create files/directories (sandboxed to current directory)
@@ -17,7 +17,7 @@ A blazingly fast, interactive AI coding assistant powered by Claude or OpenAI, i
1717- ** Web Search** - Real-time web information via Claude's native search tool
1818- ** Bash Execution** - Run tests and build commands safely (read-only, sandboxed)
1919- ** Visual Diff Display** - See exactly what changed with colored diffs (red for deletions, blue for additions)
20- - ** Iterative Tool Execution** - Claude can use up to 200 tools per request for complex multi-file operations
20+ - ** Iterative Tool Execution** - Sofos can use up to 200 tools per request for complex multi-file operations
2121- ** Session Usage** – After exiting Sofos, a session usage is displayed, including the input and output tokens used and the estimated cost.
2222- ** Secure** - All operations restricted to workspace, prevents directory traversal
2323
@@ -103,7 +103,7 @@ Estimated cost: $0.1304
103103** Cost Calculation:**
104104- Costs are calculated based on official model pricing
105105- Claude models use official Anthropic pricing (e.g., Sonnet 4.5: $3/$15 per million input/output tokens)
106- - OpenAI models use estimated pricing ($5/$15 per million tokens for gpt-5.1-codex models)
106+ - OpenAI models use official OpenAI pricing ($1.25/$10 per million tokens for gpt-5.1-codex and gpt-5.1-codex-max models)
107107- Accurate for standard API usage
108108
109109### Options
@@ -249,7 +249,7 @@ MIT License
249249
250250## Acknowledgments
251251
252- Built with Rust and powered by Anthropic's Claude. Morph Apply integration for fast edits. Inspired by Aider and similar tools.
252+ Built with Rust and powered by Anthropic's Claude or OpenAI's GPT . Morph Apply integration for fast edits. Inspired by Aider and similar tools.
253253
254254---
255255
0 commit comments