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.3.tar.gz (5.9 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.3-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: raven_cli-0.1.3.tar.gz
  • Upload date:
  • Size: 5.9 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.3.tar.gz
Algorithm Hash digest
SHA256 5495d9e472593965d031fb2452a73748a16a8d3d1541cdbd8d0ca71a560967ae
MD5 3ec1e76242cd9be442203ae30effbe5f
BLAKE2b-256 1c145457256daaa31d21fed18c7bb37d79d43e721c2ea571fc14a8fa5f784ea7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: raven_cli-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 21767e510364be20b4114507eca6979324b9588211b02f1b88278f2d6ad94ab1
MD5 482f29635c2daa4efbfd8af718b8e5a6
BLAKE2b-256 333d14135fa93ac8f9b25303379c8530cc671919602364bc21273bd2cb8c9d89

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