CMP-1 Add durable custom agent builder - #25
Draft
ripgrim wants to merge 8 commits into
Draft
Conversation
|
@ripgrim is attempting to deploy a commit to the Comp AI - PoC Team on Vercel. A member of the Team first needs to authorize it. |
# Conflicts: # apps/app/components/app-icon-rail.tsx
# Conflicts: # apps/app/app/eve/v1/[...path]/route.ts # apps/app/components/app-icon-rail.tsx
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.
Summary
Adds an agent-first workspace where reps privately collaborate with Eve to design, review, deploy, and monitor durable team automations.
/:org-slugapp routing now on upstreammainProblem
The CRM already supports record-specific research agents, but it has no general workspace for turning plain-language requests into reusable team automations. There is also no durable model for agent versions, access, triggers, runs, actions, approvals, private builder conversations, or auditable deployment.
UX Flow
Solution
Introduces persistent builder conversations with unread state, sharing, command routing, and background continuation. Adds team agent, version, access, trigger, run, event, action, approval, and audit models with tRPC services for lifecycle management and immutable activity history.
The Eve service separates research, builder, and runner session purposes; delegates creation and execution to dedicated subagents; constrains sandbox and tool access; and records run outcomes and external actions. The Next.js app adds the responsive Agents workspace, recency-grouped private chat navigation, creation/review/deploy surfaces, team run/activity detail views, agent deletion, and consistent async feedback while preserving the CRM design system.
The branch is merged with current upstream organization routing. Agent landing, private chats, shared links, team-agent detail, redirects, and both desktop/mobile navigation all generate organization-scoped URLs through the shared workspace URL helpers.
Validated with the full monorepo lint, typecheck, and test suites, a frozen-lockfile install, and a production Next.js build covering every
/:org-slugagent and CRM route.