juliensimon/ocel-generator — explained in plain English
Analysis updated 2026-05-18
Generate realistic agent trace data to test an observability dashboard without running real AI workloads.
Train an anomaly detector on labeled conformant versus deviant multi-agent traces.
Benchmark agent frameworks like LangGraph, CrewAI, or AutoGen against standardized synthetic scenarios.
Download a pre-built dataset of 17,000+ events from Hugging Face instead of generating your own.
| juliensimon/ocel-generator | adya84/ha-world-cup-2026 | afk-surf/safeclipper | |
|---|---|---|---|
| Stars | 16 | 16 | 16 |
| Language | Python | Python | Python |
| Setup difficulty | easy | easy | moderate |
| Complexity | 2/5 | 2/5 | 3/5 |
| Audience | developer | general | developer |
Figures from each repo's GitHub metadata at analysis time.
Structural trace generation needs no API key, enrichment with real LLM content requires an OpenAI-compatible API key or local model.
ocelgen is a tool for generating realistic synthetic workflow traces from multi-agent AI systems. A trace here is a detailed log of everything that happened during a task: which AI agents were involved, what prompts they received, what responses the language model returned, which tools were called, how long each step took, and what it cost. These traces mirror the observability data you would capture from a real production AI system. The tool is designed for teams who need trace data for testing, training, or benchmarking without running actual AI workloads at scale. It can produce over 1,500 events in under two seconds with no API key required. When you connect an AI model through an OpenAI-compatible endpoint, it fills each trace with realistic generated content, including actual LLM prompts and responses, tuned to the chosen scenario. Three workflow structures are supported: sequential, where one agent hands off to the next, supervisor, where one coordinator delegates to multiple workers, and parallel, where multiple workers run at the same time. Traces can also include intentional deviations such as wrong tool calls, skipped steps, and timeouts, each with ground-truth labels, which makes the data useful for training anomaly detection systems. Ten deviation types are available in total. Ten built-in domains are included, covering scenarios like customer support triage, code review, incident response, and financial analysis. Custom domains can be defined in a YAML configuration file and merged with the built-in set. Every generated trace passes through five validation layers checking things like schema compliance and temporal ordering, and follows the OCEL 2.0 standard so it loads directly into PM4Py, a process mining library. A pre-built dataset of over 17,000 events is also available on Hugging Face for teams who prefer not to generate their own. The full README is longer than what was shown.
ocelgen generates realistic synthetic multi-agent AI workflow traces, complete with LLM prompts, tool calls, and labeled deviations, for testing and benchmarking observability tools.
Mainly Python. The stack also includes Python, OCEL 2.0, PM4Py.
MIT licensed, free to use, modify, and redistribute including in commercial projects.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.