attune-ai 2.1.0__py3-none-any.whl → 2.1.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.1.0
3
+ Version: 2.1.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,17 +421,16 @@ 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
- **AI-powered developer workflows with cost optimization and pattern learning.**
426
+ **AI-powered developer workflows with Socratic discovery.**
427
427
 
428
- Run code review, debugging, testing, and release workflows from your terminal or Claude Code. Smart tier routing saves 34-86% on LLM costs.
428
+ Run code review, debugging, testing, and release workflows from Claude Code. One command guides you to the right workflow.
429
429
 
430
430
  [![PyPI](https://img.shields.io/pypi/v/attune-ai?color=blue)](https://pypi.org/project/attune-ai/)
431
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)
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
- [![Performance](https://img.shields.io/badge/performance-18x%20faster-success)](https://github.com/Smart-AI-Memory/attune-ai/blob/main/CHANGELOG.md)
435
434
 
436
435
  ```bash
437
436
  pip install attune-ai[developer]
@@ -439,188 +438,26 @@ pip install attune-ai[developer]
439
438
 
440
439
  ---
441
440
 
442
- ## 🎯 Transitioning to Claude-Native Architecture
441
+ ## What's New in v2.1.0
443
442
 
444
- **Empathy Framework is evolving to focus exclusively on Anthropic/Claude** to unlock features impossible with multi-provider abstraction:
445
-
446
- - **📦 Prompt Caching:** 90% cost reduction on repeated prompts
447
- - **📖 Flexible Context:** 200K via subscription for most tasks, up to 1M via API for large codebases
448
- - **🧠 Extended Thinking:** See Claude's internal reasoning process
449
- - **🔧 Advanced Tool Use:** Optimized for agentic workflows
450
-
451
- **Timeline:**
452
-
453
- - ✅ **v4.8.0 (Jan 2026):** Deprecation warnings for OpenAI/Google/Ollama providers
454
- - ✅ **v5.0.0 (Jan 26, 2026):** Non-Anthropic providers removed (BREAKING - COMPLETE)
455
- - ✅ **v5.0.2 (Jan 28, 2026):** Cost optimization suite with batch processing and caching monitoring
456
-
457
- **Migration Guide:** [docs/CLAUDE_NATIVE.md](docs/CLAUDE_NATIVE.md)
458
-
459
- ---
460
-
461
- ## What's New in v5.3.0
462
-
463
- **🎨 Dashboard Enhancements** - Improved usability and clarity:
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
469
-
470
- **📚 Documentation Improvements**:
471
-
472
- - Clarified flexible context strategy (200K subscription + 1M API routing)
473
- - Added Redis requirement documentation for dashboard
474
- - Root directory cleanup (8 archived files)
475
-
476
- **🧪 Test Infrastructure**:
477
-
478
- - Sequential test execution to fix import timing issues
479
- - All agent tracking tests passing (19/19)
480
-
481
- [See Full Changelog](CHANGELOG.md#530---2026-01-31)
482
-
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:
443
+ **🎯 Unified `/attune` Command** - One entry point for all workflows:
502
444
 
503
445
  ```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
446
+ /attune # Start Socratic discovery
447
+ /attune "fix a bug" # Natural language
448
+ /attune debug # Direct shortcut
512
449
  ```
513
450
 
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
520
-
521
- **🧪 Comprehensive Testing** - 7 new integration tests for auth strategy:
522
-
523
- - All workflows tested with auth enabled/disabled
524
- - API and subscription mode verification
525
- - Cost tracking validation
526
-
527
- **📖 Documentation** - 950+ lines across 3 guides:
528
-
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
532
-
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
- ```
562
-
563
- **🧭 Adaptive Routing Analytics** - Intelligent tier recommendations:
564
-
565
- ```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
582
-
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:
591
-
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
597
- ```
598
-
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.
451
+ **Socratic Discovery** - Ask what you're trying to accomplish, not which tool to use:
618
452
 
619
- **Socratic Workflows** - Interactive discovery through guided questions. Workflows ask what you need rather than requiring upfront configuration.
453
+ - 🔧 **Fix or improve** Debug, review, refactor
454
+ - ✅ **Validate work** → Tests, coverage, security audit
455
+ - 🚀 **Ship changes** → Commit, PR, release
456
+ - 📚 **Understand** → Explain code, generate docs
620
457
 
621
- **Security Hardened** - Fixed critical vulnerabilities (path traversal, JWT, SSRF).
458
+ **Performance Audit Improvements** - Removed false positive detection for intentional patterns like `dirs[:]` and defensive list copies.
622
459
 
623
- **Hub-Based Commands** - Organized workflows into intuitive command hubs.
460
+ [See Full Changelog](CHANGELOG.md)
624
461
 
625
462
  ---
626
463
 
@@ -346,8 +346,8 @@ attune/workflows/test_gen/data_models.py,sha256=wXfef60ptiG6AvygayTxWqlL5FVOss19
346
346
  attune/workflows/test_gen/report_formatter.py,sha256=RaxbDp6-9iQRfJmVwrrIReVkOkrnb668NgHrNaS-SPY,10705
347
347
  attune/workflows/test_gen/test_templates.py,sha256=4ywqGYYaSoZxOU6Y1_E-27KEgMI5-v2a1ndia406E9c,13180
348
348
  attune/workflows/test_gen/workflow.py,sha256=U0dhAcCKmlltPIvCSXUeFzt_Q4TodQI4tXtR6cz19MQ,25729
349
- attune_ai-2.1.0.dist-info/licenses/LICENSE,sha256=kqe3EeGatNB79lUTHxjLnxDe7VJr0iYetThOr4_Fx7A,11348
350
- attune_ai-2.1.0.dist-info/licenses/LICENSE_CHANGE_ANNOUNCEMENT.md,sha256=JH9yAQGv_lQej5YlztI_kawbVQ2H8uVLhPGlrWnR_34,3844
349
+ attune_ai-2.1.1.dist-info/licenses/LICENSE,sha256=kqe3EeGatNB79lUTHxjLnxDe7VJr0iYetThOr4_Fx7A,11348
350
+ attune_ai-2.1.1.dist-info/licenses/LICENSE_CHANGE_ANNOUNCEMENT.md,sha256=JH9yAQGv_lQej5YlztI_kawbVQ2H8uVLhPGlrWnR_34,3844
351
351
  attune_healthcare/__init__.py,sha256=4NioL1_86UXzkd-QNkQZUSZ8rKTQGSP0TC9VXP32kQs,295
352
352
  attune_healthcare/monitors/__init__.py,sha256=Udp8qfZR504QAq5_eQjvtIaE7v06Yguc7nuF40KllQc,196
353
353
  attune_healthcare/monitors/clinical_protocol_monitor.py,sha256=MWE5t8tW9HWZn_SNo-inx8-0nhdTNGhbcB8ZeDWyXa0,11648
@@ -449,8 +449,8 @@ workflow_scaffolding/__init__.py,sha256=UpX5vjjjPjIaAKyIV1D4GxJzLUZy5DzdzgSkePYM
449
449
  workflow_scaffolding/__main__.py,sha256=0qspuNoadTDqyskXTlT8Sahqau-XIxN35NHTSGVW6z4,236
450
450
  workflow_scaffolding/cli.py,sha256=RUVqU9SeAgm7YkM0YNd-quh8u6BNzmX8xM2y9K_p68Y,6759
451
451
  workflow_scaffolding/generator.py,sha256=2WC02A10lzF2NQgOn66ksV17Oe72kKlU2qCQs39LIlw,8861
452
- attune_ai-2.1.0.dist-info/METADATA,sha256=86GO_8mUvQMAl6W1vd4BKqnN8jzx2zJcgj8aNkr5BCM,45033
453
- attune_ai-2.1.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
454
- attune_ai-2.1.0.dist-info/entry_points.txt,sha256=GVlb04zFlpkaPtaL7X3JCZI8R0AEOZRsZjJ-wIDQvdo,1458
455
- attune_ai-2.1.0.dist-info/top_level.txt,sha256=iLyjKpuOzWtwmIOZqzeBh8_SVztY2vFvhHcyo1WPtTY,73
456
- attune_ai-2.1.0.dist-info/RECORD,,
452
+ attune_ai-2.1.1.dist-info/METADATA,sha256=EI1tND_AQuj_XW98SejMJ2p0UFRnfrjDQu1KL26jK3k,38450
453
+ attune_ai-2.1.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
454
+ attune_ai-2.1.1.dist-info/entry_points.txt,sha256=GVlb04zFlpkaPtaL7X3JCZI8R0AEOZRsZjJ-wIDQvdo,1458
455
+ attune_ai-2.1.1.dist-info/top_level.txt,sha256=iLyjKpuOzWtwmIOZqzeBh8_SVztY2vFvhHcyo1WPtTY,73
456
+ attune_ai-2.1.1.dist-info/RECORD,,