Repository navigation
feat(agent-tools): add X tools for agents to post, like, repost, read the home timeline and mentions, and search posts - #1034
Merged
Merged
Conversation
… the home timeline and mentions, and search posts
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.
What
Adds an X integration to the agent tools. An agent can publish posts and replies with images or a poll, delete its posts, like and repost with undo, read its profile, another account, a post, an account's posts, its mentions and its home timeline, and search posts from the last 7 days.
Why
Agents can already publish to Threads and Instagram, and X is the other network teams ask an agent to post to and react on.
How to test
cd packages/agent-tools && bun test src/tools/xX bills every request from the app's credits, so each step costs a little.
Checklist
bun run typecheckpassesbun run lintandbun run format:checkpasstidy,code-reviewandsecurity-auditfrom.agents/skills/ran on the new codebun run db:generateand committed.env.exampleREADME.mdordocs/).AGENTS.mdchanged only asdocs/dev/agents-md.mdallowsScreenshots
None.