Generally, the two commands you want to look for are called \textcite and \parencite.
\parencite is used for parenthetical references (usually at the end of a sentence), while \textcite is used for textual/narrative citations where the author is part of the sentence.
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[backend=biber, style=alphabetic]{biblatex}
\addbibresource{biblatex-examples.bib}
\begin{document}
See the work of \textcite{sigfridsson} for more details
on laser developments.
Lasers are very interesting \parencite{worman}.
\printbibliography
\end{document}
![See the work of Sigfridsson and Ryde [SR98] for more details on laser developments.//Lasers are very interesting [Wor02].](../../images/d7e29d6903a1e0b31da673b89dfa31a8.webp)
With the alphabetic style, \parencite produces the alphanumerical citation label and \textcite produces the author name followed by the alphanumerical citation label in brackets. This results in the same work being cited to uniformly with the same label in all situations.
I would recommend against having \textcite print the year instead of the alphanumeric citation label, since that may not be enough to identify an entry uniquely or would lead to a mixture of two different citation styles.
If you are planning on \parenciteing the publication at the end of the sentence anyway and the sentence is not too long, you may want to consider using \citeauthor instead of \textcite.
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[backend=biber, style=alphabetic]{biblatex}
\addbibresource{biblatex-examples.bib}
\begin{document}
See the work of \citeauthor{sigfridsson} for more details
on laser developments \parencite{worman}.
Lasers are very interesting \parencite{worman}.
\printbibliography
\end{document}
If you insist on "Author (Year)" citations for a textcite-like command we can steal the relevant code from authoryear.cbx (I added an ay: to the macro names to avoid name clashes)
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[backend=biber, style=alphabetic, labeldateparts]{biblatex}
\newbibmacro*{ay:citeyear}{%
\iffieldundef{shorthand}
{\iffieldundef{labelyear}
{\usebibmacro{ay:cite:label}}
{\usebibmacro{ay:cite:labeldate+extradate}}}
{\usebibmacro{ay:cite:shorthand}}}
\newbibmacro*{ay:textcite}{%
\ifnameundef{labelname}
{\iffieldundef{shorthand}
{\usebibmacro{ay:cite:label}%
\setunit{%
\global\booltrue{cbx:parens}%
\printdelim{nonameyeardelim}\bibopenparen}%
\ifnumequal{\value{citecount}}{1}
{\usebibmacro{prenote}}
{}%
\usebibmacro{ay:cite:labeldate+extradate}}
{\usebibmacro{ay:cite:shorthand}}}
{\printnames{labelname}%
\setunit{%
\global\booltrue{cbx:parens}%
\printdelim{nameyeardelim}\bibopenparen}%
\ifnumequal{\value{citecount}}{1}
{\usebibmacro{prenote}}
{}%
\usebibmacro{ay:citeyear}}}
\newbibmacro*{ay:cite:shorthand}{%
\printtext[bibhyperref]{\printfield{shorthand}}}
\newbibmacro*{ay:cite:label}{%
\iffieldundef{label}
{\printtext[bibhyperref]{\printfield[citetitle]{labeltitle}}}
{\printtext[bibhyperref]{\printfield{label}}}}
\newbibmacro*{ay:cite:labeldate+extradate}{%
\iffieldundef{labelyear}
{}
{\printtext[bibhyperref]{\printlabeldateextra}}}
\newbibmacro*{ay:textcite:postnote}{%
\iffieldundef{postnote}
{\ifbool{cbx:parens}
{\bibcloseparen}
{}}
{\ifbool{cbx:parens}
{\setunit{\printdelim{postnotedelim}}}
{\setunit{\printdelim{extpostnotedelim}\bibopenparen}}%
\printfield{postnote}\bibcloseparen}}
\DeclareCiteCommand{\aytextcite}
{\boolfalse{cbx:parens}}
{\usebibmacro{citeindex}%
\iffirstcitekey
{\setcounter{textcitetotal}{1}}
{\stepcounter{textcitetotal}%
\textcitedelim}%
\usebibmacro{ay:textcite}}
{\ifbool{cbx:parens}
{\bibcloseparen\global\boolfalse{cbx:parens}}
{}}
{\usebibmacro{ay:textcite:postnote}}
\DeclareMultiCiteCommand{\aytextcites}{\aytextcite}{}
\addbibresource{biblatex-examples.bib}
\begin{document}
See the work of \aytextcite{sigfridsson} for more details
on laser developments \parencite{worman}.
Lasers are very interesting \parencite{worman}.
Lorem \aytextcite{knuth:ct:b}
ipsum \aytextcite{knuth:ct:c}
\printbibliography
\end{document}
If you use the natbib compatibility mode you can use \citep instead of \parencite
and \citet instead of \textcite. But I usually recommend against this option. (Is there a disadvantage to using natbib=true with biblatex?)
\cite...calls into one\newcommandhas two drawbacks: Without a bit of trickery it does not deal properly with pre- and postnotes and multiple citations (try\citep{sigfridsson,worman}or extend it to work for\citep[Cf.][380]{sigfridsson}and\citep[372]{sigfridsson}). Additionally, this has the potential to confusebiblatex's citation tracked (for ibid etc.). – moewe May 25 '21 at 15:27biblatexdoes internally with\DeclareCiteCommand. I will admit that the\DeclareCiteCommandapproach usually takes quite a few more lines than putting together\...cite...commands in a\newcommand, but with the former you can be sure thatbiblatextakes care of the tricky things. – moewe May 25 '21 at 19:34