Thanks to visit codestin.com
Credit goes to github.com

Skip to content

OpulentiaAI/agent-sdk

 
 

Repository files navigation

Prototype for OpenHands V1

Coverage

This folder contains my tasks of completely refactor OpenHands project V0 into the new V1 version. There's a lot of changes, including (non-exhausive):

  • Switching from poetry to uv as package manager
  • better dependency management
    • include --dev group for development only
  • stricter pre-commit hooks .pre-commit-config.yaml that includes
    • type check through pyright
    • linting and formatter with uv ruff
  • cleaner architecture for how a tool works and how it is executed
  • tools: str_replace_editor, execute_bash
  • minimal config (OpenHandsConfig, LLMConfig, MCPConfig): openhands/core/config
  • core set of LLM (w/o tests): openhands/core/llm
  • core set of microagent functionality (w/o full integration):
    • openhands/core/context: redesigned the triggering of microagents w.r.t. agents into the concept of two types context
      • EnvContext (triggered at the begining of a convo)
      • MessageContext (triggered at each user message)
    • openhands-v1/openhands/core/microagents: old code from V1 that loads microagents from folders, etc
  • minimal implementation of codeact agent: openhands-v1/openhands/core/agenthub/codeact_agent
  • ...

Check hello world example

uv sync
uv run python examples/hello.py

About

draft for V1 version of OpenHands

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 92.7%
  • Jinja 6.7%
  • Makefile 0.6%