Skip to content

Update agents - #1186

Merged
isamu merged 6 commits into
receptron:mainfrom
isamu:updateAgents
Aug 11, 2025
Merged

isamu merged 6 commits into
receptron:mainfrom
isamu:updateAgents

Conversation

@isamu

@isamu isamu commented Aug 11, 2025 •

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • Chores
    • Incremented versions across agents and CLI packages.
    • Updated LLM provider dependencies to improve reliability and compatibility.
    • Added a tools agent dependency to expand tooling support.
    • Aligned dependencies with the latest GraphAI releases across packages, including test utilities.
    • No changes to public APIs.

@coderabbitai

coderabbitai Bot commented Aug 11, 2025 •

Copy link
Copy Markdown
Contributor

Walkthrough

Version bumps across multiple package.json files, updating internal dependencies, adding @graphai/tools_agent to agents/llm_agents, and aligning versions for llm agents, the agents package, CLI, and test utilities. No source code or API surface changes.

Changes

Cohort / File(s) Summary
LLM Agents meta-package
agents/llm_agents/package.json
Version 2.0.2 → 2.0.3; deps: @graphai/anthropic_agent ^2.0.5 → ^2.0.6, @graphai/groq_agent ^2.0.0 → ^2.0.2; added dep: @graphai/tools_agent ^1.0.0.
Anthropic agent
llm_agents/anthropic_agent/package.json
Version 2.0.5 → 2.0.6; no other changes.
Groq agent
llm_agents/groq_agent/package.json
Version 2.0.0 → 2.0.2; no other changes.
Agents package
packages/agents/package.json
Version 2.0.7 → 2.0.8; deps: @graphai/input_agents ^1.0.1 → ^1.0.2, @graphai/llm_agents ^2.0.2 → ^2.0.3.
CLI
packages/cli/package.json
Version 2.0.5 → 2.0.6; deps: @graphai/agents ^2.0.7 → ^2.0.8, graphai ^2.0.5 → ^2.0.13.
Test utilities
packages/test_utils/package.json
devDep: graphai ^2.0.5 → ^2.0.13.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

Poem

A hop and a bump, I tweak and I tune,
Versions aligned like stars by the moon.
Tools in my pouch, dependencies neat,
Carrot-shaped commits—what a treat! 🥕
Tip-tap my paws, then swiftly I flee—
Ship it, ship it, v2 dot 0 dot 3!

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@isamu
isamu merged commit 1f258ca into receptron:main Aug 11, 2025

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 32c8555 and 009d77f.

📒 Files selected for processing (6)
  • agents/llm_agents/package.json (2 hunks)
  • llm_agents/anthropic_agent/package.json (1 hunks)
  • llm_agents/groq_agent/package.json (1 hunks)
  • packages/agents/package.json (2 hunks)
  • packages/cli/package.json (2 hunks)
  • packages/test_utils/package.json (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: build (24.x)
  • GitHub Check: build (22.x)
🔇 Additional comments (9)
packages/test_utils/package.json (1)

33-33: Validate graphai version bump consistency

All occurrences of graphai in package.json are already aligned to ^2.0.13 in:

  • packages/test_utils/package.json (line 33)
  • packages/cli/package.json (line 43)

A lockfile (yarn.lock) is present at the repo root. Please confirm that yarn.lock has been updated so that every graphai entry is pinned to 2.0.13 and there are no leftover references to other versions.

llm_agents/anthropic_agent/package.json (2)

3-3: Version bump LGTM

No other changes; consistent with dependents update in the monorepo.


3-3: All dependents reference ^2.0.6

  • Verified that agents/llm_agents/package.json (line 29) uses "@graphai/anthropic_agent": "^2.0.6".

No further updates required.

llm_agents/groq_agent/package.json (2)

3-3: Version bump LGTM

Matches the aggregator updates.


3-3: Dependent version ranges are up-to-date

All references to @graphai/groq_agent have been updated to ^2.0.2. Only one dependent was found:

  • agents/llm_agents/package.json (line 31): "@graphai/groq_agent": "^2.0.2"

No further changes required.

packages/cli/package.json (1)

3-3: Confirmed version cohesion across the repo

  • packages/cli/package.json:
    • "@graphai/agents": "^2.0.8"
    • "graphai": "^2.0.13"
  • packages/test_utils/package.json:
    • "graphai": "^2.0.13"

No other occurrences of older @graphai/agents or graphai versions were found. No further changes needed.

packages/agents/package.json (2)

3-3: Agents package aligned with upstream updates

Version and dependency bumps are coherent with the llm_agents/input_agents updates.

Also applies to: 31-31, 32-32


31-31: Sanity-check transitive compatibility

Ensure @graphai/input_agents@^1.0.2 and @graphai/llm_agents@^2.0.3 share compatible peer/runtime expectations with this package’s public surface.

• packages/agents/package.json (lines 31–32):

  • "@graphai/input_agents": "^1.0.2"
  • "@graphai/llm_agents": "^2.0.3"

To verify:
npm info @graphai/[email protected] peerDependencies
npm info @graphai/[email protected] peerDependencies

Confirm there are no conflicting peer deps or engine requirements, and consider adding a small integration smoke test to catch any runtime mismatches early.

agents/llm_agents/package.json (1)

3-3: New tools_agent dependency and version bumps look good

Addition of @graphai/tools_agent ^1.0.0 and alignment with other agent versions are consistent.

Also applies to: 29-29, 31-31, 34-34, 35-35

"homepage": "https://github.com/receptron/graphai/blob/main/agents/llm_agents/README.md",
"dependencies": {
"@graphai/anthropic_agent": "^2.0.5",
"@graphai/anthropic_agent": "^2.0.6",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

💡 Verification agent

🧩 Analysis chain

Verify presence and exports of tools_agent

Confirm the tools_agent package exists in the monorepo and that llm_agents re-exports its symbols if intended.

Also applies to: 31-31, 35-35


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "Locate tools_agent package.json:"
rg -n --no-heading -S '"name":\s*"@graphai/tools_agent"' --glob '!**/node_modules/**' -A 3

echo
echo "Check for re-exports in llm_agents (src or lib):"
rg -n --no-heading -S 'tools_agent' agents/llm_agents --glob '!**/node_modules/**' -A 2 || true

Length of output: 840


I’d like to verify whether llm_agents actually re-exports anything from tools_agent. Let’s inspect the entrypoint files for export statements:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "Files under agents/llm_agents/lib/:"
fd --base-directory=agents/llm_agents lib -t f || true

echo
echo "First 200 lines of agents/llm_agents/lib/index.js (if it exists):"
if [ -f agents/llm_agents/lib/index.js ]; then
  sed -n '1,200p' agents/llm_agents/lib/index.js
else
  echo "agents/llm_agents/lib/index.js not found"
fi

echo
echo "Search for any references to tools_agent in lib/:"
rg -n --no-heading 'tools_agent' agents/llm_agents/lib -A 5 -B 5 || true

Length of output: 2113


Add or remove the unused tools_agent export

It looks like you’ve added the @graphai/tools_agent dependency in
• agents/llm_agents/package.json (line 35)
and the package lives at agents/llm_agents/tools_agent, but lib/index.js does not re-export any of its symbols.

Please either:
• Add the intended export(s) in agents/llm_agents/lib/index.js, for example:

const tools_agent_1 = require("@graphai/tools_agent");
Object.defineProperty(exports, "toolsAgent", {
  enumerable: true,
  get: () => tools_agent_1.toolsAgent,
});

• Or remove the @graphai/tools_agent entry from package.json if it’s unused.

🤖 Prompt for AI Agents
In agents/llm_agents/package.json (around line 29, dependency also referenced
near line 35): the package lists "@graphai/tools_agent" but
agents/llm_agents/lib/index.js does not re-export it; either remove the
"@graphai/tools_agent" entry from package.json if unused, or add a re-export in
agents/llm_agents/lib/index.js that requires "@graphai/tools_agent" and exposes
its intended symbol (e.g., toolsAgent) via exports so downstream consumers can
import it.

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.

1 participant