Skip to main content

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
  • Chat and assist users through an interactive web interface

🚀 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

  1. Copy the example environment file:
cp .env.example .env
  1. 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

# Launch the web interface
make serve

# Or 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
├── plays/           # Streamlit web interface
├── 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

Web Interface

FivcPlayground includes a modern web interface built with Streamlit:

# Launch web interface (default: localhost:8501)
fivcplayground web

# Or using Make
make serve

# Development mode with auto-reload
make serve-dev

# Custom port and host
fivcplayground web --port 8080 --host 0.0.0.0

Features:

  • 💬 Interactive chat interface - Natural conversation with agents
  • 🔄 Async execution - Non-blocking, responsive interface
  • 🛠️ Tool integration - Automatic tool selection and execution
  • 📝 Conversation history - Full session management
  • 🎨 Modern UI - Clean, intuitive Streamlit interface

See Web Interface Documentation for detailed usage instructions.

🧰 Available Tools

FivcPlayground includes built-in tools and supports MCP (Model Context Protocol) tools:

Built-in Tools:

  • calculator - Mathematical calculations
  • current_time - Current date and time
  • python_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:

🤝 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

fivcplayground-0.1.34.tar.gz (140.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fivcplayground-0.1.34-py3-none-any.whl (91.9 kB view details)

Uploaded Python 3

File details

Details for the file fivcplayground-0.1.34.tar.gz.

File metadata

  • Download URL: fivcplayground-0.1.34.tar.gz
  • Upload date:
  • Size: 140.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.10

File hashes

Hashes for fivcplayground-0.1.34.tar.gz
Algorithm Hash digest
SHA256 95547176c851a5a06ac4a78265b7b1484407d5b4063b6dd6041de3b662ad2d3c
MD5 b117406f73fd202600420d3ef705c907
BLAKE2b-256 cfed07c2eae6941b4b7f5a50597935f2244cd75312f78d2f83bad6a1a040ca16

See more details on using hashes here.

File details

Details for the file fivcplayground-0.1.34-py3-none-any.whl.

File metadata

File hashes

Hashes for fivcplayground-0.1.34-py3-none-any.whl
Algorithm Hash digest
SHA256 447e331e5c48e481d378c4e88e84c002b7dd2e8f34083997af7f1a5b282c64a9
MD5 882c48a53178153976411ff6dc0f6a8b
BLAKE2b-256 0ed27daf0c19c176b130fc97743468b33c5ef90787f0423d5c930e2716940e94

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.41

2 files

0.1.40

2 files

0.1.39

2 files

0.1.38

2 files

0.1.37

2 files

0.1.36

2 files

0.1.35

2 files

This release

0.1.34 This release

2 files

0.1.33

2 files

0.1.32

2 files

0.1.31

2 files

0.1.30

2 files

0.1.29

2 files

0.1.28

2 files

0.1.27

2 files

0.1.26

2 files

0.1.25

2 files

0.1.24

2 files

0.1.23

2 files

0.1.22

2 files

0.1.21

2 files

0.1.20

2 files

0.1.19

2 files

0.1.18

2 files

0.1.17

2 files

0.1.16

2 files

0.1.15

2 files

0.1.14

2 files

0.1.13

2 files

0.1.12

2 files

0.1.11

2 files

0.1.10

2 files

0.1.9

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page