What this sets up
- An experiment created from a search result or recommendation
- Claude Code connected to the Remyx MCP server
- A PR implementing the experiment’s technique in your target repo
Prerequisites: A Remyx account with an API key, Claude Code installed (or you’ll install it in Step 1), and a GitHub repo you want to implement into.
Step 0: Find an Idea and Create an Experiment
Before Claude Code can implement anything, you need an experiment with a linked resource and target repository. There are three ways to get there:Option A: Search for a technique
- Go to Search and enter a query related to your project (e.g., “multi-hop retrieval for complex queries”)
- Browse the results. Resources with the Runnable environment badge have pre-built Docker images.
- Click View on a result to open the detail page. Use the Chat tab to ask questions about the method. Use the Annotations tab to highlight key passages and add notes.
- Click Create Experiment from the resource detail page
- Fill in the experiment name, hypothesis, target metric, tags, and target repository (
owner/repo) - Click Create
Option B: Start from a recommendation
- Go to Feed to see your personalized recommendations
- Find a recommendation that matches a direction you want to explore
- Click View, then Create Experiment
- Fill in the experiment details and click Create
Option C: Start from Insights
- Go to Insights to see which experiment directions are producing results
- Expand a high-signal cluster and look at the Recommended resources column
- Click Start Experiment on a recommendation. The cluster’s tag and the current project are pre-filled.
- Fill in the remaining details and click Create
Step 1: Get Your Remyx API Key
- Go to engine.remyx.ai/account
- Navigate to API Access
- Create a new key or copy your existing one
Step 2: Connect Claude Code to Remyx
Add the Remyx MCP server to your Claude Code configuration. Open your settings file:- Global config
- Project config
Edit
~/.claude/settings.json:Verify the Connection
Start Claude Code and ask:get_digest, get_experiments, create_experiment, update_experiment, log_decision, etc.
Step 3: Discover Your Experiments
Ask Claude Code to list your experiments:get_experiments and returns your experiment list with names, statuses, deltas, and decisions.
Step 4: Get the Implementation Context
Pick a research-sourced experiment and ask for its implementation context:get_experiment_context and returns the launch context:
- Resource metadata: Title, abstract excerpt, key methods
- Docker environment: Reference to a pre-built environment (if available)
- Target repo structure: File tree of your repository
- Implementation plan: AI-generated plan referencing actual file paths
Step 5: Generate the Implementation
With the context loaded, ask Claude to implement it:- Read the implementation plan and understand the technique
- Navigate your repository structure
- Generate the code changes
- Create a branch and open a PR
Or use the automated pipeline
For a fully automated run:run_experiment_implementation, which triggers the end-to-end pipeline: clone, implement, push, PR.
Step 6: Update the Experiment
After the PR is created, update the experiment:update_experiment to link the PR. If your GitHub integration is connected, the PR status will sync automatically via webhooks.
Step 7: Log a Decision
After the experiment runs and you have results:log_decision to record the team’s decision with reasoning and timestamp.
Full Workflow Example
Here’s a complete Claude Code session showing the discovery-to-decision loop:Tips
Use specific experiment names
Use specific experiment names
When referencing experiments, use the full name or ID. Claude matches against your experiment list, but specific names avoid ambiguity.
Edit the implementation plan first
Edit the implementation plan first
The launch context includes an AI-generated implementation plan. Review and edit it in the experiment detail page before asking Claude Code to implement — this gives Claude better guidance.
Combine with GitHub integration
Combine with GitHub integration
If GitHub is connected, the PR will be automatically linked to the experiment. Status changes (merged, closed) sync via webhooks. You don’t need to manually update the PR link.
Next Steps
MCP Server Reference
Full MCP tool documentation
Connect Tools
Set up GitHub, Linear, and Slack integrations