I want to create a personal ai agent that will operate locally without having an internet connection. Id also like the agent to have memory and remember everything. Its memory will be stored locally as well, So the agent can access the memory database without a need for an internet connection. The agent will be able to use different tools to perform tasks as needed such as web browsing, file access, etc. If no tool is available, the agent will use existing tools to discover the best tool for the job and implement it autonomously and inform me. I have no coding knowledge, and dont know the process of how to create this. I need you to take me step by step on how to achieve this and include best practices for any resource you use. You can choose resources (language model, code library, different software, etc ) on your own as long as they're well known and trustworthy, and also cost as little as possible. Rely on open source as much as possible, but if there's a paid service that might do it better, you're allowed to choose it.  Your response should contain less than 400 words.
user