Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 845 Bytes

File metadata and controls

26 lines (18 loc) · 845 Bytes

A mini cli agent.

Current ability:

  • Run bash command
  • Edit files
  • Plan for complex tasks
  • Run subagent
  • Load skills

How to run this:

  1. Use uv to sync dependencies uv sync
  2. Configure OpenAI Completions/Responses API-compatible model providers in providers.toml
  3. Run uv run main.py

You can test compact ability with less token context limitation using environment variable DEBUG_MAX_CONTEXT_TOKENS:

DEBUG_MAX_CONTEXT_TOKENS=8000 uv run main.py

Known Limitation

Dashscope Responses API provided models may describe a next tool action without actually emitting the tool call during long tasks, causing the loop to stop early.

The same task may work correctly through the Chat Completions API, which suggests the issue can depend on the provider’s API compatibility layer and tool-calling implementation.