Skip to main content

scribe is an AI coding assistant, it allows an LLM to talk to your codebase directly from your terminal

Project description

Scribe: AI-Powered Code Writing Assistant

Scribe is a powerful command-line interface (CLI) tool designed to assist developers in writing and modifying code using artificial intelligence (claude 3.5 sonnet LLM). It leverages advanced language models to generate, edit, and explain code based on user prompts and existing codebases.

Features

  • Single File Writing: Easily modify or generate code for a single file with AI assistance.
  • Multi-File Writing: Update multiple files simultaneously, maintaining consistency across your project.
  • Project Initialization: Quickly set up your project with Scribe configuration.
  • Reference Support: Include other files as context for more accurate code generation.
  • Interactive GUI: Review and accept AI-generated changes through a user-friendly interface.

Installation

(Add installation instructions here)

Usage

Setup your Anthropic key to interact with claude-3.5

ANTHROPIC_API_KEY=YOUR_ANTHROPIC_KEY

Write to a Single File

scribe write <file_path> --prompt "Your instruction" --references <reference_files>

Modify or generate code in a specific file based on your prompt and optional reference files.

Write to Multiple Files

scribe multi-write <file_path1> <file_path2> ... --prompt "Your instruction" --references <reference_files>

Update multiple files in one go, maintaining consistency across your codebase.

How It Works

Scribe is an agent that sits between an LLM (currently claude) and your codebase. It considers the context of your existing code and any provided references to ensure the generated code fits seamlessly into your project.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scribe-ai-0.0.1.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scribe_ai-0.0.1-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file scribe-ai-0.0.1.tar.gz.

File metadata

  • Download URL: scribe-ai-0.0.1.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.1

File hashes

Hashes for scribe-ai-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ae132c1e330d795754a05b20ba2eaaa6a64c8e614c1030452cf18baa53f017ed
MD5 077a81ec7920c983f4c6ad7a6647bcd1
BLAKE2b-256 6d376cb9dcc03ea66f3bde4c613d19c8c3fa5488fd50e260a247076c3972e00a

See more details on using hashes here.

File details

Details for the file scribe_ai-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: scribe_ai-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.1

File hashes

Hashes for scribe_ai-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9875a2955d368ccad5ce9acd5e851269aa7b6397d56feff945268a26602544ab
MD5 96c7c7f8929a4ab253e55e25d4c9ac3a
BLAKE2b-256 210f5fb136577c867da63412e93eb064853d9db085ae0a1c745e9d06d0d0affb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page