[Hackathon] feat: Custom Agent Library + Workflow Time Machine#5096
Open
EmilySun621 wants to merge 1 commit into
Open
[Hackathon] feat: Custom Agent Library + Workflow Time Machine#5096EmilySun621 wants to merge 1 commit into
EmilySun621 wants to merge 1 commit into
Conversation
This bundles the feature work that built up on this branch:
- Custom agents: dashboard CRUD page and editor dialog (48px icon tile,
chip-style guardrails, model selector). Each custom agent now carries a
LiteLLM model_name (Opus 4.7 / Haiku 4.5) that is passed through to the
agent-service so different agents can use different models.
- Conversation history is scoped per (workflowId, agentId): switching
agent or workflow yields a different conversation list. localStorage
key: texera.workflowConversations.v1.{workflowId}.{agentId}.
- Time machine: workflow snapshot list, revert, and agent-tagged
checkpoints. New workflow-history-tool in agent-service backs the
"undo my last change" flow; amber gains a WorkflowSnapshotResource;
sql/updates/23.sql adds the snapshot table.
- Operator-aware custom-agent prompts: the system prompt now injects the
full operator catalog with a "prefer built-in operators over Python
UDFs" rule, sourced from WorkflowSystemMetadata at request time.
- LiteLLM: added the claude-opus-4.7 entry alongside claude-haiku-4.5
and gpt-5-mini in bin/litellm-config.yaml.
- Agent panel rewritten around the (conversation list / chat) two-view
model with subscription-managed list reloads and per-step persistence.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
😤 The Problem
A biomedical researcher asks Texera's generic AI agent to build a workflow. It uses the wrong methodology, skips evaluation metrics, and ignores her lab's standards. She spends an hour fixing it. Her student asks the same question next week and gets different, equally wrong results.
No customization. No consistency. No undo.
✨ What We Built
🤖 1. Custom Agent Library
A platform where users create, configure, and share domain-specific AI agents — each with its own expertise baked in.
🎬 Demo Walkthrough
🏗️ Architecture
📊 +3,903 / -533 lines across 44 files · 🔒 Zero modifications to Texera's core engine
💡 Why This Matters
Most approaches build one agent that does one thing. We built a platform where users create their own agents that do anything — plus a safety net so they never lose work.
For researchers who don't write code, this is the difference between: