KO
|
EN
gitlite — search
Search
#typescript
#ai-agents
#deepseek-harness
#dsh-plugin
#open-source
#ai
#cli
#dsh
#claude-code
#codex
#developer-tools
#react
agency
★ 60
Open GitHub ↗
A fast user agent string parser for Go.
Download README (.md)
Explore Similar Repositories
airspace-bootstrap
:
Airspace is a clean, unique, and free Bootstrap website template.
ozzie
:
Open source project monitor for Tighten
super-ai-agency-framework
:
No description available.
agency_agents
:
No description available.
halo-lab
:
Website of the Halo lab: design and development agency
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
agency
?
Download (.md)
# Agency Agency is a fast user-agent parser in pure Go. It uses a simple tokenizer and weighted tokens to determine the correct device type, category and browser. ## Usage To use Agency, simply import the package and call `Scan()`: ```go import "github.com/benbjohnson/agency" ua := agency.Scan("Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 blah blah...") ``` ## User Agent Info The `Scan()` function returns a `UserAgent` with the following string properties: ``` Type ---------- Desktop Tablet Mobile Category ---------- Windows Mac Linux iOS Blackberry Android Browser ---------- Chrome Safari Internet Explorer ```