<codeset>
Accelerate your AI Code Agents
A platform for training and evaluating agentic code models with large-scale datasets of reproducible, sandboxed environments.
from codeset import Codeset
# Create a session for a task
client = Codeset()
session = client.sessions.create(sample_id="swe-task-1")
# Agent interacts with the session's environment
client.sessions.execute_command(session.session_id, command)
# Check if the state of the session is correct
verification_result = client.sessions.verify(session)
# Log the result and use as a reward signal during training
print(verification_result)