solana-agent 6.0.0__py3-none-any.whl → 7.0.0__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.
- solana_agent/ai.py +814 -82
- solana_agent-7.0.0.dist-info/METADATA +178 -0
- solana_agent-7.0.0.dist-info/RECORD +6 -0
- solana_agent-6.0.0.dist-info/METADATA +0 -139
- solana_agent-6.0.0.dist-info/RECORD +0 -6
- {solana_agent-6.0.0.dist-info → solana_agent-7.0.0.dist-info}/LICENSE +0 -0
- {solana_agent-6.0.0.dist-info → solana_agent-7.0.0.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: solana-agent
|
|
3
|
+
Version: 7.0.0
|
|
4
|
+
Summary: The first AGI framework
|
|
5
|
+
License: MIT
|
|
6
|
+
Keywords: ai,openai,ai agents,agi
|
|
7
|
+
Author: Bevan Hunt
|
|
8
|
+
Author-email: bevan@bevanhunt.com
|
|
9
|
+
Requires-Python: >=3.9,<4.0
|
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
18
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
19
|
+
Requires-Dist: ntplib (>=0.4.0,<0.5.0)
|
|
20
|
+
Requires-Dist: openai (>=1.65.2,<2.0.0)
|
|
21
|
+
Requires-Dist: pandas (>=2.2.3,<3.0.0)
|
|
22
|
+
Requires-Dist: pinecone (>=6.0.1,<7.0.0)
|
|
23
|
+
Requires-Dist: pydantic (>=2.10.6,<3.0.0)
|
|
24
|
+
Requires-Dist: pymongo (>=4.11.1,<5.0.0)
|
|
25
|
+
Requires-Dist: requests (>=2.32.3,<3.0.0)
|
|
26
|
+
Requires-Dist: zep-cloud (>=2.4.0,<3.0.0)
|
|
27
|
+
Requires-Dist: zep-python (>=2.0.2,<3.0.0)
|
|
28
|
+
Project-URL: Repository, https://github.com/truemagic-coder/solana-agent
|
|
29
|
+
Description-Content-Type: text/markdown
|
|
30
|
+
|
|
31
|
+
# Solana Agent
|
|
32
|
+
|
|
33
|
+
[](https://pypi.org/project/solana-agent/)
|
|
34
|
+
[](https://opensource.org/licenses/MIT)
|
|
35
|
+
[](https://www.python.org/downloads/)
|
|
36
|
+
|
|
37
|
+

|
|
38
|
+
|
|
39
|
+
## Why Solana Agent?
|
|
40
|
+
|
|
41
|
+
### The First AGI Framework
|
|
42
|
+
|
|
43
|
+
Solana Agent transforms AI from isolated conversations into a continuously evolving intelligence network powered by specialized agents that learn, remember, and grow smarter together.
|
|
44
|
+
|
|
45
|
+
**Why This Matters for AGI:**
|
|
46
|
+
|
|
47
|
+
- 🧠 **Emergent Intelligence:** Specialized agents form a neural network-like system where the whole exceeds the sum of its parts
|
|
48
|
+
- 🔄 **Autonomous Self-Improvement:** Critic system analyzes responses, identifies weaknesses, and autonomously researches to fill knowledge gaps
|
|
49
|
+
- 📈 **Exponential Learning:** Each interaction improves future responses through continuous feedback loops and pattern recognition
|
|
50
|
+
- 🌐 **Distributed Cognition:** Problems are decomposed across specialized cognitive modules, mirroring human brain specialization
|
|
51
|
+
- 🧩 **Knowledge Integration:** Synthesizes information across domains to form novel connections and insights
|
|
52
|
+
- 🛠️ **Adaptive Problem-Solving**: Dynamically reconfigures approach based on task complexity and previous solution efficacy
|
|
53
|
+
|
|
54
|
+
## Features
|
|
55
|
+
|
|
56
|
+
### 🗣️ **Advanced Interaction Layer**
|
|
57
|
+
- Streaming text-based conversations with real-time thinking
|
|
58
|
+
- Voice-to-voice conversations with natural cadence
|
|
59
|
+
- Multi-turn context preservation and reasoning
|
|
60
|
+
|
|
61
|
+
### 🤖 **Multi-Agent Swarm Architecture**
|
|
62
|
+
- Dynamic specialized agent creation and coordination
|
|
63
|
+
- Intelligent routing based on query content and agent expertise
|
|
64
|
+
- Seamless handoffs with comprehensive context passing
|
|
65
|
+
- Parallel processing capabilities for complex multi-part questions
|
|
66
|
+
- Shared memory and collective intelligence across the entire swarm
|
|
67
|
+
|
|
68
|
+
### 🔍 **Multi-Source Knowledge Integration**
|
|
69
|
+
- Real-time internet search via Perplexity API
|
|
70
|
+
- Social media monitoring via X/Twitter (Grok API)
|
|
71
|
+
- Long-term conversational memory with Zep's graph-based storage
|
|
72
|
+
- Structured data analysis with CSV processing and summarization
|
|
73
|
+
- Vector-based knowledge retrieval with semantic search via Pinecone
|
|
74
|
+
- Hybrid search combining vector similarity and text relevance via MongoDB and Pinecone
|
|
75
|
+
|
|
76
|
+
### 🌐 **Collective Swarm Intelligence**
|
|
77
|
+
- Hybrid semantic-keyword search spanning all user interactions
|
|
78
|
+
- Privacy-preserving knowledge extraction from conversations
|
|
79
|
+
- Self-organizing knowledge base with automatic categorization
|
|
80
|
+
- Cross-domain insight discovery and connection building
|
|
81
|
+
- Autonomous knowledge refinement through verification tasks
|
|
82
|
+
|
|
83
|
+
### 🕰️ **Time-Aware Intelligence**
|
|
84
|
+
- User-specific timezone handling for personalized time references
|
|
85
|
+
- Chronologically accurate responses across all conversations
|
|
86
|
+
- Default timezone fallbacks at both agent and swarm levels
|
|
87
|
+
- Seamless timezone preservation during agent handoffs
|
|
88
|
+
|
|
89
|
+
### ⚖️ **Self-Critical System**
|
|
90
|
+
- AI critic that evaluates agent responses for quality and accuracy
|
|
91
|
+
- Autonomous identification of improvement areas across all agents
|
|
92
|
+
- Prioritized feedback based on severity and impact
|
|
93
|
+
- System-wide trend analysis to track collective improvement
|
|
94
|
+
- Integrates feedback automatically to improve future answers
|
|
95
|
+
|
|
96
|
+
### 🎯 **Unified Mission Framework**
|
|
97
|
+
- Define organization-wide values, goals, and operating principles
|
|
98
|
+
- Automatically applied to all agents in the swarm
|
|
99
|
+
- Visually distinct formatting for clarity and emphasis
|
|
100
|
+
- Consistent decision-making aligned with organizational priorities
|
|
101
|
+
- Individual agent specializations work within the directive framework
|
|
102
|
+
|
|
103
|
+
## Privacy and Collective Memory
|
|
104
|
+
|
|
105
|
+
Solana Agent's collective memory system is designed with privacy in mind:
|
|
106
|
+
|
|
107
|
+
- **Selective Knowledge Extraction**: Only factual, non-personal information is extracted
|
|
108
|
+
- **Privacy Filtering**: The AI is instructed to exclude user-specific details, opinions, and sensitive information
|
|
109
|
+
- **Optional Feature**: Easily disable collective memory with the `enable_collective_memory=False` parameter
|
|
110
|
+
- **Transparency**: Extracted insights are accessible and reviewable
|
|
111
|
+
- **Customizable Thresholds**: Adjust what qualifies as a valuable insight worth sharing
|
|
112
|
+
|
|
113
|
+
When collective memory is enabled, the system extracts valuable factual knowledge that can benefit all users, while carefully avoiding personal or sensitive information. For environments with stricter privacy requirements, the feature can be completely disabled.
|
|
114
|
+
|
|
115
|
+
## Time Awareness
|
|
116
|
+
|
|
117
|
+
Solana Agent's time awareness system ensures your AI assistants always provide chronologically accurate responses based on each user's timezone:
|
|
118
|
+
|
|
119
|
+
- **User-Based Time Context**: Pass user timezone directly in conversation requests
|
|
120
|
+
- **Global Time Management**: Get precise time in any timezone using NTP synchronization
|
|
121
|
+
- **Timezone Preservation**: Maintains timezone context during agent handoffs
|
|
122
|
+
- **Default Fallbacks**: Configurable defaults at both agent and swarm levels
|
|
123
|
+
- **Contextual Date Awareness**: All agents understand "today," "next week," or "in 3 days" relative to user's timezone
|
|
124
|
+
|
|
125
|
+
## Why Choose Solana Agent Over LangChain?
|
|
126
|
+
|
|
127
|
+
### 🎯 Key Differentiators
|
|
128
|
+
|
|
129
|
+
#### 💡 **AGI-First Architecture**
|
|
130
|
+
- Designed for autonomous intelligence and self-improvement
|
|
131
|
+
- Framework for agents to improve themselves without human intervention
|
|
132
|
+
|
|
133
|
+
#### 🧠 **Advanced Memory Architecture**
|
|
134
|
+
- Sophisticated episodic and semantic memory vs. basic memory types
|
|
135
|
+
- Cross-session knowledge retention with importance-based storage
|
|
136
|
+
- Autonomous extraction of insights from conversations
|
|
137
|
+
- Collective memory across users and agents
|
|
138
|
+
|
|
139
|
+
#### 🤝 **True Multi-Agent Orchestration**
|
|
140
|
+
- First-class swarm intelligence with specialized agent teams
|
|
141
|
+
- Dynamic routing based on expertise and query complexity
|
|
142
|
+
- Seamless context preservation during handoffs
|
|
143
|
+
- Single unified interface for the entire agent ecosystem
|
|
144
|
+
- Unified mission framework for consistent decision making
|
|
145
|
+
|
|
146
|
+
#### 🏢 **Enterprise Production Readiness**
|
|
147
|
+
- Deployment-ready with minimal configuration
|
|
148
|
+
- Comprehensive error handling and recovery mechanisms
|
|
149
|
+
- Scalable architecture supporting high-concurrency environments
|
|
150
|
+
- Privacy-preserving design with configurable controls
|
|
151
|
+
|
|
152
|
+
#### 🛠️ **Developer Experience**
|
|
153
|
+
- Clean, intuitive API without excessive abstractions
|
|
154
|
+
- Standard Python functions vs complex chaining constructs
|
|
155
|
+
- Minimal boilerplate for common operations
|
|
156
|
+
- ~1500 vs ~500,000 lines of code
|
|
157
|
+
|
|
158
|
+
## Installation
|
|
159
|
+
|
|
160
|
+
You can install Solana Agent using pip:
|
|
161
|
+
|
|
162
|
+
```bash
|
|
163
|
+
pip install solana-agent
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
## Documentation
|
|
167
|
+
* Each public method has a docstring for real-time IDE hinting
|
|
168
|
+
|
|
169
|
+
## Production Apps
|
|
170
|
+
* [CometHeart](https://cometheart.com) - AI Companion and Business Coach on mobile using voice-to-voice conversations
|
|
171
|
+
|
|
172
|
+
## Example Apps
|
|
173
|
+
* [Solana Agent Example App](https://github.com/truemagic-coder/solana-agent-app) - See as source of documentation
|
|
174
|
+
|
|
175
|
+
## License
|
|
176
|
+
|
|
177
|
+
This project is licensed under the MIT License - see the LICENSE file for details.
|
|
178
|
+
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
solana_agent/__init__.py,sha256=zpfnWqANd3OHGWm7NCF5Y6m01BWG4NkNk8SK9Ex48nA,18
|
|
2
|
+
solana_agent/ai.py,sha256=dv2dR_nZeK3hyd1wdB9SojCpltGzlihId_-wWxKmz_E,86098
|
|
3
|
+
solana_agent-7.0.0.dist-info/LICENSE,sha256=BnSRc-NSFuyF2s496l_4EyrwAP6YimvxWcjPiJ0J7g4,1057
|
|
4
|
+
solana_agent-7.0.0.dist-info/METADATA,sha256=9pT5iO8zKiSR1YPVysanOVOs2mzur-MvqoTVHJ0qXQU,8351
|
|
5
|
+
solana_agent-7.0.0.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
|
6
|
+
solana_agent-7.0.0.dist-info/RECORD,,
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.3
|
|
2
|
-
Name: solana-agent
|
|
3
|
-
Version: 6.0.0
|
|
4
|
-
Summary: Build self-learning AI Agents
|
|
5
|
-
License: MIT
|
|
6
|
-
Keywords: ai,openai,ai agents
|
|
7
|
-
Author: Bevan Hunt
|
|
8
|
-
Author-email: bevan@bevanhunt.com
|
|
9
|
-
Requires-Python: >=3.9,<4.0
|
|
10
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
-
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
-
Classifier: Programming Language :: Python :: 3 :: Only
|
|
18
|
-
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
19
|
-
Requires-Dist: ntplib (>=0.4.0,<0.5.0)
|
|
20
|
-
Requires-Dist: openai (>=1.65.1,<2.0.0)
|
|
21
|
-
Requires-Dist: pandas (>=2.2.3,<3.0.0)
|
|
22
|
-
Requires-Dist: pinecone (>=6.0.1,<7.0.0)
|
|
23
|
-
Requires-Dist: pydantic (>=2.10.6,<3.0.0)
|
|
24
|
-
Requires-Dist: pymongo (>=4.11.1,<5.0.0)
|
|
25
|
-
Requires-Dist: requests (>=2.32.3,<3.0.0)
|
|
26
|
-
Requires-Dist: zep-cloud (>=2.4.0,<3.0.0)
|
|
27
|
-
Requires-Dist: zep-python (>=2.0.2,<3.0.0)
|
|
28
|
-
Project-URL: Repository, https://github.com/truemagic-coder/solana-agent
|
|
29
|
-
Description-Content-Type: text/markdown
|
|
30
|
-
|
|
31
|
-
# Solana Agent
|
|
32
|
-
|
|
33
|
-
[](https://pypi.org/project/solana-agent/)
|
|
34
|
-
|
|
35
|
-

|
|
36
|
-
|
|
37
|
-
Solana Agent is the first self-learning AI Agent framework.
|
|
38
|
-
|
|
39
|
-
## Why Solana Agent?
|
|
40
|
-
|
|
41
|
-
### 🧬 The First Self-Learning AI Agent
|
|
42
|
-
|
|
43
|
-
Unlike traditional AI assistants that forget conversations after each session, Solana Agent maintains a rich, searchable memory system that grows smarter with every interaction.
|
|
44
|
-
|
|
45
|
-
**Why This Matters:**
|
|
46
|
-
- 📈 **Continuous Learning**: Evolves with every new interaction
|
|
47
|
-
- 🎯 **Context-Aware**: Recalls past interactions for more relevant responses
|
|
48
|
-
- 🔄 **Self-Improving**: Builds knowledge and improves reasoning automatically
|
|
49
|
-
- 🧠 **Knowledge Base**: Add domain-specific knowledge for better reasoning
|
|
50
|
-
- 🏢 **File Context**: Upload propriety files to be part of the conversation
|
|
51
|
-
- 🛡️ **Secure**: Secure and private memory and data storage
|
|
52
|
-
|
|
53
|
-
**Experience Agentic IQ!**
|
|
54
|
-
|
|
55
|
-
## Features
|
|
56
|
-
|
|
57
|
-
🔄 **Real-time AI Interactions**
|
|
58
|
-
- Streaming text-based conversations
|
|
59
|
-
- Real-time voice-to-voice conversations
|
|
60
|
-
|
|
61
|
-
🧠 **Memory System and Extensibility**
|
|
62
|
-
- Advanced AI memory combining conversational context, knowledge base, and parallel tool calling
|
|
63
|
-
- Create custom tools for extending the Agent's capabilities like further API integrations
|
|
64
|
-
|
|
65
|
-
🤖 **Multi-Agent Swarms**
|
|
66
|
-
- Create specialized agents with different expertise domains
|
|
67
|
-
- Automatic routing of queries to the most appropriate specialist
|
|
68
|
-
- Seamless handoffs between agents for complex multi-domain questions
|
|
69
|
-
- Shared memory and context across the entire agent swarm
|
|
70
|
-
|
|
71
|
-
🔍 **Multi-Source Search and Reasoning**
|
|
72
|
-
- Internet search via Perplexity
|
|
73
|
-
- X (Twitter) search using Grok
|
|
74
|
-
- Conversational memory powered by Zep
|
|
75
|
-
- Conversational message history using MongoDB (on-prem or hosted)
|
|
76
|
-
- Knowledge Base (KB) using Pinecone with reranking - available globally or user-specific
|
|
77
|
-
- Upload CSVs to be processed into summary reports and stored in the Knowledge Base (KB) using Gemini
|
|
78
|
-
- Comprehensive reasoning combining multiple data sources
|
|
79
|
-
|
|
80
|
-
## Why Choose Solana Agent Over LangChain?
|
|
81
|
-
|
|
82
|
-
### 🎯 Key Differentiators
|
|
83
|
-
|
|
84
|
-
🧠 **Advanced Memory Architecture**
|
|
85
|
-
- Built-in episodic memory vs LangChain's basic memory types
|
|
86
|
-
- Persistent cross-session knowledge retention
|
|
87
|
-
- Automatic self-learning from conversations
|
|
88
|
-
- Knowledge Base to add domain specific knowledge
|
|
89
|
-
- CSV file uploads to perform document context search
|
|
90
|
-
|
|
91
|
-
🤝 **Intelligent Multi-Agent Systems**
|
|
92
|
-
- First-class support for specialized agent swarms
|
|
93
|
-
- Dynamic inter-agent routing based on query complexity
|
|
94
|
-
- Seamless handoffs with continuous memory preservation
|
|
95
|
-
- Single unified interface for the entire agent network
|
|
96
|
-
- No custom coding required for agent coordination
|
|
97
|
-
|
|
98
|
-
🏢 **Enterprise Focus**
|
|
99
|
-
- Production-ready out of the box in a few lines of code
|
|
100
|
-
- Enterprise-grade deployment options for all components and services
|
|
101
|
-
- Simple conventions over complex configurations
|
|
102
|
-
|
|
103
|
-
🛠️ **Simplified Development**
|
|
104
|
-
- No chain building required
|
|
105
|
-
- Python plain functions vs complex chaining
|
|
106
|
-
- Fewer moving parts equals more stable applications
|
|
107
|
-
- Smaller repo size by 1000x: Solana Agent @ ~500 LOC vs LangChain @ ~500,000 LOC
|
|
108
|
-
|
|
109
|
-
🚀 **Performance**
|
|
110
|
-
- Optimized for real-time streaming responses
|
|
111
|
-
- Built-in voice processing capabilities
|
|
112
|
-
- Multi-source search with automatic reasoning synthesis
|
|
113
|
-
|
|
114
|
-
## Installation
|
|
115
|
-
|
|
116
|
-
You can install Solana Agent using pip:
|
|
117
|
-
|
|
118
|
-
```bash
|
|
119
|
-
pip install solana-agent
|
|
120
|
-
```
|
|
121
|
-
|
|
122
|
-
## Documentation
|
|
123
|
-
* Each public method has a docstring for real-time IDE hinting
|
|
124
|
-
|
|
125
|
-
## Production Apps
|
|
126
|
-
* [Solana Agent Copilot](https://ai.solana-agent.com) - Solana Token AI Copilot using streaming text conversations
|
|
127
|
-
* [CometHeart](https://cometheart.com) - AI Companion and Business Coach on mobile using voice-to-voice conversations
|
|
128
|
-
|
|
129
|
-
## Example Apps
|
|
130
|
-
* [Solana Agent Example App](https://github.com/truemagic-coder/solana-agent-app) - See as source of documentation
|
|
131
|
-
|
|
132
|
-
## Contributing
|
|
133
|
-
|
|
134
|
-
Contributions to Solana Agent are welcome! Please feel free to submit a Pull Request.
|
|
135
|
-
|
|
136
|
-
## License
|
|
137
|
-
|
|
138
|
-
This project is licensed under the MIT License - see the LICENSE file for details.
|
|
139
|
-
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
solana_agent/__init__.py,sha256=zpfnWqANd3OHGWm7NCF5Y6m01BWG4NkNk8SK9Ex48nA,18
|
|
2
|
-
solana_agent/ai.py,sha256=zwxvAOBhmdzUr9KLeTCsRW1Kg8LpIxJiu0PtxhQj-cI,57017
|
|
3
|
-
solana_agent-6.0.0.dist-info/LICENSE,sha256=BnSRc-NSFuyF2s496l_4EyrwAP6YimvxWcjPiJ0J7g4,1057
|
|
4
|
-
solana_agent-6.0.0.dist-info/METADATA,sha256=y9c0cPhj3x4hzr4qRSNAJIdCVoxhmhlsoux_3fiBLDQ,5419
|
|
5
|
-
solana_agent-6.0.0.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
|
6
|
-
solana_agent-6.0.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|