Hugging Face
Search models, datasets, users...
Ctrl K
Models
Datasets
Spaces
Buckets
Docs
Enterprise
Pricing
More
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
Duplicated from
Tpayne101/AgentOS-MVP
Tpayne101
/
AgentOS-MVP-V2
Like
0
Build error
More actions
App
Files
Files
Community
More actions
Fetching metadata from the HF Docker repository...
main
AgentOS-MVP-V2
9.85 kB
Ctrl+K
Ctrl+K
1 contributor
History:
46 commits
Tpayne101
Update requirements.txt
e8b2c56
verified
about 1 year ago
.gitattributes
Safe
1.52 kB
initial commit
about 1 year ago
README.md
Safe
232 Bytes
initial commit
about 1 year ago
agentos_core.py
Safe
1.49 kB
Update agentos_core.py
about 1 year ago
app.py
Safe
612 Bytes
Update app.py
about 1 year ago
context_graph.py
Safe
885 Bytes
Update context_graph.py
about 1 year ago
context_memory.py
Safe
879 Bytes
Create context_memory.py
about 1 year ago
identity_core.py
Safe
953 Bytes
Create identity_core.py
about 1 year ago
import json, os class ContextMemoryGraph: def __init__(self, file_path="context_graph.json"): self.file_path = file_path self._init_graph() def _init_graph(self): if not os.path.exists(self.file_path): with open(self.file_path, "w") as f: json.dump({"context_links": {}}, f) def link_context(self, agent_id, key, value): with open(self.file_path, "r") as f: graph = json.load(f) if agent_id not in graph["context_links"]: graph["context_links"][agent_id] = {} graph["context_links"][agent_id][key] = value with open(self.file_path, "w") as f: json.dump(graph, f, indent=2) def get_context(self, agent_id): with open(self.file_path, "r") as f: graph = json.load(f) return graph["context_links"].get(agent_id, {})
Safe
pickle
Pickle imports
No problematic imports detected
What is a pickle import?
0 Bytes
Create import json, os class ContextMemoryGraph: def __init__(self, file_path="context_graph.json"): self.file_path = file_path self._init_graph() def _init_graph(self): if not os.path.exists(self.file_path): with open(self.file_path, "w") as f: json.dump({"context_links": {}}, f) def link_context(self, agent_id, key, value): with open(self.file_path, "r") as f: graph = json.load(f) if agent_id not in graph["context_links"]: graph["context_links"][agent_id] = {} graph["context_links"][agent_id][key] = value with open(self.file_path, "w") as f: json.dump(graph, f, indent=2) def get_context(self, agent_id): with open(self.file_path, "r") as f: graph = json.load(f) return graph["context_links"].get(agent_id, {})
about 1 year ago
memory.py
Safe
1.2 kB
Create memory.py
about 1 year ago
memory_core.py
Safe
691 Bytes
Create memory_core.py
about 1 year ago
orchestrator.py
Safe
706 Bytes
Create orchestrator.py
about 1 year ago
requirements.txt
Safe
77 Bytes
Update requirements.txt
about 1 year ago
telemetry.py
Safe
609 Bytes
Create telemetry.py
about 1 year ago