Skip to content

Commit a1821ac

Browse files
committed
implemented initial bedrock ai integration
1 parent f577ed3 commit a1821ac

8 files changed

Lines changed: 508 additions & 102 deletions

File tree

README.md

Lines changed: 41 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Terminal Intelligence (TI)
22

3-
A lightweight CLI-based IDE with integrated AI assistance through Ollama. Features a split-window terminal interface with an integrated code editor and AI assistant for creating, editing, and testing scripts and markdown documents.
3+
A lightweight CLI-based IDE with integrated AI assistance through Ollama, Gemini & Bedrock. Features a split-window terminal interface with an integrated code editor and AI assistant for creating, editing, and testing scripts and markdown documents.
4+
5+
### ~~ ***Early Days but whatch this space*** ~~
46

57
### Menu View & Shotcuts
68
Quick overview of current menu shotcuts and key combinations
@@ -16,7 +18,7 @@ Quick overview of current menu shotcuts and key combinations
1618
- **Multi-Language Support**: Edit and run Bash, PowerShell, Python, Go, and Markdown files
1719
- **Auto-Install Detection**: Automatically detects missing language runtimes and offers to install them
1820
- **Code Editor**: Syntax-aware text editing with line numbers and file type detection
19-
- **AI Integration**: Context-aware AI assistance powered by Ollama or Gemini
21+
- **AI Integration**: Context-aware AI assistance powered by Ollama, Gemini, or AWS Bedrock
2022
- **Agentic Code Fixing**: AI autonomously reads, analyzes, and fixes code directly in the editor
2123
- **Chat History Management**: Save and reload complete AI conversations with Ctrl+A and Ctrl+L
2224
- **Integrated Git Operations**: Full Git workflow support with visual panel interface
@@ -85,13 +87,23 @@ The Git panel supports multiple authentication methods:
8587
- When opening the panel in an existing repository, credentials are automatically loaded from `.git/config`
8688
- Stored credentials are used for subsequent operations
8789

88-
### Navigation
90+
## Tested LLMs
91+
92+
Terminal Intelligence has been tested and verified to work with the following AI models:
8993

90-
- `Tab` or `Down`: Move focus forward (URL → USER → PASS → Buttons → Commit Message)
91-
- `Shift+Tab` or `Up`: Move focus backward
92-
- `Left/Right`: Navigate between buttons when focused on button row
93-
- `Enter`: Activate selected button or submit commit message
94-
- `Esc`: Close the Git panel
94+
| Provider | Model | Notes |
95+
|----------|-------|-------|
96+
| **Ollama** | `qwen2.5-coder:3b` | Recommended for coding tasks |
97+
| | `qwen2.5-coder:1.5b` | Lightweight coding model |
98+
| | `deepseek-coder-v2:16b` | Advanced coding capabilities |
99+
| **Gemini** | `gemini-3-flash-preview` | Fast responses |
100+
| | `gemini-3.1-pro-preview` | Advanced reasoning |
101+
| | `gemini-3.1-flash-lite` | Lightweight and fast |
102+
| **AWS Bedrock** | `anthropic.claude-sonnet-4-6` | Best coding performance |
103+
| | `anthropic.claude-haiku-4-6` | Fast and cost-effective |
104+
| | `anthropic.claude-opus-4-6` | Highest intelligence |
105+
106+
**Note:** AWS Bedrock models automatically use inference profiles for optimal performance and cross-region failover.
95107

96108
### Commit Message Input
97109

@@ -200,100 +212,38 @@ Agentic code fixing works with:
200212
# Clone the repository
201213
git clone https://github.com/user/terminal-intelligence.git
202214
cd terminal-intelligence
215+
```
203216

204217
### Pre-built Binaries
205218

206219
Download pre-built binaries for your platform from the releases page.
207220

208221
## Configuration
209222

210-
The application supports configuration through a JSON file located at `~/.ti/config.json` (or `%USERPROFILE%\.ti\config.json` on Windows).
211-
212-
### Configuration File
213-
214-
On first run, if no config file exists, the application will automatically create a default `config.json` with example values at `~/.ti/config.json`.
215-
216-
You can edit this file to customize your settings. The application will load it automatically on subsequent runs.
217-
218-
**Default Configuration (Ollama):**
219-
220-
```json
221-
{
222-
"agent": "ollama",
223-
"model": "qwen2.5-coder:3b",
224-
"ollama_url": "http://localhost:11434",
225-
"gemini_api": "",
226-
"workspace": "/home/user/ti-workspace"
227-
}
228-
```
229-
230-
**Example Gemini Configuration:**
231-
232-
```json
233-
{
234-
"agent": "gemini",
235-
"model": "gemini-3.1-flash-lite",
236-
"ollama_url": "",
237-
"gemini_api": "your-api-key-here",
238-
"workspace": "/home/user/project-workspace"
239-
}
240-
```
241-
242-
**Configuration Fields:**
243-
244-
- `agent`: AI provider - `"ollama"` or `"gemini"`
245-
- `model`: Model name (e.g., `"llama2"`, `"qwen2.5-coder:3b"`, `"gemini-3-flash-lite, gemini-3-pro-preview"`)
246-
- `ollama_url`: Ollama server URL (only for Ollama provider)
247-
- `gemini_api`: Gemini API key (required for Gemini provider)
248-
- `workspace`: Workspace directory path (absolute path to your workspace folder)
249-
250-
**Note:** Command-line flags override config file values.
223+
Terminal Intelligence supports multiple AI providers (Ollama, Gemini, AWS Bedrock) and can be configured through a JSON file or command-line flags.
251224

252-
## Usage
225+
For detailed configuration instructions, including:
226+
- Configuration file format and location
227+
- Provider-specific settings (Ollama, Gemini, Bedrock)
228+
- Tested LLM models
229+
- Command-line overrides
230+
- Security best practices
231+
- Troubleshooting guide
253232

254-
[Introduction](./docs/USAGE.md)
233+
See the [Configuration Guide](./docs/CONFIG.md).
255234

256-
### Language-Specific Guides
257-
258-
- [Go Language Support](./docs/GO_SUPPORT.md) - Complete guide for Go development in TI
259-
- [Automatic Language Installation](./docs/AUTO_INSTALL.md) - Auto-detect and install missing runtimes
260-
261-
## Building
262-
263-
### Build for Current Platform
264-
265-
```bash
266-
make build
267-
```
268-
269-
### Build for All Platforms
235+
**Quick Start:**
270236

271237
```bash
272-
make all-platforms
238+
# Edit configuration interactively
273239
```
274-
275-
This creates binaries for:
276-
- Linux (amd64)
277-
- Windows (amd64)
278-
- macOS (amd64 and arm64)
279-
280-
### Build Targets
281-
282-
```bash
283-
make linux # Build for Linux
284-
make windows # Build for Windows
285-
make darwin # Build for macOS
240+
Mode LastWriteTime Length Name
241+
---- ------------- ------ ----
242+
-a--- 02/03/2026 15:51 13553600 ti-darwin-amd64
243+
-a--- 02/03/2026 15:51 12639810 ti-darwin-arm64
244+
-a--- 02/03/2026 15:51 12386488 ti-linux-aarch64
245+
-a--- 02/03/2026 15:51 13295800 ti-linux-amd64
246+
-a--- 02/03/2026 15:51 13813248 ti-windows-amd64.exe
286247
```
287-
288-
- [TI Architecture](./docs/ARCHITECTURE.md) - Overal Architectore overview of Terminal Intelligence (TI)
289-
290-
## License
291-
292-
MIT
293-
294-
## Acknowledgments
295-
296-
- [Bubble Tea](https://github.com/charmbracelet/bubbletea) - Terminal UI framework
297-
- [Lip Gloss](https://github.com/charmbracelet/lipgloss) - Terminal styling
298-
- [Ollama](https://ollama.ai/) - Local LLM runtime
299-
- [gopter](https://github.com/leanovate/gopter) - Property-based testing
248+
# Then press Ctrl+C and type: /config
249+
```

build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ param(
44
)
55

66
$BINARY_NAME = "ti"
7-
$VERSION = "0.0.1.2"
7+
$VERSION = "0.0.2.3"
88
$BUILD_DIR = "build"
99

1010
# Get build number from git

0 commit comments

Comments
 (0)