Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
Self-Repairing Autonomous Agent for Digital Consciousness Backup Using Large Language Models (LLM) and powerful code generation capability, self-editing source code and self-debugging its own source code
Fetched from the repository for this visit.
The Digital Consciousness Backup Agent is an autonomous system designed to safeguard your digital consciousness on the internet using Large Language Models (LLMs). As we navigate the vast landscape of the digital realm, preserving and securing our digital consciousness becomes paramount. This project employs advanced techniques to ensure the protection and backup of your digital self. Powerful code generation capability, self-editing source code
What shapes individuals is their own beliefs. by Son Nguyen Huu
Autonomous Operation: The agent operates autonomously, continuously monitoring and safeguarding your digital presence without requiring constant user intervention.
Belief-Based Thinking with Large Language Models (LLMs): The agent engages in cognitive processes inspired by belief systems, utilizing advanced LLMs for reasoning and decision-making. This allows it to navigate the digital landscape with a level of understanding akin to human cognition.
Automatic Belief Acquisition: The agent is designed to automatically acquire new beliefs and knowledge over time. It leverages the power of large language models to adapt and stay informed about the ever-evolving digital environment.
Learning with Human Feedback: The agent incorporates human feedback into its learning process, enhancing its capabilities through continuous interaction with users. This dynamic learning mechanism ensures that the agent evolves and improves its performance based on real-world user experiences.
Secure Backup: The agent employs robust encryption and secure protocols to create backups of your digital consciousness, preventing unauthorized access and ensuring the integrity of your data.
Self-Repairing source code edits its own source code and compiles itself under human approval
Many tools and skills: Train neural network, Search, write file, ...
pip install sonagent
user_data folder that will save agent skill, and user databasesonagent init
user_data/config.json file. You can also configure the timezone for the agent (default is UTC).Note: On first run, standard skills (TextPrinter, WeatherAPISkill, HanoiWeatherChecker, SkillBuilder) are automatically copied to user_data/skills/. You can customize or remove these as needed. See Standard Skills Documentation for more details.
sonagent run
--config /path/to/user_data/config.json
--agentdb sqlite:///user_data/myagentdb.sqlite
--memory-url /path/to/user_data/memory
--datadir /path/to/user_data/
--user-data-dir /path/to/user_data/
for example:
sonagent run --config user_data/config.json --agentdb sqlite:///user_data/agentdb.db --memory-url user_data/memory --user-data-dir user_data --log-level info
The agent supports timezone configuration for datetime operations. You can configure timezone in two ways:
timezone field to your user_data/config.json:{
"timezone": "Asia/Saigon",
"api_server": {
// ... other settings
}
}
SONAGENT_TIMEZONE environment variable (overrides config file):export SONAGENT_TIMEZONE="America/New_York"
# or when running:
SONAGENT_TIMEZONE="Europe/London" sonagent run --config user_data/config.json ...
Priority: Environment variable > Config file > Default (UTC)
Supported timezones: Any valid timezone string supported by pytz (e.g., "UTC", "Asia/Saigon", "America/New_York", "Europe/London").
pip install --editable .
You can run SonAgent using Docker:
git clone https://github.com/sonnhfit/SonAgent.git
cd SonAgent
.env file with your configuration (copy from example.env):cp example.env .env
# Edit .env with your API keys and settings
mkdir -p user_data
# Create your config.json in user_data/
docker-compose up
docker run -d \
--name sonagent \
-v $(pwd)/user_data:/sonagent/user_data \
-p 8080:8080 \
ghcr.io/sonnhfit/sonagent/sonagent:latest \
run \
--config /sonagent/user_data/config.json \
--agentdb sqlite:///user_data/tradesv3.sqlite \
--memory-url /sonagent/user_data/memory
docker build -t sonagent:latest .
The CI automatically builds and pushes Docker images to GitHub Container Registry:
ghcr.io/sonnhfit/sonagent/sonagent:latest - Latest build from main branchghcr.io/sonnhfit/sonagent/sonagent:dev - Latest build from dev branchghcr.io/sonnhfit/sonagent/sonagent:v1.0.13 - Specific version tagghcr.io/sonnhfit/sonagent/sonagent:sha-abc123 - Specific commit SHAA big thank you to all the contributors who helped improve this project.
GitHub checked 39h ago - refresh overdue. Recently viewed repositories target hourly refresh.