Skip to main content

Contextbase Playground: start here

The playground is a hosted Contextbase workspace for trying the product during the private preview. This page explains what you get, how the pieces connect, what to try first, and where the documentation is.

Apply for a workspace or sign in.

What is Contextbase​

Contextbase is context infrastructure for AI agents, run like a database. It stores the kinds of context an agent needs in one system: what the data means, what the company knows, what earlier runs learned, what each agent did, and whether it worked. Agents and people read it through SQL, Semantic SQL, search, a REST API or MCP, under one set of permissions, versions and audit.

KindWhat it holds
SemanticsSemantic views, analysis skills and specs: one governed definition per metric, queried with Semantic SQL.
KnowledgeDocuments, policies and records stored as typed entities in collections, with references between them and a version history.
MemoryWhat earlier runs learned, written back so the next run starts from it.
TracesEach step of each agent run, ingested over OpenTelemetry.
EvaluationsDatasets, experiments and scores, stored with the traces they judge.

All of it lives in bases. A base holds Types (the shape of an entity), collections of entities, and semantic views, and it is the unit you grant access to. Traces and evaluations are a base too, so you can look at what an agent did next to what it knew, change the knowledge, and measure whether the change helped. The product page has the longer introduction: phoenixdata.ai/product/contextbase.

Getting access​

  1. Apply. Fill in the application form with your name, work email, company and what you are building. You can also choose a name for your workspace.
  2. Wait for our email. We review each application during the private preview and email you when your workspace is ready.
  3. Sign in. Sign in at playground.phoenixdata.ai with the details in that email. You land on the Contextbase page of your workspace, and a short tour shows how the pieces connect.

Your workspace​

An approved application gets one workspace. It is yours alone; other playground users cannot see it. The Contextbase page shows one card for each base the workspace can read.

BaseAccessWhat it is
Your base (named after your workspace)Read and writeWhere you and your agents keep knowledge: runbooks, profiles, notes, anything your agents look up. Create Types and collections here, from the page or over SQL.
Traces & evalsRead-onlyYour agents' runs and your evaluation results. It fills itself: traces arrive over OpenTelemetry, and evaluation results are written with your API key. It comes with semantic views that define trace, span, tool and eval metrics.
Sample basesRead-onlyTwo example bases shared with every workspace. Described below.

The workspace also has its own database and a SQL login. Connect any MySQL-compatible client to query all of the above directly, and join across bases in one statement. The connection details are under Settings › Workspace and on the Get started page.

The Contextbase page: one card per base, with who writes it, what it contains, its access and its SQL name

The Contextbase page. The Traces & evals card links straight to Observability and Evaluation.

How the pages fit together​

Everything in the left navigation reads the same bases. Contextbase is where the data is; the other three sections are pages built on it.

SectionReadsUse it to
ContextbaseAny baseBrowse collections, entities, versions, relationships and semantic views; run a quick query on what you selected.
ObservabilityTraces & evalsSee an overview of runs and cost, then traces, sessions, users and tools.
EvaluationTraces & evalsCurate datasets and evaluators, read experiments, and compare them example by example.
AnalysisEvery base you can readWrite SQL in Explore, keep charts on Dashboards, or ask a question in Ask AI.

Every Observability and Evaluation page shows Base: Traces & evals next to its title. Click it to open that base in Contextbase and see the same data as collections and semantic views.

Observability overview with the Base: Traces & evals label next to the title

Observability › Overview. The label next to the title names the base the page reads.

The sample bases​

Every workspace can read two sample bases. They are shared with all playground users and are read-only. One holds operations data with semantic views on top, for trying Semantic SQL and Ask AI. The other holds documentation pages to browse and search.

First 15 minutes​

No code is needed for this part. Everything happens in the browser.

  1. Take the tour. It runs the first time you sign in. You can replay it from the Tour button in the top navigation.
  2. Open a sample base. On the Contextbase page, open a sample base, pick a collection and open an entity. Read its properties, content and versions.
  3. Follow a relationship. The relationship panel shows what the entity references and what references it. Select a node to open it.
  4. Search by meaning. Type what you are looking for in plain words in the search box and see which entities come back across collections.
  5. Run a query. The query box under the page offers a statement for whatever you selected. Run it, change it, and see the shape of the data. Explore, under Analysis, takes free-form SQL across bases.
  6. Open Traces & evals. Back on the Contextbase page, open the Traces & evals card. Select spans and use Open Observability in the strip that appears to see the same runs as traces, or select semantic_views to see how trace and eval metrics are defined.

The Traces & evals base: collections on the left, the trace_sv semantic view with its grain, dependencies, dimensions and metrics

The Traces & evals base, showing the trace_sv semantic view.

Connect an agent and run an evaluation​

This part takes about 30 to 60 minutes and needs a terminal. The guide inside the playground has the exact commands for each step; the links below go straight to them.

  1. Set up Claude Code in one prompt. Create an API key under Settings › Workspace › API Keys, then paste the setup prompt from the guide. It installs the PhoenixAI skills and, if you agree, the telemetry settings. Codex, Cursor and other clients: use the Set up button next to your API key.
  2. Or instrument your own agent. Point its OpenTelemetry exporter at your workspace with your API key. See Instrument your agent.
  3. View your traces. Each run lands in your Traces & evals base and appears under Observability › Tracing as a tree of model calls and tool calls, with tokens, latency and cost. See View your traces.
  4. Run an evaluation. The guided demo runs an agent over a fixed set of questions on the sample data, then again with a changed prompt, and records every attempt with its trace and scores. Model usage is on your own account. See Run evals.
  5. Compare. Open Evaluation › Comparisons to see, question by question, which answers improved, which regressed, and what each cost. Every cell opens the trace behind it.

Where to read more​

This page is the orientation. The reference documentation lives in two places.

DocumentCoversRead it when
Observability and evaluation guide (inside the playground)API keys, Claude Code setup, OpenTelemetry instrumentation, viewing traces, running evals, querying your dataYou are sending traces or running evaluations
Contextbase referenceCollections, Types, entities, references, search, versions and as-of reads, the SQL and REST surfacesYou want to model your own context or read it from code
Semantic SQL guideSemantic views, analysis skills and specs, Semantic JOIN, materializationYou want governed metric definitions that agents query
Agent skillsDownloadable skill packages for coding agents: Contextbase usage, graph modeling, Semantic SQLYou want your coding agent to work with Contextbase directly
note

The Contextbase documentation site is password-protected during the private preview. We send the password in the email that gives you access.

FAQ​

What should I put in my workspace?​

The playground is for trying the product. Use the sample bases, or traces from an agent you are building. Please do not load production or sensitive data.

Who can see my data?​

Your base, your traces and your evaluations belong to your workspace; other workspaces cannot see them. The PhoenixAI team operating the playground can. The sample bases are shared with every workspace and are read-only.

Why is Traces & evals read-only?​

It is written only by what your agents and evaluation runs send with your API key: OpenTelemetry for traces, the eval tools for evaluation results. You read it from the pages and over SQL, and you can build your own semantic views on top of it in your own base.

Do I need Claude Code?​

Not to explore. The guided evaluation uses Claude Code. You can also send OpenTelemetry from your own agent and write evaluation results with the same API key.

Where do I send questions or feedback?​

Reply to the email we sent you with feedback and questions.