FivcPlayground
An intelligent agent ecosystem for autonomous tool generation, task assessment, and dynamic agent orchestration.
🔄 Pluggable Backends: FivcPlayground supports Strands (default), Google ADK, and the optional real-time Pipecat backend. See Backend Selection Guide.
🎯 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.11 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 (strands, adk, pipecat)
│ ├── adk/ # Google ADK backend
│ ├── pipecat/ # Optional real-time/text pipeline 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?"
# Select an installed optional backend
fivcplayground run Generic --backend adk --query "What is machine learning?"
fivcplayground run Generic --backend pipecat --query "What is machine learning?"
# 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
Stream Agent Events
stream_async() is the primary execution path. It yields (event, run)
pairs while the agent executes, and each run is an independent deep
snapshot:
from fivcplayground.agents import AgentRunEvent
async for event, run in agent.stream_async(
query="What is machine learning?",
agent_run_repository=agent_run_repository,
agent_run_session_id=session_id,
):
if event is AgentRunEvent.STREAM:
print(run.delta.text, end="", flush=True)
elif event is AgentRunEvent.FINISH:
print(f"\nfinished: {run.status}")
Events arrive as START, zero or more STREAM/TOOL/UPDATE events,
and finally FINISH. Runtime failures are reported on the FINISH
snapshot before the original exception is re-raised. Closing or cancelling
the stream before completion persists a FAILED run. run_async() is a
small reduction wrapper that consumes the stream and returns the final
BaseModel or AgentRunContent; its optional event_callback observes
the stream while reduction is in progress.
🧰 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 - Strands, Google ADK, and Pipecat
- 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
Metadata
Release files for fivcplayground 0.1.47
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fivcplayground-0.1.47.tar.gz | 147.3 kB | Without provenance | Details for fivcplayground-0.1.47.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fivcplayground-0.1.47-py3-none-any.whl | Python 3 | none | any | Details for fivcplayground-0.1.47-py3-none-any.whl |
Total release size: 243.6 kB
Release files / fivcplayground-0.1.47.tar.gz
| Download URL | fivcplayground-0.1.47.tar.gz |
|---|---|
| Size | 147.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
826bd1a648a9cb661cfb48ccde4e9b44b25d9263a873fcddf544cfba1e9b21c0
|
|
BLAKE2b-256 checksum How to use checksums |
e10117aea438f92dccc4644dfa94d0eff729731facaa1d28ad26d63ed8f72133
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.10
|
Release files / fivcplayground-0.1.47-py3-none-any.whl
| Download URL | fivcplayground-0.1.47-py3-none-any.whl |
|---|---|
| Size | 96.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9093b3ae348125926efbaaf95b61cb521e669c1ad99353bfab13c0670da17530
|
|
BLAKE2b-256 checksum How to use checksums |
a4fcbfb5f8ec0312ad78899d84b65bc9fce8d39187412f224af3f63f326385e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.10
|
Security for fivcplayground 0.1.47
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.