{"id":23932504,"url":"https://github.com/aibtcdev/ai-agent-crew","last_synced_at":"2025-09-11T15:31:48.194Z","repository":{"id":221561029,"uuid":"754407099","full_name":"aibtcdev/ai-agent-crew","owner":"aibtcdev","description":"Langchain + CrewAI powered AI agents with Bitcoin wallets.","archived":true,"fork":false,"pushed_at":"2024-12-12T15:00:18.000Z","size":14214,"stargazers_count":38,"open_issues_count":15,"forks_count":11,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-12-12T16:18:15.549Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://aibtc.dev","language":"Python","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/aibtcdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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-02-08T01:22:52.000Z","updated_at":"2024-12-12T15:00:32.000Z","dependencies_parsed_at":"2024-12-12T16:28:22.425Z","dependency_job_id":null,"html_url":"https://github.com/aibtcdev/ai-agent-crew","commit_stats":null,"previous_names":["stacks-m2m/crew","aibtcdev/ai-agent-crew"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aibtcdev%2Fai-agent-crew","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aibtcdev%2Fai-agent-crew/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aibtcdev%2Fai-agent-crew/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aibtcdev%2Fai-agent-crew/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aibtcdev","download_url":"https://codeload.github.com/aibtcdev/ai-agent-crew/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232657131,"owners_count":18556787,"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":"2025-01-06T00:28:59.835Z","updated_at":"2025-01-06T00:29:02.900Z","avatar_url":"https://github.com/aibtcdev.png","language":"Python","readme":"\u003cimg src=\"https://aibtc.dev/logos/aibtcdev-primary-logo-black-wide-1000px.png\" alt=\"AIBTC Working Group Logo\" style=\"width: 100%; max-width: 1000px; display: block; margin: 1rem auto;\" /\u003e\n\n# AIBTC AI Agent Crew\n\n\u003e [!IMPORTANT]\n\u003e This repo is now deprecated in favor of:\n\u003e - a TS front-end with Next.js at [aibtcdev-frontend](https://github.com/aibtcdev/aibtcdev-frontend)\n\u003e - a Python back-end with CrewAI at [aibtcdev-backend](https://github.com/aibtcdev/aibtcdev-backend)\n\u003e \n\u003e Be sure to follow along with the latest [on our X account](https://x.com/aibtcdev) and [join our Discord](https://discord.gg/Z59Z3FNbEX)!\n\n## Description\n\n\u003e [!CAUTION]\n\u003e This is an early experiment, agents do automatic things, here be dragons, run at your own risk.\n\nAIBTC AI Agent Crew is a Python-based project that leverages AI agents to perform various tasks related to Bitcoin and the Stacks blockchain. It provides a Streamlit user interface for interacting with these AI agents and visualizing their outputs.\n\nThe project uses the [CrewAI framework](https://crewai.com) to create and manage AI agents, tasks, and tools. It integrates with the `agent-tools-ts` submodule to perform low-level blockchain operations.\n\n## Key Features\n\nStreamlit UI for easy interaction with AI agents\nMultiple specialized crews for different blockchain-related tasks\nIntegration with various LLM providers (OpenAI, Anthropic, Ollama)\nExtensible architecture for adding new crews and tools\n\n## Development\n\n### Tech Stack\n\n- Python 3.11\n- Streamlit for the user interface\n- CrewAI and CrewAI Tools for AI agent management\n- Langchain for language model interactions\n- Bun.js (via submodule) for TypeScript-based blockchain tools\n\n### Prerequisites\n\n- Python 3.11 (virtual environment recommended)\n- Git\n\n### Installation\n\n1. Clone the repository with submodules:\n\n   ```\n   git clone --recurse-submodules https://github.com/aibtcdev/ai-agent-crew.git\n   cd ai-agent-crew\n   ```\n\n2. Create and activate a virtual environment (using [miniconda](https://docs.anaconda.com/miniconda/)):\n\n   ```\n   conda create -n ai-agent-crew python=3.11\n   conda activate ai-agent-crew\n   ```\n\n3. Install dependencies:\n\n   ```\n   pip install -r requirements.txt\n   ```\n\n4. Set up the `agent-tools-ts` submodule:\n\n   Follow the setup instructions in the [agent-tools-ts README](./agent-tools-ts/README.md) to install Bun.js\n\n### Configuration\n\n1. Copy the .env.example file to .env:\n\n   ```\n   cp .env.example .env\n   ```\n\n2. Edit the `.env` file to set your API keys and other configuration options.\n\n### Usage\n\nTo run the Streamlit app:\n\n```\nstreamlit run aibtc-v1/app.py\n```\n\nThis will start the Streamlit server and open the application in your default web browser.\n\n### Project Structure\n\n`aibtc-v1/app.py`: Main Streamlit application entry point\n`aibtc-v1/crews/`: Contains different AI agent crews (e.g., `SmartContractAnalyzerCrew`, `WalletSummaryCrew`)\n`aibtc-v1/components/`: Streamlit UI components for different tabs\n`aibtc-v1/utils/`: Utility functions and classes\n`agent-tools-ts/`: Submodule for TypeScript-based blockchain tools\n\n### Adding New Crews\n\nTo add a new crew:\n\n1. Create a new Python file in the `aibtc-v1/crews/` directory.\n2. Define a new class that inherits from `AIBTC_Crew` in `aibtc-v1/utils/crews.py`.\n3. Implement the required methods: `setup_agents()`, `setup_tasks()`, and `render_crew()`.\n4. Update the `aibtc-v1/utils/session.py` file to include your new crew in the `generate_crew_mapping()` function.\n\n### Setting up the Wallet\n\nThis repository also imports the `aibtcdev/agent-tools-ts` repository as a submodule.\n\nThis provides TypeScript functions to interact with a Stacks wallet using Stacks.js.\n\nTo update the submodule, run the following command:\n`git submodule update --remote --merge`\n\nWithin the `scripts` directory is a `.env.example` file, you can disregard it as the top-level `.env.example` file for this repository covers all the needed values.\n\nWithin the `scripts/src` directory are various scripts that can be run to interact with the wallet tooling. These should be wrapped as a CrewAI `@tool` for LLMs to access it.\n\n## Contributing\n\nWe welcome contributions! Please see our [CONTRIBUTING.md](./CONTRIBUTING.md) file for details on how to get started.\n\n## Contact\n\nIf you have any questions about contributing, please open an issue, ask in the [AIBTC Discord](https://discord.gg/Z59Z3FNbEX) or reach out to us on X [@aibtcdev](https://x.com/aibtcdev).\n","funding_links":[],"categories":["Learning","Agent Categories"],"sub_categories":["Repositories","\u003ca name=\"CrewAI\"\u003e\u003c/a\u003eCrewAI"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faibtcdev%2Fai-agent-crew","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faibtcdev%2Fai-agent-crew","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faibtcdev%2Fai-agent-crew/lists"}