Skip to content

Conversation

@begelundmuller
Copy link
Contributor

@begelundmuller begelundmuller commented Nov 25, 2025

Usage instructions:

Enable the feature flag:

# rill.yaml
...
features:
  developer_agent: true

Connect using the CLI chat (rill start must be running in another terminal):

rill chat --local

Example prompt:

> Can you add a model with mock Shopify data for me?
...

Limitations:

  • It can only create models and metrics views
  • It can only update existing models

How to update the agent:

  1. Update the prompts in runtime/ai/developer_agent.go or runtime/ai/develop_model.go
  2. Add an eval in runtime/ai/developer_agent_test.go
  3. Run the eval with this command, then check the transcripts in runtime/ai/evals:
RILL_RUNTIME_TEST_MODE=expensive go test -run ^TEST_NAME$ github.com/rilldata/rill/runtime/ai

Checklist:

  • Covered by tests
  • Ran it and it works as intended
  • Reviewed the diff before requesting a review
  • Checked for unhandled edge cases
  • Linked the issues it closes
  • Checked if the docs need to be updated. If so, create a separate Linear DOCS issue
  • Intend to cherry-pick into the release branch
  • I'm proud of this work!

@begelundmuller begelundmuller self-assigned this Nov 25, 2025
@begelundmuller begelundmuller marked this pull request as ready for review November 25, 2025 18:24
Copy link
Collaborator

@nishantmonu51 nishantmonu51 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@nishantmonu51 nishantmonu51 merged commit f0c0123 into main Nov 26, 2025
14 of 15 checks passed
@nishantmonu51 nishantmonu51 deleted the begelundmuller/developer-agent-feature-flag branch November 26, 2025 10:08
begelundmuller added a commit that referenced this pull request Dec 1, 2025
* Enable the developer agent behind a feature flag

* Run tests and update transcripts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants