Skip to content

blackeagle686/ashborn-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1,163 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Ashborn Agent

A S H B O R N Β  A G E N T

The Ultimate Autonomous Architect β€” Think. Plan. Execute. Reflect.

Quick StartΒ  FeaturesΒ  Docs

Python Phoenix AI FastAPI VSCodium MIT License


Ashborn IDE Preview



πŸ”₯ What is Ashborn?

Ashborn is a fully autonomous AI development agent that transforms natural-language intent into production-ready code. It doesn't just generate β€” it thinks, plans, executes, and reflects through a sophisticated multi-phase cognition loop, delivering surgical precision even on complex, multi-file projects.

Built on the high-performance Phoenix AI Framework, Ashborn ships as both a standalone IDE (powered by VSCodium) and a cinematic terminal interface β€” giving you the freedom to work wherever you're most productive.


🧠 Not Just Another Copilot

Unlike code completion tools that react to keystrokes, Ashborn operates at a project level. Give it a goal, and it will:

  • Decompose it into discrete tasks
  • Generate execution plans with dependency ordering
  • Write, edit, and test files autonomously
  • Self-evaluate results and iterate

⚑ Built for Real Work

Ashborn is designed for professional-grade output:

  • Surgical file editing β€” no "rewrite the whole file"
  • User approval gates for destructive actions
  • Streaming feedback so you see every thought
  • Resume-capable state persistence



✨ Features


AI
Multi-Phase Cognition
Think β†’ Plan β†’ Generate β†’ Act β†’ Reflect


Code
Surgical Code Editing
Line-range & search/replace precision


Terminal
Dual Interface
Standalone IDE + Cinematic TUI


Security
Safety-First Execution
Approval gates & forbidden patterns


Streaming
Real-Time Streaming
SSE-powered live thought feed


Resume
Persistent State
Backbone context file for resume


Voice
Voice I/O
Speech-to-text & text-to-speech


Extensible
Extensible Tools
Drop-in tool registration system




⚑ Quickstart

Prerequisites

Requirement Version
🐍 Python >= 3.10
πŸ“¦ pip Latest
🐧 OS Linux (Ubuntu/Debian/Arch)

1 Β· Clone & Setup

git clone https://github.com/your-org/ashborn-agent.git
cd ashborn-agent

# Create virtual environment
python3 -m venv venv
source venv/bin/activate

# Install dependencies
pip install -e .
pip install -r requirements.txt

2 Β· Configure

Create a .env file in the project root:

OPENAI_API_KEY=your_api_key_here
OPENAI_BASE_URL=https://api.openai.com/v1
OPENAI_LLM_MODEL=gpt-4o

3 Β· Launch

πŸ–₯️ Terminal Mode (TUI)

ashborn .

🏒 IDE Mode (Standalone)

python launch.py .

4 Β· Server Only (API Mode)

uvicorn ashborn.server:app --host 127.0.0.1 --port 8765



🌐 API Reference

Ashborn exposes a RESTful API for programmatic integration.

πŸ’¬ Chat & Agent
Method Endpoint Description
POST /chat/stream Stream agent response (SSE)
POST /tool/result Return VS Code tool call result
POST /reset Reset the current session

Stream a request:

curl -N -X POST http://localhost:8765/chat/stream \
  -H "Content-Type: application/json" \
  -d '{"task": "Create a Flask REST API", "mode": "plan"}'
πŸ’‘ Code Intelligence
Method Endpoint Description
POST /completion Inline code completion
POST /code_action Explain / Refactor / Optimize / Fix
βš™οΈ Configuration
Method Endpoint Description
GET /config Get current configuration
POST /config Update .env and re-init agent
🎀 Media (Voice)
Method Endpoint Description
POST /tts Text-to-speech (gTTS β†’ base64 MP3)
POST /stt/start Start microphone recording
POST /stt/stop Stop recording & transcribe
❀️ Health
Method Endpoint Description
GET /health Server & agent readiness check
curl http://localhost:8765/health
# β†’ {"status": "ok", "agent_ready": true}



πŸ”§ Agent Tools

Ashborn ships with a curated set of tools the agent uses autonomously:

Tool Description
πŸ“– file_read_lines Read file with line numbers for precise targeting
✏️ file_update_multi Surgical multi-block edits (line-range + search/replace)
πŸ“ file_write Create new files with automatic directory creation
πŸ” vscode_search Workspace-wide regex search via VS Code
πŸ“‚ vscode_create_file Create files through the IDE bridge
πŸ”„ vscode_edit_file Edit files with diff preview & user approval
πŸ—‘οΈ vscode_delete_file Delete files with confirmation prompt
πŸ’» vscode_terminal_run Execute terminal commands via VS Code
πŸ—οΈ project_generator Scaffold entire project structures from a dict manifest
βš™οΈ terminal Sandboxed bash execution with security guards



πŸ“Έ Screenshots

IDE Interface
Ultra-Premium IDE Interface
Terminal TUI
Cinematic Terminal Experience
Cognition Core
Phoenix AI Cognition Core
Workflow
Autonomous Workflow Cycle



πŸ“¦ Distribution

Build a Distributable Package

bash scripts/package.sh

Outputs a production-ready archive at dist/ashborn-ide-linux.tar.gz containing the extension, backend, and one-step installer.

Install from Bundle

tar -xzf ashborn-ide-linux.tar.gz
bash install.sh

The installer handles VSCodium download, Python venv creation, and desktop integration automatically.






Powered By

Phoenix AI Framework

πŸ”₯ A production-ready, modular backend infrastructure SDK
designed for AI-powered Python services.

View Phoenix AI Framework


🧩 Module Description
phoenix.agentAgent lifecycle, autonomous loop orchestration & tool dispatch
phoenix.cognitionThinker, Planner & Reflector β€” modular reasoning base classes
phoenix.llmHigh-performance streaming LLM interface (OpenAI-compatible)
phoenix.memorySemantic memory, vector storage & context management
phoenix.toolsExtensible tool system with built-in FileRead, FileEdit & more

Runtime Modular Production OpenAI





πŸ“– Documentation

Resource Description
πŸš€ Quickstart Get up and running in 2 minutes
🌐 API Reference All REST endpoints documented
πŸ”§ Tools Agent tool capabilities
πŸ“¦ Distribution Build & ship packages



🀝 Contributing

Contributions are welcome! The modular architecture makes it easy to add new capabilities:

  • New Brain Module β†’ Add to ashborn/cognition/brains/
  • New Tool β†’ Create in ashborn/tools/ and register in agent.py
  • New API Route β†’ Add a routes_*.py in ashborn/backend/
  • New Prompt β†’ Add to ashborn/cognition/core/prompts.py



πŸ“œ License

This project is licensed under the MIT License β€” see the LICENSE file for details.



Ashborn

A S H B O R N
The Ultimate Autonomous Architect

Built with πŸ”₯ by Mohammed Alaa
Powered by Phoenix AI Framework

About

Ashborn is a state-of-the-art autonomous developer environment designed to manifest complex visions into production-ready code. Built on the high-performance Phoenix AI Framework, Ashborn leverages a parallel cognition cycle to think, plan, act, and reflect with unprecedented efficiency.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors