AI Assistant powered by AWS Bedrock with Claude models
Project description
๐ NasCoder
AI Assistant powered by AWS Bedrock with Claude models
NasCoder is a powerful command-line AI assistant that brings the capabilities of Claude AI models directly to your terminal through AWS Bedrock.
โโโโ โโโ โโโโโโ โโโโโโโโ โโโโโโโ โโโโโโโ โโโโโโโ โโโโโโโโโโโโโโโ
โโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโ โโโโโโโโโโโโโโโโโโโโโโ โโโ โโโโโโ โโโโโโโโโ โโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโ โโโโโโ โโโโโโโโโ โโโโโโโโ
โโโ โโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโ
โโโ โโโโโโโโ โโโโโโโโโโโ โโโโโโโ โโโโโโโ โโโโโโโ โโโโโโโโโโโ โโโ
โจ Features
- ๐ค Multiple Claude Models: Support for Claude-3 Opus, Sonnet, and Haiku
- ๐ Interactive Authentication: Secure AWS credential management
- ๐จ Beautiful CLI Interface: Rich terminal experience with colors and formatting
- ๐ Model Switching: Easy switching between different AI models
- ๐ฌ Conversation History: Maintains context throughout your session
- ๐ Easy Installation: One-command installation via pip
๐ Quick Installation
Option 1: Install from PyPI (Recommended)
pip install nascoder
Option 2: Install from GitHub
pip install git+https://github.com/freelancernasim/nascoder.git
Option 3: Development Installation
git clone https://github.com/freelancernasim/nascoder.git
cd nascoder
pip install -e .
๐ง Setup
-
Install NasCoder (see installation options above)
-
Configure AWS Credentials (one of these methods):
# Method 1: AWS CLI aws configure # Method 2: Environment Variables export AWS_ACCESS_KEY_ID=your_access_key export AWS_SECRET_ACCESS_KEY=your_secret_key export AWS_DEFAULT_REGION=us-east-1 # Method 3: Use /auth command in NasCoder (interactive)
-
Ensure Bedrock Access: Make sure your AWS account has access to Amazon Bedrock and Claude models
๐ฏ Usage
Start NasCoder
nascoder
Interactive Commands
/auth- Authenticate with AWS credentials interactively/models- List all available AI models/switch claude-3-sonnet- Switch to a different model/status- Check authentication and current model status/clear- Clear conversation history/help- Show all available commands/quit- Exit NasCoder
Example Session
$ nascoder
โโโโ โโโ โโโโโโ โโโโโโโโ โโโโโโโ โโโโโโโ โโโโโโโ โโโโโโโโโโโโโโโ
โโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโ โโโโโโโโโโโโโโโโโโโโโโ โโโ โโโโโโ โโโโโโโโโ โโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโ โโโโโโ โโโโโโโโโ โโโโโโโโ
โโโ โโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโ
โโโ โโโโโโโโ โโโโโโโโโโโ โโโโโโโ โโโโโโโ โโโโโโโ โโโโโโโโโโโ โโโ
โโ NasCoder v1.0 - AI Assistant powered by AWS Bedrock โโ
โ Status: Authenticated โ
โ Current Model: claude-3-opus โ
โ Type /help for commands or /quit to exit โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
You: Hello! Can you help me write a Python function?
NasCoder: I'd be happy to help you write a Python function! What specific functionality are you looking to implement?
You: /switch claude-3-sonnet
Switched to claude-3-sonnet
You: /quit
Goodbye!
๐ค Available Models
- claude-3-opus - Most capable model, best for complex tasks
- claude-3-sonnet - Balanced performance and speed
- claude-3-haiku - Fastest model, great for quick responses
๐ Requirements
- Python 3.8 or higher
- AWS account with Bedrock access
- AWS credentials configured
- Internet connection
๐ ๏ธ Development
Local Development Setup
git clone https://github.com/freelancernasim/nascoder.git
cd nascoder
pip install -r requirements.txt
python -m nascoder.cli
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ค Support
- ๐ Bug Reports: GitHub Issues
- ๐ก Feature Requests: GitHub Issues
- ๐ง Contact: contact@nascoder.dev
๐ Star History
If you find NasCoder useful, please consider giving it a star on GitHub!
Made with โค๏ธ by the NasCoder Team
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nascoder-1.0.0.tar.gz.
File metadata
- Download URL: nascoder-1.0.0.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0234338c75f8e65389dbc437aec97c06500b5234d8e3b385ca5af2b754351528
|
|
| MD5 |
532f21eaa822f28fb39aa6ec1c56156c
|
|
| BLAKE2b-256 |
d8994abd9dbda56cb2393be1cc7b4f927aeac78f6d3b5a924143873ae95c84a5
|
File details
Details for the file nascoder-1.0.0-py3-none-any.whl.
File metadata
- Download URL: nascoder-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbbe5e96efbba64358a3d3d67574975b8aa3badc562b46867e5941ec62b46d04
|
|
| MD5 |
f44cb6a78ffa2ce4646387fefeab0b3c
|
|
| BLAKE2b-256 |
7d7da961462cd5a382641073b3efc6b8cf7120878913cbdb4af4001dd87c9d39
|