Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AutoGPT: Implement Agent Protocol #5612

Merged
merged 52 commits into from
Oct 18, 2023
Merged

AutoGPT: Implement Agent Protocol #5612

merged 52 commits into from
Oct 18, 2023

Conversation

Pwuts
Copy link
Member

@Pwuts Pwuts commented Oct 7, 2023

Background

  • AutoGPT should support the Agent Protocol
  • AutoGPT is basically an agent factory, and the architecture could be better adjusted to that

Changes 🏗️

  • Add AgentProtocolServer
    • Add serve subcommand to run Agent Protocol server
    • Add agent_factory module to easily generate, create and configure agent instances
  • Replace AI Goals by AI Directives + Task
    • Move directives into BaseAgentSettings
  • Create AgentFileManager, separately from Workspace
    • Move workspace setup to WorkspaceMixin.attach_fs hook
    • Rename Workspace -> FileWorkspace
    • Implement open, read, write and list methods in FileWorkspace class
    • Use FileWorkspace methods in commands.file_operations
  • Remove references to (broken) vector memory & disable tests
  • Abandon legacy tests/challenges in favor of the benchmark
  • Implement resuming AutoGPT Agents (State management, persistence and resumption #4105)
    • Add AgentManager
  • Implement functions API compatibility mode for older OpenAI models
  • Improve function scopes and data flow in app.main and config
    • Move TTS related config into TTSConfig
  • Rename AIConfig to AIProfile
  • Clean up paths in config
  • Update dependencies
  • Fix typing of decorators, making them transparent to parameters and return types
  • Remove duplicate RESPONSE_SCHEMA from OneShotAgentPromptStrategy
  • Fix & update AutoGPT dependencies
  • Delete & ignore accidentally committed stuff from data/

PR Quality Scorecard ✨

  • Have you used the PR description template?   +2 pts
  • Is your pull request atomic, focusing on a single change?   +5 pts
  • Have you linked the GitHub issue(s) that this PR addresses?   +5 pts
  • Have you documented your changes clearly and comprehensively?   +5 pts
  • Have you changed or added a feature?   -4 pts
    • Have you added/updated corresponding documentation?   +4 pts
    • Have you added/updated corresponding integration tests?   +5 pts
  • Have you changed the behavior of AutoGPT?   -5 pts
    • Have you also run agbenchmark to verify that these changes do not regress performance?   +10 pts

@github-actions
Copy link
Contributor

github-actions bot commented Oct 7, 2023

This PR exceeds the recommended size of 500 lines. Please make sure you are NOT addressing multiple issues with one PR.

@netlify
Copy link

netlify bot commented Oct 7, 2023

Deploy Preview for auto-gpt-docs ready!

Name Link
🔨 Latest commit ae9fc68
🔍 Latest deploy log https://app.netlify.com/sites/auto-gpt-docs/deploys/652f27748239300008d610d1
😎 Deploy Preview https://deploy-preview-5612--auto-gpt-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Pwuts Pwuts added code quality ⬆️ PRs that improve code quality Agent Protocol 🤖🔄️ labels Oct 8, 2023
@Pwuts Pwuts linked an issue Oct 8, 2023 that may be closed by this pull request
3 tasks
@Pwuts Pwuts force-pushed the autogpt/agent-protocol branch from 78f401d to 34f2229 Compare October 8, 2023 00:36
@github-actions
Copy link
Contributor

github-actions bot commented Oct 8, 2023

This PR exceeds the recommended size of 500 lines. Please make sure you are NOT addressing multiple issues with one PR.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 8, 2023

This PR exceeds the recommended size of 500 lines. Please make sure you are NOT addressing multiple issues with one PR.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 8, 2023

This PR exceeds the recommended size of 500 lines. Please make sure you are NOT addressing multiple issues with one PR.

1 similar comment
@github-actions
Copy link
Contributor

github-actions bot commented Oct 8, 2023

This PR exceeds the recommended size of 500 lines. Please make sure you are NOT addressing multiple issues with one PR.

* Remove references to (broken) vector memory

* Move workspace setup to `WorkspaceMixin.attach_fs` hook

* Move directives into `BaseAgentSettings`
@Pwuts Pwuts force-pushed the autogpt/agent-protocol branch from 2f1f05e to 34352af Compare October 8, 2023 08:15
@github-actions
Copy link
Contributor

github-actions bot commented Oct 8, 2023

This PR exceeds the recommended size of 500 lines. Please make sure you are NOT addressing multiple issues with one PR.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 8, 2023

This PR exceeds the recommended size of 500 lines. Please make sure you are NOT addressing multiple issues with one PR.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 8, 2023

This PR exceeds the recommended size of 500 lines. Please make sure you are NOT addressing multiple issues with one PR.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 9, 2023

This PR exceeds the recommended size of 500 lines. Please make sure you are NOT addressing multiple issues with one PR.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 9, 2023

This PR exceeds the recommended size of 500 lines. Please make sure you are NOT addressing multiple issues with one PR.

@github-actions
Copy link
Contributor

This PR exceeds the recommended size of 500 lines. Please make sure you are NOT addressing multiple issues with one PR.

@github-actions
Copy link
Contributor

This PR exceeds the recommended size of 500 lines. Please make sure you are NOT addressing multiple issues with one PR.

1 similar comment
@github-actions
Copy link
Contributor

This PR exceeds the recommended size of 500 lines. Please make sure you are NOT addressing multiple issues with one PR.

@github-actions
Copy link
Contributor

This PR exceeds the recommended size of 500 lines. Please make sure you are NOT addressing multiple issues with one PR.

1 similar comment
@github-actions
Copy link
Contributor

This PR exceeds the recommended size of 500 lines. Please make sure you are NOT addressing multiple issues with one PR.

@Pwuts Pwuts force-pushed the autogpt/agent-protocol branch from 9cd1245 to fff7667 Compare October 17, 2023 22:39
@github-actions
Copy link
Contributor

This PR exceeds the recommended size of 500 lines. Please make sure you are NOT addressing multiple issues with one PR.

@github-actions
Copy link
Contributor

This PR exceeds the recommended size of 500 lines. Please make sure you are NOT addressing multiple issues with one PR.

@github-actions
Copy link
Contributor

This PR exceeds the recommended size of 500 lines. Please make sure you are NOT addressing multiple issues with one PR.

@github-actions
Copy link
Contributor

This PR exceeds the recommended size of 500 lines. Please make sure you are NOT addressing multiple issues with one PR.

@github-actions
Copy link
Contributor

This PR exceeds the recommended size of 500 lines. Please make sure you are NOT addressing multiple issues with one PR.

@github-actions
Copy link
Contributor

This PR exceeds the recommended size of 500 lines. Please make sure you are NOT addressing multiple issues with one PR.

@github-actions
Copy link
Contributor

This PR exceeds the recommended size of 500 lines. Please make sure you are NOT addressing multiple issues with one PR.

@github-actions
Copy link
Contributor

This PR exceeds the recommended size of 500 lines. Please make sure you are NOT addressing multiple issues with one PR.

@Pwuts Pwuts merged commit bceb66f into master Oct 18, 2023
12 of 17 checks passed
@Pwuts Pwuts deleted the autogpt/agent-protocol branch October 18, 2023 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Support Agent Protocol State management, persistence and resumption
1 participant