- Add API keys as an environment variable
export ANTHROPIC_API_KEY="your-api-key-here"
export GOOGLE_API_KEY="your-api-key-here"- Run the installation script for the latest version (Linux only at the moment):
curl -fsSL https://raw.githubusercontent.com/honganh1206/tinker/main/scripts/install.sh | sudo -E bashTo add MCP servers to tinker:
tinker mcp --server-cmd "my-server:npx @modelcontextprotocol/server-everything"
⚠️ WARNING: If you have a running tinker daemon from a previous version, you must purge it before installing the new version:
- Disable the systemd service:
sudo systemctl disable tinker
sudo systemctl stop tinker- Identify the tinker process:
ps aux | grep tinker- Kill the process entirely (replace
<PID>with the actual process ID):
kill -9 <PID>- Remove the service file:
sudo rm /etc/systemd/system/tinker.service
sudo systemctl daemon-reload- Move the existing
conversation.dbfrom~/.local/.tinkerto~/.tinkerand rename the database totinker.db
make serve # Run the server
make # Run the agent