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.0.tar.gz (5.5 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.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: raven_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 5.5 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.0.tar.gz
Algorithm Hash digest
SHA256 08326a0bebfbd17b7761ec7f3db06eb359ca8a225fd7a2512d609b12e94da885
MD5 601a098f626e5044ef3ccc617f746724
BLAKE2b-256 cb3dad1da197a0377bf5ee3714441a2329dfa417a20434ed6a50cc3c2dfb44a8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: raven_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.3 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0873da3e616381ed40fc7fa5587b69be519231332dab9347de3a44b663b45d2d
MD5 221f65077199ec166224f6e334bccdf3
BLAKE2b-256 99b4fc673ff5c808df90652efea09d6e22ff9855bee18b8fee395498771258ec

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