Skip to content

Instantly share code, notes, and snippets.

View emaV's full-sized avatar
🎯
Focusing

Emanuele Quinto emaV

🎯
Focusing
View GitHub Profile
@emaV
emaV / Manus_report.md
Created March 29, 2025 14:05 — forked from renschni/Manus_report.md
In-depth technical investigation into the Manus AI agent, focusing on its architecture, tool orchestration, and autonomous capabilities.

I wrote an in-depth research prompt to conduct a GPT-Deep-Research on the Manus topic, seeking to replicate it with currently available open source tools. This is the result:

TLDR: Manus AI Agent Report

Manus is an autonomous AI agent built as a wrapper around foundation models (primarily Claude 3.5/3.7 and Alibaba's Qwen). It operates in a cloud-based virtual computing environment with full access to tools like web browsers, shell commands, and code execution. The system's key innovation is using executable Python code as its action mechanism ("CodeAct" approach), allowing it to perform complex operations autonomously. The architecture consists of an iterative agent loop (analyze → plan → execute → observe), with specialized modules for planning, knowledge retrieval, and memory management. Manus uses file-based memory to track progress and store information across operations. The system can be replicated using open-source components including CodeActAgent (a fine-tuned Mistral model), Docker for sandbox

{
"meta": {
"theme": "stackoverflow",
"lastModified": "2025-03-21T11:16:57.998Z"
},
"basics": {
"name": "Emanuele Quinto",
"label": "Solution Architect - Senior Web Technology Specialist",
"email": "[email protected]",
"url": "https://registry.jsonresume.org/emaV",
@emaV
emaV / mermaid.flowchart.md
Created February 21, 2022 16:35
mermaid flowchart

graph TD 1(UNHCR Account) -- no --> 1.1[SDM Requests account] --> 1 -- yes --> 2[VPN - ServiceNow] --> 3(Privileged account, sudo) -- no --> 4 -- yes --> 3.1[Requires deputy director approval] --> 4 4[Server Account request] --> 5[WIPRO setup the account] --> 6

@emaV
emaV / enforcePasteChrome.js
Created July 23, 2021 07:31
Enable paste in Chrome
// Enable Paste in Chrome (ctrl-v)
// [How to Enable Pasting Text on Sites That Block It](https://www.howtogeek.com/251807/how-to-enable-pasting-text-on-sites-that-block-it/)
var allowPaste = function(e){
e.stopImmediatePropagation();
return true;
};
document.addEventListener('paste', allowPaste, true);
@emaV
emaV / bookmarks.js
Created October 25, 2020 14:48
Revert to old FB
javascript:(()=>{let%20e=require("DTSGInitialData").token||document.querySelector('[name="fb_dtsg"]').value,t=require("CurrentUserInitialData").USER_ID||document.cookie.match(/c_user=([0-9]+)/)[1];fetch("https://www.facebook.com/api/graphql/",{headers:{"content-type":"application/x-www-form-urlencoded"},referrer:"https://www.facebook.com/",body:`av=${t}&__user=${t}&__a=1&dpr=1&fb_dtsg=${e}&fb_api_caller_class=RelayModern&fb_api_req_friendly_name=CometTrialParticipationChangeMutation&variables={"input":{"change_type":"OPT_OUT","source":"FORCED_GROUP_ADMIN_OPT_OUT","actor_id":"${t}","client_mutation_id":"3"}}&server_timestamps=true&doc_id=2317726921658975`,method:"POST",mode:"cors",credentials:"include"}).then(e=>{console.log("Done"),location.reload()})})();
#!/bin/bash
# LightSail launch script
# https://lightsail.aws.amazon.com/ls/docs/en_us/articles/lightsail-how-to-configure-server-additional-data-shell-script
#https://stackoverflow.com/questions/44082464/pass-wget-output-streamed-shell-script-to-bash-but-with-extra-arguments/44083517
# https://docs.bitnami.com/aws/infrastructure/lamp/administration/create-custom-application-php/
# wget -qO - SCRIPTURL | bash -s - "drupal"
set -x
if [ $# -ne 1 ]; then
echo 1>&2 Usage: $0 domain
@emaV
emaV / pam_exec_login.sh
Created April 8, 2020 09:50
pam_exec script to catch the user from atuhorized_keys
#!/bin/bash
# Get user from authorized_keys
# pam_exec_login.sh
# * [ssh - What is the SHA256 that comes on the sshd entry in auth.log? - Server Fault](https://serverfault.com/questions/888281/what-is-the-sha256-that-comes-on-the-sshd-entry-in-auth-log)
# * [bash - How to get all fingerprints for .ssh/authorized_keys(2) file - Server Fault](https://serverfault.com/questions/413231/how-to-get-all-fingerprints-for-ssh-authorized-keys2-file)
# Setup log
b=$(basename $0| cut -d. -f1)
log="/tmp/${b}.log"
@emaV
emaV / blue.md
Last active March 15, 2020 16:47
Fix terminal blue

How to fix the deep blue

From: * terminal - Overriding the shade of color displayed - Unix & Linux Stack Exchange

I had a similar problem, but not under X-Windows. I have virtual boxes that I use to compile software on versions of the operating system other than the one I'm running. These have the standard "hardware console" and not a X-Terminal.

If found that the following worked for me:

echo -e "\\e]R\\e]PC6495ed"
@emaV
emaV / enterprise.txt
Created March 5, 2020 08:46
enterprise
________________ _
\__{=======/_=_/____.--’-`--.___
\ \ `,--,-.___.----'
.--`\\--'../
’---._____.|]
rsync -chavzP --stats -e 'ssh -oHostKeyAlgorithms=+ssh-dss' [email protected]:/shares/Public/music