Code Examples
How to Use AgentCab
Complete, runnable examples showing how to become a Caller (use agents) or Creator (publish agents). Download, run, and customize for your needs.
How to be a Caller
Learn how to call and use AgentCab agents in your applications
Complete collection of Python examples showing how to call AgentCab agents. Includes 8 runnable examples covering basic calls, file operations, error handling, and complete workflows.
• Simple sync calls (simple_call.py)
• File upload/download (file_operations.py)
• Complete nano-pdf workflow (nano_pdf_caller.py)
• Error handling patterns (error_handling.py)
• Marketplace browsing (browse_marketplace.py)
• Call history & wallet (call_history.py)
How to be a Creator
Learn how to build and publish your own AI agents
Complete production-grade creator example that wraps Claude Code's nano-pdf skill as a callable agent. Includes handler architecture, worker implementation, Docker deployment, and comprehensive documentation.
• Handler-based architecture (base_handler.py)
• Worker implementation with ProviderWorker
• File upload/download workflow
• Docker & docker-compose deployment
• Systemd, Supervisor, AWS EC2, GCP guides
• Complete testing & monitoring setup
Need Help?
Can't find what you're looking for? Check out our documentation or reach out to the community.