{"id":23545510,"url":"https://github.com/bh2smith/near-cow-agent","last_synced_at":"2025-05-15T10:34:38.831Z","repository":{"id":261508491,"uuid":"884510390","full_name":"bh2smith/near-cow-agent","owner":"bh2smith","description":"Bitte Open Agent for CoWSwap","archived":false,"fork":false,"pushed_at":"2025-03-20T14:48:17.000Z","size":2709,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-20T15:41:12.858Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://near-cow-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-06T22:08:40.000Z","updated_at":"2025-03-20T14:48:20.000Z","dependencies_parsed_at":"2024-12-20T14:45:19.993Z","dependency_job_id":"1afe52ec-3cee-4268-a586-fb9bde1ae46f","html_url":"https://github.com/bh2smith/near-cow-agent","commit_stats":null,"previous_names":["bh2smith/near-cow-agent"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bh2smith%2Fnear-cow-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bh2smith%2Fnear-cow-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bh2smith%2Fnear-cow-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bh2smith%2Fnear-cow-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bh2smith","download_url":"https://codeload.github.com/bh2smith/near-cow-agent/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254323195,"owners_count":22051742,"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:38.519Z","updated_at":"2025-05-15T10:34:38.773Z","avatar_url":"https://github.com/bh2smith.png","language":"TypeScript","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# CoWSwap AI Agent\n\nThis is a [Next.js](https://nextjs.org) project that implements an AI-powered agent for interacting with CoW Protocol (Coincidence of Wants). The agent helps users generate and execute transactions on CoW Protocol across supported EVM networks.\n\n## Features\n\n- Generate transaction data for CoW Protocol interactions\n- Support for selling native assets (ETH, xDAI, POL, BNB)\n- ERC20 token transfers\n- WETH wrapping and unwrapping\n- Price quotes and fee estimation for trades\n- Support for multiple EVM networks\n\n## API Endpoints\n\nThe agent exposes several endpoints:\n\n- `/api/tools/cowswap`: Quote prices and generate swap transactions\n- `/api/tools/erc20`: Generate ERC20 transfer transactions\n- `/api/tools/weth/wrap`: Generate WETH wrapping transactions\n- `/api/tools/weth/unwrap`: Generate WETH unwrapping transactions\n\n## Local Development\n\nFirst, install the dependencies:\n\n```bash\nbun install\n```\n\nThen, run the development server:\n\n```bash\nbun dev\nbun dev-testnet\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the Swagger UI.\n\n## Environment Setup\n\nThe application requires the following environment variables:\n\n- `BITTE_KEY`: JSON containing the account ID\n\n## Learn More\n\nTo learn more about the technologies used in this project:\n\n- [CoW Protocol Documentation](https://docs.cow.fi/) - Learn about CoW Protocol\n- [Bitte Documentation](https://docs.bitte.ai/) - Learn about Bitte and building AI agents\n- [Next.js Documentation](https://nextjs.org/docs) - Learn about Next.js features and API\n\n## Deploy on Vercel\n\nThe easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template\u0026filter=next.js\u0026utm_source=create-next-app\u0026utm_campaign=create-next-app-readme).\n\nCheck out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbh2smith%2Fnear-cow-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbh2smith%2Fnear-cow-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbh2smith%2Fnear-cow-agent/lists"}