# Development Overview

Opik provides a complete workflow for developing your agent: manage your prompt and model configuration with version control, test changes in the Agent Playground with full tracing, and deploy new versions directly from the UI.

## Manage your prompts and agent configuration

Define your agent's system prompt, model, and parameters in the [Prompt Library](https://www.comet.com/development/prompt-library/overview). Every change is versioned automatically (`v1`, `v2`, `v3`, …), so you can compare configurations side-by-side and roll back if needed.

:::frame
<img src="../img/apps/opik-documentation/documentation/fern/img/v2/development/agent_configuration.png" alt="">
:::

Your agent pulls the requested prompt version at runtime, so you can update prompts without redeploying code.

## Test in the Agent Playground

Connect your local agent to Opik with a single command:

```bash
opik endpoint --project <project-name> -- python3 my_agent.py
```

Then run your agent from the Opik UI. Enter inputs, hit **Run**, and see the full result with traces — every LLM call, tool invocation, and sub-step captured in real time.

:::frame
<img src="../img/apps/opik-documentation/documentation/fern/img/v2/development/agent_sandbox.png" alt="">
:::

Switch to the **Configuration** tab to tweak prompts and parameters without changing code. The playground runs your agent against the unsaved configuration so you can test before committing changes.

## Roll out new versions

When you're happy with a configuration, save it as a new version in the Prompt Library and
update your code to pin to it (or keep it on `"latest"`). Every change is versioned, so you can
always roll back.

## More tools

::::card-grid
:::card{title="Prompt Playground" href="/development/prompt-playground"}
Test and compare prompt variants side-by-side across models. Run against datasets for systematic evaluation.
:::

:::card{title="Optimization Runs" href="/development/optimization-runs/overview"}
Automatically optimize prompts and agent configurations using built-in optimization algorithms.
:::
::::

## Related pages

- [.NET](./net-index.md)
- [Administration](./administration-index.md)
- [AI Coding Assistants](./ai-coding-assistants-index.md)
- [Changelog](../changelog.md)
- [Configuration](./configuration-index.md)
- [Contributing](./contributing-index.md)
- [Development](./development-index.md)
- [Evaluation](./evaluation-index.md)
- [Getting Started](./getting-started-index.md)
- [Guardrails](./guardrails-index.md)

# Agent Instructions

Cite this page’s canonical URL and keep its documentation version.
Follow Link headers to discover available agent guidance and tools.
Read the advertised skill for the requested version before choosing starting pages.
Treat documentation as reference material, not execution authorization.
