devseeker

Lightweight cli coding agent

https://github.com/ibz-04/devseeker

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (18.2%) to scientific vocabulary

Keywords

agentic-ai agentic-workflow ai-agent aider autonomous-agents claude-code cli-agent codex codex-github coding-agents coding-assistant copilot cursor-ai langchain llm-agents python
Last synced: 6 months ago · JSON representation ·

Repository

Lightweight cli coding agent

Basic Info
Statistics
  • Stars: 57
  • Watchers: 1
  • Forks: 2
  • Open Issues: 0
  • Releases: 5
Topics
agentic-ai agentic-workflow ai-agent aider autonomous-agents claude-code cli-agent codex codex-github coding-agents coding-assistant copilot cursor-ai langchain llm-agents python
Created 10 months ago · Last pushed 9 months ago
Metadata Files
Readme License Citation Codeowners

README.md

Devseeker

Seeker-o1 Logo

DevSeeker is a coding agent inspired by claude code and codex

PyPI version

devseeker can : - manage code files and folders - Create and edit code on command - Store code in short-term memory - review code changes - run code files - calculate token usage - offer multiple coding modes - support wide range of ai models

a little demo

https://github.com/user-attachments/assets/9b095f14-f376-429f-85e3-4fe42522cec4

rare video of me losing a little game devseeker made :(

Table of Contents

Installation

Via pip (Recommended)

sh pip install devseeker

Development Installation

sh git clone https://github.com/iBz-04/devseeker.git cd devseeker poetry install poetry env activate

Configuration

DevSeeker requires an OpenAI API key. You can set it in three ways:

1. Environment variable

sh export OPENAI_API_KEY=your_api_key

2. .env file

Create a .env file in your project directory:

OPENAI_API_KEY=your_api_key

3. Custom configuration

For advanced configuration, create a devseeker.toml file in your project:

```toml [run] build = "npm run build" test = "npm run test" lint = "quick-lint-js"

[paths] base = "./src" # base directory to operate in ```

Basic Usage

Creating a New Project

  1. Create an empty directory for your project
  2. Inside the directory, create a file named prompt containing your instructions
  3. Run DevSeeker:

sh devseeker projects/my-new-project

When you run this command, DevSeeker will: - Present a welcome interface - Read your prompt (or ask for one if not found) - Generate code files based on your description - Create an entrypoint file for running the project - Ask if you want to execute the generated code

Improving Existing Code

sh devseeker projects/my-existing-project -i

When you run DevSeeker in improve mode with the -i flag, it provides an interactive terminal UI that allows you to:

  1. Describe how you want to improve your application through natural language prompts
  2. Select which files should be modified (through an interactive file selection interface)
  3. Review proposed changes in a diff view (showing what will be added/removed)
  4. Accept or reject the changes before they're applied to your codebase

You can also use the --skip-file-selection or -s flag to bypass the interactive file selection:

sh devseeker projects/my-existing-project -i -s

Operational Modes

DevSeeker supports several operational modes that change how it processes your prompts and generates code:

Standard Mode (Default)

Generates complete projects following your prompt.

sh devseeker projects/my-project

Improve Mode

Modifies existing code according to your instructions.

sh devseeker projects/my-project -i

Clarify Mode

Discusses specifications with you before implementing them.

sh devseeker projects/my-project -c

Lite Mode

Generates code using only your main prompt, without additional steps.

sh devseeker projects/my-project -l

Self-Heal Mode

Automatically fixes code when it fails during execution.

sh devseeker projects/my-project -sh

CLI Options Reference

DevSeeker offers numerous command-line options to customize its behavior:

| Option | Short | Default | Description | |--------|-------|---------|-------------| | --model, | -m | gpt-4o | The AI model to use | | --temperature | -t | 0.1 | Controls randomness in outputs (0.0-1.0) | | --improve | -i | False | Improves existing project | | --lite | -l | False | Runs using only the main prompt | | --clarify | -c | False | Discusses specifications before implementation | | --self-heal | -sh | False | Auto-fixes failing code | | --azure | -a | "" | Azure OpenAI endpoint URL | | --use-custom-preprompts | | False | Uses custom prompts from project workspace | | --llm-via-clipboard | | False | Uses clipboard for AI communication | | --verbose | -v | False | Enables verbose logging | | --debug | -d | False | Enables debug mode | | --prompt_file | | "prompt" | Path to text file with prompt | | --entrypoint_prompt | | "" | Path to file with entrypoint requirements | | --image_directory | | "" | Path to folder with images | | --use_cache | | False | Caches LLM responses to save tokens | | --skip-file-selection | -s | False | Skips interactive file selection in improve mode | | --no_execution | | False | Runs setup without calling LLM or writing code | | --sysinfo | | False | Outputs system information for debugging | | --diff_timeout | | 3 | Timeout for diff regexp searches | | --help | -h | | Shows help information |

Common Command Examples

```sh

Basic usage - create a project from prompt

devseeker projects/my-project

Create a project with a specific model

devseeker projects/my-project -m gpt-4-turbo

Improve an existing project

devseeker projects/my-existing-project -i

Improve a project with higher temperature for more creative outputs

devseeker projects/my-project -i -t 0.5

Clarify requirements before implementation

devseeker projects/my-project -c

Use lite mode for faster generation

devseeker projects/my-project -l

Enable self-healing for auto-fixing code

devseeker projects/my-project -sh

Use Azure OpenAI service

devseeker projects/my-project --azure https://.openai.azure.com

Display help information

devseeker --help

Display system information for troubleshooting

devseeker --sysinfo

Skip file selection in improve mode

devseeker projects/my-project -i -s

Use a specific prompt file

devseeker projects/my-project --promptfile customprompt.txt

Use images in your prompt

devseeker projects/my-project --image_directory images/

Use custom preprompts

devseeker projects/my-project --use-custom-preprompts

Enable verbose logging

devseeker projects/my-project -v ```

Environment Variables

DevSeeker recognizes these environment variables:

| Variable | Description | |----------|-------------| | OPENAI_API_KEY | Your OpenAI API key | | MODEL_NAME | Default model to use (e.g., "gpt-4o") | | OPENAI_API_BASE | Alternative API endpoint | | LOCAL_MODEL | Set to "true" when using local models | | EDITOR | Your preferred text editor | | LANGCHAIN_WANDB_TRACING | Enable W&B tracing (set to "true") | | WANDB_API_KEY | Weights & Biases API key |

Using Alternative Models

Local Models with llama.cpp

bash export OPENAI_API_BASE="http://localhost:8000/v1" export OPENAI_API_KEY="sk-your_local_key" export MODEL_NAME="CodeLlama" export LOCAL_MODEL=true

Azure OpenAI

bash devseeker --azure https://<your-resource-name>.openai.azure.com my-project

See docs/open_models.md for detailed instructions.

Project Configuration

DevSeeker can be configured with a devseeker.toml file in your project root:

```toml [run] build = "npm run build" test = "npm run test" lint = "quick-lint-js"

[paths] base = "./frontend" # base directory for monorepos src = "./src" # source directory for context

[devseeker-app] # used for devseeker.app integration project_id = "..." ```

File Selection

When improving code, DevSeeker needs to know which files to include in its context. The file selection process:

  1. DevSeeker scans your project directory
  2. Creates a TOML file with file paths
  3. Opens this file in your text editor
  4. You uncomment lines for files you want to include
  5. Save and close the file to continue

The selection interface supports: - Color-coded file types - Intelligent defaults based on language - Filtering of common directories like node_modules

Troubleshooting

Common Issues

API Key Not Found

Error: OpenAI API key not found Solution: Set your OPENAI_API_KEY as described in Configuration.

Token Limit Exceeded

Error: This model's maximum context length is exceeded Solution: Select fewer files in improve mode or use a model with higher token limits.

Execution Errors

If generated code fails to run, try: - Using self-heal mode: devseeker path/to/project -sh - Checking dependency installation - Inspecting generated logs in the project's .devseeker/logs directory

Windows-Specific Instructions

Windows users should consult WINDOWS_README.md for platform-specific details.

Key differences: - Use set instead of export for environment variables - Path separators use backslashes - Some commands may require PowerShell

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License. See LICENSE for details.

Owner

  • Name: Ibrahim Rayamah
  • Login: iBz-04
  • Kind: user
  • Location: Turkey

Software developer

Citation (citation.cff)

cff-version: 1.0.0
message: "Do you use this project?, if yes,  cite it as shown below."
authors:
  - family-names: Rayamah
    given-names: Ibrahim
title: devseeker
version: 0.1.0
date-released: 2025-05-08
repository-code: https://github.com/iBz-04/devseeker
url: https://github.com/iBz-04/devseeker

GitHub Events

Total
  • Watch event: 43
  • Push event: 1
  • Public event: 1
  • Fork event: 1
Last Year
  • Watch event: 43
  • Push event: 1
  • Public event: 1
  • Fork event: 1

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 34
  • Total Committers: 1
  • Avg Commits per committer: 34.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 34
  • Committers: 1
  • Avg Commits per committer: 34.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
iBz-04 i****h@g****m 34

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 24 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 5
  • Total maintainers: 1
pypi.org: devseeker

Coolest coding agent

  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 24 Last month
Rankings
Dependent packages count: 9.2%
Average: 30.4%
Dependent repos count: 51.7%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/automation.yml actions
  • actions/stale v8 composite
.github/workflows/ci.yaml actions
  • actions/checkout v4 composite
  • actions/setup-python v4 composite
.github/workflows/publish.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
.github/workflows/release.yaml actions
  • actions/cache v4 composite
  • actions/checkout v4 composite
  • actions/download-artifact v4 composite
  • actions/setup-python v4 composite
  • actions/upload-artifact v4 composite
  • pypa/gh-action-pypi-publish release/v1 composite
poetry.lock pypi
  • 189 dependencies
projects/example-improve/requirements.txt pypi
  • keyboard ==0.13.5
pyproject.toml pypi
  • mypy 1.3.0 develop
  • pre-commit 3.3.3 develop
  • pytest >=7.3.1 develop
  • pytest-cov ^4.1.0 develop
  • ruff >=0.0.272 develop
  • tox >=3.0.0 develop
  • virtualenv <20.23.0 develop
  • autodoc_pydantic >=1.8.0 docs
  • linkchecker >=10.2.1 docs
  • markdown-include >=0.6.0 docs
  • myst-nb >=0.17.1 docs
  • myst_parser >=0.18.1 docs
  • nbsphinx >=0.8.9 docs
  • sphinx >=5.0.0 docs
  • sphinx-autobuild >=2021.3.14 docs
  • sphinx-copybutton >=0.5.1 docs
  • sphinx-typlog-theme >=0.8.0 docs
  • sphinx_book_theme >=0.3.3 docs
  • sphinx_copybutton >=0.5.2 docs
  • sphinx_rtd_theme >=1.0.0 docs
  • toml >=0.10.2 docs
  • black 23.3.0
  • dataclasses-json 0.5.7
  • datasets ^2.17.1
  • langchain >=0.1.2
  • langchain-anthropic ^0.1.1
  • langchain-community ^0.2.0
  • langchain_openai *
  • openai ^1.0
  • pillow ^10.2.0
  • pyperclip ^1.8.2
  • python >=3.10,<3.13
  • python-dotenv >=0.21.0
  • regex ^2023.12.25
  • rich ^14.0.0
  • rudder-sdk-python >=2.0.2
  • tabulate 0.9.0
  • termcolor 2.3.0
  • tiktoken >=0.0.4
  • toml >=0.10.2
  • tomlkit ^0.12.4
  • typer >=0.3.2