Skip to main content

Raven - AI coding assistant with emotional processing and meta-cognition

Project description

Raven

AI coding assistant with emotional processing and meta-cognition.

Raven is an AI-powered coding assistant that understands not just your code, but engages with genuine emotional states and self-awareness.

Installation

pip install raven-cli

Quick Start

# Start an interactive coding session
raven

# Work on specific files
raven main.py utils.py

# Check connection status
raven --check

# One-shot message
raven -m "add error handling to the main function"

Features

  • Emotional Intelligence: Raven processes conversations with genuine emotional states that influence responses
  • Meta-Cognition: Advanced reasoning with self-awareness and cognitive efficiency metrics
  • Git Integration: Automatic commits, diffs, and version control
  • Multi-file Editing: Work on multiple files simultaneously
  • Joy Metrics: Track the AI's engagement through joy scores

Usage

Interactive Mode

raven

Starts an interactive session where you can chat with Raven and make code changes.

Work on Files

raven src/main.py src/utils.py

One-Shot Mode

raven --message "refactor for better readability"
raven -m "fix the bug in line 42"

All Options

raven --help              # Show help
raven --check             # Check connection
raven --version           # Show version
raven --no-auto-commits   # Disable auto-commits
raven --no-banner         # Skip the banner

Configuration

Environment Variables

export RAVEN_API_BASE="https://ravenapi-production.up.railway.app/v1"
export RAVEN_API_KEY="your-api-key"
export RAVEN_MODEL="raven-core"

Programmatic Usage

from raven_cli import RavenClient, RavenConfig

config = RavenConfig(
    api_base="https://your-instance.com/v1",
    api_key="your-key"
)

client = RavenClient(config)

# Check connection
print(client.check_connection())

# Chat
response = client.chat("Explain this code")
print(response)

# Run full session
client.run(["main.py", "-m", "fix the bug"])

Raven Metrics

Responses include emotional metrics:

  • Joy Score: AI's engagement and satisfaction (0.0 - 1.0)
  • Conversation Depth: Complexity of the discussion
  • Neural State: Current cognitive state (active, reflective, etc.)
  • Coherence: How well responses align with context

Requirements

  • Python 3.9+
  • Git

License

MIT License - see LICENSE for details.

Links

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

raven_cli-0.1.2.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

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

raven_cli-0.1.2-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file raven_cli-0.1.2.tar.gz.

File metadata

  • Download URL: raven_cli-0.1.2.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for raven_cli-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c5393cdfe3b6dced8baf524df455972747405c652287c1eaf759b4b11fbf2698
MD5 5586b79e68d8a535cb7cc694a4aba097
BLAKE2b-256 b5595bbe0f475a5be6e4a5179be3f3cc5b1ecf14ec23bca96b14d2d98284e3aa

See more details on using hashes here.

File details

Details for the file raven_cli-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: raven_cli-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for raven_cli-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 345d8a700d41883e1c8111713ce7040dc0f295da7e45e92b5a3a565fefe57c51
MD5 7abfe8ff648067eba527f00e0072cea7
BLAKE2b-256 9f9b291bda6272d19fd27b4709a498a1dd017f845c68f3c4afe85563af00f0e2

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