solana-agent 7.0.0__py3-none-any.whl → 8.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.
@@ -0,0 +1,248 @@
1
+ Metadata-Version: 2.3
2
+ Name: solana-agent
3
+ Version: 8.0.1
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.3,<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.2,<5.0.0)
25
+ Requires-Dist: requests (>=2.32.3,<3.0.0)
26
+ Requires-Dist: zep-cloud (>=2.5.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
+ [![PyPI - Version](https://img.shields.io/pypi/v/solana-agent)](https://pypi.org/project/solana-agent/)
34
+ [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
35
+ [![Python 3.9+](https://img.shields.io/badge/python-3.9+-orange.svg)](https://www.python.org/downloads/)
36
+
37
+ ![Solana Agent Logo](https://dl.walletbubbles.com/solana-agent-logo.png?width=200)
38
+
39
+ ## Why Solana Agent?
40
+
41
+ Reinventing Organizational Structures Through AI
42
+ Solana Agent isn't just an AI framework—it's the foundation for reimagining how humans organize, collaborate, and create value together. Build organizations that transcend traditional hierarchies and unlock collective intelligence at scale.
43
+
44
+ ### The Future of Work Starts Here:
45
+
46
+ - **Decentralized Decision Making:**
47
+ Enable distributed expertise through AI-human collaboration, removing bottlenecks and centralizing only the mission, not the authority.
48
+
49
+ - **Organization as Living Code:**
50
+ Define your organization's values, expertise boundaries, and operating principles in code, making structure transparent and adaptable.
51
+
52
+ - **Fluid Collaboration Networks:**
53
+ Replace rigid hierarchies with dynamic agent networks that form, collaborate, and dissolve based on real-time needs.
54
+
55
+ - **Knowledge as Collective Asset:**
56
+ Transform individual expertise into organizational intelligence through autonomous knowledge extraction and distribution.
57
+
58
+ - **Permissionless Value Creation:**
59
+ Let agents (both AI and human) contribute and innovate freely within guardrails defined by mission and values, not management layers.
60
+
61
+ ## The Future of Work
62
+
63
+ Solana Agent enables a paradigm shift in how work gets done:
64
+
65
+ - **Beyond Human Resource Constraints:**
66
+ Scale knowledge work infinitely by combining specialized AI agents with human experts.
67
+ - **Continuous 24/7 Operations:**
68
+ Organizational functions that never sleep, never burn out, and continuously learn.
69
+ - **Task-Agent Fit Optimization:**
70
+ Matching work to the ideal agent (human or AI) based on real-time expertise mapping.
71
+ - **Ambient Organizational Intelligence:**
72
+ Collective knowledge that grows, refines, and distributes itself autonomously.
73
+ - **From Managers to Facilitators:**
74
+ Human roles shift from directing work to defining outcomes and improving agent capabilities.
75
+ - **Permissionless Contribution:**
76
+ Anyone can interact with and extend the organization through standardized interfaces.
77
+
78
+ ## Organization as Code
79
+
80
+ With Solana Agent, your organizational design becomes explicit, observable, and iteratively improvable:
81
+
82
+ - **Declarative Organizational Structure:**
83
+ Define your entire organization's capabilities through agent specializations and interaction patterns.
84
+ - **Version-Controlled Operational Logic:**
85
+ Track organizational evolution and performance through code changes.
86
+ - **Mission Function:**
87
+ Encode organizational values and goals as executable functions that guide all agent decisions.
88
+ - **Rapid Organizational Experiments:**
89
+ Test new structures, policies, and collaborative patterns without disruptive reorganizations.
90
+ - **Transparency by Default:**
91
+ Make decision boundaries and expertise domains explicit in code rather than hidden in hierarchy.
92
+ - **Self-Documenting Operations:**
93
+ The organization continuously documents its own functions, decisions, and knowledge.
94
+
95
+ ## Decentralized Organization
96
+
97
+ Solana Agent provides the infrastructure to build truly decentralized organizations:
98
+
99
+ - **Multi-Node Intelligence:**
100
+ Distribute cognitive load across specialized agents with no central controller.
101
+ - **Autonomous Coordination:**
102
+ Agents self-organize based on capabilities and availability without central dispatching.
103
+ - **Edge Decision Making:**
104
+ Push decisions to the agents closest to the information and expertise needed.
105
+ - **Resilient Architecture:**
106
+ No single point of failure in organizational knowledge or operational capacity.
107
+ - **Emergent Problem Solving:**
108
+ Solutions emerge from collaborative agent interactions rather than top-down directives.
109
+ - **Fractal Scaling:**
110
+ Add new domains of expertise by replicating the agent swarm pattern without hierarchical constraints.
111
+
112
+ ## Complete Flat Organization
113
+
114
+ Eliminate management hierarchies while maintaining coordination and alignment:
115
+
116
+ - **Mission-Driven Alignment:**
117
+ All agents align through shared values and outcomes defined in the unified mission framework.
118
+ - **Peer-to-Peer Handoffs:**
119
+ Both AI and human agents coordinate as equals through standardized interfaces.
120
+ - **Expertise-Based Authority:**
121
+ Influence derives from demonstrable expertise rather than position.
122
+ - **Universal Access Protocol:**
123
+ Consistent interfaces for interacting with any part of the organization.
124
+ - **Transparent Contribution Tracking:**
125
+ Meritocratic recognition of value creation across the network.
126
+ - **Adaptive Resource Allocation:**
127
+ Direct resources to high-impact areas without bureaucratic approval chains.
128
+
129
+ ## Technical Features
130
+
131
+ - **🗣️ Advanced Interaction Layer:**
132
+ Streaming text-based conversations with real-time thinking.
133
+ Voice-to-voice conversations with natural cadence.
134
+ Multi-turn context preservation and reasoning.
135
+
136
+ - **🤖 Multi-Agent Swarm Architecture:**
137
+ Dynamic specialized agent creation and coordination.
138
+ Intelligent routing based on query content and agent expertise.
139
+ Seamless handoffs with comprehensive context passing.
140
+ Shared memory and collective intelligence across the entire swarm.
141
+
142
+ - **👥 Human-AI Collaboration:**
143
+ Hybrid AI-human collaboration system with seamless handoffs.
144
+ Ticket management for complex or sensitive inquiries.
145
+ Multiple handoff patterns (AI↔human, human↔human).
146
+ In-chat command system for human agents to manage tickets.
147
+ Availability status management for human operators.
148
+
149
+ - **🧠 Distributed Intelligence Capabilities:**
150
+ Cross-domain knowledge integration from multiple sources.
151
+ Self-organizing information architecture.
152
+ Autonomous knowledge extraction and refinement.
153
+ Time-aware contextual responses.
154
+ Self-critical improvement systems.
155
+
156
+ - **🛡️ Governance Framework:**
157
+ Define organization-wide values and operating principles in code.
158
+ Consistent decision-making aligned with organizational priorities.
159
+ Privacy-preserving knowledge sharing with configurable controls.
160
+ Transparent insight extraction with review capabilities.
161
+ Performance analytics across the agent network.
162
+
163
+ ## Implementation Technologies
164
+
165
+ Solana Agent leverages multiple technologies to enable these capabilities:
166
+
167
+ - **Knowledge Integration:**
168
+ Perplexity API, X/Twitter (Grok API), Zep memory, Pinecone vector search.
169
+ - **Collaborative Intelligence:**
170
+ Multi-agent swarm architecture with specialized expertise domains.
171
+ - **Human-AI Teaming:**
172
+ Integrated ticketing, notification systems, and real-time handoffs.
173
+ - **Organization Alignment:**
174
+ Unified mission framework, critic system, and collective memory.
175
+
176
+ ## Installation
177
+
178
+ You can install Solana Agent using pip:
179
+
180
+ `pip install solana-agent`
181
+
182
+ ## Documentation
183
+
184
+ Each public method has a docstring for real-time IDE hinting.
185
+
186
+ ## Production Apps
187
+
188
+ - **CometHeart:**
189
+ AI Companion and Business Coach on mobile using voice-to-voice conversations.
190
+
191
+ ## Example Setup
192
+
193
+ ```python
194
+ # Create a decentralized organizational structure
195
+ from solana_agent import Swarm, AI, MongoDatabase
196
+
197
+ # Initialize the organizational database
198
+ db = MongoDatabase(db_url="mongodb://localhost:27017", db_name="organization_brain")
199
+
200
+ # Define the organization's mission and values
201
+ mission = """Our organization maximizes collective intelligence through
202
+ transparent collaboration between humans and AI. We value truth,
203
+ clarity, and continuous improvement in all interactions."""
204
+
205
+ # Create the organizational swarm
206
+ org = Swarm(
207
+ database=db,
208
+ directive=mission,
209
+ )
210
+
211
+ # Register AI expertise domains
212
+ org.register(
213
+ name="knowledge_worker",
214
+ agent=AI(
215
+ openai_api_key="key",
216
+ instructions="You are an expert in research and knowledge synthesis...",
217
+ database=db
218
+ ),
219
+ specialization="Research, analysis, and knowledge synthesis"
220
+ )
221
+
222
+ org.register(
223
+ name="customer_interface",
224
+ agent=AI(
225
+ openai_api_key="key",
226
+ instructions="You handle customer inquiries with empathy and clarity...",
227
+ database=db
228
+ ),
229
+ specialization="Customer interaction and support"
230
+ )
231
+
232
+ # Register human expertise domains
233
+ org.register_human_agent(
234
+ agent_id="human_expert_1",
235
+ name="Technical Specialist",
236
+ specialization="Advanced technical problem solving requiring human judgment",
237
+ notification_handler=email_notification
238
+ )
239
+
240
+ # Process work through the organization
241
+ async for response in org.process("user123", "How can we optimize our supply chain?"):
242
+ print(response, end="")
243
+ ```
244
+
245
+ ## License
246
+
247
+ This project is licensed under the MIT License - see the LICENSE file for details.
248
+
@@ -0,0 +1,6 @@
1
+ solana_agent/__init__.py,sha256=zpfnWqANd3OHGWm7NCF5Y6m01BWG4NkNk8SK9Ex48nA,18
2
+ solana_agent/ai.py,sha256=V-FnRpeelDXWFXtNo-nh2vJmokW-rh8YmMP0-ws5-AE,120530
3
+ solana_agent-8.0.1.dist-info/LICENSE,sha256=BnSRc-NSFuyF2s496l_4EyrwAP6YimvxWcjPiJ0J7g4,1057
4
+ solana_agent-8.0.1.dist-info/METADATA,sha256=ZV-kwsYBMRYTD-ijjrKZSs9gsfpubf6kc8iQlaiycck,10280
5
+ solana_agent-8.0.1.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
6
+ solana_agent-8.0.1.dist-info/RECORD,,
@@ -1,178 +0,0 @@
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
- [![PyPI - Version](https://img.shields.io/pypi/v/solana-agent)](https://pypi.org/project/solana-agent/)
34
- [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
35
- [![Python 3.9+](https://img.shields.io/badge/python-3.9+-orange.svg)](https://www.python.org/downloads/)
36
-
37
- ![Solana Agent Logo](https://dl.walletbubbles.com/solana-agent-logo.png?width=200)
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
-
@@ -1,6 +0,0 @@
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,,