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
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 raven_cli-0.1.1.tar.gz.
File metadata
- Download URL: raven_cli-0.1.1.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7bb27ac3bbdf88f37a6f51d7b472e8fa7e8e861b61e1b1d9e1c3b1833f310cc
|
|
| MD5 |
65c998f73fa2e1fba651dcdf555008b6
|
|
| BLAKE2b-256 |
f81c23d563d780b681f77883459a3ef6330e8c39b86d3446fe28fa6a26f89e8c
|
File details
Details for the file raven_cli-0.1.1-py3-none-any.whl.
File metadata
- Download URL: raven_cli-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1da76ebb5c297e6c82296c8a342dd2d4c843e3e505c49b14df7aba2dc0758753
|
|
| MD5 |
7e8037c09fcbd121586d6b9db8717aed
|
|
| BLAKE2b-256 |
a7fdcef5d2ec27762469586c4c64dbecf5e9fb2a8a5bd8f452cb9fe32369f9ca
|