{"id":23545521,"url":"https://github.com/bh2smith/near-safe-agent","last_synced_at":"2025-05-15T10:34:37.897Z","repository":{"id":261582835,"uuid":"883688653","full_name":"bh2smith/near-safe-agent","owner":"bh2smith","description":"Bitte Open Agent for Safe Account Management","archived":false,"fork":false,"pushed_at":"2025-03-25T11:15:01.000Z","size":1601,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T12:21:58.054Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://near-safe-agent.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bh2smith.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-05T12:03:59.000Z","updated_at":"2025-03-25T11:15:04.000Z","dependencies_parsed_at":"2024-11-07T10:43:30.419Z","dependency_job_id":"de470ae8-7289-47f5-8360-f3958f65dda7","html_url":"https://github.com/bh2smith/near-safe-agent","commit_stats":null,"previous_names":["bh2smith/near-safe-agent"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bh2smith%2Fnear-safe-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bh2smith%2Fnear-safe-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bh2smith%2Fnear-safe-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bh2smith%2Fnear-safe-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bh2smith","download_url":"https://codeload.github.com/bh2smith/near-safe-agent/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254323168,"owners_count":22051732,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-26T08:18:42.365Z","updated_at":"2025-05-15T10:34:37.867Z","avatar_url":"https://github.com/bh2smith.png","language":"TypeScript","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# Near Safe Agent\n\nA Next.js project that provides an AI assistant for managing [Safe](https://safe.global) accounts through a plugin interface.\n\n## Getting Started\n\nRun the development server:\n\n```bash\nbun dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to access the API.\n\n## Features\n\nThis agent provides an OpenAPI interface for managing Safe accounts with the following endpoints:\n\n### Safe Deployment\n`GET /api/tools/safe/deploy`\n\nEncodes a null transaction that triggers Safe deployment on a specified chain when executed. Requires:\n- `chainId`: The network where the Safe will be deployed\n\n### Recovery Address Management\n`GET /api/tools/safe/add_recovery`\n\nAdds a recovery address to an existing Safe using the `addOwnerWithThreshold` function. Requires:\n- `chainId`: Network where the Safe exists\n- `from`: The Safe address\n- `recoveryAddress`: Address to add as recovery\n\n### Response Format\n\nAll successful transactions return a standard format:\n```typescript\n{\n  transaction: {\n    method: \"eth_sendTransaction\",\n    chainId: number,\n    params: [{\n      to: string,\n      data: string,\n      value: string\n    }]\n  },\n  meta: {\n    safeUrl: string // URL to view the transaction in Safe UI\n  }\n}\n```\n\n## AI Assistant Integration\n\nThe agent includes an AI assistant configured to:\n- Help users deploy new Safe accounts\n- Guide users through adding recovery addresses\n- Generate EVM transactions for Safe operations\n- Provide Safe interface URLs for transaction verification\n\nThe assistant will proactively ask users if they want to add a recovery address during deployment flows.\n\n## Learn More\n\n- [Safe Documentation](https://docs.safe.global)\n- [Safe App Interface](https://app.safe.global)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbh2smith%2Fnear-safe-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbh2smith%2Fnear-safe-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbh2smith%2Fnear-safe-agent/lists"}