aws / aws/amazon-q-developer-cli
对话信息统计分析知识资产转化系统
- Dominant language
- Rust
- Stars
- 2k
- Forks
- 439
- PR merge metrics
- No merged PRs in 30d
Description
### Checks
- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue
- [x] I have run `q doctor` in the affected terminal session
- [x] I have run `q restart` and replicated the issue again
### Operating system
macOS 15.5.0 (24F74)
### Expected behaviour
### Summary
Request to add functionality for collecting Amazon Q CLI conversation data and exporting it to Amazon S3 for analytics and audit purposes.
### Background
As organizations adopt Amazon Q CLI for development workflows, there's a growing need to:
• Analyze conversation patterns and usage statistics
• Maintain audit trails for compliance requirements
• Enable data-driven insights for improving AI assistance effectiveness
• Support enterprise governance and monitoring needs
### Current State
Currently, Amazon Q CLI appears to:
• Store minimal local data in ~/Library/Application Support/amazon-q/
• Primarily rely on cloud-based conversation processing
• Lack built-in mechanisms for conversation data export
### Proposed Feature
#### Core Functionality
1. Conversation Logging
• Enable configurable conversation data collection
• Support different logging levels (basic, detailed, full)
• Include metadata (timestamps, user context, session info)
2. S3 Integration
• Direct export to specified S3 buckets
• Configurable export frequency (real-time, batch, scheduled)
• Support for data partitioning (by date, user, session)
3. Data Format
• Structured JSON format for easy analysis
• Include conversation metadata and context
• Support for data anonymization options
#### Configuration Options
bash
# Enable conversation logging
q settings conversation.logging.enabled true
q settings conversation.logging.level detailed
# Configure S3 export
q settings conversation.export.s3.bucket my-q-conversations
q settings conversation.export.s3.prefix conversations/
q settings conversation.export.s3.frequency batch_daily
# Privacy controls
q settings conversation.export.anonymize_pii true
q settings conversation.export.include_content true
### Actual behaviour
no found
### Steps to reproduce
_No response_
### Environment
```yaml
[q-details]
version = "1.12.3"
hash = "65aa9285fc7ec3716215386a89d3a626500a25a7"
date = "2025-07-03T01:14:12.212107Z (6d ago)"
variant = "full"
[system-info]
os = "macOS 15.5.0 (24F74)"
chip = "Apple M1 Pro"
total-cores = 10
memory = "16.00 GB"
[environment]
cwd = "/Users/USER/AI/amazon-q"
cli-path = "/Users/USER/AI/amazon-q"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "Tabby"
install-method = "brew"
[env-vars]
PATH = "/opt/homebrew/opt/node@20/bin:/Users/USER/.codeium/windsurf/bin:/Users/USER/miniforge3/bin:/Users/USER/miniforge3/condabin:/opt/homebrew/bin:/Library/Frameworks/Python.framework/Versions/3.12/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/usr/local/go/bin:/Users/USER/.cargo/bin:/Users/USER/.local/bin:/Users/USER/.orbstack/bin:/Users/USER/maven/apache-maven-3.8.5/bin:/Users/USER/GolandProjects/tmp/google-cloud-sdk/bin"
QTERM_SESSION_ID = "dc3a9350825b484a8c3cc232b30373b4"
Q_LOG_LEVEL = "trace"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.12.3"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "org.tabby"
```
Contributor guide
Assessment
This issue has not been assessed yet.