attune-ai 2.0.0__py3-none-any.whl → 2.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: attune-ai
3
- Version: 2.0.0
3
+ Version: 2.0.1
4
4
  Summary: AI collaboration framework with real LLM agent execution, AskUserQuestion tool integration, Socratic agent generation, progressive tier escalation (70-85% cost savings), meta-orchestration, dynamic agent composition (10 patterns including Anthropic-inspired), intelligent caching (85% hit rate), semantic workflow discovery, visual workflow editor, MCP integration for Claude Code, and multi-agent orchestration.
5
5
  Author-email: Patrick Roebuck <admin@smartaimemory.com>
6
6
  Maintainer-email: Smart-AI-Memory <admin@smartaimemory.com>
@@ -421,14 +421,14 @@ Requires-Dist: aiohttp<4.0.0,>=3.10.0; extra == "all"
421
421
  Requires-Dist: filelock<4.0.0,>=3.16.0; extra == "all"
422
422
  Dynamic: license-file
423
423
 
424
- # Empathy Framework
424
+ # Attune AI
425
425
 
426
426
  **AI-powered developer workflows with cost optimization and pattern learning.**
427
427
 
428
428
  Run code review, debugging, testing, and release workflows from your terminal or Claude Code. Smart tier routing saves 34-86% on LLM costs.
429
429
 
430
430
  [![PyPI](https://img.shields.io/pypi/v/attune-ai?color=blue)](https://pypi.org/project/attune-ai/)
431
- [![Tests](https://img.shields.io/badge/tests-7%2C168%20passing%20(99.9%25)-brightgreen)](https://github.com/Smart-AI-Memory/attune-ai/actions)
431
+ [![Tests](https://img.shields.io/badge/tests-13%2C489%20collected-brightgreen)](https://github.com/Smart-AI-Memory/attune-ai/actions)
432
432
  [![Python](https://img.shields.io/badge/python-3.10+-blue)](https://www.python.org)
433
433
  [![License](https://img.shields.io/badge/license-Apache%202.0-blue)](LICENSE)
434
434
  [![Performance](https://img.shields.io/badge/performance-18x%20faster-success)](https://github.com/Smart-AI-Memory/attune-ai/blob/main/CHANGELOG.md)
@@ -441,7 +441,7 @@ pip install attune-ai[developer]
441
441
 
442
442
  ## 🎯 Transitioning to Claude-Native Architecture
443
443
 
444
- **Empathy Framework is evolving to focus exclusively on Anthropic/Claude** to unlock features impossible with multi-provider abstraction:
444
+ **Attune AI is evolving to focus exclusively on Anthropic/Claude** to unlock features impossible with multi-provider abstraction:
445
445
 
446
446
  - **📦 Prompt Caching:** 90% cost reduction on repeated prompts
447
447
  - **📖 Flexible Context:** 200K via subscription for most tasks, up to 1M via API for large codebases
@@ -458,169 +458,64 @@ pip install attune-ai[developer]
458
458
 
459
459
  ---
460
460
 
461
- ## What's New in v5.3.0
461
+ ## What's New in v2.0.0
462
462
 
463
- **🎨 Dashboard Enhancements** - Improved usability and clarity:
463
+ **🎉 Introducing Attune AI** - A fresh start with a new name and renewed focus:
464
464
 
465
- - **Agent Display Names** - Human-readable labels for agents in dashboard (e.g., "Code Analyzer" instead of UUID)
466
- - **Comprehensive Help Panel** - 5-section accordion explaining dashboard features, use cases, and Redis setup
467
- - **UX Improvements** - "Source Agent:" label clarity, "Redis Requires Enabling" status message
468
- - **Browser Cache Busting** - Date-based versioning ensures updates appear immediately
465
+ **Package Rebrand**: `empathy-framework` is now `attune-ai`
469
466
 
470
- **📚 Documentation Improvements**:
467
+ - New package name, same powerful features
468
+ - All capabilities from v5.x preserved
469
+ - Starting fresh at v2.0.0 to mark the new brand
471
470
 
472
- - Clarified flexible context strategy (200K subscription + 1M API routing)
473
- - Added Redis requirement documentation for dashboard
474
- - Root directory cleanup (8 archived files)
471
+ **🤖 Multi-Agent Orchestration** - Build and coordinate specialized AI agents:
475
472
 
476
- **🧪 Test Infrastructure**:
473
+ - **Agent Coordination Dashboard** - Real-time monitoring with 6 coordination patterns
474
+ - **Custom Agents** - Create specialized agents for your workflow needs
475
+ - **LLM Agents** - Leverage Claude's advanced capabilities
476
+ - Dashboard at `http://localhost:8000` with `python examples/dashboard_demo.py` (requires Redis)
477
477
 
478
- - Sequential test execution to fix import timing issues
479
- - All agent tracking tests passing (19/19)
478
+ **💰 Intelligent Cost Optimization**:
480
479
 
481
- [See Full Changelog](CHANGELOG.md#530---2026-01-31)
480
+ - **Authentication Strategy** - Smart routing between Claude subscription (free) and Anthropic API
481
+ - **Batch API** - 50% cost savings for non-urgent tasks
482
+ - **Smart Tier Routing** - Automatic model selection saves 34-86% on costs
483
+ - **Precise Token Counting** - >98% accurate cost tracking
482
484
 
483
- ---
484
-
485
- ## What's New in v5.1.0
486
-
487
- **🤖 Multi-Agent Orchestration** - Full support for custom agents and Anthropic LLM agents:
488
-
489
- - **Agent Coordination Dashboard** - Real-time monitoring with 6 coordination patterns:
490
- - Agent heartbeats and status tracking
491
- - Inter-agent coordination signals
492
- - Event streaming across agent workflows
493
- - Approval gates for human-in-the-loop
494
- - Quality feedback and performance metrics
495
- - Demo mode with test data generation
496
-
497
- - **Custom Agents** - Build specialized agents for your workflow needs
498
- - **LLM Agents from Anthropic** - Leverage Claude's advanced capabilities
499
- - Dashboard accessible at `http://localhost:8000` with `python examples/dashboard_demo.py` **(Requires Redis)**
500
-
501
- **🔐 Authentication Strategy System** - Intelligent routing between Claude subscriptions and Anthropic API:
502
-
503
- ```bash
504
- # Interactive setup
505
- python -m attune.models.auth_cli setup
506
-
507
- # View current configuration
508
- python -m attune.models.auth_cli status
509
-
510
- # Get recommendation for a file
511
- python -m attune.models.auth_cli recommend src/module.py
512
- ```
513
-
514
- **💰 Automatic Cost Optimization** - Workflows choose the best auth method:
515
-
516
- - Small/medium modules (<2000 LOC) → Claude subscription (free)
517
- - Large modules (>2000 LOC) → Anthropic API (pay for what you need)
518
- - 7 workflows integrated: document-gen, test-gen, code-review, bug-predict, security-audit, perf-audit, release-prep
519
- - Auth mode tracking in all workflow outputs for telemetry
485
+ **⚡ Performance & Scale**:
520
486
 
521
- **🧪 Comprehensive Testing** - 7 new integration tests for auth strategy:
487
+ - **18x Faster** - Redis caching, parallel scanning, incremental updates
488
+ - **99.9% Memory Reduction** - Generator expressions across 27 optimizations
489
+ - **Natural Language** - Use plain English for workflow commands
490
+ - **13,489 Tests** - Comprehensive test coverage (99.9% passing)
522
491
 
523
- - All workflows tested with auth enabled/disabled
524
- - API and subscription mode verification
525
- - Cost tracking validation
492
+ **🔐 Security & Quality**:
526
493
 
527
- **📖 Documentation** - 950+ lines across 3 guides:
494
+ - **Automated Security Scanning** - 82% accuracy, blocks critical issues
495
+ - **Path Traversal Protection** - All file operations validated
496
+ - **HIPAA/GDPR Compliance** - Enterprise-ready security options
528
497
 
529
- - [AUTH_STRATEGY_GUIDE.md](docs/AUTH_STRATEGY_GUIDE.md) - User guide for configuration
530
- - [AUTH_CLI_IMPLEMENTATION.md](docs/AUTH_CLI_IMPLEMENTATION.md) - CLI command reference
531
- - [AUTH_WORKFLOW_INTEGRATIONS.md](docs/AUTH_WORKFLOW_INTEGRATIONS.md) - Integration patterns
498
+ **🧭 Developer Experience**:
532
499
 
533
- [See Full Changelog](CHANGELOG.md#510---2026-01-29)
534
-
535
- ---
536
-
537
- ## What's New in v5.0.2
538
-
539
- **💰 50% Cost Savings with Batch API** - Process non-urgent tasks asynchronously:
540
-
541
- ```bash
542
- empathy batch submit batch_requests.json # Submit batch job
543
- empathy batch status msgbatch_abc123 # Check progress
544
- empathy batch results msgbatch_abc123 output.json # Download results
545
- ```
546
-
547
- Perfect for: log analysis, report generation, bulk classification, test generation
548
-
549
- **📊 Precise Token Counting** - >98% accurate cost tracking:
550
-
551
- - Integrated Anthropic's `count_tokens()` API for billing-accurate measurements
552
- - 3-tier fallback: API → tiktoken (local) → heuristic
553
- - Cache-aware cost calculation (25% write markup, 90% read discount)
554
-
555
- **📈 Cache Performance Monitoring** - Track your 20-30% caching savings:
556
-
557
- ```bash
558
- empathy cache stats # Show hit rates and cost savings
559
- empathy cache stats --verbose # Detailed token metrics
560
- empathy cache stats --format json # Machine-readable output
561
- ```
500
+ - **MCP Integration** - 10 tools auto-discovered by Claude Code
501
+ - **Hub-Based Commands** - Organized workflows (`/dev`, `/testing`, `/release`, etc.)
502
+ - **Socratic Workflows** - Interactive discovery through guided questions
503
+ - **$0 Workflows** - Run via Claude Code with no API costs, unless a 1 million API context is required.
562
504
 
563
- **🧭 Adaptive Routing Analytics** - Intelligent tier recommendations:
505
+ **Migration from Empathy Framework**:
564
506
 
565
507
  ```bash
566
- empathy routing stats <workflow> # Performance metrics
567
- empathy routing check --all # Tier upgrade recommendations
568
- empathy routing models --provider anthropic # Compare models
569
- ```
570
-
571
- **🔧 Dashboard Fixes** - All 6 agent coordination patterns now operational:
572
- - Agent heartbeats displaying correctly
573
- - Event streaming functional
574
- - Coordination signals working
575
- - Approval gates operational
576
-
577
- [See Full Changelog](CHANGELOG.md#502---2026-01-28) | [Batch API Guide](docs/BATCH_API_GUIDE.md) | [User API Docs](docs/USER_API_DOCUMENTATION.md)
578
-
579
- ---
580
-
581
- ## What's New in v4.9.0
508
+ # Old package
509
+ pip uninstall empathy-framework
582
510
 
583
- **⚡ 18x Faster Performance** - Massive performance gains through Phase 2 optimizations:
584
-
585
- - **Redis Two-Tier Caching:** 2x faster memory operations (37,000x for cached keys)
586
- - **Generator Expressions:** 99.9% memory reduction across 27 optimizations
587
- - **Parallel Scanning:** Multi-core processing enabled by default (2-4x faster)
588
- - **Incremental Scanning:** Git diff-based updates (10x faster)
589
-
590
- **🧭 Natural Language Workflows** - Use plain English instead of workflow names:
511
+ # New package
512
+ pip install attune-ai[developer]
591
513
 
592
- ```bash
593
- /workflows "find security vulnerabilities" # security-audit
594
- /workflows "check code performance" # → perf-audit
595
- /workflows "predict bugs" # → bug-predict
596
- /plan "review my code" # → code-review
514
+ # Update imports in your code
515
+ # from empathy_osfrom attune
597
516
  ```
598
517
 
599
- **📊 Real-World Performance:**
600
-
601
- - Combined workflow: 3.59s → 0.2s (**18x faster**)
602
- - Full scan: 3,472 files in 0.98s (was 3.59s)
603
- - Redis cached operations: 37ms → 0.001ms
604
-
605
- **🎯 Improved Navigation:**
606
-
607
- - Split `/workflow` into `/workflows` (automated analysis) and `/plan` (planning/review)
608
- - Clearer hub organization with better categorization
609
- - Natural language routing matches intent to workflow
610
-
611
- [See CHANGELOG.md](CHANGELOG.md) | [Performance Docs](docs/REDIS_OPTIMIZATION_SUMMARY.md)
612
-
613
- ---
614
-
615
- ## What's New in v4.7.0
616
-
617
- **$0 Workflows via Skills** - Multi-agent workflows run through Claude Code's Task tool instead of API calls. No additional cost with your Claude subscription.
618
-
619
- **Socratic Workflows** - Interactive discovery through guided questions. Workflows ask what you need rather than requiring upfront configuration.
620
-
621
- **Security Hardened** - Fixed critical vulnerabilities (path traversal, JWT, SSRF).
622
-
623
- **Hub-Based Commands** - Organized workflows into intuitive command hubs.
518
+ [See Full Changelog](CHANGELOG.md) | [Migration Guide](docs/MIGRATION_GUIDE.md)
624
519
 
625
520
  ---
626
521
 
@@ -659,7 +554,7 @@ python -m attune.models.cli provider --set anthropic
659
554
  /plan "review my code"
660
555
 
661
556
  # Direct tool access via MCP (v5.1.1+):
662
- # Claude Code automatically discovers Empathy tools through the MCP server
557
+ # Claude Code automatically discovers Attune AI tools through the MCP server
663
558
  # Just describe what you need in natural language:
664
559
  "Run a security audit on src/" → Invokes security_audit tool
665
560
  "Generate tests for config.py" → Invokes test_generation tool
@@ -669,7 +564,7 @@ python -m attune.models.cli provider --set anthropic
669
564
 
670
565
  **MCP Server Integration (v5.1.1+):**
671
566
 
672
- Empathy Framework now includes a Model Context Protocol (MCP) server that exposes all workflows as native Claude Code tools:
567
+ Attune AI now includes a Model Context Protocol (MCP) server that exposes all workflows as native Claude Code tools:
673
568
 
674
569
  - **10 Tools Available:** security_audit, bug_predict, code_review, test_generation, performance_audit, release_prep, auth_status, auth_recommend, telemetry_stats, dashboard_status
675
570
  - **Automatic Discovery:** No manual configuration needed - Claude Code finds tools via `.claude/mcp.json`
@@ -691,9 +586,9 @@ See [.claude/MCP_TEST_RESULTS.md](.claude/MCP_TEST_RESULTS.md) for full integrat
691
586
  **CLI:**
692
587
 
693
588
  ```bash
694
- empathy workflow run security-audit --path ./src
695
- empathy workflow run test-coverage --target 90
696
- empathy telemetry show # View cost savings
589
+ attune workflow run security-audit --path ./src
590
+ attune workflow run test-coverage --target 90
591
+ attune telemetry show # View cost savings
697
592
  ```
698
593
 
699
594
  **Python:**
@@ -701,8 +596,8 @@ empathy telemetry show # View cost savings
701
596
  ```python
702
597
  from attune import EmpathyOS
703
598
 
704
- async with EmpathyOS() as empathy:
705
- result = await empathy.level_2_guided(
599
+ async with EmpathyOS() as attune:
600
+ result = await attune.level_2_guided(
706
601
  "Review this code for security issues"
707
602
  )
708
603
  print(result["response"])
@@ -812,7 +707,7 @@ For programmatic use, smart tier routing saves 34-86%:
812
707
 
813
708
  ```bash
814
709
  # Track API usage and savings
815
- empathy telemetry savings --days 30
710
+ attune telemetry savings --days 30
816
711
  ```
817
712
 
818
713
  ---
@@ -823,10 +718,10 @@ empathy telemetry savings --days 30
823
718
 
824
719
  ```bash
825
720
  # 4 parallel agents check release readiness
826
- empathy orchestrate release-prep
721
+ attune orchestrate release-prep
827
722
 
828
723
  # Sequential coverage improvement
829
- empathy orchestrate test-coverage --target 90
724
+ attune orchestrate test-coverage --target 90
830
725
  ```
831
726
 
832
727
  ### Response Caching
@@ -874,21 +769,21 @@ python -m attune.models.cli provider
874
769
  python -m attune.models.cli provider --set hybrid
875
770
 
876
771
  # Workflows
877
- empathy workflow list
878
- empathy workflow run <workflow-name>
772
+ attune workflow list
773
+ attune workflow run <workflow-name>
879
774
 
880
775
  # Cost tracking
881
- empathy telemetry show
882
- empathy telemetry savings --days 30
883
- empathy telemetry export --format csv
776
+ attune telemetry show
777
+ attune telemetry savings --days 30
778
+ attune telemetry export --format csv
884
779
 
885
780
  # Orchestration
886
- empathy orchestrate release-prep
887
- empathy orchestrate test-coverage --target 90
781
+ attune orchestrate release-prep
782
+ attune orchestrate test-coverage --target 90
888
783
 
889
784
  # Meta-workflows
890
- empathy meta-workflow list
891
- empathy meta-workflow run release-prep --real
785
+ attune meta-workflow list
786
+ attune meta-workflow run release-prep --real
892
787
  ```
893
788
 
894
789
  ---
@@ -934,7 +829,7 @@ export REDIS_URL="redis://localhost:6379"
934
829
 
935
830
  ## VSCode Extension
936
831
 
937
- Install the Empathy VSCode extension for:
832
+ Install the Attune AI VSCode extension for:
938
833
 
939
834
  - **Dashboard** - Health score, costs, patterns
940
835
  - **One-Click Workflows** - Run from command palette
@@ -969,10 +864,10 @@ See [SECURITY.md](SECURITY.md) for vulnerability reporting.
969
864
 
970
865
  ```bash
971
866
  # Run security audit locally
972
- empathy workflow run security-audit
867
+ attune workflow run security-audit
973
868
 
974
869
  # Scan specific directory
975
- empathy workflow run security-audit --input '{"path":"./src"}'
870
+ attune workflow run security-audit --input '{"path":"./src"}'
976
871
  ```
977
872
 
978
873
  **Documentation:**
@@ -347,8 +347,8 @@ attune/workflows/test_gen/data_models.py,sha256=wXfef60ptiG6AvygayTxWqlL5FVOss19
347
347
  attune/workflows/test_gen/report_formatter.py,sha256=RaxbDp6-9iQRfJmVwrrIReVkOkrnb668NgHrNaS-SPY,10705
348
348
  attune/workflows/test_gen/test_templates.py,sha256=4ywqGYYaSoZxOU6Y1_E-27KEgMI5-v2a1ndia406E9c,13180
349
349
  attune/workflows/test_gen/workflow.py,sha256=U0dhAcCKmlltPIvCSXUeFzt_Q4TodQI4tXtR6cz19MQ,25729
350
- attune_ai-2.0.0.dist-info/licenses/LICENSE,sha256=kqe3EeGatNB79lUTHxjLnxDe7VJr0iYetThOr4_Fx7A,11348
351
- attune_ai-2.0.0.dist-info/licenses/LICENSE_CHANGE_ANNOUNCEMENT.md,sha256=JH9yAQGv_lQej5YlztI_kawbVQ2H8uVLhPGlrWnR_34,3844
350
+ attune_ai-2.0.1.dist-info/licenses/LICENSE,sha256=kqe3EeGatNB79lUTHxjLnxDe7VJr0iYetThOr4_Fx7A,11348
351
+ attune_ai-2.0.1.dist-info/licenses/LICENSE_CHANGE_ANNOUNCEMENT.md,sha256=JH9yAQGv_lQej5YlztI_kawbVQ2H8uVLhPGlrWnR_34,3844
352
352
  attune_healthcare/__init__.py,sha256=4NioL1_86UXzkd-QNkQZUSZ8rKTQGSP0TC9VXP32kQs,295
353
353
  attune_healthcare/monitors/__init__.py,sha256=Udp8qfZR504QAq5_eQjvtIaE7v06Yguc7nuF40KllQc,196
354
354
  attune_healthcare/monitors/clinical_protocol_monitor.py,sha256=MWE5t8tW9HWZn_SNo-inx8-0nhdTNGhbcB8ZeDWyXa0,11648
@@ -450,8 +450,8 @@ workflow_scaffolding/__init__.py,sha256=UpX5vjjjPjIaAKyIV1D4GxJzLUZy5DzdzgSkePYM
450
450
  workflow_scaffolding/__main__.py,sha256=0qspuNoadTDqyskXTlT8Sahqau-XIxN35NHTSGVW6z4,236
451
451
  workflow_scaffolding/cli.py,sha256=RUVqU9SeAgm7YkM0YNd-quh8u6BNzmX8xM2y9K_p68Y,6759
452
452
  workflow_scaffolding/generator.py,sha256=2WC02A10lzF2NQgOn66ksV17Oe72kKlU2qCQs39LIlw,8861
453
- attune_ai-2.0.0.dist-info/METADATA,sha256=3bG-Au_3MyqOcdz2tpvWXxNYTbz7Ho7UIgIKivKqDwI,45033
454
- attune_ai-2.0.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
455
- attune_ai-2.0.0.dist-info/entry_points.txt,sha256=GVlb04zFlpkaPtaL7X3JCZI8R0AEOZRsZjJ-wIDQvdo,1458
456
- attune_ai-2.0.0.dist-info/top_level.txt,sha256=iLyjKpuOzWtwmIOZqzeBh8_SVztY2vFvhHcyo1WPtTY,73
457
- attune_ai-2.0.0.dist-info/RECORD,,
453
+ attune_ai-2.0.1.dist-info/METADATA,sha256=kqpxoqfgSFVQ09zg2h5E6OILJ60XjJqHw9e5b0VYNCE,40947
454
+ attune_ai-2.0.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
455
+ attune_ai-2.0.1.dist-info/entry_points.txt,sha256=GVlb04zFlpkaPtaL7X3JCZI8R0AEOZRsZjJ-wIDQvdo,1458
456
+ attune_ai-2.0.1.dist-info/top_level.txt,sha256=iLyjKpuOzWtwmIOZqzeBh8_SVztY2vFvhHcyo1WPtTY,73
457
+ attune_ai-2.0.1.dist-info/RECORD,,