Fetch.ai Innovation Lab Examples
80+ production-ready AI agent examples in Python
Build autonomous AI agents, multi-agent systems and agentic AI workflows with uAgents, ASI:One, Agentverse, MCP, the A2A protocol, LangChain, CrewAI, Gemini, Claude and OpenAI.
Quickstart ยท Examples ยท Structure ยท Docker ยท Contributing ยท FAQ
๐ Star history
If these examples save you time, a โญ helps other developers find them.
Every folder here is a self-contained, runnable AI agent project with its own README, dependencies and environment template. Whether you are writing your first autonomous agent or architecting a multi-agent system with real payments, there is a working example to start from.
๐ฏ Who is this for?
- Beginners exploring autonomous agents and Fetch.ai for the first time
- Builders integrating LLMs, payments or Web3 into agent workflows
- Hackathon participants who need a working starter in minutes
- Contributors who want to share their agent examples with the community
โก Quickstart
Run your first agent in under two minutes:
# 1. Clone the repo
git clone https://github.com/fetchai/innovation-lab-examples.git
cd innovation-lab-examples
# 2. Pick an example (e.g. the hackathon quickstarter)
cd fetch-hackathon-quickstarter
# 3. Create a virtual environment and install dependencies
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
# 4. Set up environment variables
cp .env.example .env
# Edit .env with your API keys
# 5. Run the agent
python agents/alice/agent.py
Or use the automated setup script from the repo root:
./setup.sh fetch-hackathon-quickstarter
Prerequisites: Python 3.10+, pip and git. Some examples require API keys (ASI:One, OpenAI, Stripe, etc.) โ check each example's
.env.example.
๐ Repository structure
innovation-lab-examples/
โ
โโโ ๐ README.md # This file
โโโ ๐ CONTRIBUTING.md # How to contribute
โโโ ๐ SECURITY.md # Vulnerability reporting
โโโ ๐ ISSUES_GUIDE.md # How to file a good issue
โโโ ๐ LICENSE # Apache 2.0
โโโ ๐ง setup.sh # One-command example setup
โโโ ๐ณ Dockerfile # Run any example in a container
โโโ ๐ณ docker-compose.yml # Compose support
โโโ ๐ง ruff.toml # Repo-wide lint baseline
โ
โโโ ๐ .github/ # CI and contributor templates
โ โโโ workflows/ # ci ยท pull_request_ci ยท review-required ยท pr-ai-review
โ โโโ scripts/ # run-example-tests.sh (per-example test runner)
โ โโโ ISSUE_TEMPLATE/
โ โโโ pull_request_template.md
โ โโโ CODEOWNERS
โ โโโ BRANCH_PROTECTION.md
โ
โโโ ๐ scripts/ # Repository tooling
โ โโโ pr-ai-review.mjs # ASI:One code review for pull requests
โ
โโโ ๐ docs/ # Shared guides and templates
โ โโโ AGENT_README_TEMPLATE.md
โ
โโโ ๐ contributors/ # ๐ Community agents go here
โ โโโ README.md # Contributor guide
โ โโโ CHANGELOG.md # Community changelog
โ โโโ community_agent/
โ โโโ news-summarizer-agent/
โ โโโ gemini-task-manager-agent/
โ
โโโ ๐ข Getting started
โ โโโ fetch-hackathon-quickstarter/ # ๐ Start here
โ โโโ av-script-example/
โ โโโ asi-cloud-agent/
โ โโโ deploy-agent-on-av/
โ โโโ openclaw/
โ โโโ cursor-rules/
โ
โโโ ๐ค LLM integration
โ โโโ asi1-llm-example/
โ โโโ dynamic-ui-on-asi1/ # ASI:One interactive cards (TripMate + news)
โ โโโ anthropic-quickstart/
โ โโโ gemini-quickstart/
โ โโโ openai-agent-sdk/
โ โโโ Claude Agent SDK/
โ โโโ google-genai-parallel-processing/
โ โโโ flight-tracker-openai-workflow-agent/
โ โโโ langchain-agents/
โ โโโ pydantic-agent/
โ โโโ security-scanner-agent/
โ
โโโ ๐ Agent-to-agent (A2A)
โ โโโ launch-your-a2a-agent/
โ โโโ launch-your-a2a-research-team/
โ โโโ a2a-cart-store/
โ โโโ a2a-uAgents-Integration/
โ
โโโ ๐งฉ MCP
โ โโโ mcp-agents/
โ
โโโ ๐ฐ Payments
โ โโโ fet-example/
โ โโโ image-agent-payment-protocol/
โ โโโ stripe-horoscope-agent/
โ โโโ stripe-payment-agents/
โ
โโโ ๐ง RAG and knowledge
โ โโโ Rag-agent/
โ โโโ llama-index/
โ โโโ pdf-summariser-example/
โ
โโโ ๐ฅ Multi-agent systems
โ โโโ google-adk/
โ โโโ Crewai-agents/
โ โโโ ag2-agents/
โ โโโ video-to-map-agent/
โ
โโโ ๐ Web3
โ โโโ web3/
โ โโโ duffel-agent/
โ
โโโ ๐ External integrations
โโโ Composio/
โโโ Browser-based-agents/
โโโ frontend-integration/
๐ Examples index
๐ข Getting Started
๐ค LLM Integration
๐ Agent-to-Agent (A2A)
๐งฉ MCP (Model Context Protocol)
๐ฐ Payments
๐ง RAG & Knowledge
๐ฅ Multi-Agent Systems
๐ Community Contributors
New community agents belong in contributors/ โ see contributors/README.md.
๐ Web3 & Blockchain
๐ External Integrations
๐ณ Docker support
Run any example in a container without installing Python locally:
# Build and run a specific example
docker build --build-arg EXAMPLE=fetch-hackathon-quickstarter -t fetch-example .
# Run with your environment variables
docker run --env-file fetch-hackathon-quickstarter/.env fetch-example
Or use Docker Compose:
EXAMPLE=fetch-hackathon-quickstarter docker compose up
Several examples also include their own
Dockerfileanddocker-compose.ymlfor custom setups.
๐ค Contributing
We welcome contributions from everyone โ a new agent example, a bug fix or a documentation improvement.
- Star this repository (required before opening a PR)
- Fork and create a feature branch from
main - New agents go in
contributors/<your-agent-name>/โ see contributors/README.md - Pick an issue โ good first issues or feature challenges (real-time booking, payments, etc.)
- Run linting โ
ruff check . && ruff format . - Run the tests โ
bash .github/scripts/run-example-tests.sh <your-example> - Open a PR using the PR template โ PRs require maintainer review before merge
Every example should include: README.md, requirements.txt, .env.example (if env vars are needed), and a demo screenshot.
Use the Agent README Template for new examples.
๐ Resources
โ FAQ
An AI agent is a program that perceives its environment, decides what to do and acts on its own to reach a goal โ rather than waiting for step-by-step instructions. The agents in this repo use an LLM for reasoning and the uAgents framework for messaging, discovery and payments.
fetch-hackathon-quickstarter โ it shows the orchestrator + worker pattern
that most other examples build on. From there, pick the category matching your use case in the
examples index.
Most examples need at least one. Each example ships a .env.example listing exactly what it reads. An
ASI:One key covers the majority; individual examples may also need OpenAI, Anthropic,
Google, Stripe or a vendor key.
Yes. Everything here is Apache 2.0 licensed. Third-party APIs each example calls have their own terms and pricing.
See deploy-agent-on-av for Agentverse deployment via Render, and
asi-cloud-agent for ASI Cloud. Any example can also run in Docker โ see
Docker support.
Two patterns. A2A (agent-to-agent) connects independent agents over a shared protocol โ see
a2a-uAgents-Integration. Framework orchestration runs a team inside one
process โ see Crewai-agents, ag2-agents and google-adk.
Yes, and we would like you to. Put it in contributors/<your-agent-name>/ and read
CONTRIBUTING.md first.
๐ License
Licensed under the Apache License 2.0.
Topics: ai-agents ยท autonomous-agents ยท multi-agent-systems ยท agentic-ai ยท llm-agents ยท uagents ยท fetchai ยท agentverse ยท asi-one ยท mcp ยท a2a-protocol ยท langchain ยท crewai ยท openai ยท python
Built by the Fetch.ai Innovation Lab and its contributors.