Back to Opik

Development Overview

apps/opik-documentation/documentation/fern/docs-v2/development/overview.mdx

2.0.22-6605-merge-20652.0 KB
Original Source

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 agent configuration

Define your agent's system prompt, model, and parameters in Opik. Every change is versioned automatically, so you can compare configurations side-by-side and roll back if needed.

<Frame> </Frame>

Your agent pulls the active configuration at runtime, so you can update prompts and model settings without redeploying code. Guaranteed availability ensures your agent always has a valid configuration, even during updates.

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> </Frame>

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.

Deploy new versions

When you're happy with a configuration, use the Deploy to button in the Agent Configuration UI to push it live. Your agent picks up the new version automatically — no code changes, no redeployment.

More tools

<CardGroup cols={2}> <Card title="Prompt Playground" href="/development/prompt-playground" icon="fa-regular fa-terminal"> Test and compare prompt variants side-by-side across models. Run against datasets for systematic evaluation. </Card> <Card title="Optimization Runs" href="/development/optimization-runs/overview" icon="fa-regular fa-chart-line"> Automatically optimize prompts and agent configurations using built-in optimization algorithms. </Card> </CardGroup>