Skip to main content

del the funky robosapien — a terminal AI agent

Project description

del — the funky robosapien

A terminal AI agent powered by Ollama and agno. Start an interactive REPL with tools for shell, file operations, math, and web search.

Installation

pip install del

Usage

del

This starts an interactive REPL where you can chat with the agent. Type exit, quit, or bye to quit.

Features

  • Local Ollama backend — runs models on your machine (no cloud API)
  • Shell integration — agent can run commands, manipulate files
  • Session persistence — conversation history tied to your shell session
  • Knowledge base — automatically load markdown files from ~/.local/share/del/knowledge/
  • Symlink support — knowledge discovery follows symlinks and recurses directories
  • Project context — injects pwd, git branch, and optional AGENTS.md instructions into the agent

Configuration

Knowledge Base

Create markdown files in ~/.local/share/del/knowledge/ and the agent will automatically load them on startup. Example:

mkdir -p ~/.local/share/del/knowledge
cat > ~/.local/share/del/knowledge/my-notes.md <<EOF
# My Project

- Task 1
- Task 2
EOF

The knowledge base supports symlinks and recursive directory traversal.

Project Instructions (AGENTS.md)

Create an AGENTS.md file in your repo root. The agent will find it and inject its contents into the system prompt:

cat > AGENTS.md <<EOF
# Development Guidelines

- Use test-driven development
- Prefer small commits
- Run tests before pushing
EOF

Architecture

  • deltron — the Python module (entry point: deltron.cli:main)
  • roles — agent role definitions in Markdown with YAML front matter
  • tools_registry — maps tool names to agno toolkits
  • context — injects runtime context (cwd, date, git branch, AGENTS.md)
  • knowledge — discovers and loads markdown files for RAG
  • agent — builds and configures the agent
  • cli — CLI entry point

Extending with Custom Roles

Create a new role file in src/deltron/roles/:

---
tools:
  - shell
  - file
  - calculator
model: qwen3.5:latest
---
You are a financial advisor. Help users with investment questions.

Then load it in code with load_role("financial-advisor").

Requirements

  • Python 3.11+
  • Ollama with at least one model running locally
  • 4GB+ RAM

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deltron-0.1.0.tar.gz (72.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

deltron-0.1.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file deltron-0.1.0.tar.gz.

File metadata

  • Download URL: deltron-0.1.0.tar.gz
  • Upload date:
  • Size: 72.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for deltron-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9f60369d404fdb3aad2dd15ef2386d3a072af0920da1b7e8ac4e3b794e24c1cc
MD5 9b01f6129baef372d0205fcadcef1571
BLAKE2b-256 6e8094966e0291a6e502834de9fa8439709a211e3ba2f70cd5d535c4be72cf21

See more details on using hashes here.

File details

Details for the file deltron-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: deltron-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for deltron-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa2fe7eb3c9ad42f76416ad2a1dd87b711f8e18f53e27bbefd269fb9e9b7ab33
MD5 06ce2ca145b5a334ac8414984b55a507
BLAKE2b-256 8234fec43f329c6dffa169611774a7806b15fbbdc5c12e63a90500e98d8228b7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page