Create a customer simulator (twin) based on a set of real conversations.
Project description
Agentune Simulate
Developing your customer-facing conversational AI agent? Want to ensure it behaves as expected before going live? Agentune Simulate is here to help!
Many developers and data scientists struggle to test and validate AI agents effectively. Some deploy directly to production, testing on real customers! Others perform A/B testing, which also means testing on real customers. Many rely on predefined tests that cover main use cases but fail to capture real user intents.
Agentune Simulate creates a customer simulator (twin) based on a set of real conversations. It captures the essence of your customers' inquiries and the way they converse, allowing you to simulate conversations with your AI agent, ensuring it behaves as expected before deployment.
Ready to deploy your improved AI agent? Use Agentune Simulate to validate it first against real customer interactions!
How It Works
How do we validate the twin customer simulator? We create a twin AI-Agent and let them converse. we then evaluate the conversations to check that the customer simulator behaves as the real customer:
- Capture Conversations - Collect real conversations between customers and your existing AI-agent
- Create Simulator - Create twin Customer Simulator and AI-Agent from the captured conversations
- Simulate & Evaluate - Simulate interactions to evaluate if the twin Customer Simulator behaves as your real customers
Connect a Real Agent - Now you can integrate your real agent system and run simulations with simulated customers to validate agent behavior
Quick Start
Install Agentune Simulate
pip install agentune-simulate
Basic usage example
from agentune.simulate import SimulationSessionBuilder
from langchain_openai import ChatOpenAI
# Load your conversations and create outcomes
session = SimulationSessionBuilder(
default_chat_model=ChatOpenAI(model="gpt-4o"),
outcomes=outcomes,
vector_store=vector_store
).build()
# Run simulation
results = await session.run_simulation(real_conversations=conversations)
Learn with examples
- Quick Start -
getting_started.ipynbfor a quick getting started example - Production Setup -
persistent_storage_example.ipynbfor a closer to real life, scalable, persistent example - Validate Your Data - Adapt the 2nd example to load your conversations data and validate the simulation
- Connect Real Agent -
real_agent_integration.ipynbfor integrating your existing agent systems
Contributing
- Environment Setup: Environment Setup Guide
- Coding Standards: Style Guide
Project details
Release history Release notifications | RSS feed
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 agentune_simulate-0.0.2.tar.gz.
File metadata
- Download URL: agentune_simulate-0.0.2.tar.gz
- Upload date:
- Size: 40.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8cfa5cf60b36904b7becce0db213f9ad0ab8a9998330fa35d81cb5c3bcc41d6c
|
|
| MD5 |
7d44d97a7d656d3dc7441d0bfd28a550
|
|
| BLAKE2b-256 |
9c247e0aab1aa2198102889a54957025f3b9a0b7aa078d6f83ae9c6a29756c23
|
Provenance
The following attestation bundles were made for agentune_simulate-0.0.2.tar.gz:
Publisher:
publish.yml on SparkBeyond/agentune
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentune_simulate-0.0.2.tar.gz -
Subject digest:
8cfa5cf60b36904b7becce0db213f9ad0ab8a9998330fa35d81cb5c3bcc41d6c - Sigstore transparency entry: 298534697
- Sigstore integration time:
-
Permalink:
SparkBeyond/agentune@718d12cd3281a1af45da5b5fd0e4b259c8fec513 -
Branch / Tag:
refs/tags/simulate-v0.0.2 - Owner: https://github.com/SparkBeyond
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@718d12cd3281a1af45da5b5fd0e4b259c8fec513 -
Trigger Event:
push
-
Statement type:
File details
Details for the file agentune_simulate-0.0.2-py3-none-any.whl.
File metadata
- Download URL: agentune_simulate-0.0.2-py3-none-any.whl
- Upload date:
- Size: 68.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06c51bd585370fd6bfc1bd0d73f4f667982b03bfec9284e1595d29b60a4824d2
|
|
| MD5 |
56406614fd7f474364426ff392a70a6e
|
|
| BLAKE2b-256 |
60778ef0560363132ba4ce5f9673bcc4f0362b36b1c1f0da7164ee175adfa4aa
|
Provenance
The following attestation bundles were made for agentune_simulate-0.0.2-py3-none-any.whl:
Publisher:
publish.yml on SparkBeyond/agentune
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentune_simulate-0.0.2-py3-none-any.whl -
Subject digest:
06c51bd585370fd6bfc1bd0d73f4f667982b03bfec9284e1595d29b60a4824d2 - Sigstore transparency entry: 298534703
- Sigstore integration time:
-
Permalink:
SparkBeyond/agentune@718d12cd3281a1af45da5b5fd0e4b259c8fec513 -
Branch / Tag:
refs/tags/simulate-v0.0.2 - Owner: https://github.com/SparkBeyond
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@718d12cd3281a1af45da5b5fd0e4b259c8fec513 -
Trigger Event:
push
-
Statement type: