FivcPlayground
An intelligent agent ecosystem built on Strands for autonomous tool generation, task assessment, and dynamic agent orchestration.
🔄 Dual Backend Support: FivcPlayground supports both Strands (default) and LangChain backends. See Backend Selection Guide for details on switching backends.
🎯 Overview
FivcPlayground provides a flexible multi-agent system that can:
- Assess tasks intelligently to determine the best approach
- Retrieve and use tools dynamically based on task requirements
- Plan and execute complex workflows with specialized agents
- Generate and optimize tools autonomously
🚀 Quickstart
Prerequisites
- Python 3.10 or higher
- API keys for LLM providers (OpenAI, Ollama, etc.)
Installation
# Install with uv (recommended)
make install # runtime + dev dependencies
# Or minimal installation
make install-min # runtime only
# Or with pip
pip install -e .
Configuration
- Copy the example environment file:
cp .env.example .env
- Configure your LLM provider settings in
.env:
# OpenAI
OPENAI_API_KEY=your_key_here
OPENAI_BASE_URL=https://api.openai.com/v1
# Or Ollama
OLLAMA_BASE_URL=http://localhost:11434
Quick Start
# Run an agent from CLI
uv run fivcplayground run Generic --query "What is machine learning?"
# Show available commands
uv run fivcplayground --help
📁 Project Structure
src/fivcplayground/
├── agents/ # Agent creation and management
│ └── types/ # Agent retriever and creator types
├── backends/ # Backend implementations (langchain, strands)
│ ├── langchain/ # LangChain backend
│ └── strands/ # Strands backend
├── embeddings/ # Vector database and embeddings
│ └── types/ # Embedding database types
├── models/ # LLM model factories and providers
│ └── types/ # Model types and implementations
│ ├── repositories/ # Model configuration repositories
│ └── base.py # ModelConfig data model
├── schemas.py # Pydantic data schemas
├── settings/ # Configuration management
├── tasks.py # Task execution functions
├── tools/ # Tool management and retrieval
│ └── types/ # Tool retriever and config types
└── utils/ # Utility functions
configs/ # Configuration examples
examples/ # Usage examples
├── agents/ # Agent usage examples
└── tools/ # Tool usage examples
tests/ # Test suite
docs/ # Documentation
💻 Usage
Command Line Interface
# Show all available commands
fivcplayground --help
# Run an agent interactively
fivcplayground run Generic
# Run an agent with a specific query
fivcplayground run Generic --query "What is machine learning?"
# Run different agent types
fivcplayground run Companion --query "Tell me a joke"
fivcplayground run Consultant --query "How should I approach this task?"
# Clean temporary files
fivcplayground clean
# Show system information
fivcplayground info
Available Agents
- Generic - Standard agent for general task execution
- Companion - Friendly chat agent for conversations
- Consultant - Assesses tasks and recommends approaches
- Planner - Creates execution plans and teams
- Researcher - Analyzes patterns and workflows
- Engineer - Develops and optimizes tools
- Evaluator - Assesses performance and quality
🧰 Available Tools
FivcPlayground includes built-in tools and supports MCP (Model Context Protocol) tools:
Built-in Tools:
calculator- Mathematical calculationscurrent_time- Current date and timepython_repl- Python code execution
MCP Tools:
Configure MCP servers in configs/mcp.yaml to add additional tools dynamically.
📚 Documentation
For comprehensive documentation, see the docs/ directory:
- System Design - Architecture and design principles
- Backend Selection Guide - Switching between Strands and LangChain backends
- Dependencies - Installation and dependency management
- Quick Start - Getting started with FivcPlayground
- Documentation Index - Complete documentation overview
🤝 Contributing
Contributions are welcome! Please feel free to submit issues and pull requests.
📄 License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fivcplayground-0.1.41.tar.gz.
File metadata
- Download URL: fivcplayground-0.1.41.tar.gz
- Upload date:
- Size: 124.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.5.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b5f013699eadbcf35b7e848d0e93f251f4a16ef62e8c63b5b3e557dc53e2315
|
|
| MD5 |
44369e4e21239aa0a6c983721d446981
|
|
| BLAKE2b-256 |
b29a1219b089eedf12082765234735c09a863130c13e2805152fde69b9732fc2
|
File details
Details for the file fivcplayground-0.1.41-py3-none-any.whl.
File metadata
- Download URL: fivcplayground-0.1.41-py3-none-any.whl
- Upload date:
- Size: 76.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.5.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ab54ae38c3919ddc6565c0108e7507364ac4b184a3c358c18fd63acc3a80dae
|
|
| MD5 |
cf7fc93420b82c4e9c49c697f646e190
|
|
| BLAKE2b-256 |
3d67a42d7db03c13cb0ed9929d626f6cced812b61de18bc304da2c25168f3aaf
|